commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
old_contents
stringlengths
0
4.24k
new_contents
stringlengths
1
5.44k
subject
stringlengths
14
778
message
stringlengths
15
9.92k
lang
stringclasses
277 values
license
stringclasses
13 values
repos
stringlengths
5
127k
7d21acccca8e73cbf0722bc6ae8ba01e3131a5dc
app/views/stores/index.html.erb
app/views/stores/index.html.erb
<div class="row height"> <div class="map-container"> <div class="small-10 columns small-offset-1" id="map_canvas" style="height: 400px"></div> </div> </div> <div id="control_container"></div> <!-- <div class="large-4 small-4 columns offset-1" id="map_search"> --> <div class="row has-form">...
<div class="row height"> <div class="map-container"> <div class="small-10 columns small-offset-1" id="map_canvas" style="height: 400px"></div> </div> </div> <div id="control_container"></div> <div class="large-10 small-6 columns offset-1" id="map_search"> <div class="row collapse has-form"> <form class='...
Bring back the ability to search from the header
Bring back the ability to search from the header
HTML+ERB
mit
nyc-fiery-skippers-2016/taste-of-home,nyc-fiery-skippers-2016/taste-of-home,nyc-fiery-skippers-2016/taste-of-home
a54b78074804beebd8fc166f87bb868388963764
omnibus/files/private-chef-cookbooks/private-chef/templates/default/rabbitmq.config.erb
omnibus/files/private-chef-cookbooks/private-chef/templates/default/rabbitmq.config.erb
[ {kernel, [{inet_dist_use_interface, {127,0,0,1}}]}, {ssl, [{versions, [<%= @ssl_versions %>]}]}, {rabbit, [{tcp_listeners, [<%= node['private_chef']['rabbitmq']['node_port'] %>]}, {ssl_options, [{certfile, "<%= @ssl_crtfile %>"}, {keyfile, "<%= @ssl_keyfile %>"}, ...
[ {kernel, [{inet_dist_use_interface, {127,0,0,1}}]}, {ssl, [{versions, [<%= @ssl_versions %>]}]}, {rabbit, [{tcp_listeners, [<%= node['private_chef']['rabbitmq']['node_port'] %>]}, {ssl_options, [{certfile, "<%= @ssl_crtfile %>"}, {keyfile, "<%= @ssl_keyfile %>"}, ...
Disable rabbitmq SSL mode when running fips_enabled because our Erlang FIPS module does not support TLS
Disable rabbitmq SSL mode when running fips_enabled because our Erlang FIPS module does not support TLS Signed-off-by: tyler-ball <e0ade6e59ae450651c4b46c49641641db5e1d269@gmail.com>
HTML+ERB
apache-2.0
chef/chef-server,itmustbejj/chef-server,itmustbejj/chef-server,juliandunn/chef-server-1,chef/chef-server,chef/chef-server,juliandunn/chef-server-1,juliandunn/chef-server-1,chef/chef-server,itmustbejj/chef-server,itmustbejj/chef-server,juliandunn/chef-server-1,juliandunn/chef-server-1,chef/chef-server,itmustbejj/chef-se...
ef14100abe0db047c86c267c2e9f14f480f4abcf
app/views/books/search.html.erb
app/views/books/search.html.erb
<% provide(:title, "Sökning") %> <div class="col-md-12"> <h3>Alla böcker som matchar sökningen <%= params[:query] %> ( <% unless @books.nil? %> <%= @books.count %> <% else %> 0 <% end %> )</h3> <ul class="books"> <%unless @books.nil? %> <%= render @books %> ...
<% provide(:title, "Sökning") %> <div class="col-md-12"> <h3>Alla böcker som matchar sökningen <%= params[:query] %> ( <% unless @books.nil? %> <%= @books.count %> <% else %> 0 <% end %> )</h3> <ul class="books"> <%unless @books.nil? %> <%= render @books %> ...
Remove console logs in script
Remove console logs in script
HTML+ERB
mit
johan-andersson01/biblion,johan-andersson01/biblion,johan-andersson01/biblion,johan-andersson01/biblion
235534053cb5828d801cb23ad3424310648ac26c
app/views/events/index.html.erb
app/views/events/index.html.erb
<div class="row"> <div class="col s12 m10 l10 offset-l1"> <%= render 'filter' %> <h2 class="flow-text">Upcoming Events</h2> <table class="striped"> <thead> <tr> <th class="flow-text">Start Date</th> <th class="flow-text">End Time</th> </t...
<div class="row"> <div class="col s12 m10 l10 offset-l1"> <% if user_signed_in? %> <%= render 'filter' %> <% end %> <h2 class="flow-text">Upcoming Events</h2> <table class="striped"> <thead> <tr> <th class="flow-text">Start Date</th> <th class="f...
Remove filtering and distance show from the event index if a user is not signed in
Remove filtering and distance show from the event index if a user is not signed in
HTML+ERB
mit
sd-pocket-gophers-2017/swappaws,sd-pocket-gophers-2017/swappaws,sd-pocket-gophers-2017/swappaws
3497dd0059686f11e53e0dbb441b104cf7a8a231
app/views/labels/index.html.erb
app/views/labels/index.html.erb
<%= render 'shared/notice' %> <div> <%= link_to raw("<i class=\"material-icons\">add</i>"), new_session_label_path(@app_session), class: "btn-floating btn-large waves-effect waves-circle waves-light blue darken-1 right" %> <h4>Labels</h4> </div> <br> <ul class="collection z-depth-1"> <% @labels.ea...
<%= render 'shared/notice' %> <div> <%= link_to raw("<i class=\"material-icons\">add</i>"), new_session_label_path(@app_session), class: "btn-floating btn-large waves-effect waves-circle waves-light blue darken-1 right" %> <h4>Labels</h4> </div> <br> <% if @labels.empty? %> <div class="card-panel bl...
Add empty label list banner
Add empty label list banner Signed-off-by: Shen Yichen <be3bb257ef8d73236feaba36cd3e5ee9095e6819@gmail.com>
HTML+ERB
mit
yichenshen/chimney,yichenshen/chimney,yichenshen/chimney
33721d0f9e023c41e8ef960d11ed1bb070db0780
app/views/sessions/new.html.erb
app/views/sessions/new.html.erb
<h1>Log In</h1> <% form_tag sessions_path do -%> <p><%= label_tag 'login', "Email" %><br /> <%= text_field_tag 'login', @login %></p> <p><%= label_tag 'password' %><br/> <%= password_field_tag 'password', nil %></p> <!-- Uncomment this if you want this functionality <p><%= label_tag 'remember_me', 'Remember me' %> <...
<h1>Log In</h1> <% form_tag sessions_path do -%> <p><%= label_tag 'login', "Email" %><br /> <%= text_field_tag 'login', @login %></p> <p><%= label_tag 'password' %><br/> <%= password_field_tag 'password', nil %></p> <p><%= label_tag 'remember_me', 'Remember me' %> <%= check_box_tag 'remember_me', '1', @remember_me %...
Add 'remember me' to login
Add 'remember me' to login
HTML+ERB
mit
markmcspadden/coding-mentors,markmcspadden/coding-mentors
171c3fb0131be4176de8dccf8ad83145096c8246
source/layouts/layout.erb
source/layouts/layout.erb
<!doctype html> <html> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- Use the title from a page's frontmatter if it has one --> <title><%= current_page.data.t...
<!doctype html> <html> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="google-site-verification" content="WI9F_89CgcujDanrmDXrbSozmM2JpbjIFcBCAOXQk2g" /> <title><...
Verify the domain for G Suite
Verify the domain for G Suite
HTML+ERB
mit
partialconf/2017.partialconf.com,partialconf/2017.partialconf.com,partialconf/2017.partialconf.com
a09d664732fb4f51a580bdd7ae860a9e22aefaeb
app/views/doc/ref.html.erb
app/views/doc/ref.html.erb
<%- @section = 'documentation' %> <%- @subsection = 'reference' %> <%- @page_title = "Git - Reference" %> <div id='main'> <h1>Reference</h1> <div class='callout quickref'> <p> Quick reference guides: <a href=" https://na1.salesforce.com/help/doc/en/salesforce_git_developer_cheatsheet.pdf">Heroku...
<%- @section = 'documentation' %> <%- @subsection = 'reference' %> <%- @page_title = "Git - Reference" %> <div id='main'> <h1>Reference</h1> <div class='callout quickref'> <p> Quick reference guides: <a href="https://training.github.com/kit/downloads/github-git-cheat-sheet.pdf">GitHub Cheat Shee...
Update Git Cheat Sheet PDF URL in Quick Reference links
Update Git Cheat Sheet PDF URL in Quick Reference links
HTML+ERB
mit
Belthazor2008/git-scm.com,Mokolea/git-scm.com,Xia-lj/git-scm.com,gittower/git-scm.com,virgo075/git-scm.com,ThiagoGarciaAlves/git-scm.com,dscho/git-scm.com,Mokolea/git-scm.com,jasonlong/git-scm.com,ThiagoGarciaAlves/git-scm.com,openhardnudd/git-scm.com,gittower/git-scm.com,jnavila/gitscm-next,beni55/git-scm.com,peterkin...
3304115f85785283247b02ed49ffdcd14f49ec8e
app/assets/stylesheets/lr-assets.css.erb
app/assets/stylesheets/lr-assets.css.erb
@font-face { font-family: 'GeoHeadlineRegular'; src: url(font-path( 'geoheadline-webfont.eot' )); src: url(font-path( 'geoheadline-webfont.eot#iefix' )) format('embedded-opentype'), url(font-path( 'geoheadline-webfont.woff' )) format('woff'), url(font-path( 'geoheadline-webfont.ttf' )) format('truet...
@font-face { font-family: 'GeoHeadlineRegular'; src: url(<%= asset_path 'geoheadline-webfont.eot' %>); src: url(<%= asset_path 'geoheadline-webfont.eot' %>#iefix ) format('embedded-opentype'), url(<%= asset_path 'geoheadline-webfont.woff' %>) format('woff'), url(<%= asset_path 'geoheadline-webfont.t...
Revert use of sass font helper - wrong path in production
Revert use of sass font helper - wrong path in production
HTML+ERB
apache-2.0
epimorphics/hpi-explorer,epimorphics/hpi-explorer,epimorphics/hpi-explorer,epimorphics/hpi-explorer
ccaff4ca8393a57f4704e5240aed73b2f3fe3b07
app/views/admin_area/_scheduler.html.erb
app/views/admin_area/_scheduler.html.erb
<p> Last synchronized at: <% if scheduler.last_run_time %> <%= distance_of_time_in_words_to_now(scheduler.last_run_time) %> ago <% else %> N/A <% end %> <br> Next synchronization scheduled at: <% if SupportCentral::Application.config.cache_classes %> ...
<p> Last synchronized at: <% if scheduler.last_run_time %> <%= distance_of_time_in_words_to_now(scheduler.last_run_time) %> ago <% else %> N/A <% end %> <br> Next synchronization scheduled at: <% if SupportCentral::Application.config.cache_classes %> ...
Fix admin area crash after clicking on Synchronize button
Fix admin area crash after clicking on Synchronize button
HTML+ERB
mit
phusion/support_central,phusion/support_central,phusion/support_central
d400c27d44d3fdb12d40c8e8464c7d9ff7747078
app/views/reports/edit.html.erb
app/views/reports/edit.html.erb
<h1>Editing report</h1> <%= render 'form' %> <%= link_to 'Show', @report %> | <%= link_to 'Back', reports_path %>
<h1>Editing report</h1> <%= render 'form' %> <%= link_to 'Show', user_report_path(current_user, @report) %> | <%= link_to 'Back', user_reports_path(current_user) %>
Update paths for show and back to reflect nested routes
Update paths for show and back to reflect nested routes
HTML+ERB
mit
fma2/school-visits-tool,fma2/school-visits-tool
5966cf17708515697078d3210a9cb2fd2573a4fa
app/views/samples/show.html.erb
app/views/samples/show.html.erb
<%= render :partial => "general/item_title", :locals => {:item => @sample, :buttons_partial => 'assets/asset_buttons'} %> <div class="row"> <div class="col-md-9 col-sm-8 box_about_actor"> <div class="row"> <div class="col-md-6"> <p> <label>Sample type:</label> <%= link_to @sa...
<%= render :partial => "general/item_title", :locals => {:item => @sample, :buttons_partial => 'assets/asset_buttons'} %> <div class="row"> <div class="col-md-9 col-sm-8 box_about_actor"> <div class="row"> <div class="col-md-6"> <p> <label>Sample type:</label> <%= link_to @sa...
Hide samples graph for now
Hide samples graph for now
HTML+ERB
bsd-3-clause
HITS-SDBV/seek,stuzart/seek,HITS-SDBV/seek,HITS-SDBV/seek,HITS-SDBV/seek,stuzart/seek,stuzart/seek
8b98d68881f023dd8474b03b28b38adcf5d3c2cf
app/views/sessions/new.html.erb
app/views/sessions/new.html.erb
<h2>Login:</h2> <%= form_tag sessions_path do |f| %> <div> Username: <%= text_field_tag :name %> </div> <div> Email: <%= email_field_tag :email %> </div> <div> Password: <%= password_field_tag :password %> </div> <%= submit_tag 'Log In'%> <% end %>
<h2>Login:</h2> <%= form_tag sessions_path do |f| %> <div> Username: <%= text_field_tag :name %> </div> <div> Email: <%= email_field_tag :email %> </div> <div> Password: <%= password_field_tag :password %> </div> <%= submit_tag 'Log In'%> <% end %> <h2>New User Signup:</h2> <%= form_for User.n...
Include new user signup in login page
Include new user signup in login page
HTML+ERB
mit
zlschatz/Mountain-Chat-Rails-App,zlschatz/Mountain-Chat-Rails-App,zlschatz/Mountain-Chat-Rails-App
20a34c861807d05575b08635d186dbf3608b1427
app/views/spree/admin/users/_subscription_tab.html.erb
app/views/spree/admin/users/_subscription_tab.html.erb
<% if can? :admin, @user.subscriptions %> <li<%== ' class="active"' if current == :subscriptions %>> <%= link_to t("spree.admin.user.subscriptions"), spree.admin_user_subscriptions_path(@user) %> </li> <% end %>
<% if can? :admin, SolidusSubscriptions::Subscription.new(user: @user) %> <li<%== ' class="active"' if current == :subscriptions %>> <%= link_to t("spree.admin.user.subscriptions"), spree.admin_user_subscriptions_path(@user) %> </li> <% end %>
Update permissions check on user subscription tab
Update permissions check on user subscription tab Previously, it would check your permissions on an ActiveRecord association - which would in most non-admin cases be false, even if they had permissions to manage subscriptions. This changes the check to return a new instance of the users subscriptions, so people with m...
HTML+ERB
bsd-3-clause
solidusio-contrib/solidus_subscriptions,solidusio-contrib/solidus_subscriptions,solidusio-contrib/solidus_subscriptions,solidusio-contrib/solidus_subscriptions
3a21926a5932cccfb9dddf2e841c0ded865c88ef
modules/govuk_jenkins/templates/jobs/smokey_deploy.yaml.erb
modules/govuk_jenkins/templates/jobs/smokey_deploy.yaml.erb
--- - scm: name: smokey_Smokey_Deploy scm: - git: url: git@github.com:alphagov/smokey.git branches: - master - job: name: Smokey_Deploy display-name: Smokey_Deploy project-type: freestyle properties: - github: url: https://github...
--- - scm: name: smokey_Smokey_Deploy scm: - git: url: git@github.com:alphagov/smokey.git branches: - master - job: name: Smokey_Deploy display-name: Smokey_Deploy project-type: freestyle properties: - github: url: https://github...
Update Smokey deploy job for AWS
Update Smokey deploy job for AWS In AWS we need to find the monitoring box to deploy to as the hostname is not hardcoded.
HTML+ERB
mit
alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet
72c02ba0b7516628d4ea496f0edb61f8a62e88aa
app/views/layouts/_topic.html.erb
app/views/layouts/_topic.html.erb
<% ref_name = topic.name.tr('#', '').tr('?', '').downcase.split(' ').join('-') %> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#<%= ref_name %>"> <%= topic.name %> </a> </h4> </div> <div...
<% ref_name = topic.name.tr('#?@/', '').downcase.split(' ').join('-') %> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#<%= ref_name %>"> <%= topic.name %> </a> </h4> </div> <div id="<%= ...
Remove @ and / from div ids in FAQs
Remove @ and / from div ids in FAQs
HTML+ERB
mit
sethfri/VPAC,sethfri/VPAC
74933afcbfe466f04cb32bb9503639bcdaa0b162
app/views/people/_person.html.erb
app/views/people/_person.html.erb
<li> <div class="avatar"> <% if person.image? %> <%= cdn_image_tag(person.image, state: person.state, size: "60x60", alt: "") %> <% else %> <%= image_tag("placeholder.png", size: "60x60", alt: "") %> <% end %> </div> <div class="person-info"> <h2><%= link_to person.name, person_path(pe...
<li> <div class="avatar"> <% if person.image? %> <%= cdn_image_tag(person.image, state: person.state, size: "60x60", alt: "") %> <% else %> <%= image_tag("placeholder.png", size: "60x60", alt: "") %> <% end %> </div> <div class="person-info"> <h2><%= link_to person.name, person_path(pe...
Fix person not being specified
Fix person not being specified
HTML+ERB
agpl-3.0
mapineda/askthem,opengovernment/askthem,mapineda/askthem,mapineda/askthem,mapineda/askthem,opengovernment/askthem,opengovernment/askthem,opengovernment/askthem
be16401c4219b40e0293be507cf6a68a4157a17a
source/tag.html.erb
source/tag.html.erb
--- pageable: true per_page: 12 --- <h1>Articles tagged '<%= tagname %>'</h1> <% if paginate && num_pages > 1 %> <p>Page <%= page_number %> of <%= num_pages %></p> <% if prev_page %> <p><%= link_to 'Previous page', prev_page %></p> <% end %> <% end %> <ul> <% page_articles.each_with_index do |article, i|...
--- pageable: true per_page: 12 --- <h1>Articles tagged '<%= tagname %>'</h1> <% if paginate && num_pages > 1 %> <p>Page <%= page_number %> of <%= num_pages %></p> <% if prev_page %> <p><%= link_to 'Previous page', prev_page %></p> <% end %> <% end %> <ul> <% page_articles.each_with_index do |article, i|...
Update date format for tags.
Update date format for tags.
HTML+ERB
mit
martincostello/blog,martincostello/blog,martincostello/blog
727fd5ee6382ebee8aac5cb717b212647866d818
templates/rc.local.erb
templates/rc.local.erb
#!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to do the full Sys V style init stuff. touch /var/lock/subsys/local /root/.ip_info.sh & <% if @print_console_login == true -%> /root/.console_login.sh & <% else -%> /r...
#!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to do the full Sys V style init stuff. touch /var/lock/subsys/local /root/.ip_info.sh & <% if @print_console_login == true -%> /root/.console_login.sh & <% else -%> /r...
Correct check if puppet command exists
Correct check if puppet command exists
HTML+ERB
apache-2.0
puppetlabs/pltraining-bootstrap,carthik/pltraining-bootstrap,samuelson/pltraining-bootstrap,klynton/pltraining-bootstrap,puppetlabs/pltraining-bootstrap,joshsamuelson/pltraining-bootstrap,kjhenner/pltraining-bootstrap,carthik/pltraining-bootstrap,samuelson/pltraining-bootstrap,binford2k/pltraining-bootstrap,klynton/plt...
5a35ae4b59a3219948902f698229c672e0443a7f
templates/default/app-restart.sh.erb
templates/default/app-restart.sh.erb
#!/bin/bash TIMEOUT=<%= @timeout %> PORT=<%= @app_port %> # FAILURE TIME TO DIE function die_loudly { echo "**************** $@ ****************" exit 1 } function say_loudly { echo "================ $@ ================" } # Let the app server finish any open requests function finish_requests { <%= @finished_...
#!/bin/bash TIMEOUT=<%= @timeout %> PORT=<%= @app_port %> # FAILURE TIME TO DIE function die_loudly { echo "**************** $@ ****************" exit 1 } function say_loudly { echo "================ $@ ================" } # Let the app server finish any open requests function finish_requests { <%= @finished_...
Add some newline love because curl
Add some newline love because curl
HTML+ERB
mit
sportngin-cookbooks/opsworks-rolling-restart,sportngin-cookbooks/opsworks-rolling-restart
9e56fd972fab972c73d609f34a7f7307db7203f3
templates/default/deprecated/html/main.erb
templates/default/deprecated/html/main.erb
<div class="section <%= generator_name %>"> <h2>Deprecated Warning</h2> <p> This <%= object.type %> is deprecated<%= object.tag(:deprecated).text ? ": " + object.tag(:deprecated).text : "" %>. </p> </div>
<p class="section <%= generator_name %>"> <strong>Deprecated.</strong> <em><%= htmlify object.tag(:deprecated).text %></em> </p>
Use old javadoc style deprecated message
Use old javadoc style deprecated message
HTML+ERB
mit
iankronquist/yard,herosky/yard,amclain/yard,alexdowad/yard,thomthom/yard,jreinert/yard,alexdowad/yard,herosky/yard,thomthom/yard,iankronquist/yard,lsegal/yard,ohai/yard,thomthom/yard,ohai/yard,amclain/yard,travis-repos/yard,jreinert/yard,amclain/yard,iankronquist/yard,herosky/yard,ohai/yard,alexdowad/yard,travis-repos/...
4b16c0cc7cc8c7b879ec4e050e107b8a1b01fb9a
guides/source/overview.html.erb
guides/source/overview.html.erb
<% content_for :header_section do %> <h2>Spree Guides</h2> <p> These guides are designed to make you immediately productive with Spree, and to help you understand how all of the pieces fit together. They are written by the authors of Spree as well as members of the Spree community. </p> <ul> <li> ...
<% content_for :header_section do %> <h2>Spree Guides</h2> <p> These guides are designed to make you immediately productive with Spree, and to help you understand how all of the pieces fit together. They are written by the authors of Spree as well as members of the Spree community. </p> <ul> <li> ...
Drop legacy guide links for now
Drop legacy guide links for now
HTML+ERB
bsd-3-clause
gautamsawhney/spree,Ropeney/spree,Migweld/spree,xuewenfei/solidus,ujai/spree,madetech/spree,progsri/spree,delphsoft/spree-store-ballchair,PhoenixTeam/spree_phoenix,degica/spree,mleglise/spree,zamiang/spree,brchristian/spree,alvinjean/spree,FadliKun/spree,pervino/spree,DarkoP/spree,siddharth28/spree,rajeevriitm/spree,za...
59f9fcb77161b27c8e850c31ea2ec09e683188aa
app/views/blog_overview_page/index.html.erb
app/views/blog_overview_page/index.html.erb
<% @blog_posts.each do |blog_post| %> <h4><%= link_to(scrivito_value(blog_post.title), scrivito_path(blog_post)) %></h4> <p><%= scrivito_tag(:div, blog_post, :abstract) %></p> <% end %> <%= link_to("previous page", @previous_page) if @previous_page %> <%= link_to("next page", @next_page) if @next_page %>
<% @blog_posts.each do |blog_post| %> <h4><%= link_to(scrivito_value(blog_post.title), scrivito_path(blog_post)) %></h4> <% end %> <%= link_to("previous page", @previous_page) if @previous_page %> <%= link_to("next page", @next_page) if @next_page %>
Remove abstract: no spcific instruction given for use
Remove abstract: no spcific instruction given for use
HTML+ERB
mit
yasslab/coderdojo.jp,yasslab/coderdojo.jp,yasslab/coderdojo.jp,coderdojo-japan/coderdojo.jp,coderdojo-japan/coderdojo.jp,coderdojo-japan/coderdojo.jp,coderdojo-japan/coderdojo.jp
4112b08c3f4b158b66784fe7bf1b76560fb0afd6
app/views/layouts/_guide_container.html.erb
app/views/layouts/_guide_container.html.erb
<%= content_for :breadcrumbs do %> <%= breadcrumbs subject %> <% end %> <%= render layout: 'layouts/guide', locals: { subject: subject } do %> <div class="row"> <div class="mu-inline-block-right"> <h1><%= language_icon @guide.language %></h1> </div> <div class="mu-inline-block-left"> <h1><...
<%= content_for :breadcrumbs do %> <%= breadcrumbs subject %> <% end %> <%= render layout: 'layouts/guide', locals: { subject: subject } do %> <div class="row"> <div class="mu-inline-block-right hidden-xs"> <h1><%= language_icon @guide.language %></h1> </div> <div class="mu-inline-block-left"> ...
Hide language icon on guide mobile view
Hide language icon on guide mobile view
HTML+ERB
agpl-3.0
mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory
84454210249532cabded945ddb1bb91873ea6834
app/views/_navbar.erb
app/views/_navbar.erb
<div class="top-bar"> <div class="top-bar-title"> <span data-responsive-toggle="navbar" data-hide-for="medium"> <span class="menu-icon" type="button" data-toggle></span> </span> <span class="show-for-medium"> <div id="logo"> <a href="/"> <img src="/assets/ch...
<div class="top-bar"> <div class="top-bar-title"> <span class="show-for-medium"> <div id='logo'> <a href="/"> <img src="/assets/cherrytomato.png" alt="logo"> </a> </div> </span> </div> <div id="navbar"> <div class="top-bar-left"> </div> <div class="top-bar...
Fix navbar menu for mobile and small devices
Fix navbar menu for mobile and small devices
HTML+ERB
mit
aasare/panadora
5c8ec9ddd3d665f0228e02f07780ac3bed4bc068
lib/app/views/teams/member_submissions.erb
lib/app/views/teams/member_submissions.erb
<div class="span4"> <h5> <%= gravatar_tag current_user.avatar_url, size: 20 %> <a href="/<%= member.username %>"><%= member.username %></a> </h5> <% if submissions.any? %> <ul> <% submissions.each do |submission| %> <li> <a href="/submissions/<%= submission.id %>"> ...
<div class="span4"> <h5> <%= gravatar_tag member.avatar_url, size: 20 %> <a href="/<%= member.username %>"><%= member.username %></a> </h5> <% if submissions.any? %> <ul> <% submissions.each do |submission| %> <li> <a href="/submissions/<%= submission.id %>"> <%= su...
Fix buggy gravatar image on team page
Fix buggy gravatar image on team page
HTML+ERB
agpl-3.0
chinaowl/exercism.io,kizerxl/exercism.io,copiousfreetime/exercism.io,praveenpuglia/exercism.io,sheekap/exercism.io,IanDCarroll/exercism.io,k4rtik/exercism.io,mhelmetag/exercism.io,mscoutermarsh/exercism_coveralls,nathanbwright/exercism.io,hanumakanthvvn/exercism.io,IanDCarroll/exercism.io,MBGeoff/Exercism.io-mbgeoff,em...
3eed777c78da1e69a16eb2303d2e89a9d22d34ce
views/index.erb
views/index.erb
<h2>Welcome to PizzaShop</h2> <div class="row"> <% @products.each do |p| %> <div class="col-md-3"> <div> <%= p.title %> </div> <div> <img src="<%= p.path_to_image %>" /> </div> <div> <%= p.description %> </div> <div> Size: <%= p.size %> cm </div> <div> Price: <%= p.p...
<h2>Welcome to PizzaShop</h2> <div class="row"> <% @products.each do |p| %> <div class="col-md-3"> <div> <%= p.title %> </div> <div> <img src="<%= p.path_to_image %>" /> </div> <div> <%= p.description %> </div> <div> Size: <%= p.size %> cm </div> <div> Price: <%= p.p...
Add button to each product
Add button to each product
HTML+ERB
mit
Disa0808/PizzaShop,Disa0808/PizzaShop,Disa0808/PizzaShop
da39e9162e3a7451280a1adf42c823e7294ab80b
modules/spamassassin/templates/local.cf.erb
modules/spamassassin/templates/local.cf.erb
# This file is being managed by Puppet. # /etc/puppet/modules/spamassassin/templates/local.cf.erb # # Data is sourced from hiera, predominantly data/common.yaml # ########################################################################### use_bayes 0 #use_auto_whitelist 0 required_hits 10 lock_method flock ski...
# This file is being managed by Puppet. # /etc/puppet/modules/spamassassin/templates/local.cf.erb # # Data is sourced from hiera, predominantly data/common.yaml # ########################################################################### use_bayes 0 #use_auto_whitelist 0 required_hits 10 lock_method flock ski...
Add a conditional statement, so we dont barf if we dont decalre any values
Add a conditional statement, so we dont barf if we dont decalre any values
HTML+ERB
apache-2.0
sebbASF/infrastructure-puppet,stumped2/infrastructure-puppet,sebbASF/infrastructure-puppet,apache/infrastructure-puppet,bdube/infrastructure-puppet,apache/infrastructure-puppet,stumped2/infrastructure-puppet,sebbASF/infrastructure-puppet,bdube/infrastructure-puppet,chtyim/infrastructure-puppet,sebbASF/infrastructure-pu...
a7052a3bb5290ea4f94d1c1312dde0b379da6658
app/views/conferences/_table.html.erb
app/views/conferences/_table.html.erb
<h1 class="header">Conferences</h1> <table class="table-striped table-bordered table-condensed conferences"> <thead> <tr> <th><%= sortable :name, "Conference" %></th> <th><%= sortable :starts_on, "Dates" %></th> <th><%= sortable :city %></th> <th><%= sortable :country %></th> <th><%= sortable :r...
<h1 class="header">Conferences</h1> <table class="table-striped table-bordered table-condensed conferences"> <thead> <tr> <th><%= sortable :name, "Conference" %></th> <th><%= sortable :starts_on, "Dates" %></th> <th><%= sortable :city %></th> <th><%= sortable :country %></th> <th><%= sortable :r...
Fix the links in table :bug:
Fix the links in table :bug:
HTML+ERB
mit
rails-girls-summer-of-code/rgsoc-teams,rails-girls-summer-of-code/rgsoc-teams,TeamCheesy/rgsoc-teams,TeamCheesy/rgsoc-teams,TeamCheesy/rgsoc-teams,rails-girls-summer-of-code/rgsoc-teams
6532605fbd9171f27fb3f60c564a5bdcb41e58d8
templates/default/nrpe.cfg.erb
templates/default/nrpe.cfg.erb
# Autogenerated by Chef. <%= "log_facility=#{node['nrpe']['log_facility']}" unless node['nrpe']['log_facility'].nil? %> pid_file=<%= node['nrpe']['pidfile'] %> server_port=5666 nrpe_user=<%= node['nrpe']['user'] %> nrpe_group=<%= node['nrpe']['group'] %> dont_blame_nrpe=<%= node['nrpe']['dont_blame_nrpe'] %> debug=<%=...
# Autogenerated by Chef. <%= "log_facility=#{node['nrpe']['log_facility']}" unless node['nrpe']['log_facility'].nil? %> pid_file=<%= node['nrpe']['pid_file'] %> server_port=5666 nrpe_user=<%= node['nrpe']['user'] %> nrpe_group=<%= node['nrpe']['group'] %> dont_blame_nrpe=<%= node['nrpe']['dont_blame_nrpe'] %> debug=<%...
Fix a typo in the pid_file attribute that prevented NRPE from loading
Fix a typo in the pid_file attribute that prevented NRPE from loading
HTML+ERB
apache-2.0
bitmonk/nrpe,bitmonk/nrpe,glensc/chef-cookbook-nrpe,davidt/chef-nrpe,schubergphilis/nrpe,schubergphilis/nrpe,glensc/chef-cookbook-nrpe,schubergphilis/nrpe,bitmonk/nrpe,alexanderkiel/chef-nrpe,glensc/chef-cookbook-nrpe
8c9924736f7a99fa9ae0157fdd7828c01de57831
templates/default/tftpd-hpa.erb
templates/default/tftpd-hpa.erb
# /etc/default/tftpd-hpa # # Generated by Chef for <%= node['fqdn'] %> ### TFTP_USERNAME="<%= node['tftp']['username'] %>" TFTP_DIRECTORY="<%= node['tftp']['directory'] %>" TFTP_ADDRESS="<%= node['tftp']['address'] %>" TFTP_OPTIONS="<%= node['tftp']['tftp_options'] %>" RUN_DAEMON="yes" OPTIONS="<%= node['tftp']['optio...
# /etc/default/tftpd-hpa # # Generated by Chef. Do not hand edit ### TFTP_USERNAME="<%= node['tftp']['username'] %>" TFTP_DIRECTORY="<%= node['tftp']['directory'] %>" TFTP_ADDRESS="<%= node['tftp']['address'] %>" TFTP_OPTIONS="<%= node['tftp']['tftp_options'] %>" RUN_DAEMON="yes" OPTIONS="<%= node['tftp']['options'] %...
Remove the node from the template
Remove the node from the template
HTML+ERB
apache-2.0
opscode-cookbooks/tftp,chef-cookbooks/tftp,opscode-cookbooks/tftp,chef-cookbooks/tftp
a005c8da727820359ddfb6a288b53730813fe8e9
app/views/report_mailer/report_reminder_summary.text.erb
app/views/report_mailer/report_reminder_summary.text.erb
This is an automated summary of the badge reminders that are being sent. Reminders are being sent to the following projects: <% @projects.each do |project| %> <%= project.id %>: <%= project.name %>, updated <%= project.updated_at %> <% end %> To see other information, such as the relevant email addresses, please log...
This is an automated summary of the badge reminders that are being sent. Reminders are being sent to the following projects: <% @projects.each do |project| %> * <%= project.id %>: <%= project.name %>, <%= project.badge_percentage %>%, updated <%= project.updated_at %><%= if project.last_reminder_at ", last remi...
Include more information in emailed summaries of reminders
Include more information in emailed summaries of reminders In the reminder summary information to the Linux Foundation, include the badge % level and the last_reminder_at (if not null). The goal is to provide enough summary data to understand what's going on and perhaps guide insight for improvements. Signed-...
HTML+ERB
mit
jdossett/cii-best-practices-badge,yannickmoy/cii-best-practices-badge,jdossett/cii-best-practices-badge,wanganyv/cii-best-practices-badge,yannickmoy/cii-best-practices-badge,coreinfrastructure/best-practices-badge,wanganyv/cii-best-practices-badge,wanganyv/cii-best-practices-badge,wanganyv/cii-best-practices-badge,jdos...
3b090208e8755938b17d50b476f305488e134952
authentication/app/views/refinery/sessions/new.html.erb
authentication/app/views/refinery/sessions/new.html.erb
<% content_for :header, t('.hello_please_sign_in') %> <%= form_for(resource, :as => resource_name, :url => main_app.user_session_path(resource_name)) do |f| %> <div class='field session_username clearfix'> <%= f.label :login %> <%= f.text_field :login, :class => 'larger widest' %> </div> <div class='fiel...
<% content_for :header, t('.hello_please_sign_in') %> <%= form_for(resource, :as => resource_name, :url => main_app.user_session_path) do |f| %> <div class='field session_username clearfix'> <%= f.label :login %> <%= f.text_field :login, :class => 'larger widest' %> </div> <div class='field session_passw...
Fix failed fix from earlier re: new user session path
[route] Fix failed fix from earlier re: new user session path
HTML+ERB
mit
anitagraham/refinerycms,Eric-Guo/refinerycms,mkaplan9/refinerycms,mlinfoot/refinerycms,donabrams/refinerycms,johanb/refinerycms,LytayTOUCH/refinerycms,simi/refinerycms,Retimont/refinerycms,gwagener/refinerycms,johanb/refinerycms,SmartMedia/refinerycms-with-custom-icons,trevornez/refinerycms,hoopla-software/refinerycms,...
ac9b52f6b217373027f759171a90f0c638fabee3
source/_footer.erb
source/_footer.erb
<footer> <div class="container-fluid"> <div class="row"> <div class="col-md-3"> &copy; <%= blog_author %> 2014-<%= Time.now.utc.strftime("%Y") %> </div> <div class="col-md-3"> <a href="https://twitter.com/<%= twitter_handle %>" class="twitter-follow-button" data-show-count...
<footer> <div class="container-fluid"> <div class="row"> <div class="col-md-8"> &copy; <%= blog_author %> 2014-<%= Time.now.utc.strftime("%Y") %> | <a href="http://status.martincostello.com/" target="_blank">Site Status &amp; Uptime</a> </div> <div class="col-md-2"> <a hre...
Change footer to add Google+ "+1" button.
Change footer to add Google+ "+1" button.
HTML+ERB
mit
martincostello/blog,martincostello/blog,martincostello/blog
87bd8ec59b939525963045248f7462db59210a68
app/views/bounty_postings/_card.html.erb
app/views/bounty_postings/_card.html.erb
<%= render 'bounties/card', bounty: posting.bounty %>
<a href="<%= product_wip_path(posting.bounty.product, posting.bounty) %>"> <div class="card"> <div class="card-body"> <h5 class="alpha"> <%= posting.bounty.title %> </h5> <p class="text-muted omega"> <%= truncate(posting.bounty.description, length: 84) %> </p> </div> ...
Make the entire featured bounty card clickable
Make the entire featured bounty card clickable
HTML+ERB
agpl-3.0
assemblymade/meta,lachlanjc/meta,assemblymade/meta,lachlanjc/meta,assemblymade/meta,assemblymade/meta,lachlanjc/meta,lachlanjc/meta
1ae0eff024a7a6095eb0f77616847d52b751d88d
app/views/articles/index.html.erb
app/views/articles/index.html.erb
<h1>Main page</h1> <% @articles.each do |article| %> <h3> <%= article.title %> </h3> <p> <%= article.text %> </p> <p> Created at <%= article.created_at %> </p> <hr/> <% end %>
<h1>Main page</h1> <% @articles.each do |article| %> <h3> <%= link_to article.title, article_path(article) %> </h3> <p> <%= article.text %> </p> <p> Created at <%= article.created_at %> </p> <hr/> <% end %>
Make articl title as link
Make articl title as link
HTML+ERB
mit
cunctat0r/my-little-blog,cunctat0r/my-little-blog,cunctat0r/my-little-blog
174473c1512e4baac9bda4d7a2324414ba136387
app/views/shared/_header.html.erb
app/views/shared/_header.html.erb
<div id="header"> <div id="header_padding" class="container"> <div class="span-16 colborder"> <h1><%= link_to image_tag("echowaves.gif", :border => 0, :width => "282px", :height => "50px" ), home_path %></h1> </div> <div class="span-6 last"> <% if logged_in? %> <%= link_to image_tag(...
<div id="header"> <div id="header_padding" class="container"> <div class="span-16 colborder"> <h1><%= link_to image_tag("echowaves.gif", :border => 0, :width => "282px", :height => "50px" ), home_path %></h1> </div> <div class="span-6 last"> <% if logged_in? %> <%= link_to image_tag(...
Add a temporary edit profile link to header, so the users can change their timezones
Add a temporary edit profile link to header, so the users can change their timezones
HTML+ERB
mit
dmitryame/echowaves,dmitryame/echowaves
9f20573d77a44c192f1a4bd268de476aa232e7d9
app/views/layout.erb
app/views/layout.erb
<!DOCTYPE html> <html lang="en"> <head> <!-- normalize.css removes cross-browser differences in defaults, e.g., differences in how form elements appear between Firefox and IE See: http://necolas.github.com/normalize.css/ --> <link rel="stylesheet" href="/css/normalize.css"> <!-- application.css ...
<!DOCTYPE html> <html lang="en"> <head> <!-- normalize.css removes cross-browser differences in defaults, e.g., differences in how form elements appear between Firefox and IE See: http://necolas.github.com/normalize.css/ --> <link rel="stylesheet" href="/css/normalize.css"> <!-- application.css ...
Add link to user's dashboard on index page
Add link to user's dashboard on index page
HTML+ERB
mit
SputterPuttRedux/phase_3_audition,SputterPuttRedux/phase_3_audition
0650d52e346344f8498bdec13b4729ad49584ca3
cookbooks/wt_static_tag_host/templates/default/apache2.conf.erb
cookbooks/wt_static_tag_host/templates/default/apache2.conf.erb
ExtendedStatus on <VirtualHost *:80> ServerAdmin <%= node['wt_common']['admin_email'] %> ServerName <%= node['fqdn'] %> DocumentRoot <%= @docroot %> CustomLog <%= node['apache']['log_dir'] %>/static_tag_host_access.log combined ErrorLog <%= node['apache']['log_dir'] %>/static_tag_host...
ExtendedStatus on TraceEnable off <VirtualHost *:80> ServerAdmin <%= node['wt_common']['admin_email'] %> ServerName <%= node['fqdn'] %> DocumentRoot <%= @docroot %> CustomLog <%= node['apache']['log_dir'] %>/static_tag_host_access.log combined ErrorLog <%= node['apache']['log_dir'] %>...
Set "TraceEnable" to off for apache security hardening.
Set "TraceEnable" to off for apache security hardening. Former-commit-id: 0bf4503890298002dcf7d992faddb35c425581c9 [formerly b811d25a334ec97145502828a224269710318a3d] [formerly 406b9ee758b6e1b8525ad056d22d1eced6c06a21 [formerly 3a1441450915118d5a8995002e4f7af7e6da98ac [formerly d41f2d6dd2d2d1ed79b8965b3ebd8009e43df06...
HTML+ERB
apache-2.0
Webtrends/rundeck,scottymarshall/rundeck,nilroy/rundeck,scottymarshall/rundeck,scottymarshall/rundeck,nilroy/rundeck,nilroy/rundeck,Webtrends/rundeck,Webtrends/rundeck
c11f3ba686a497e5a6a35e868d5a6b3a94824395
config/nginx.conf.erb
config/nginx.conf.erb
daemon off; #Heroku dynos have at least 4 cores. worker_processes <%= ENV['NGINX_WORKERS'] || 4 %>; events { use epoll; accept_mutex on; worker_connections 1024; } http { gzip on; gzip_comp_level 2; gzip_min_length 512; server_tokens off; log_format l2met 'measure#nginx.service=$request_time request...
daemon off; #Heroku dynos have at least 4 cores. worker_processes <%= ENV['NGINX_WORKERS'] || 4 %>; events { use epoll; accept_mutex on; worker_connections 1024; } http { gzip on; gzip_comp_level 2; gzip_min_length 512; server_tokens off; log_format l2met 'measure#nginx.service=$request_time request...
Add rewrite rule that requires https connections
Add rewrite rule that requires https connections
HTML+ERB
mit
gregburek/heroku-tls-auth-nginx-sample,gregburek/heroku-tls-auth-nginx-sample
fe68970d1d6205e53ab26fcbd49325fdd590a8da
app/views/simple_smart_answers/_outcome.html.erb
app/views/simple_smart_answers/_outcome.html.erb
<div data-module="track-smart-answer" data-smart-answer-node-type="outcome" data-smart-answer-slug="<%= outcome.slug %>"> <%= render "govuk_publishing_components/components/heading", { text: outcome.title, margin_bottom: 4 } %> <%= render "govuk_publishing_components/components/govspeak", { content: ...
<div data-module="track-smart-answer" data-smart-answer-node-type="outcome" data-smart-answer-slug="<%= outcome.slug %>"> <%= render "govuk_publishing_components/components/heading", { text: outcome.title, margin_bottom: 4 } %> <% if outcome.body %> <%= render "govuk_publishing_components/components/...
Allow simple smart answer description to be optional
Allow simple smart answer description to be optional Mainstream Publisher labels the description as "optional" for outcomes. In simple smart answer outcomes without a description, we are currently generating a 500 error rather than showing no content.
HTML+ERB
mit
alphagov/frontend,alphagov/frontend,alphagov/frontend,alphagov/frontend
f6fdab7fa5beedb44c61f5d320b8d47867f2af8d
app/views/meetings/show.html.erb
app/views/meetings/show.html.erb
<p id="notice"><%= notice %></p> <div class='show-meeting'> <h2><%= @meeting.display_date %></h2> <p class='meeting-time'><%= @meeting.display_time %></p> <p><%= @meeting.description %></p> <% @meeting.talks.each do |talk| %> <div class='talk'> <h4><%= talk.title %></h4> <p><%= talk.description...
<p id="notice"><%= notice %></p> <div class='show-meeting'> <% date_and_time = "#{@meeting.display_time} #{@meeting.display_date}" %> <h3><%= date_and_time %></h3> <p><%= @meeting.description %></p> <% @meeting.talks.each do |talk| %> <div class='talk'> <h4><%= talk.title %></h4> <p><%= talk.de...
Change layout of show meeting view
Change layout of show meeting view
HTML+ERB
unlicense
danascheider/testrubypdx,danascheider/testrubypdx,danascheider/testrubypdx
67cc1089812136fd30b6cb99414dadc8f537b02f
app/views/members/index.html.erb
app/views/members/index.html.erb
<h1> Members <%= link_to members_path(format: :csv) do %> <i class="icon-download-alt"></i> <% end %> </h1> <%= paginate @members %> <%= form_tag bulk_action_members_path do %> <table class="table table-striped table-bordered"> <col /> <col width="10%" /> <col width="30%" /> <col /> <c...
<h1> Members <%= link_to members_path(format: :csv) do %> <i class="icon-download-alt"></i> <% end %> </h1> <%= paginate @members %> <%= form_tag bulk_action_members_path do %> <table class="table table-striped table-bordered"> <col /> <col width="10%" /> <col width="30%" /> <col /> <c...
Remove renewal link from members index
Remove renewal link from members index
HTML+ERB
mit
rsslldnphy/wharfmembers,rohanorton/wharfmembers,rohanorton/wharfmembers,rsslldnphy/wharfmembers,rsslldnphy/wharfmembers,rohanorton/wharfmembers
1bda1a607f6e21efecf08624bf609217b4a96a8c
app/views/products/show.html.erb
app/views/products/show.html.erb
<p id="notice"><%= notice %></p> <p> <strong>Title:</strong> <%= @product.title %> </p> <p> <strong>Urls:</strong> <% @product.urls.each do |url| %> <li><a href="<%= url %>" target="_blank"><%= url %></a></li> <% end %> </p> <p> <strong>Price:</strong> <%= @product.price %> </p> <p> <strong>Emai...
<p id="notice"><%= notice %></p> <p> <strong>Title:</strong> <%= @product.title %> </p> <p> <strong>Urls:</strong> <% @product.urls.each do |url| %> <li><a href="<%= url %>" target="_blank"><%= url %></a></li> <% end %> </p> <p> <strong>Price:</strong> <%= @product.price %> </p> <p> <strong>Emai...
Update wording on product page
Update wording on product page
HTML+ERB
agpl-3.0
asm-products/bit-commerce,asm-products/bit-commerce,asm-products/bit-commerce
92dc2583cca5cd9827bd7943f7b43adf1f23befe
app/views/projects/show.html.erb
app/views/projects/show.html.erb
<p> <%= @project.name %> </p> <p> <%= @project.description %> </p> <p> <%= @project.contact %> </p> <p> <%= link_to @project.user.name, profile_path %> </p> <%= link_to 'Project homepage', @project.url %>
<p> Project name: <%= @project.name %> </p> <p> Project Description: <%= @project.description %> </p> <p> Contact person: <%= @project.contact %> </p> <p> Author: <%= link_to @project.user.name, profile_path %> </p> <%= link_to 'Project homepage', @project.url %>
Add more context to details on project view
Add more context to details on project view
HTML+ERB
mit
Railsn00bs/the-wall,andyfoster/the-wall,andyfoster/the-wall,Railsn00bs/the-wall,andyfoster/the-wall,Railsn00bs/the-wall
94e97f2790c12855aa099bbaf8bcb11de8e36316
app/views/backend/snippets/index.html.erb
app/views/backend/snippets/index.html.erb
<%= render 'backend/breadcrumbs' %> <% if @snippets.any? %> <table> <thead> <tr> <th><%= t 'b.description' %></th> <th>&nbsp;</th> </tr> </thead> <tbody> <% @snippets.each do |a| %> <tr> <td><%= a.description %></td> <td class="right icons"> ...
<%= render 'backend/breadcrumbs' %> <% if @snippets.any? %> <table> <thead> <tr> <th><%= t 'b.description' %></th> <th>&nbsp;</th> </tr> </thead> <tbody> <% @snippets.each do |a| %> <tr> <td><%= a.description %></td> <td class="right icons"> ...
Use a better edit icon.
Use a better edit icon.
HTML+ERB
mit
udongo/udongo,udongo/udongo,udongo/udongo
96ffe8fbf0835362a25d359ad88f45573dbc5294
app/views/instruments/show.html.erb
app/views/instruments/show.html.erb
<h1><%= @instrument.title %></h1> <section class="widget"> <div class="body"> <ol class="questions"> <% @instrument.questions.each do |question| %> <li> <%= question.text %> <br /> <span class="label label-info"><%= question.question_type %></span> <% unless question.o...
<h1><%= @instrument.title %></h1> <section class="widget"> <header> <div class="actions hidden-xs-portrait"> <%= link_to edit_instrument_path(@instrument), class: 'btn btn-primary' do %> <i class="icon-edit"></i> Edit Instrument <% end %> </div> </header> <div class="body"> <ol ...
Add edit instrument button to show instrument
Add edit instrument button to show instrument
HTML+ERB
mit
mnipper/rails_survey,mnipper/rails_survey,DukeMobileTech/rails_survey,DukeMobileTech/rails_survey,mnipper/rails_survey,DukeMobileTech/rails_survey
ad5410da99d1a8808d00467301a8e8c01885fc0e
app/views/orders/_order_buttons.erb
app/views/orders/_order_buttons.erb
<div class="row"> <div class="col-xs-12"> <div class="form-group"> <%= render partial: "status_buttons", locals: { order: order } %> <% if order.pending? || order.shipped? %> <button class="btn btn-primary" style="margin-left: 5px;">Save</button> <% end %> <%= link_to "Cancel", o...
Create order buttons partial for consumtion on all order edit views
Create order buttons partial for consumtion on all order edit views
HTML+ERB
mit
on-site/StockAid,icodeclean/StockAid,on-site/StockAid,icodeclean/StockAid,icodeclean/StockAid,on-site/StockAid
f3d896a4c87fab94c943b07a06fc64d1828e3107
source/index.html.erb
source/index.html.erb
<!DOCTYPE HTML> <html> <head> <%= favicon_tag 'images/favicon.ico' %> <meta charset="UTF-8" /> <title>zero</title> <%= stylesheet_link_tag "normalize", "all" %> </head> <body> <%= javascript_include_tag 'all' %> <!-- Piwik --> <script type="text/javascript"> var _paq = _paq || []; _paq.push(['trackPageView...
<!DOCTYPE HTML> <html> <head> <%= favicon_tag 'images/favicon.ico' %> <meta charset="UTF-8" /> <title>zero</title> <%= stylesheet_link_tag "normalize", "all" %> </head> <body> <%= javascript_include_tag 'all' %> <% if build? %> <!-- Piwik --> <script type="text/javascript"> var _paq = _paq || []; _...
Add analytics only on build
Add analytics only on build
HTML+ERB
mit
datenshiZERO/zero,datenshiZERO/zero,datenshiZERO/zero
b15a429fe694daa2bd4da5ec9d64cfc98c63b716
source/index.html.erb
source/index.html.erb
--- pageable: true per_page: 10 --- <% if paginate && num_pages > 1 %> <p>Page <%= page_number %> of <%= num_pages %></p> <% if prev_page %> <p><%= link_to 'Previous page', prev_page %></p> <% end %> <% end %> <ul class="cards"> <% page_articles.each_with_index do |article, i| %> <li class="card"> ...
--- pageable: true per_page: 10 --- <ul class="cards"> <% page_articles.each do |article| %> <%= partial "partials/card_li", locals: { item: article } %> <% end %> </ul> <% if paginate && num_pages > 1 %> <div class="pagination"> <%= pagination_links(articles.count, per_page) %> </div> ...
Use new card_li partial in index
Use new card_li partial in index
HTML+ERB
mit
smargh/fractaled_mind,smargh/fractaled_mind,fractaledmind/fractaled_mind,fractaledmind/fractaled_mind,smargh/fractaled_mind,smargh/fractaled_mind,fractaledmind/fractaled_mind,fractaledmind/fractaled_mind
38b2e027ed5fa551cd230d7c56bb1ca065c32639
puppet/modules/ores/templates/ores.yaml.erb
puppet/modules/ores/templates/ores.yaml.erb
SERVER_NAME: <%= @vhost_name %>:<%= @port %> scoring_systems: defaults: scoring_contexts: - wiki scoring_contexts: wiki: extractor: testwiki_offline scorer_models: damaging: testwiki_revid precache: damaging: "on": ['edit']
SERVER_NAME: <%= @vhost_name %>:<%= @port %> ores: scoring_system: local_celery scoring_systems: defaults: scoring_contexts: - wiki scoring_contexts: wiki: extractor: testwiki_offline scorer_models: damaging: testwiki_revid precache: damaging: "on": ['edit']
Use the celery scoring backend
Use the celery scoring backend This is closer to the production setup, and works around a bug with signal() vs. the standalone scorer. Bug: T159105 Change-Id: Ic6872785184f1efe514f3b31aaf2dd4989e15a28
HTML+ERB
mit
wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant
7338b62259ed3bdcb3d0a37642b30ea8458f91a6
app/views/doc_mailer/doc_confirmation.html.erb
app/views/doc_mailer/doc_confirmation.html.erb
<p>Hello <%= @user.first_name %>,</p> <p>You have created a new document. Click on link to view your document as a PDF.</p> <p><%= link_to "Your PDF document", user_document_url(@user, @document, :format => 'pdf') %></p> <!-- does not work as user_document_path, must use url --> Thanks! DocGenerator
<p>Hello <%= @user.first_name %>,</p> <p>You have created a new document. Click on link to view your document as a PDF.</p> <p><%= link_to "Your PDF document", @document.doc_pdf.url %></p> Thanks! DocGenerator
Change greeting to first name
Change greeting to first name
HTML+ERB
mit
lea3182/Doc_Generator,lea3182/Doc_Generator,lea3182/Doc_Generator
cc091de73e8191a686919a21bc3ebf2ed396a30a
app/views/simulation/exec.js.erb
app/views/simulation/exec.js.erb
$('#result_area').html('<%= j(render(partial: 'simulation/result', locals: { field_count: @field_count, results: @results })) %>');
$('#selected_file').val(''); $('#result_area').html('<%= j(render(partial: 'simulation/result', locals: { field_count: @field_count, results: @results })) %>');
Clear file field on uploaded
Clear file field on uploaded
HTML+ERB
mit
pinzolo/cf_sim_app,pinzolo/cf_sim_app,pinzolo/cf_sim_app
164e9017a4a83c0fdf6f8047ec0a80a63135d1e5
app/views/welcome/index.html.erb
app/views/welcome/index.html.erb
<ul class="tabs" data-tab> <li class="tab-title active"><a href="#panel1">Recent Snippets</a></li> <li class="tab-title"><a href="#panel2">Popular Snippets</a></li> <li class="tab-title"><a href="#panel3">Recent Stories</a></li> <li class="tab-title"><a href="#panel4">Popular Stories</a></li> </ul> <div class="...
<ul class="tabs" data-tab> <li class="tab-title active"><a href="#panel1">Recent Snippets</a></li> <li class="tab-title"><a href="#panel2">Popular Snippets</a></li> <li class="tab-title"><a href="#panel3">Recent Stories</a></li> <li class="tab-title"><a href="#panel4">Popular Stories</a></li> </ul> <div class="...
Add popular stories and recent stories tab
Add popular stories and recent stories tab
HTML+ERB
mit
SputterPuttRedux/storyvine_clone,SputterPuttRedux/storyvine_clone,pearlshin/StoryVine,mxngyn/StoryVine,pearlshin/StoryVine,mxngyn/StoryVine,pearlshin/StoryVine,mxngyn/StoryVine,SputterPuttRedux/storyvine_clone
298ebefb3252167daa0915cee10c73dd5a8689ef
app/views/admin/organizations/show.html.erb
app/views/admin/organizations/show.html.erb
<% content_for(:page_title) do %> Your organization | <% end %> <%= content_for(:js) do %> <%= javascript_include_tag :cdb, :application, :keys %> <script type="text/javascript"> var username = "<%= current_user.username %>" , type = "oauth" , config = <%=raw frontend_config.html_safe %>; </scri...
<% content_for(:page_title) do %> Your organization | <% end %> <%= content_for(:js) do %> <%= javascript_include_tag :cdb, :application, :keys %> <script type="text/javascript"> var username = "<%= current_user.username %>" , type = "oauth" , config = <%=raw frontend_config.html_safe %>; </scri...
Add user list as json array
Add user list as json array
HTML+ERB
bsd-3-clause
UCL-ShippingGroup/cartodb-1,CartoDB/cartodb,dbirchak/cartodb,thorncp/cartodb,CartoDB/cartodb,splashblot/dronedb,nuxcode/cartodb,UCL-ShippingGroup/cartodb-1,bloomberg/cartodb,future-analytics/cartodb,bloomberg/cartodb,UCL-ShippingGroup/cartodb-1,codeandtheory/cartodb,DigitalCoder/cartodb,future-analytics/cartodb,codeand...
d43499a51169569c58947ae854a8885667716116
app/views/koi/settings/_field_tags.html.erb
app/views/koi/settings/_field_tags.html.erb
<%- id = "koi-#{ new_uuid }" -%> <% if object.respond_to?("#{object.key.singularize}_list".to_sym) %> <%= f.input "#{object.key.singularize}_list".to_sym, as: :string, input_html: { id: id, style: 'width:500px' }, label: label %> <%= render "koi/admin_crud/form_field_collection_errors", f: f, attr: attr %> <sc...
<%- id = "koi-#{ new_uuid }" -%> <% if object.respond_to?("#{object.key.singularize}_list".to_sym) %> <%= f.input "#{object.key.singularize}_list".to_sym, as: :string, input_html: { id: id, style: 'width:500px' }, label: label %> <%= render "koi/admin_crud/form_field_collection_errors", f: f, attr: attr %> <% ...
Append any data_source tags to the existing tag list for extensibility.
Append any data_source tags to the existing tag list for extensibility.
HTML+ERB
mit
katalyst/koi,katalyst/koi,katalyst/koi
8e6cd467aa1655a125d36a2f3023cf4e5b77bdf6
ext/osx/preflight.erb
ext/osx/preflight.erb
#!/bin/bash # # Make sure that old hiera cruft is removed # This also allows us to downgrade facter as # it's more likely that installing old versions # over new will cause issues. # # ${3} is the destination volume so that this works correctly # when being installed to volumes other than the current OS. <% begin %> <...
#!/bin/bash # # Make sure that old hiera cruft is removed # This also allows us to downgrade hiera as # it's more likely that installing old versions # over new will cause issues. # # ${3} is the destination volume so that this works correctly # when being installed to volumes other than the current OS. <%- ["@apple_l...
Update for new osx packaging target
Update for new osx packaging target This commit ports work from @ccaviness in https://github.com/puppetlabs/facter/pull/512 and @djmitche in https://github.com/puppetlabs/facter/pull/517/files to hiera, to update the osx packaging for the soon-to-be new osx target install location of /usr/lib/ruby/site_ruby (/Library/...
HTML+ERB
apache-2.0
hlindberg/hiera,hlindberg/hiera,johnduarte/hiera,MikaelSmith/hiera,ferventcoder/hiera,johnduarte/hiera,ferventcoder/hiera,MikaelSmith/hiera,Iristyle/hiera,hlindberg/hiera,Iristyle/hiera,ferventcoder/hiera,Iristyle/hiera,MikaelSmith/hiera,johnduarte/hiera
e9998bc7dc04a65a2f89514fc14baef72723cf60
app/views/application/_analytics.html.erb
app/views/application/_analytics.html.erb
<script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.j...
<script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.j...
Set anonymize IP for Google Analytics requests
Set anonymize IP for Google Analytics requests
HTML+ERB
mit
alphagov/e-petitions,oskarpearson/e-petitions,joelanman/e-petitions,alphagov/e-petitions,joelanman/e-petitions,oskarpearson/e-petitions,unboxed/e-petitions,unboxed/e-petitions,unboxed/e-petitions,alphagov/e-petitions,joelanman/e-petitions,alphagov/e-petitions,unboxed/e-petitions,oskarpearson/e-petitions
accf6ce084082f723a4638a25e8659d6ef71278e
app/views/explorer/documents/new.html.erb
app/views/explorer/documents/new.html.erb
<% content_for :sidebar do %> <%= render :partial => "shared/collections_sidebar" %> <% end %> <%= form_tag(explorer_collection_documents_path(current_database_name, current_collection_name), :method => :post) do %> <fieldset> <legend><%= link_to current_collection_name, explorer_collection_path(current_d...
<% content_for :sidebar do %> <%= render :partial => "shared/collections_sidebar" %> <% end %> <%= form_tag(explorer_collection_documents_path(current_database_name, current_collection_name), :method => :post) do %> <fieldset> <legend><%= link_to current_collection_name, explorer_collection_path(current_d...
Fix typo from Edit to New on new page.
Fix typo from Edit to New on new page.
HTML+ERB
apache-2.0
kiran/mongo-tools,drcapulet/mongo-tools,shixudongleo/mongo-tools,jayanth88/mongo-tools,hoangelos/mongo-tools,geota/mongo-tools,jonasz/mongo-tools,jayanth88/mongo-tools,macworld/mongo-tools,RawanMG/mongo-tools,kiran/mongo-tools,shixudongleo/mongo-tools,danieljordan10/mongo-tools,danieljordan10/mongo-tools,jonasz/mongo-t...
26586212009f1677bdcc27f02d7d28a08004c988
app/views/job_applications/_form.html.erb
app/views/job_applications/_form.html.erb
<%= form_for(@job_application, remote: true, format: :json) do |f| %> <% if @job_application.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@job_application.errors.count, "error") %> prohibited this job_application from being saved:</h2> <ul> <% @job_application.errors.full_messa...
<%= form_for(@job_application, remote: true, format: :json) do |f| %> <% if @job_application.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@job_application.errors.count, "error") %> prohibited this job_application from being saved:</h2> <ul> <% @job_application.errors.full_messa...
Clean up display of application form in modal window.
Clean up display of application form in modal window.
HTML+ERB
apache-2.0
sarahmonster/suitor,sarahmonster/suitor,sarahmonster/suitor
01697b43020f2d7f5e93ac2852e92bde3dc7dcf1
views/layout.erb
views/layout.erb
<!DOCTYPE html> <head> <title>Can I Eat Here?</title> <link rel="stylesheet" media="screen" type="text/css" href="/style.css" /> </head> <body> <header> <h1>Can I Eat Here?</h1> <p>A Directory of Restaurants That Cater To Your Dietary Needs</p> </header> <nav> <% if logged_in? %> <p><a href="/restaurants/new"...
<!DOCTYPE html> <head> <title>Can I Eat Here?</title> <link rel="stylesheet" media="screen" type="text/css" href="/style.css" /> </head> <body> <header> <h1>Can I Eat Here?</h1> <p>A Directory of Restaurants That Cater To Your Dietary Needs</p> </header> <nav> <% if logged_in? %> <p><a href="/restaurants/new"...
Fix broken link to adding a restriction
Fix broken link to adding a restriction
HTML+ERB
mit
chrisswk/can-i-eat-here,codeunion/can-i-eat-here,codeunion/can-i-eat-here,chrisswk/can-i-eat-here
f1dce4d3e83e410264265a0afff48d43dbd9f13f
app/views/events/_list.html.erb
app/views/events/_list.html.erb
<% unless events.blank? %> <ul class="alternate list-unstyled"> <% events.each do |event| %> <li> <div class="row"> <div class="col-sm-12 col-md-3"> <h2 class="robotoSlab"> <%= link_to event_path(event) do %> ...
<% unless events.blank? %> <ul class="alternate list-unstyled"> <% events.each do |event| %> <li> <div class="row"> <div class="col-sm-12 col-md-5"> <h2 class="robotoSlab"> <%= link_to event_path(event) do %> ...
Fix grid system usage on events index
Fix grid system usage on events index
HTML+ERB
mit
StartupWichita/startupwichita.com,StartupWichita/startupwichita.com,StartupWichita/startupwichita.com,sethetter/startupwichita.com,sethetter/startupwichita.com,sethetter/startupwichita.com
a11ef2b35df54df37aa043a218cc33612c6bbeb5
app/views/orders/_form.html.erb
app/views/orders/_form.html.erb
<%= form_for(@order) do |f| %> <% if @order.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@order.errors.count, "error") %> prohibited this order from being saved:</h2> <ul> <% @order.errors.full_messages.each do |message| %> <li><%= message %></li> <% end %> ...
<%= form_for(@order) do |f| %> <% if @order.errors.any? %> <div class="alert alert-danger" role="alert"> <h2><%= pluralize(@order.errors.count, "error") %> prohibited this product from being saved:</h2ß> <ul> <% @order.errors.full_messages.each do |message| %> <li><%= message %></li> ...
Modify _form for new order
Modify _form for new order
HTML+ERB
mit
bdisney/eShop,bdisney/eShop,bdisney/eShop
3412b700c312150d82229818d385986da89dc509
app/views/sessions/new.html.erb
app/views/sessions/new.html.erb
<h1>Log In</h1> <% form_tag sessions_path do -%> <p><%= label_tag 'login' %><br /> <%= text_field_tag 'login', @login %></p> <p><%= label_tag 'password' %><br/> <%= password_field_tag 'password', nil %></p> <!-- Uncomment this if you want this functionality <p><%= label_tag 'remember_me', 'Remember me' %> <%= check_...
<h1>Log In</h1> <% form_tag sessions_path do -%> <p><%= label_tag 'login', "Email" %><br /> <%= text_field_tag 'login', @login %></p> <p><%= label_tag 'password' %><br/> <%= password_field_tag 'password', nil %></p> <!-- Uncomment this if you want this functionality <p><%= label_tag 'remember_me', 'Remember me' %> <...
Change 'login' to 'email' on login page verbage
Change 'login' to 'email' on login page verbage
HTML+ERB
mit
markmcspadden/coding-mentors,markmcspadden/coding-mentors
f6fde4ce0c1515feaf7065c72a694fa040392999
app/views/sessions/new.html.erb
app/views/sessions/new.html.erb
<h1>Sessions#new</h1> <p>Find me in app/views/sessions/new.html.erb</p>
<div class="eshop_form"> <% if flash[:alert] %> <p id="notice"><%= flash[:alert] %></p> <% end %> <%= form_tag do %> <fieldset> <legend>Зарегистрируйтесь, пожалуйста</legend> <div> <%= label_tag :name, 'Name:' %> <%= text_field_tag :name, params[:name] %> </div> <...
Create the view using form_for as there is no underlying model.
Create the view using form_for as there is no underlying model.
HTML+ERB
mit
bdisney/eShop,bdisney/eShop,bdisney/eShop
56af8fa0342a76d9446389c65f3a21e96194bee6
app/views/admin/administrators/_index.html.erb
app/views/admin/administrators/_index.html.erb
<table class="index-table"> <thead> <tr> <%= index_th :id %> <%= index_th :name %> <%= index_th :organization %> <%= index_th :email %> <%= actions_th %> </tr> </thead> <tbody> <% @resources.each do |resource| %> <tr> <%= index_td resource, :id %> <%...
<table class="index-table"> <thead> <tr> <%= index_th :id %> <%= index_th :name %> <%= index_th :organization %> <%= actions_th %> </tr> </thead> <tbody> <% @resources.each do |resource| %> <tr> <%= index_td resource, :id %> <%= index_td resource, :name, i...
Stop showing email on the index screen
Stop showing email on the index screen
HTML+ERB
mit
Threespot/tolaria,Threespot/tolaria,Threespot/tolaria
5cce94ea67e5caee000158b848997ffe9e283ea9
lib/generators/starter/resource/templates/index.html.erb
lib/generators/starter/resource/templates/index.html.erb
<h1><%= plural_table_name.humanize %></h1> <table> <tr> <% attributes.each do |attribute| -%> <th><%= attribute.human_name %></th> <% end -%> <th></th> <th></th> <th></th> </tr> <%% @<%= plural_table_name %>.each do |<%= singular_table_name %>| %> <tr> <% attributes.each do |attribute| -%> <...
<h1><%= plural_table_name.humanize %></h1> <table> <tr> <% attributes.each do |attribute| -%> <th><%= attribute.human_name %></th> <% end -%> <th></th> <th></th> <th></th> </tr> <%% @<%= plural_table_name %>.each do |<%= singular_table_name %>| %> <tr> <% attributes.each do |attribute| -%> <...
Fix bugs in the index template
Fix bugs in the index template
HTML+ERB
mit
raghubetina/starter_generators,rbetina/starter_generators,starterleague/starter_generators,starterleague/starter_generators,rbetina/starter_generators,raghubetina/starter_generators
e6f6e9862c341b336e2bb1b87b735fd17161847b
templates/default/jobs/lampepfl/validate/partest.xml.erb
templates/default/jobs/lampepfl/validate/partest.xml.erb
<?xml version='1.0' encoding='UTF-8'?> <project> <%= githubProject( repoUser: @user, repoName: "dotty", repoRef: @branch, description: "PR validation", nodeRestriction: "public", params: [ {:name => "_scabot_pr", :desc => "For internal use by Scabot."} ], jvmVersion: 8, jvmFlavor: "open...
<?xml version='1.0' encoding='UTF-8'?> <project> <%= githubProject( repoUser: @user, repoName: "dotty", repoRef: @branch, description: "PR validation", nodeRestriction: "public", params: [ {:name => "_scabot_pr", :desc => "For internal use by Scabot."} ], jvmVersion: 8, jvmFlavor: "open...
Archive partest results in Dotty
Archive partest results in Dotty Triggered by https://github.com/lampepfl/dotty/pull/607
HTML+ERB
apache-2.0
scala/scala-jenkins-infra,retronym/scala-jenkins-infra,adriaanm/scala-jenkins-infra,retronym/scala-jenkins-infra,scala/scala-jenkins-infra,adriaanm/scala-jenkins-infra,lrytz/scala-jenkins-infra,retronym/scala-jenkins-infra,SethTisue/scala-jenkins-infra,lrytz/scala-jenkins-infra,SethTisue/scala-jenkins-infra,lrytz/scala...
42d86db5498c7df8d258631f045a2841dfeb7564
app/views/servers/_related_cronjobs.html.erb
app/views/servers/_related_cronjobs.html.erb
<div class="related-ci related-cronjobs"> <%= link_to cronjobs_path(:by_server => @server) do %> <div class="informations"> <h5><%= @server.cronjobs.count %> crons</h5> <div class="details">dont <%= @server.cronjobs.where("definition_location like ?", "%/exploit%").count %> crons d'exploitation</div> </di...
<div class="related-ci related-cronjobs"> <%= link_to cronjobs_path(:by_server => @server) do %> <div class="informations"> <h5><%= @server.cronjobs.count %> crons</h5> <div class="details">dont <%= pluralize @server.cronjobs.where("definition_location like ?", "%/exploit%").count, "cron" %> d'exploitation<...
Use pluralize() in servers/related_cronjobs partial
Use pluralize() in servers/related_cronjobs partial
HTML+ERB
mit
skylost/cartoque,jbbarth/cartoque,jbbarth/cartoque,cartoque/cartoque,cartoque/cartoque,jbbarth/cartoque,cartoque/cartoque,skylost/cartoque
f93cc89624c294ba64bde598c1efd38a3c81a592
app/views/users/mailer/notification.html.erb
app/views/users/mailer/notification.html.erb
<p>Hello <%= @user.name %>!</p> <p><%= I18n.t("notifications.email_title") %></p> <p>Type: <%= I18n.t("notifications.types.#{@notification.type_of}") %></p> <p><%= sanitize_input(prepend_server_url_to_links(@notification.title)) %></p> <p><%= sanitize_input(prepend_server_url_to_links(@notification.message)) %></p>...
<p>Hello <%= @user.name %>!</p> <p><%= I18n.t("notifications.email_title") %></p> <p>Type: <%= I18n.t("notifications.types.#{@notification.type_of}") %></p> <p> <% if @notification.system_message? %> <% # We assume the system notification is clean %> <%= @notification.title.html_safe %> <% else %> <%...
Fix system notification email links not working bug
Fix system notification email links not working bug Closes SCI-964.
HTML+ERB
mpl-2.0
mlorb/scinote-web,Ducz0r/scinote-web,mlorb/scinote-web,Ducz0r/scinote-web,mlorb/scinote-web,Ducz0r/scinote-web
9b9f9e9460c1b162dca8e4bd9e90da6111f72862
lib/generators/statesman/templates/create_migration.rb.erb
lib/generators/statesman/templates/create_migration.rb.erb
class Create<%= migration_class_name %> < ActiveRecord::Migration def change create_table :<%= table_name %> do |t| t.string :to_state, null: false t.text :metadata<%= ", default: \"{}\"" unless mysql? %> t.integer :sort_key, null: false t.integer :<%= parent_id %>, null: false t.boo...
class Create<%= migration_class_name %> < ActiveRecord::Migration def change create_table :<%= table_name %> do |t| t.string :to_state, null: false t.text :metadata<%= ", default: \"{}\"" unless mysql? %> t.integer :sort_key, null: false t.integer :<%= parent_id %>, null: false t.boo...
Add comment on foreign keys
Add comment on foreign keys
HTML+ERB
mit
gocardless/statesman,gocardless/statesman,timothyp/statesman,timothyp/statesman
71876da46adb350e16be6e8bff18960b2e74283c
templates/base_dn.ldif.erb
templates/base_dn.ldif.erb
dn: <%= @base_dn %> dc: nsb objectClass: top objectClass: domain
dn: <%= @base_dn %> dc: <%= @base_dn.split(",").at(0).gsub("dc=", "") %> objectClass: top objectClass: domain
Fix dc issue on base entry
Fix dc issue on base entry
HTML+ERB
bsd-2-clause
scarby/puppet-opendj,bodhi-space/puppet-opendj,ConductAS/puppet-opendj
3a2ee305cfbd4646ccc297cf7528c154e6d5ab51
jobs/cf-redis-broker/templates/registrar_settings.yml.erb
jobs/cf-redis-broker/templates/registrar_settings.yml.erb
--- <% def discover_external_ip networks = spec.networks.marshal_dump _, network = networks.find do |_name, network_spec| network_spec.default end if !network _, network = networks.first end if !network raise "Could not determine IP via network spec: #{networks}" end ...
--- <% def discover_external_ip networks = spec.networks.marshal_dump _, network = networks.find do |_name, network_spec| network_spec.default end if !network _, network = networks.first end if !network raise "Could not determine IP via network spec: #{networks}" end ...
Update config to newer route-registrar requirement
Update config to newer route-registrar requirement [#127561353] Signed-off-by: Jonathan Qiwen Tsang <3d227aa6bffde73f6e08f0ffd3491f423c329e82@pivotal.io>
HTML+ERB
apache-2.0
pivotal-cf/cf-redis-release,pivotal-cf/cf-redis-release,pivotal-cf/cf-redis-release
3f5db81b561764ab48ff6f8f3cd9846b59a76d5a
cookbooks/prometheus/templates/default/alertmanager.yml.erb
cookbooks/prometheus/templates/default/alertmanager.yml.erb
# DO NOT EDIT - This file is being maintained by Chef global: smtp_smarthost: localhost:25 smtp_from: prometheus@openstreetmap.org templates: - /etc/prometheus/alertmanager_templates/*.tmpl route: group_by: - service group_wait: 30s group_interval: 5m repeat_interval: 3h receiver: admins-email i...
# DO NOT EDIT - This file is being maintained by Chef global: smtp_smarthost: localhost:25 smtp_from: prometheus@openstreetmap.org smtp_require_tls: false templates: - /etc/prometheus/alertmanager_templates/*.tmpl route: group_by: - service group_wait: 30s group_interval: 5m repeat_interval: 3h ...
Disable SSL for alert manager emails
Disable SSL for alert manager emails
HTML+ERB
apache-2.0
tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,openstreetmap/ch...
88fc33cf959e30374206cd37b630584e5b16c574
templates/default/zabbix_web.conf.php.erb
templates/default/zabbix_web.conf.php.erb
<?php // Zabbix GUI configuration file global $DB; <% dbtypes = Hash.new %> <% dbtypes['mysql'] = "MYSQL" %> <% dbtypes['rds_mysql'] = "MYSQL" %> <% dbtypes['postgres'] = "POSTGRESQL" %> $DB["TYPE"] = '<%= dbtypes[@database[:install_method]] %>'; $DB["SERVER"] = '<%= @database[:d...
<?php // Zabbix GUI configuration file global $DB; <% dbtypes = Hash.new %> <% dbtypes['mysql'] = "MYSQL" %> <% dbtypes['rds_mysql'] = "MYSQL" %> <% dbtypes['postgres'] = "POSTGRESQL" %> <% dbtypes['oracle'] = "ORACLE" %> $DB["TYPE"] = '<%= dbtypes[@database[:install_method]] %>'; $DB["SERVER"] ...
Add support for Oracle DB type
Add support for Oracle DB type
HTML+ERB
apache-2.0
paybyphone/zabbix-agent,TD-4242/zabbix-agent,nilroy/zabbix,jollyrojer/zabbix,apcera/chef-zabbix,bfraser/zabbix,Youscribe/zabbix,laradji/zabbix,ftclausen/zabbix,Feanor184/zabbix,yakara-ltd/zabbix,yakara-ltd/zabbix,paybyphone/zabbix-agent,ftclausen/zabbix,laradji/zabbix,TD-4242/zabbix-agent,TD-4242/cookbook-libzabbix,lar...
8ab135aea0a4a31bd62eef4d864d33e5fe146fec
templates/consul.upstart.erb
templates/consul.upstart.erb
# Consul Agent (Upstart unit) description "Consul Agent" start on (local-filesystems and net-device-up IFACE!=lo) stop on runlevel [06] env CONSUL=<%= scope.lookupvar('consul::bin_dir') %>/consul env CONFIG=<%= scope.lookupvar('consul::config_dir') %> setuid <%= scope.lookupvar('consul::user') %> setgid <%= scope.loo...
# Consul Agent (Upstart unit) description "Consul Agent" start on (local-filesystems and net-device-up IFACE!=lo) stop on runlevel [06] env CONSUL=<%= scope.lookupvar('consul::bin_dir') %>/consul env CONFIG=<%= scope.lookupvar('consul::config_dir') %> script # read settings like GOMAXPROCS from "/etc/default/con...
Revert setuid/setgid Upstart changes which are incompatible with Ubuntu 10.04
Revert setuid/setgid Upstart changes which are incompatible with Ubuntu 10.04 Use `exec sudo ...` instead of Upstart's setuid/setgid directives as those directives are not supported on older versions on Ubuntu.
HTML+ERB
apache-2.0
jsok/puppet-consul,russellsimpkins-nyt/puppet-consul,ve-interactive/puppet-consul,Damien-traxair/puppet-consul,teaforthecat/puppet-consul,jaxxstorm/puppet-consul,russellsimpkins-nyt/puppet-consul,cregev/puppet-consul,sfu-rcg/puppet-consul,researchgate/puppet-consul,MrDuctTape/puppet-consul,cregev/puppet-consul,bearrito...
7169895909e01ffabd81121acd45b20df1f746e5
BHCDatabase/app/views/users/_form.html.erb
BHCDatabase/app/views/users/_form.html.erb
<%= form_for(@user) do |f| %> <%= render 'shared/error_messages', object: f.object %> <%= f.label :name %> <%= f.text_field :name %> <%= f.label :email %> <%= f.email_field :email %> <%= f.label :telephone %> <%= f.text_field :telephone %> <%= f.label :dob %> <%= f.date_select :d...
<%= form_for(@user) do |f| %> <%= render 'shared/error_messages', object: f.object %> <%= f.label :name %> <%= f.text_field :name, class: "form-control" %> <%= f.label :email %> <%= f.email_field :email, class: "form-control" %> <%= f.label :telephone %> <%= f.text_field :telephone, class...
Add form control to user page
Add form control to user page
HTML+ERB
mit
DaBrown95/BHCDatabase,DaBrown95/BHCDatabase,DaBrown95/BHCDatabase
2b8901ffe346198037b585dbbca3c53ae2de54ba
source/index.html.erb
source/index.html.erb
--- title: nav: home subnav: description: This is a page description. --- <div class="jumbotron text-center"> <div class="container"> <h1>Nature of the Product</h1> <p>We review the best natural hygiene products to provide you with honest, balanced information.</p> </div> </div> <div class="container"> ...
--- title: nav: home subnav: description: This is a page description. --- <div class="jumbotron text-center"> <div class="container"> <h1>Nature of the Product</h1> <p>We review the best natural hygiene products to provide you with honest, balanced information.</p> </div> </div> <div class="container"> ...
Add additional level of looping through product types to Fix broken front page.
Add additional level of looping through product types to Fix broken front page.
HTML+ERB
mit
gropockets/nature,gropockets/nature,gropockets/nature
7e28a6c045abcf9d1fbe609eeec1dbe818ff3ff1
config/docker.yml.erb
config/docker.yml.erb
default: &default connection_timeout: 3 pool: active: false ports: !ruby/range 4500..4600 development: <<: *default host: tcp://192.168.23.75:2375 workspace_root: <%= File.join('/', 'shared', Rails.env) %> production: <<: *default pool: active: true refill: async: false batch_s...
default: &default connection_timeout: 3 pool: active: false ports: !ruby/range 4500..4600 development: <<: *default host: tcp://192.168.23.75:2375 workspace_root: <%= File.join('/', 'shared', Rails.env) %> production: <<: *default host: unix:///var/run/docker.sock pool: active: true refi...
Add docker config for prod
Add docker config for prod
HTML+ERB
bsd-3-clause
openHPI/codeocean,torpedro/codeocean,openHPI/codeocean,openHPI/codeocean,openHPI/codeocean,torpedro/codeocean,torpedro/codeocean,torpedro/codeocean,flxw/codeocean,flxw/codeocean,torpedro/codeocean,flxw/codeocean,flxw/codeocean,openHPI/codeocean,flxw/codeocean,openHPI/codeocean
fa6c1b4ae2e578674be175ec45169c847dddbcbe
app/components/complete/icon_component.html.erb
app/components/complete/icon_component.html.erb
<button data-controller="complete-button" data-complete-button-is-completed-value="<%= lesson_completed? %>" data-complete-button-is-loading-value="false" data-action="click->complete-button#toggle" data-complete-button-id-param="<%= lesson.id %>" data-complete-button-loading-class="complete-icon-button--l...
<button data-controller="complete-button" data-complete-button-is-completed-value="<%= lesson_completed? %>" data-complete-button-is-loading-value="false" data-action="click->complete-button#toggle" data-complete-button-id-param="<%= lesson.id %>" data-complete-button-loading-class="complete-icon-button--l...
Improve contrast between complete and incomplete icons
Feature: Improve contrast between complete and incomplete icons Because: * We've seen some reports about it being a little hard to tell whats complete and incomplete on the course page This commit: * Use a darker shade of gray for the the incomplete icon
HTML+ERB
mit
TheOdinProject/theodinproject,TheOdinProject/theodinproject,TheOdinProject/theodinproject,TheOdinProject/theodinproject
06a17da6f289ba519162af688d847c003d7f42aa
app/views/efforts/_efforts_list_person.html.erb
app/views/efforts/_efforts_list_person.html.erb
<%# Requires parameter efforts %> <table class="table table-condensed table-striped"> <thead> <tr> <th><%= "#{@presenter.full_name}'s efforts:" %></th> <th>From</th> <th>Date</th> <th class="text-right">Finish Time</th> <% if current_user&.admin? %> <th class="text-right">Actions</th> ...
<%# Requires parameter efforts %> <table class="table table-condensed table-striped"> <thead> <tr> <th><%= "#{@presenter.full_name}'s efforts:" %></th> <th>From</th> <th>Age</th> <th>Date</th> <th class="text-right">Finish Time</th> <% if current_user&.admin? %> <th class="text-right"...
Add age to person show efforts table
Add age to person show efforts table
HTML+ERB
mit
SplitTime/OpenSplitTime,SplitTime/OpenSplitTime,SplitTime/OpenSplitTime
1d4bcafdfa7c5011f30467cdefe40ece6e5b0882
spec/dummy/app/views/layouts/application.html.erb
spec/dummy/app/views/layouts/application.html.erb
<html> <head> <title>Context Test Layout</title> </head> <body> <%= yield %> </body> </html>
<html> <head> <title>Context Test Layout</title> </head> <body> <%= flash[:notice] %> <%= yield %> </body> </html>
Add the flash notice to the dummy application so we can test for it
Add the flash notice to the dummy application so we can test for it
HTML+ERB
mit
reinteractive/context,reinteractive/context
38f8bb2c19c1894fb710f5f186adf56dd6d9327f
app/views/root/header_footer_only.html.erb
app/views/root/header_footer_only.html.erb
<%= render partial: 'base', locals: { css_file: 'header-footer-only', js_file: 'header-footer-only', js_at_the_end: true } %>
<%= render partial: 'base', locals: { css_file: 'header-footer-only', js_file: 'header-footer-only', js_at_the_end: true, } %>
Add the trailing comma back in place to appease @alext
Add the trailing comma back in place to appease @alext
HTML+ERB
mit
tadast/static,robinwhittleton/static,alphagov/static,tadast/static,kalleth/static,kalleth/static,tadast/static,alphagov/static,alphagov/static,robinwhittleton/static,kalleth/static,tadast/static,robinwhittleton/static,kalleth/static,robinwhittleton/static
6a02f5dda70b4bd06a9e12fb61cfd502b09e5852
views/breadcrumbs.erb
views/breadcrumbs.erb
<ul class="breadcrumb"> <% add_urls_to_breadcrumbs(@breadcrumbs).each do |e| %> <li class="<%= 'active' if last_breadcrumb?(@breadcrumbs, e.first) %>"><a href="<%= e.last %>"><%= e.first %></a> <span class="divider">/</span></li> <% end %> </ul>
<ul class="breadcrumb"> <% breadcrumb_url_map(@breadcrumbs).each do |e| %> <li class="<%= 'active' if last_breadcrumb?(@breadcrumbs, e.first) %>"><a href="<%= e.last %>"><%= e.first %></a> <span class="divider">/</span></li> <% end %> </ul>
Update view to use renamed/refactored method
Update view to use renamed/refactored method
HTML+ERB
mit
vinbarnes/dirserver
b5aa5eb91fd064ea70319ddd81d3c86f93cb51a2
cookbooks/taginfo/templates/default/sudoers.erb
cookbooks/taginfo/templates/default/sudoers.erb
# DO NOT EDIT - This file is being maintained by Chef # Allow taginfo to restart the web app taginfo ALL=(root) NOPASSWD: /usr/bin/passenger-config restart-app *
# DO NOT EDIT - This file is being maintained by Chef # Allow taginfo to set PASSENGER_INSTANCE_REGISTRY_DIR Defaults:taginfo env_keep=PASSENGER_INSTANCE_REGISTRY_DIR # Allow taginfo to restart the web app taginfo ALL=(root) NOPASSWD: /usr/bin/passenger-config restart-app *
Allow taginfo to set PASSENGER_INSTANCE_REGISTRY_DIR
Allow taginfo to set PASSENGER_INSTANCE_REGISTRY_DIR
HTML+ERB
apache-2.0
Firefishy/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,Firefishy/chef,tomhughes/openstreetmap-chef,Firefishy/chef,openstreetmap/chef,openstreetmap/chef,openstreetma...
a6fd7376b7d244a201ded3c2d2388340b92d5bc7
app/views/components/_emergency_banner.html.erb
app/views/components/_emergency_banner.html.erb
<div class="emergency-banner emergency-banner--<%= campaign_class %>" role="banner" data-nosnippet> <div class="govuk-width-container"> <div class="govuk-grid-row"> <div class="govuk-grid-column-two-thirds"> <h2 class="emergency-banner__heading"><%= heading %></h2> <% if short_description %>...
<div class="emergency-banner emergency-banner--<%= campaign_class %> dont-print" role="banner" data-nosnippet> <div class="govuk-width-container"> <div class="govuk-grid-row"> <div class="govuk-grid-column-two-thirds"> <h2 class="emergency-banner__heading"><%= heading %></h2> <% if short_des...
Hide the emergency banner when a page is printed
Hide the emergency banner when a page is printed Note - whilst the `dont-print` class works and is fine, the preferred `govuk-!-display-none-print` class from GOV.UK Frontend doesn't work because it's included in a stylesheet with the media set to screen.
HTML+ERB
mit
alphagov/static,alphagov/static,alphagov/static
e641f7905adfb260272ea6dfc6f9807fa5f73bb9
vendor/plugins/authentication/app/views/users/new.html.erb
vendor/plugins/authentication/app/views/users/new.html.erb
<% content_for :header, t('.fill_form') %> <% form_for :user, :url => users_path do |f| -%> <%= f.error_messages %> <div class='field'> <%= f.label :login %> <%= f.text_field :login, :class => 'larger widest' %> </div> <div class='field'> <%= f.label :email %> <%= f.text_field :email, :class => ...
<% content_for :header, t('.fill_form') %> <% form_for :user, :url => users_path do |f| -%> <%= f.error_messages %> <div class='field'> <%= f.label :login %> <%= f.text_field :login, :class => 'larger widest' %> </div> <div class='field'> <%= f.label :email %> <%= f.text_field :email, :class => ...
Revert "Change plugins names to titles and fix error on creating new user"
Revert "Change plugins names to titles and fix error on creating new user" This reverts commit bd8f127ebd799e1176335b429eea5436b18fdbf2.
HTML+ERB
mit
mkaplan9/refinerycms,trevornez/refinerycms,trevornez/refinerycms,simi/refinerycms,aguzubiaga/refinerycms,bryanmtl/g-refinerycms,louim/refinerycms,mobilityhouse/refinerycms,johanb/refinerycms,hoopla-software/refinerycms,kelkoo-services/refinerycms,bryanmtl/g-refinerycms,hoopla-software/refinerycms,johanb/refinerycms,Sma...
3d7f09bde69238bf9ee3f5c94ddeba03153e0089
app/views/my_modules/_state_buttons.html.erb
app/views/my_modules/_state_buttons.html.erb
<div class="btn-group pull-right"> <% if !@my_module.completed? %> <div data-action="complete-task" data-link-url="<%= toggle_task_state_my_module_path(@my_module) %>"> <button class="btn btn-primary"> <%= t("my_modules.buttons.complete") %> </button> </div> <% else @my_module.completed?...
<div class="pull-right"> <div class="btn-group"> <% if !@my_module.completed? %> <div data-action="complete-task" data-link-url="<%= toggle_task_state_my_module_path(@my_module) %>"> <button class="btn btn-primary"> <span class="glyphicon glyphicon-ok"></span> <%= t("my_modules.b...
Fix protocol state buttons a bit
Fix protocol state buttons a bit Closes SCI-1073.
HTML+ERB
mpl-2.0
mlorb/scinote-web,mlorb/scinote-web,mlorb/scinote-web,Ducz0r/scinote-web,Ducz0r/scinote-web,Ducz0r/scinote-web
af88514b97ba1f7831c09c2edded94be87b175f3
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>Ifsimply</title> <%= stylesheet_link_tag "application", :media => "all" %> <%= javascript_include_tag "application" %> <%= csrf_meta_tags %> <%= google_webfonts_link_tag "Patua One" %> </head> <body> <header> <%= render 'shared/navigation' %>...
<!DOCTYPE html> <html> <head> <title>Ifsimply</title> <%= stylesheet_link_tag "application", :media => "all" %> <%= javascript_include_tag "application" %> <%= csrf_meta_tags %> <%= google_webfonts_link_tag "Patua One" %> </head> <body> <header> <%= render 'shared/navigation' %>...
Update Application Layout for Modal
Update Application Layout for Modal Add a modal div to the application layout for usage when a modal is required.
HTML+ERB
mit
jekhokie/IfSimply,jekhokie/IfSimply,jekhokie/IfSimply
1e55e2cc797ce628efa8bd925f5fc990d70742b7
app/views/search/_search_form.html.erb
app/views/search/_search_form.html.erb
<div class='search-form'> <%= form_tag( { :controller => 'search', :action => @asset ? @asset : 'index', :asset => nil, :category_path => ( @category ? @category.path : nil ) }, :method => 'get', :class => 'search_form' ) do %> <div id='search-header'> <h1><%= _('Searches') %></h1> <...
<div class='search-form'> <%= form_tag( { :controller => 'search', :action => @asset ? @asset : 'index', :asset => nil, :category_path => ( @category ? @category.path : nil ) }, :method => 'get', :class => 'search_form' ) do %> <div id='search-header'> <h1><%= _('Searches') %></h1> <...
Remove template option on search
Remove template option on search
HTML+ERB
agpl-3.0
EcoAlternative/noosfero-ecosol,blogoosfero/noosfero,CIRANDAS/noosfero-ecosol,samasti/noosfero,coletivoEITA/noosfero-ecosol,blogoosfero/noosfero,coletivoEITA/noosfero-ecosol,blogoosfero/noosfero,EcoAlternative/noosfero-ecosol,samasti/noosfero,blogoosfero/noosfero,blogoosfero/noosfero,CIRANDAS/noosfero-ecosol,coletivoEIT...
baabade36a0bcc10749160fc9b138f2970aa9445
app/views/chatposts/_show.html.erb
app/views/chatposts/_show.html.erb
<tr> <td height="70px" width="95%"> <% User.all.each do |x|%> <% if x.name == @chatpost.user_name %> <% @postuser = x %> <% end %> <% end %> <%= gravatar_for @postuser %><%= link_to @chatpost.user_name, @postuser %> <div class="popover fade right in" style="display: inline-block; position: relative;"> <div clas...
<tr> <td height="70px" width="95%"> <%= gravatar_for @chatpost.user %> <%= link_to @chatpost.user_name, @chatpost.user %> <div class="popover fade right in" style="display:inline-block;position:relative;"> <div class="arrow"></div> <div class="popover-content"> <%= @chatpost.post %> ...
Fix chatposts/_show view and bring it up to speed.
Fix chatposts/_show view and bring it up to speed.
HTML+ERB
mit
slacker87/livepost,slacker87/livepost,slacker87/livepost
312f25bf3de1525b105c0ee7340ac661c0d01f05
app/views/questions/index.html.erb
app/views/questions/index.html.erb
<p id="notice"><%= notice %></p> <header class="page-header col-12"> <h1>Was Ist Das?</h1> <p>Select an image below</p> <%= button_to "Create New Question", new_question_path, method: :get %> <%= button_to "Signup", signup_path, method: :get %> <%= button_to "Login", login_path, method: :get %> </header> <d...
<p id="notice"><%= notice %></p> <header class="page-header col-12"> <h1>Was Ist Das?</h1> <p>Select an image below</p> <%= button_to "Create New Question", new_question_path, method: :get %> <%= button_to "Signup", signup_path, method: :get %> <%= button_to "Login", login_path, method: :get %> <%= button_...
Add Button To Sign In Using Oauth
Add Button To Sign In Using Oauth
HTML+ERB
mit
great-horned-owls-2014/dbc-what-is-this,great-horned-owls-2014/dbc-what-is-this
68151d04119acdd0affbf60a4e9fc2a2c3d6b15c
app/views/shared/_sidebar.html.erb
app/views/shared/_sidebar.html.erb
<div class="main-sidebar"> <!-- Inner sidebar --> <div class="sidebar"> <!-- Sidebar Menu --> <ul class="sidebar-menu"> <li class="header">Menu de operações</li> <!-- Optionally, you can add icons to the links --> <li><a href="#"><span>Another Link</span></a></li> <li class="treeview...
<div class="main-sidebar"> <!-- Inner sidebar --> <div class="sidebar"> <!-- Sidebar Menu --> <ul class="sidebar-menu"> <li class="header">Menu de operações</li> <li> <%= link_to learning_objects_path do %> <i class="fa fa-pencil-square-o"></i> <span>Meus O.A.'s</...
Add link to learning objects index page
Add link to learning objects index page
HTML+ERB
mit
rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn
a2400ba847a9dbe87bfc40a78abfcddbc742a90c
app/views/subscribers/new.html.erb
app/views/subscribers/new.html.erb
<h1>New subscriber</h1> <% form_for(@subscriber) do |f| %> <%= f.error_messages %> <p> <%= f.label :name %><br /> <%= f.text_field :name %> </p> <p> <%= f.label :email %><br /> <%= f.text_field :email %> </p> <p> <%= f.label :public_key %><br /> <%= f.text_field :public_key %> </...
<h1>New subscriber</h1> <% form_for(@subscriber) do |f| %> <%= f.error_messages %> <%= render :partial => 'form', :locals => { :f => f } %> <p> <%= f.submit "Create" %> </p> <% end %> <%= link_to 'Back', subscribers_path %>
Use a partial for creating subscribers
Use a partial for creating subscribers
HTML+ERB
mit
jfqd/zlist,jfqd/zlist,bensie/zlist,bensie/zlist,jfqd/zlist
85ef86ae67607353899f45ad61d2f08e2f4b642f
app/views/layouts/obs_factory/application.html.erb
app/views/layouts/obs_factory/application.html.erb
<% @pagetitle = 'Factory Staging Dashboard' @layouttype = 'custom' %> <% content_for :content_for_head do -%> <%= stylesheet_link_tag 'obs_factory/application', media: 'all' %> <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet"> <% end -%> <%= render :template...
<% @pagetitle = "#{@distribution.name} Staging Dashboard" @layouttype = 'custom' %> <% content_for :content_for_head do -%> <%= stylesheet_link_tag 'obs_factory/application', media: 'all' %> <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet"> <% end -%> <%= re...
Replace Factory with distribution name in the page title
Replace Factory with distribution name in the page title
HTML+ERB
mit
openSUSE-Team/obs_factory,openSUSE-Team/obs_factory,openSUSE-Team/obs_factory
16a9a341bf0cb18ebdf308088aa9d33e057b6a66
app/views/lesson_plans/_lesson_plan_items.html.erb
app/views/lesson_plans/_lesson_plan_items.html.erb
<%= link_to "Add Item", "#", id: "add-item" %> <div class="lesson-plan-items"></div> <script type="text/javascript"> var index = 1; var addItem = function(attributes) { var attributes = _.extend((attributes || {}), {index: index}) var template = HandlebarsTemplates['lesson_plan_items/new'](attributes); ind...
<%= link_to "Add Item", "#", id: "add-item" %> <div class="lesson-plan-items"></div> <script type="text/javascript"> var index = 1; var addItem = function(attributes) { var attributes = _.extend((attributes || {}), {index: index}) var template = HandlebarsTemplates['lesson_plan_items/new'](attributes); ind...
Fix issue with `pm` not persisting past errors.
Fix issue with `pm` not persisting past errors.
HTML+ERB
mit
timothyandrew/blink,timothyandrew/blink,timothyandrew/blink,timothyandrew/blink
55402382eb476e891a8632767634a56eea6ee916
lib/generators/rom/repository/templates/repository.rb.erb
lib/generators/rom/repository/templates/repository.rb.erb
class <%= model_name %>Repository < ROM::Repository::Root root <%= ":#{relation}" %> commands :create, update: :by_pk, delete: :by_pk, mapper: :<%= mapper %> end
class <%= model_name %>Repository < ROM::Repository::Root root <%= ":#{relation}" %> commands :create, update: :by_pk, delete: :by_pk struct_namespace <%= Rails.application.class.name.split("::").first %> end
Use Rails application name to namespace entities
Use Rails application name to namespace entities
HTML+ERB
mit
rom-rb/rom-rails,rom-rb/rom-rails
c3fe1bc117a78a39cfaf630feb5e6db62108b417
app/views/admin/governments/_form.html.erb
app/views/admin/governments/_form.html.erb
<%= form_for [:admin, government], as: :government, html: {class: 'government-form'} do |government_form| %> <%= government_form.errors %> <p><%= government_form.text_field :name %></p> <p><%= government_form.text_field :start_date %></p> <p><%= government_form.text_field :end_date %></p> <p class="warning">...
<%= form_for [:admin, government], as: :government, html: {class: 'government-form'} do |government_form| %> <%= government_form.errors %> <p><%= government_form.text_field :name, {placeholder: "eg 2005 to 2010 Labour government"} %></p> <p><%= government_form.text_field :start_date, {placeholder: "eg 2005-05-06"...
Add placeholders for government modelling form.
Add placeholders for government modelling form.
HTML+ERB
mit
ggoral/whitehall,robinwhittleton/whitehall,ggoral/whitehall,robinwhittleton/whitehall,askl56/whitehall,alphagov/whitehall,askl56/whitehall,robinwhittleton/whitehall,alphagov/whitehall,YOTOV-LIMITED/whitehall,YOTOV-LIMITED/whitehall,hotvulcan/whitehall,YOTOV-LIMITED/whitehall,YOTOV-LIMITED/whitehall,ggoral/whitehall,alp...
dede06e3ed19429cc88d9d588fd85fb202f241a8
app/views/grades/_individual_form.html.erb
app/views/grades/_individual_form.html.erb
<%= number_field_tag :score, grade_score_text(metric, subject), min: 0, step: :any %> <span class="max-points"> / <%= metric.max_score %> </span> <span class="progress-indicator"></span> <div class="comment"> <%= text_area_tag :comment, grade_comment_text(metric, subject), size: '15x3', ...
<%= number_field_tag :score, grade_score_text(metric, subject), min: 0, step: :any %> <span class="max-points"> / <%= metric.max_score %> </span> <span class="progress-indicator"></span> <div class="comment"> <%= text_area_tag :comment, grade_comment_text(metric, subject), size: '15x3', ...
Add instructions for adding grade comments.
Add instructions for adding grade comments.
HTML+ERB
mit
pwnall/seven,pwnall/igor,pwnall/igor,spark008/seven,spark008/igor,spark008/igor,pwnall/igor,pwnall/seven,spark008/igor,pwnall/seven,pwnall/seven,spark008/seven,spark008/seven,pwnall/seven,spark008/seven,pwnall/igor,spark008/seven,spark008/igor,pwnall/igor,spark008/igor
91bdd147997b36a9862da738ca859b4b28abfccb
app/views/users/show.html.erb
app/views/users/show.html.erb
<div class='row'> <div class='small-12 small-centered text-center columns user-header'> <p class="neighborhood-title"><%= @user.first_name %>'s Profile</p> </div> </div> <div class='row'> <div class='small-4 small-centered text-center columns'> <img class="profpic" width="150" height="150" src="<%= @user.picture %>" a...
<div class='row'> <div class='small-12 small-centered text-center columns'> <p class="user-title"><%= @user.first_name %>'s Profile</p> </div> </div> <div class='row'> <div class='small-12 small-centered text-center columns'> <img class="profpic" width="150" height="150" src="<%= @user.picture %>" alt="<%= @user.first...
Update formatting for user profile page'
Update formatting for user profile page'
HTML+ERB
mit
nyc-mud-turtles-2015/nghborly,kimchanyoung/nghborly,kimchanyoung/nghborly,nyc-mud-turtles-2015/nghborly,nyc-mud-turtles-2015/nghborly,kimchanyoung/nghborly