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
4b9815d306b7658d17e5e8c92901ceec998978d4
backend/app/views/spree/admin/promotion_categories/index.html.erb
backend/app/views/spree/admin/promotion_categories/index.html.erb
<% content_for :page_title do %> <%= Spree::PromotionCategory.model_name.human(count: :many) %> <% end %> <% content_for :page_actions do %> <li> <%= button_link_to Spree.t(:new_promotion_category), spree.new_admin_promotion_category_path, :icon => 'plus' %> </li> <% end %> <%= render 'spree/admin/shared/pr...
<% content_for :page_title do %> <%= Spree::PromotionCategory.model_name.human(count: :many) %> <% end %> <% content_for :page_actions do %> <% if can?(:create, Spree::PromotionCategory) %> <li> <%= button_link_to Spree.t(:new_promotion_category), spree.new_admin_promotion_category_path, :icon => 'plus' ...
Add missing auth guards in promotion_categories.
Add missing auth guards in promotion_categories. These were missed in the authorization PR and need to be added.
HTML+ERB
bsd-3-clause
grzlus/solidus,bonobos/solidus,jordan-brough/solidus,Arpsara/solidus,grzlus/solidus,lsirivong/solidus,xuewenfei/solidus,Arpsara/solidus,devilcoders/solidus,pervino/solidus,jsurdilla/solidus,pervino/solidus,forkata/solidus,athal7/solidus,forkata/solidus,athal7/solidus,forkata/solidus,bonobos/solidus,xuewenfei/solidus,sc...
c2d3a8f27c4ed92c6b1a55765201dd39727bb52f
app/views/fields/postgres_array_field/_form.html.erb
app/views/fields/postgres_array_field/_form.html.erb
<div class="field-unit__label"> <%= f.label field.attribute %> </div> <div class="field-unit__field" id="grade-level-access-field"> <input type="text" value="<%= field.to_s %>" name="educator[grade_level_access]" id="educator_grade_level_access" /> <br/> <em>Valid grades: PK, KF, 1, 2, 3, 4, 5, 6, 7, 8.</em> ...
<div class="field-unit__label"> <%= f.label field.attribute %> </div> <div class="field-unit__field" id="grade-level-access-field"> <input type="text" value="<%= field.to_s %>" name="educator[grade_level_access]" id="educator_grade_level_access" /> <em style="font-size: 14px"> Valid grades: PK, KF, 1, 2, 3, 4...
Make grade level access instructions smaller and take out line breaks
Make grade level access instructions smaller and take out line breaks
HTML+ERB
mit
jhilde/studentinsights,jhilde/studentinsights,jhilde/studentinsights,jhilde/studentinsights,studentinsights/studentinsights,studentinsights/studentinsights,studentinsights/studentinsights,studentinsights/studentinsights
4e043a44688f66069a951e4d57aef4bfa0854bf2
core/app/views/spree/admin/option_types/_available.html.erb
core/app/views/spree/admin/option_types/_available.html.erb
<h4><%= t(:add_option_types) %></h4> <table class="index"> <tr data-hook="option_type_header"> <th><%= t(:name) %></th> <th><%= t(:presentation) %></th> <th></th> </tr> <% @available_option_types.each do |ot| %> <tr data-hook="option_type_row"> <td><%= ot.name %></td> <td><%= ot.presentation...
<h4><%= t(:add_option_types) %></h4> <table class="index"> <thead> <tr data-hook="option_type_header"> <th><%= t(:name) %></th> <th><%= t(:presentation) %></th> <th></th> </tr> </thead> <tbody> <% @available_option_types.each do |ot| %> <tr data-hook="option_type_row"> ...
Add <thead> and <tbody> tag for <table>
Add <thead> and <tbody> tag for <table>
HTML+ERB
bsd-3-clause
yiqing95/spree,Hawaiideveloper/shoppingcart,useiichi/spree,ahmetabdi/spree,agient/agientstorefront,sunny2601/spree,radarseesradar/spree,tancnle/spree,locomotivapro/spree,useiichi/spree,PhoenixTeam/spree_phoenix,azclick/spree,delphsoft/spree-store-ballchair,abhishekjain16/spree,lsirivong/spree,hifly/spree,TrialGuides/sp...
d41f2d6dd2d2d1ed79b8965b3ebd8009e43df062
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.
HTML+ERB
apache-2.0
scottymarshall/rundeck,scottymarshall/rundeck,scottymarshall/rundeck
8d7dcb951d5ec3495c0a88cd35944d3e38698315
app/views/jam_circles/show.html.erb
app/views/jam_circles/show.html.erb
<svg></svg> <div class="jam-circle"> <p> <%= @jam_circle.user.name.capitalize %> - <%= @jam_circle.title %> </p> <% unless @jam_circle.description.blank? %> <p> <strong>Description:</strong> <%= @jam_circle.description %> </p> <% end %> <p> <%= @jam_circle.public ? 'Publi...
<svg></svg> <div class="jam-circle"> <p> <%= @jam_circle.user.name.capitalize %> - <%= @jam_circle.title %> </p> <% unless @jam_circle.description.blank? %> <p> <strong>Description:</strong> <%= @jam_circle.description %> </p> <% end %> <p> <%= @jam_circle.public ? 'Publi...
Fix missing link on jam circle bug
Fix missing link on jam circle bug
HTML+ERB
mit
MusiciansToolbox/musician_toolbox,MusiciansToolbox/musician_toolbox,MusiciansToolbox/musician_toolbox
fa3963713f76cd74b9bedc0562c5e560ca2956b3
app/views/mockups/frameset.html.erb
app/views/mockups/frameset.html.erb
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Mockups</title> </head> <frameset cols="170,*" frameborder="1" border="1" bordercolor="#666666" framespacing="1"> <frame src="/mockups_index" title="List" name="list" /> <frame n...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Mockups</title> </head> <frameset cols="170,*" frameborder="1" border="1" bordercolor="#666666" framespacing="1"> <frame src="<%= mockups_index_path %>" title="List" name="list" /> ...
Use mockup_index_path instead of the raw string "/mockups_index' so the correct path to the view is determined using any subdomains and/or subdirectories of the parent rails app.
Use mockup_index_path instead of the raw string "/mockups_index' so the correct path to the view is determined using any subdomains and/or subdirectories of the parent rails app.
HTML+ERB
mit
adamlogic/showoff
35a473edabf09ab029be5526241a13273c726c97
app/views/sessions/_cancel.html.erb
app/views/sessions/_cancel.html.erb
<% if ( current_user && current_user.admin? ) or session.instructor?( current_user ) %> <% if session.time && session.time > Time.now && !session.cancelled %> <%= javascript_include_tag 'modal' %> <div id="cancel-session-dialog" class="content-section"> <h2>Cancel Session</h2> <p> Are you sure you want t...
<% if ( current_user && current_user.admin? ) or session.instructor?( current_user ) %> <% if !session.new_record? && session.time && session.time > Time.now && !session.cancelled %> <%= javascript_include_tag 'modal' %> <div id="cancel-session-dialog" class="content-section"> <h2>Cancel Session</h2> <p> ...
Fix crash when there is an error creating a new session
Fix crash when there is an error creating a new session
HTML+ERB
apache-2.0
txstate-etc/txst-signup,txstate-etc/signup,txstate-etc/signup,txstate-etc/signup,txstate-etc/txst-signup,txstate-etc/txst-signup
c93f5238fc12d1b8d10849036e77445556af6c8d
app/views/tasks/_nextTasks.html.erb
app/views/tasks/_nextTasks.html.erb
<div id="nextTasks" class="section" > <a class="collapsable-sidepanel-button">&nbsp;</a> <div class="page_header jtooltip"> <div>Next tasks</div> </div> <div class="panel_content"> <ul> <% count = 5 if ( count.nil? || count < 5) %> <% for task in nextTasks(count) %> <li> <%...
<div id="nextTasks" class="section" > <a class="collapsable-sidepanel-button">&nbsp;</a> <div class="page_header jtooltip"> <div>Next tasks</div> </div> <div class="panel_content"> <ul> <% count = 5 if ( count.nil? || count < 5) %> <% for task in nextTasks(count) %> <li> <b...
Clean up design of next tasks panel
Clean up design of next tasks panel
HTML+ERB
agpl-3.0
rafaspinola/jobsworth,rafaspinola/jobsworth,ari/jobsworth,rafaspinola/jobsworth,rafaspinola/jobsworth,xuewenfei/jobsworth,digitalnatives/jobsworth,digitalnatives/jobsworth,webstream-io/jobsworth,digitalnatives/jobsworth,xuewenfei/jobsworth,digitalnatives/jobsworth,ari/jobsworth,webstream-io/jobsworth,ari/jobsworth,digi...
4a7f0efbcb125147ce3d46bbab79965f584d2b4e
app/views/shared/_metadata.html.erb
app/views/shared/_metadata.html.erb
<% publication.attributes.slice('slug', 'section', 'department', 'kind').each do |key, value| %> <%= content_tag :label, key.humanize, for: key %> <%= text_field_tag key, value, class: "col-md-7 uneditable-input", disabled: 'disabled' %> <% end %> <%= link_to "Edit in Panopticon", panopticon_edit_url(publication), :cl...
<div class="row"> <div class="col-md-7"> <% publication.attributes.slice('slug', 'section', 'department', 'kind').each do |key, value| %> <%= content_tag :label, key.humanize, for: key %> <%= text_field_tag key, value, class: "form-control add-bottom-margin", disabled: 'disabled' %> <% end %> </...
Switch metadata to use bootstrap 3 form classes
Switch metadata to use bootstrap 3 form classes * Use `form-control`, and move the grid wrappers from input to a parent wrapper
HTML+ERB
mit
leftees/publisher,leftees/publisher,telekomatrix/publisher,leftees/publisher,telekomatrix/publisher,leftees/publisher,alphagov/publisher,alphagov/publisher,alphagov/publisher,telekomatrix/publisher,telekomatrix/publisher
b50ba49b618ab631f32e48ccd533700bc32ea399
app/views/users/_user_form.html.erb
app/views/users/_user_form.html.erb
<<<<<<< HEAD <div class="mu-user-header"> <h1><%= @user.name %></h1> <%= edit_profile_button %> </div> <div class="row mu-tab-body"> <div class="col-md-4 text-center"> <%= image_tag @user.profile_picture, class: 'mu-user-avatar', id: 'mu-user-avatar' %> </div> </div> <%= content_for :no_container do %> ...
<div class="mu-user-header"> <h1><%= @user.name %></h1> <%= edit_profile_button %> </div> <div class="row mu-tab-body"> <div class="col-md-4 text-center"> <%= image_tag @user.profile_picture, class: 'mu-user-avatar', id: 'mu-user-avatar' %> </div> </div> <%= content_for :no_container do %> <%= render p...
Add border to user avatar in profile
Add border to user avatar in profile
HTML+ERB
agpl-3.0
mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory
6416c362be0689eee0c24ba5284e94d80f9bb007
app/views/finders/_checkbox_facet.html.erb
app/views/finders/_checkbox_facet.html.erb
<div class="govuk-checkboxes"> <% checkbox_facet.checkboxes.each do |checkbox| %> <div class="govuk-checkboxes__item"> <%= check_box_tag checkbox_facet.name, checkbox.value, checkbox_facet.checked?(checkbox), class: "govuk-checkboxes__input", id: checkbox.id, data: checkbox.data, aria_controls: "js-search-r...
<div class="govuk-checkboxes"> <% checkbox_facet.checkboxes.each do |checkbox| %> <%= render "govuk_publishing_components/components/checkbox", { name: checkbox_facet.name, id: checkbox.id, controls: "js-search-results-info", margin_bottom: true, item: { label: checkbox.check...
Use checkbox component for checkbox facets
Use checkbox component for checkbox facets
HTML+ERB
mit
alphagov/finder-frontend,alphagov/finder-frontend,alphagov/finder-frontend,alphagov/finder-frontend
8a0042582780b831b5e9e82052ee3728444ddc57
app/assets/javascripts/findingaids.js.coffee.erb
app/assets/javascripts/findingaids.js.coffee.erb
$ -> $("#facets").find("h4").append($("<i />").addClass("fa fa-info-circle")) # Set a delayed popover for each facet $("#facets").find(".panel h5 a").attr({ 'data-container': "body", 'data-toggle': "popover", 'data-placement': "right", 'data-trigger': 'hover focus' }).popover({ trigger: "hover f...
$ -> # Set a delayed popover for each facet $('#facets').find('.panel h5').attr({ 'data-container': 'body', 'data-toggle': 'popover', 'data-placement': 'left', 'data-trigger': 'hover focus' }).popover({ trigger: 'hover focus', delay: { show: 500 } }) # Then populate the content for each popover ...
Remove font awesome info icon and trigger popover on header, not just link
Remove font awesome info icon and trigger popover on header, not just link
HTML+ERB
mit
NYULibraries/findingaids,NYULibraries/findingaids,NYULibraries/findingaids,cul/fabl,cul/fabl
5353fb75f7a57f7a57cbcd5aa918a9023c12b7cc
app/views/devise/mailer/reset_password_instructions.html.erb
app/views/devise/mailer/reset_password_instructions.html.erb
<p>Hello <%= @resource.email %>!</p> <p>Someone has requested a link to change your password, and you can do this through the link below.</p> <p><%= link_to 'Change my password', edit_password_url(@resource, :reset_password_token => @resource.reset_password_token) %></p> <p>If you didn't request this, please ignore ...
<p>Hello <%= @resource.email %>!</p> <p>Someone has requested a link to change your password, and you can do this through the link below.</p> <p><%= link_to 'Change my password', edit_password_url(@resource, :reset_password_token => @resource.reset_password_token, protocol: (Rails.env.production? ? "https" : nil)) %>...
Reset password link should be https, not http
Reset password link should be https, not http For some reason the URL helper was not using https.
HTML+ERB
mit
alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2
e76c9042e37c8d466d9fe77eb267380572b20319
app/views/spree/static_content/_static_content_list.html.erb
app/views/spree/static_content/_static_content_list.html.erb
<% if page.foreign_link.present? %> <li><%= link_to page.title, page.foreign_link, target: '_blank', ref: 'nofollow' %></li> <% else %> <% page_uri = Rails.application.routes.named_routes[:spree].path.spec.to_s == '/' ? page.slug : Rails.application.routes.named_routes[:spree].path.spec.to_s + page.slug %> <li cl...
<% if page.foreign_link.present? %> <li><%= link_to page.title, page.foreign_link, target: '_blank', ref: 'nofollow' %></li> <% else %> <% page_uri = Rails.application.routes.named_routes[:spree].path.spec.to_s == '/' ? page.slug : Rails.application.routes.named_routes[:spree].path.spec.to_s + page.slug %> <li cl...
Make header, footer and sidebar links nofollow
Make header, footer and sidebar links nofollow
HTML+ERB
bsd-3-clause
DynamoMTL/spree_static_content,extendi/spree_static_content,extendi/spree_static_content,spree-contrib/spree_static_content,Whelton/spree_static_content,adavanisanti/spree_static_content,firmanm/spree_static_content,srna/spree_static_content,tbhatia/spree-static-pages,adavanisanti/spree_static_content,karlitxo/spree_st...
9bb875ba71eef2f72dd64cddac47cda87177540a
app/views/student_review/_set_dynamic_review.html.erb
app/views/student_review/_set_dynamic_review.html.erb
<% form_tag :controller => 'review_mapping', :action => 'add_dynamic_reviewer', :assignment_id => assignment.id, :reviewer_id => session[:user].id do %> <% if assignment.sign_up_topics.count > 0 %> <p> Select a topic below to begin a new review. </p> <% assignment.sign_...
<% form_tag :controller => 'review_mapping', :action => 'add_dynamic_reviewer', :assignment_id => assignment.id, :reviewer_id => session[:user].id do %> <% if assignment.sign_up_topics.count > 0 %> <p> Select a topic below to begin a new review. </p> <% assignment.sign_...
Remove uppercase where not needed
Remove uppercase where not needed
HTML+ERB
mit
expertiza/expertiza,expertiza/expertiza,joshio1/expertiza,akshayjain114/expertiza,expertiza/expertiza,akshayjain114/expertiza,rmmaily/expertiza,mhhassan/expertiza,kira0992/expertiza,arpitashekhar/expertiza,akshayjain114/expertiza,arpitashekhar/expertiza,kira0992/expertiza,rmmaily/expertiza,joshio1/expertiza,sid5788/exp...
4fcbff43652ff607b01d8f3613b509984e59533c
core/app/assets/javascripts/admin/taxon_autocomplete.js.erb
core/app/assets/javascripts/admin/taxon_autocomplete.js.erb
function cleanTaxons(data) { console.log(data); var taxons = $.map(data['taxons'], function(result) { return result }) return taxons; } $(document).ready(function() { $("#product_taxon_ids").select2({ placeholder: "Add a taxon", multiple: true, initSelection: function(element, callback) { ...
function cleanTaxons(data) { var taxons = $.map(data['taxons'], function(result) { return result }) return taxons; } $(document).ready(function() { $("#product_taxon_ids").select2({ placeholder: "Add a taxon", multiple: true, initSelection: function(element, callback) { return $.getJSON(S...
Remove debug from taxon_autocomplete added in 854cf86
Remove debug from taxon_autocomplete added in 854cf86
HTML+ERB
bsd-3-clause
reinaris/spree,Senjai/solidus,tancnle/spree,shekibobo/spree,assembledbrands/spree,NerdsvilleCEO/spree,ramkumar-kr/spree,karlitxo/spree,maybii/spree,assembledbrands/spree,TimurTarasenko/spree,nooysters/spree,dotandbo/spree,yushine/spree,locomotivapro/spree,agient/agientstorefront,robodisco/spree,nooysters/spree,tesserak...
b6124e8da4ac0f2cf424cc80534f19e0689ba3f1
app/views/users/show.html.erb
app/views/users/show.html.erb
<div class="pure-g"> <div class="pure-u-1-3"> </div> <div class="pure-u-1-3"> <h1><%= User.find(params[:id]).username %>'s Profile</h1> <% if @groups.length > 0 %> <h2>Your Groups</h2> <ul> <% @groups.each do |group| %> <li class="user-group"><a href="/groups/<%= group....
<div class="pure-g"> <div class="pure-u-1-12"> </div> <div class="pure-u-11-12"> <h1><%= User.find(params[:id]).username %>'s Profile</h1> <% if @groups.length > 0 %> <h2>Your Groups</h2> <ul> <% @groups.each do |group| %> <li class="user-group"><a href="/groups/<%= gro...
Tweak left margin for mobile
Tweak left margin for mobile
HTML+ERB
mit
pdynowski/best-thing-ever,pdynowski/best-thing-ever,pdynowski/best-thing-ever
dcbc49e1f2a692e1744d40c3e0536d01fd8e9f91
cookbooks/nagios/templates/default/hostgroups.cfg.erb
cookbooks/nagios/templates/default/hostgroups.cfg.erb
# Hostgroup definitions # # Autogenerated by Chef. define hostgroup { hostgroup_name all alias all members * } <% @roles.each do |r| -%> define hostgroup { hostgroup_name <%= r %> alias <%= r %> } <% end -%> <% if node['nagios']['multi_environment_monitoring'] -%> <% @environments.each do |e| -%> define h...
# Hostgroup definitions # # Autogenerated by Chef. define hostgroup { hostgroup_name all alias all members * } <% @roles.each do |r| -%> define hostgroup { hostgroup_name <%= r %> alias <%= r %> } <% end -%> <% if node['nagios']['multi_environment_monitoring'] -%> <% @environments.each do |e| -%> define h...
Add spaces between host group defs
Add spaces between host group defs Former-commit-id: 544601dc412ab92a8b3779ad242e6229465e9b66 [formerly 626b43416913d06177ae5aa80675cab6dcad4079] [formerly e3af201247b415b9d355842011c86b2d0f9e7987 [formerly 2da970f6e2eacdf97f2f68f2f24520a5fced18c7]] Former-commit-id: 6bb0b1c421fee28689bb6112231c50d0c9827241 [formerly...
HTML+ERB
apache-2.0
ARentz07/rundeck,ronabop/rundeck,edwlarkey/rundeck,ronabop/rundeck,ARentz07/rundeck,marthag8/rundeck,tas50/rundeck,marthag8/rundeck,ARentz07/rundeck,tas50/rundeck,tas50/rundeck,edwlarkey/rundeck,edwlarkey/rundeck,ronabop/rundeck,marthag8/rundeck
022dd707167114359749675327d5e122523b0817
app/flows/inherits_someone_dies_without_will_flow/outcomes/outcome_24.erb
app/flows/inherits_someone_dies_without_will_flow/outcomes/outcome_24.erb
<% text_for :title do %> The estate is shared equally between the half-aunts or half-uncles. <% end %> <% govspeak_for :body do %> If an aunt or uncle has already died, their children (the cousins of the deceased) inherit in their place. <% end %> <% govspeak_for :next_steps do %> <%= render partial: 'next_step...
<% text_for :title do %> The estate is shared equally between the half-aunts or half-uncles. <% end %> <% govspeak_for :body do %> If a half-aunt or half-uncle has died before the deceased died, their children (the cousins of the deceased) inherit in their place. <% end %> <% govspeak_for :next_steps do %> <%= ...
Update to inheritance sentence - outcome 24
Update to inheritance sentence - outcome 24
HTML+ERB
mit
alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers
bb1bfb149d73cd0e57997262878012e1407059a5
app/views/lists/show.html.erb
app/views/lists/show.html.erb
<h1><%= @list.name %></h1> <h2><%= @list.user_id %></h2> <hr /> <%= link_to "All lists", lists_path %>
<h1><%= @list.name %></h1> <hr /> <%= link_to "All lists", lists_path %>
Remove user id from lists_show
Remove user id from lists_show
HTML+ERB
mit
reesef/totoapp,reesef/totoapp
6ca44868ee45b086a4d4f6b9de218b26bd2653d5
app/views/pages/show.html.erb
app/views/pages/show.html.erb
<div class="block"> <div class="content"> <%= controls do |c| c.item "Edit Page", edit_page_path(page), :icon => "edit_page" end %> <h2 class="title"> <%= page.name %> <div class="highlighted-title-info-grey"><%= page.content_type %></div> </h2> <div class="inner"> <div cla...
<div class="block"> <div class="content"> <%= controls do |c| c.item "Edit Page", edit_page_path(page), :icon => "edit_page" end %> <h2 class="title"> <%= page.name %> <div class="highlighted-title-info-grey"><%= page.content_type %></div> </h2> <div class="inner"> <div cla...
Drop caching until it can be done reliably. Linked pages don't update their link state when a new page is created.
Drop caching until it can be done reliably. Linked pages don't update their link state when a new page is created.
HTML+ERB
mit
jellybob/Vowessly,jellybob/Vowessly,jellybob/Vowessly,jellybob/Vowessly
4dbcdd4e8bca07191dcd4f30c46ab2530f5db421
app/views/ping/index.html.erb
app/views/ping/index.html.erb
<% title "Ping" %> <% form_tag :controller => "ping", :action => "quickping" do -%> <p> <%= label_tag "host_to_ping", "Host to ping" %><br /> <%= text_field_tag "host_to_ping" %> </p> <p> <%= captcha_tags %> </p> <p> <%= submit_tag "Ping" %> </p> <% end -%>
<% title "Ping" %> <% form_tag :controller => "ping", :action => "quickping" do -%> <p> <%= label_tag "host_to_ping", "Host to ping" %><br /> <%= text_field_tag "host_to_ping" %> </p> <p> <%= captcha_tags %> </p> <p> <%= submit_tag "Ping", :disable_with => "Pinging... (This might take some ti...
Disable the button with JS when pinging.
Disable the button with JS when pinging.
HTML+ERB
mit
matiaskorhonen/wakify,matiaskorhonen/wakify
13a339422d864059dcb57bae6bbf288572bc1801
app/views/smart_answers/inputs/_multiple_choice_question.html.erb
app/views/smart_answers/inputs/_multiple_choice_question.html.erb
<%= render "govuk_publishing_components/components/radio", { name: "response", heading: question.title, hint: question.hint, id_prefix: "response", description: question.body, error_message: question.error, items: question.radio_buttons } %>
<% body = capture do %> <%= render "govuk_publishing_components/components/govspeak", { } do %> <%= question.body %> <% end %> <% end %> <%= render "govuk_publishing_components/components/radio", { name: "response", heading: question.title, hint: question.hint, id_prefix: "response", description: b...
Fix formatting for question body in multiple choice
Fix formatting for question body in multiple choice - if question body is to be rendered by the radio component, first pass it through the govspeak component so that it renders govspeak markup correctly
HTML+ERB
mit
alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers
eb023b8c8fd74e39ed41ac9bc3a07c2ea82c9fe7
lib/generators/bootstrap/install/templates/lib/templates/erb/scaffold/index.html.erb
lib/generators/bootstrap/install/templates/lib/templates/erb/scaffold/index.html.erb
<div class="page-header"> <%%= link_to new_<%= singular_table_name %>_path, class: 'btn btn-primary' do %> <span class="glyphicon glyphicon-plus"></span> New <%= human_name %> <%% end %> <h1>Listing <%= plural_table_name %></h1> </div> <div class="table-responsive"> <table class="table table-striped ta...
<div class="page-header"> <%%= link_to new_<%= singular_table_name %>_path, class: 'btn btn-primary' do %> <span class="glyphicon glyphicon-plus"></span> New <%= human_name %> <%% end %> <h1>Listing <%= plural_table_name %></h1> </div> <div class="table-responsive"> <table class="table table-striped ta...
Remove `content_tag_for` for Rails 5 compatibility
Remove `content_tag_for` for Rails 5 compatibility `content_tag_for` was extracted to a separate gem for Rails 5. This no longer depends on that functionality. This fixes #43. I've tested this in Rails 5, but not other versions. The cloned tests are throwing errors about missing bootstrap files, so I can't say ...
HTML+ERB
mit
decioferreira/bootstrap-generators,decioferreira/bootstrap-generators,decioferreira/bootstrap-generators
5d35073c5f86ffae5314e0eb4745dbd1390d806d
app/views/districts/show.html.erb
app/views/districts/show.html.erb
<p id="notice"><%= notice %></p> Jurisdiction Name: <%= @district.jurisdiction_name %><br> Number: <%= @district.number %><br> Borough: <%= @district.borough %><br> <br> <%= link_to 'Edit', edit_district_path(@district) %> | <%= link_to 'Back', districts_path %>
<p id="notice"><%= notice %></p> Jurisdiction Name: <%= @district.jurisdiction_name %><br> Number: <%= @district.number %><br> Borough: <%= @district.borough %><br> <br> Schools:<br> <% @schools.each do |school| %> <%= school.name %><br> <% end %> <%= link_to 'Back', districts_path %>
Remove new link for district information page, add schools list
Remove new link for district information page, add schools list
HTML+ERB
mit
fma2/school-visits-tool,fma2/school-visits-tool
83727f3266125877cf071f069a1ecdc58af3a1f6
app/views/locations/show.html.erb
app/views/locations/show.html.erb
<% content_for(:page_title, "#{@location.name} - Pension Wise") %> <% content_for(:meta_description, "Find out the address, booking hours and how to book a Pension Wise appointment at the #{@location.name}") %> <h1 class="t-name"><%= @location.name %></h1> <h2 class="heading-small">Address</h2> <p class="t-address"><...
<% content_for(:page_title, "#{@location.name} - Pension Wise") %> <% content_for(:meta_description, "Find out the address, booking hours and how to book a Pension Wise appointment at the #{@location.name}") %> <h1 class="t-name"><%= @location.name %></h1> <h2 class="heading-small">Address</h2> <p class="t-address"><...
Include the name of the desired booking location
Include the name of the desired booking location
HTML+ERB
mit
guidance-guarantee-programme/pension_guidance,guidance-guarantee-programme/pension_guidance,guidance-guarantee-programme/pension_guidance
657e76638f4ec4cc9b1425dc3cdba2c3567e95f3
app/views/projects/index.html.erb
app/views/projects/index.html.erb
<br> <% Project.all.each do |project| %> <p> Project name: <%= project.name %> </p> <p> Project Description: <%= project.description %> </p> <p> Contact person: <%= project.contact %> </p> <% if current_user == project.user %> <%= link_to 'Edit', edit_project_path(project) %> <% end %> ...
<br> <% Project.all.each do |project| %> <p> Project name: <%= project.name %> </p> <p> Project Description: <%= project.description %> </p> <p> Author: <%= link_to project.user.github_username, profile_path %> </p> <p> Contact person: <%= project.contact %> </p> <% if current_user ==...
Add broken profile path (links to current user's profile)
Add broken profile path (links to current user's profile)
HTML+ERB
mit
Railsn00bs/the-wall,andyfoster/the-wall,andyfoster/the-wall,Railsn00bs/the-wall,andyfoster/the-wall,Railsn00bs/the-wall
a7d9e3a2a17dc08e366efa581fc649d2d31c741b
rails_generators/terraformation/templates/application.html.haml.erb
rails_generators/terraformation/templates/application.html.haml.erb
!!! %html{html_attrs} %head %meta{'http-equiv' => 'Content-Type', :content => 'text/html;charset=utf-8'} %meta{'http-equiv' => 'Content-Script-Type', :content => 'text/javascript'} - if protect_against_forgery? %meta{:name => 'authenticity_token', :content => form_authenticity_token} %title= h(@...
!!! %html{html_attrs} %head %meta(http-equiv='Content-Type' content='text/html;charset=utf-8') %meta(http-equiv='Content-Script-Type' content='text/javascript') - if protect_against_forgery? %meta(name='authenticity_token' content=form_authenticity_token) %title&= @title || "<%= File.basename(de...
Use new Haml attribute syntax in layout
Use new Haml attribute syntax in layout
HTML+ERB
mit
hashrocket/terraformation
927b928d2d4bf8db87fc76aaf876ff3871281f4d
app/views/beta_mailer/beta_sign_up.text.erb
app/views/beta_mailer/beta_sign_up.text.erb
We think it goes without saying, you have great taste. We're excited to share Hummingbird with you so that discovering and keeping tracking of your favorite anime is easier than ever. That level of awesome doesn't come without a price, and in this case, that price is a significant time investment and a lot of hard wor...
We think it goes without saying, you have great taste. We're excited to share Hummingbird with you so that discovering and keeping track of your favorite anime is easier than ever. That level of awesome doesn't come without a price, and in this case, that price is a significant time investment and a lot of hard work. ...
Update email to include beta code messaging
Update email to include beta code messaging
HTML+ERB
apache-2.0
xhocquet/hummingbird,synthtech/hummingbird,erengy/hummingbird,Snitzle/hummingbird,qgustavor/hummingbird,qgustavor/hummingbird,qgustavor/hummingbird,xhocquet/hummingbird,NuckChorris/hummingbird,saintsantos/hummingbird,erengy/hummingbird,paladique/hummingbird,qgustavor/hummingbird,MiLk/hummingbird,Snitzle/hummingbird,sai...
fba326d170d2de3f394fc574f15f2961dec7a2c8
app/views/devise/confirmations/new.html.erb
app/views/devise/confirmations/new.html.erb
<h2>Resend confirmation instructions</h2> <% if mixpanel? %> <script type="text/javascript"> mixpanel.track_forms("form", "Resend Confirmation") </script> <% end %> <%= form_for(resource, :as => resource_name, :url => confirmation_path(resource_name), :html => { :method => :post }) do |f| %> <%= devise_error...
<h2>Resend confirmation instructions</h2> <% if mixpanel? %> <script type="text/javascript"> mixpanel.track_forms("form", "Resend Confirmation") </script> <% end %> <p>If you have not received your E-mail Confirmation message, please be sure to check your SPAM filter.</p> <%= form_for(resource, :as => resource...
Add note about spam filter to the resend-confirmation page
Add note about spam filter to the resend-confirmation page
HTML+ERB
mit
scotthue/unicycling-registration,rdunlop/unicycling-registration,rdunlop/unicycling-registration,scotthue/unicycling-registration,scotthue/unicycling-registration,rdunlop/unicycling-registration,rdunlop/unicycling-registration
f2fe8034e9103ff1458ee7f5fc463fffb146fbfc
deployment/puppet/nailgun/templates/nginx_nailgun.conf.erb
deployment/puppet/nailgun/templates/nginx_nailgun.conf.erb
server { listen 8000; server_name localhost; access_log /var/log/nginx/access_nailgun.log; error_log /var/log/nginx/error_nailgun.log debug; charset utf-8; client_max_body_size 10M; location = /favicon.ico { log_not_found off; access_log off; } gzip on; gzi...
server { listen 8000; server_name localhost; access_log /var/log/nginx/access_nailgun.log; error_log /var/log/nginx/error_nailgun.log debug; charset utf-8; client_max_body_size 10M; location = /favicon.ico { log_not_found off; access_log off; } gzip on; gzi...
Revert "Set "Host" header when proxying to Keystone"
Revert "Set "Host" header when proxying to Keystone" This reverts commit 34238f354ff5a462a5cd187b740ca946a3e78bcb. Change-Id: I169c988b461261c02c415fa32052f79d25e02701 Closes-bug: #1405686
HTML+ERB
apache-2.0
SmartInfrastructures/fuel-library-dev,huntxu/fuel-library,ddepaoli3/fuel-library-dev,eayunstack/fuel-library,huntxu/fuel-library,ddepaoli3/fuel-library-dev,ddepaoli3/fuel-library-dev,stackforge/fuel-library,stackforge/fuel-library,zhaochao/fuel-library,zhaochao/fuel-library,SmartInfrastructures/fuel-library-dev,stackfo...
a6053dc38ab5398872e096666181edde42cbcc4b
plugins/distribution/views/distribution_plugin_layouts/_header.html.erb
plugins/distribution/views/distribution_plugin_layouts/_header.html.erb
<div class="menu-header"><%= _("Collective consumption network") %></div> <% style = (@node.image and @node.header_type != 'pure_color') ? "style=\"background: url('" + @node.image.public_filename + "') no-repeat;\" " : "" %> <% color = @node.header_type == 'pure_color' ? "color-"+@node.header_bg_color : " " %> <div...
<div class="menu-header"><%= _("Collective consumption network") %></div> <% style = (@node.image and @node.header_type != 'pure_color') ? "style=\"background: url('" + @node.image.public_filename + "') no-repeat;\" " : "" %> <% color = @node.header_bg_color ? "color-"+@node.header_bg_color.to_s : " " %> <div class=...
Fix color on distribution header
Fix color on distribution header
HTML+ERB
agpl-3.0
CIRANDAS/noosfero-ecosol,blogoosfero/noosfero,EcoAlternative/noosfero-ecosol,CIRANDAS/noosfero-ecosol,blogoosfero/noosfero,coletivoEITA/noosfero-ecosol,coletivoEITA/noosfero-ecosol,coletivoEITA/noosfero-ecosol,CIRANDAS/noosfero-ecosol,blogoosfero/noosfero,CIRANDAS/noosfero-ecosol,blogoosfero/noosfero,samasti/noosfero,E...
1a37fd3f17d8c8452bca8da4b2e2944af007a8b4
app/views/errors/show.html.erb
app/views/errors/show.html.erb
<div class="text-center"> <h1><%= t "errors.error_#{@status_code}.title" %></h1> <div class="row"> <div class="col-sm-8 col-sm-offset-2"> <%= t "errors.error_#{@status_code}.message_html" %> </div> </div> <div> <%# FIXME: Why the normal image_tag does work locally but not on heroku? ...
<div class="text-center"> <h1><%= t "errors.error_#{@status_code}.title" %></h1> <div class="row"> <div class="col-sm-8 col-sm-offset-2"> <%= t "errors.error_#{@status_code}.message_html" %> </div> </div> <div> <%= image_tag "basimilch_error_#{@status_code}", class: "error_page_image" %> </d...
Revert "fix: image_tag not working on heroku"
Revert "fix: image_tag not working on heroku" This reverts commit eea5fdcad52a0c96593a325101f6a96efb7aea75.
HTML+ERB
mit
basimilch/basimilch-app,basimilch/basimilch-app,basimilch/basimilch-app,basimilch/basimilch-app
06e816ced915ccb65594d0c732ce2dd78b1add35
app/views/homes/show.html.erb
app/views/homes/show.html.erb
<% if user_logged_in? %> <p>Welcome <%= current_user.name %></p> <h2>News Feed</h2> <%= page_entries_info @games %> <%= div_for @games, :class => 'media' do |game| %> <div class="media-body"> <h4 class="media-heading"><%= link_to game.versus, tournament_game_path(game.tournament_id, game) %></h4> ...
<% if user_logged_in? %> <p>Welcome <%= current_user.name %></p> <h2>News Feed</h2> <%= page_entries_info @games %> <%= div_for @games, :class => 'media' do |game| %> <div class="media-body"> <h4 class="media-heading"><%= link_to game.versus, tournament_game_path(game.tournament_id, game) %></h4> ...
Use actual bootstrap hero unit
Use actual bootstrap hero unit
HTML+ERB
mit
proglottis/ladder,Gigaicon/ladder,proglottis/ladder,proglottis/ladder,Gigaicon/ladder,Gigaicon/ladder
61894144054e1085d6a2bb6f75bf6cbd4b9edf06
app/views/site/index.html.erb
app/views/site/index.html.erb
<% page_title "Home" %> <div class="g3"> <section> <h1>Recently updated</h1> <ul> <% @recently_updated.each do |document| %> <%= content_tag_for :li, document do %> <div><%= link_to document.title, public_document_path(document), class: "title" %></div> <% if document.summary...
<% page_title "Home" %> <div class="g3"> <section> <h1>Inside government</h1> <h2>Information about the work, and inner workings, of the UK government.</h2> <p>This site provides policy, news, speeches, publications consultations and related information from the whole of government in one place.</p> ...
Add first-draft content for homepage.
Add first-draft content for homepage.
HTML+ERB
mit
YOTOV-LIMITED/whitehall,ggoral/whitehall,ggoral/whitehall,YOTOV-LIMITED/whitehall,robinwhittleton/whitehall,alphagov/whitehall,ggoral/whitehall,alphagov/whitehall,robinwhittleton/whitehall,askl56/whitehall,robinwhittleton/whitehall,hotvulcan/whitehall,hotvulcan/whitehall,alphagov/whitehall,askl56/whitehall,YOTOV-LIMITE...
6a9fb4fbea2be4581ab917e0396b5c928c7d67b8
rails_generators/terraformation/templates/application.html.haml.erb
rails_generators/terraformation/templates/application.html.haml.erb
!!! %html{html_attrs} %head %meta(http-equiv='Content-Type' content='text/html;charset=utf-8') %meta(http-equiv='Content-Script-Type' content='text/javascript') - if protect_against_forgery? %meta(name='authenticity_token' content=form_authenticity_token) %title&= @title || "<%= File.basename(de...
!!! %html{html_attrs(I18n.locale)} %head %meta(http-equiv='Content-Type' content='text/html;charset=utf-8') %meta(http-equiv='Content-Script-Type' content='text/javascript') - if protect_against_forgery? %meta(name='authenticity_token' content=form_authenticity_token) %title&= @title || "<%= Fil...
Use locale as html lang attribute
Use locale as html lang attribute
HTML+ERB
mit
hashrocket/terraformation
cc1d5350e9cdb4702233bfaa9305be8afc64c4e8
app/views/course/assessment/assessments/reorder.js.erb
app/views/course/assessment/assessments/reorder.js.erb
$('.course-assessment-assessments.show #sortable-questions').html( '<%= j(render @assessment.reload.questions.map(&:specific)) %>' );
$('.course-assessment-assessments.show #sortable-questions').html( '<%= j(render @assessment.reload.question_assessments) %>' );
Fix a bug where reorder questions cannot render
Fix a bug where reorder questions cannot render This used to refer to course/assessment/question/_question.html.slim, but was shifted in #2629, and this was not updated. The bug does not break any functionality, but the page was not updated after a reordering, and this fix corrects that.
HTML+ERB
mit
Coursemology/coursemology2,cysjonathan/coursemology2,Coursemology/coursemology2,cysjonathan/coursemology2,Coursemology/coursemology2,Coursemology/coursemology2,Coursemology/coursemology2,cysjonathan/coursemology2,Coursemology/coursemology2,Coursemology/coursemology2
eb2b2d23b6993fd07a2dae438fa7cac59067b23b
app/views/home/_map.html.erb
app/views/home/_map.html.erb
<div class="map-container"> <div class="section-title"> Destination </div> <div class="map-left"> <div class="directions"> <div class="secondary-title"> Direction Details </div> <p> The wedding and cocktail hour will be held in the backyard of the mother of the bride.</p> <p>Shortl...
<div class="map-container"> <div class="section-title"> Destination </div> <div class="map-left"> <div class="directions"> <div class="secondary-title"> Direction Details </div> <p> The wedding and cocktail hour will be held in the backyard of the mother of the bride.</p> <p>Shortl...
Update the divs in hotel section
Update the divs in hotel section
HTML+ERB
mit
nperri6/molly_nick,nperri6/molly_nick,nperri6/molly_nick
2641376590232526984f116c75d875f346276c96
gitconfig.erb
gitconfig.erb
[color] branch = auto diff = auto status = auto [color "branch"] current = yellow reverse local = yellow remote = green [color "diff"] meta = yellow bold frag = magenta bold old = red bold new = green bold [color "status"] added = yellow changed = green untracked = cyan [user] name = Mat...
[color] branch = auto diff = auto status = auto [color "branch"] current = yellow reverse local = yellow remote = green [color "diff"] meta = yellow bold frag = magenta bold old = red bold new = green bold [color "status"] added = yellow changed = green untracked = cyan [user] name = Mat...
Add lg alias to git
Add lg alias to git
HTML+ERB
mit
mgrunberg/dotfiles,mgrunberg/dotfiles,mgrunberg/dotfiles
e82ca2ca2a9441847f5d089c7b194b0ff9c9e645
app/views/cms/schools/edit.html.erb
app/views/cms/schools/edit.html.erb
<div class='container'> <article class='simple-rounded-box cms cms-user-index'> <%= link_to 'School Directory', cms_schools_path %> > <%= link_to @school.name, cms_school_path(@school.id) %> > Edit <br /><br /> <h2>Edit: <%= @school.name %></h2> <br /> <p><strong>Warning: Please don't edit the sch...
<div class='container'> <article class='simple-rounded-box cms cms-user-index'> <%= link_to 'School Directory', cms_schools_path %> > <%= link_to @school.name, cms_school_path(@school.id) %> > Edit <br /><br /> <h2>Edit: <%= @school.name %></h2> <br /> <p><strong>Warning: Please don't edit the sch...
Add warnings to cms schools edit page
Add warnings to cms schools edit page
HTML+ERB
agpl-3.0
empirical-org/Empirical-Core,empirical-org/Empirical-Core,empirical-org/Empirical-Core,empirical-org/Empirical-Core,empirical-org/Empirical-Core,empirical-org/Empirical-Core,empirical-org/Empirical-Core
0eb9facc71b193765cd5ab390572f6fed46dcfd3
app/views/contacts/_link_follow.erb
app/views/contacts/_link_follow.erb
<div class="<%= follow_link_class contact %>"> <% if contact.sent? %> <div class="btn btn-primary follow"> <%= t 'contact.following' %> </div> <div class="btn btn-primary follow"> <%= link_to t('contact.unfollow'), follower_path(contact), :method => :delete, :remote => true %> </div> <% ...
<div class="<%= follow_link_class contact %>"> <% if contact.sent? %> <div class="btn btn-primary follow following-button"> <%= t 'contact.following' %> </div> <div class="btn btn-primary follow unfollow-button"> <%= link_to t('contact.unfollow'), follower_path(contact), :method => :delete, :r...
Fix follow buttons not changing.
Fix follow buttons not changing.
HTML+ERB
agpl-3.0
ging/vish_orange,nathanV38/vishTst,ging/vish_orange,agordillo/vish,ging/vish,rogervaas/vish,suec78/vish_storyrobin,nathanV38/vishTst,agordillo/vish,agordillo/vish,ging/vish_orange,rogervaas/vish,suec78/vish_storyrobin,agordillo/vish,suec78/vish_storyrobin,rogervaas/vish,suec78/vish_storyrobin,rogervaas/vish,ging/vish,g...
ebabe7865000e6299790ed69556654821d6f6e1f
app/views/projects/commits.html.erb
app/views/projects/commits.html.erb
<h1> Commits on this project </h1> <ul> <% @commits.each do |commit| %> <li> <%= commit.author %> </li> <li> <%= commit.authored_date %> </li> <li> <%= commit.id %> </li> <br> <% end %> </ul>
<%#FIXME - add css to commits page %> <h1> Commits on this project </h1> <ul> <% @commits.each do |commit| %> <li> <%= avatar(commit.author.email)%> <%= commit.message %> </li> <li> <%= commit.authored_date %> </li> <li> <%= commit.id %> </li> <br> <% end %> </ul>
Add a fancy gravatar for the commits
Add a fancy gravatar for the commits
HTML+ERB
mit
glittergallery/GlitterGallery,glittergallery/GlitterGallery,glittergallery/GlitterGallery,glittergallery/GlitterGallery
0b691f44d1a78ee86a79898ce0451346bee47778
app/views/admin/taxonomies/_form.html.erb
app/views/admin/taxonomies/_form.html.erb
<% f.field_container :name do %> <%= f.label :name, t("name") %> <span class="required">*</span><br /> <%= error_message_on :taxonomy, :name, :class => 'fullwidth title' %> <%= text_field :taxonomy, :name %> <% end %> <p> <%= f.label :name, t("store") %> <span class="required">*</span><br /> <%= collection...
<div data-hook="admin_inside_taxonomy_form"> <%= f.field_container :name do %> <%= f.label :name, t(:name) %> <span class="required">*</span><br /> <%= error_message_on :taxonomy, :name, :class => 'fullwidth title' %> <%= text_field :taxonomy, :name %> <% end %> </div> <p> <%= f.label :name, t("sto...
Fix the New Taxonomy form.
Fix the New Taxonomy form.
HTML+ERB
bsd-3-clause
solidusio/solidus_multi_domain,solidusio/solidus_multi_domain,solidusio/solidus_multi_domain
d11537b632114b71ae76e9811157b03b5fc3a4c8
app/views/experiences/_view_grid.html.erb
app/views/experiences/_view_grid.html.erb
<div id="m" style="min-height: 300px"> <h2>Choose an Image</h2> </div> <div class="grid"> <% @experience.moments.filo.each do |m| %> <%= image_tag(m.photo_url(:avatar), :class => 'photo', :onclick => "$('m').show().update('<img src=\"#{SiteAssets[:loading]}\"/>'); new Ajax.Updater('m','#{one_experience_moment_url(...
<div id="m"> <h2>Choose an Image</h2> </div> <div class="grid"> <% @experience.moments.filo.each do |m| %> <%= image_tag(m.photo_url(:avatar), :class => 'photo', :onclick => "$('m').show().update('<img src=\"#{SiteAssets[:loading]}\"/>'); new Ajax.Updater('m','#{one_experience_moment_url(@experience,m)}',{method: ...
Remove min-height on grid view
Remove min-height on grid view
HTML+ERB
isc
smlsml/snappitt,smlsml/snappitt,smlsml/snappitt
32960acbba3bdf087c85f235529644082e3e9f8d
app/views/study_subjects/reports.html.erb
app/views/study_subjects/reports.html.erb
<%= dashboard_control_bar() %> Subject report links <p><%= link_to 'Control Assignment Report', controls_path %></p> <p><%= link_to 'Case Assignment Report', cases_path %></p> <p><%= link_to 'Abstracts', abstracts_path %></p>
<%= dashboard_control_bar() %> Subject report links <p><%= link_to 'Control Assignment Report', controls_path %></p> <p><%= link_to 'Case Assignment Report', cases_path %></p> <p><%= link_to 'All Abstracts', abstracts_path %></p>
Put link to abstracts on study_subjects/reports.
Put link to abstracts on study_subjects/reports.
HTML+ERB
mit
ccls/odms,ccls/odms,ccls/odms,ccls/odms
b67863230998c70b702da6f5a9fe59769212a3a3
app/views/users/permissions_show.html.erb
app/views/users/permissions_show.html.erb
<% content_for :template, 'lawyer' %> <div class="advocate-layout clearfix"> <div class="container"> <div class="col-xs-12 container" id="permissions-show-div"> <div class="search-box clearfix"> <%= form_tag search_user_path, method: :get, id: "search-form", remote: true do %> <div c...
<% content_for :template, 'lawyer' %> <div class="advocate-layout clearfix"> <div class="container"> <div class="col-xs-12 container" id="permissions-show-div"> <div class="search-box clearfix"> <%= form_tag search_user_path, method: :get, id: "search-form", remote: true do %> <div c...
Hide search bar except for superusers
Hide search bar except for superusers
HTML+ERB
mit
heatseeknyc/heatseeknyc,heatseeknyc/heatseeknyc,ramillim/heatseeknyc,ramillim/heatseeknyc,ramillim/heatseeknyc,heatseeknyc/heatseeknyc
a0da39f4b1b9c0730adde045a231dad44baa2f8f
app/views/gobierto_admin/gobierto_cms/file_attachments/_form.html.erb
app/views/gobierto_admin/gobierto_cms/file_attachments/_form.html.erb
<%= render "gobierto_admin/shared/validation_errors", resource: @file_attachment_form %> <%= form_for(@file_attachment_form, as: :file_attachment, url: @file_attachment_form.persisted? ? admin_cms_file_attachment_path(@file_attachment) : :admin_cms_file_attachments) do |f| %> <%= f.hidden_field :collection_id, value:...
<%= render 'gobierto_admin/shared/validation_errors', resource: @file_attachment_form %> <%= form_for(@file_attachment_form, as: :file_attachment, url: @file_attachment_form.persisted? ? admin_cms_file_attachment_path(@file_attachment) : :admin_cms_file_attachments) do |f| %> <%= f.hidden_field :collection_id, value:...
Change document description to textarea
Change document description to textarea
HTML+ERB
agpl-3.0
PopulateTools/gobierto,PopulateTools/gobierto,PopulateTools/gobierto-dev,PopulateTools/gobierto-dev,PopulateTools/gobierto,PopulateTools/gobierto,PopulateTools/gobierto-dev,PopulateTools/gobierto-dev
969bb723b6c577d56833828cea8b5358d4b2bf9a
lib/smart_answer_flows/calculate-your-redundancy-pay/questions/years_employed.govspeak.erb
lib/smart_answer_flows/calculate-your-redundancy-pay/questions/years_employed.govspeak.erb
<% content_for :title do %> How many years have you worked for your employer? <% end %> <% content_for :hint do %> Only count full years of service. For example, 3 years and 9 months count as 3 years. <% end %> <% content_for :suffix_label do %> full years worked <% end %> <% content_for :error_message do %> ...
<% content_for :title do %> How many years have you worked for your employer? <% end %> <% content_for :hint do %> Only count full years of service. For example, 3 years and 9 months count as 3 years. <% end %> <% content_for :suffix_label do %> full years worked <% end %> <% content_for :error_message do %> ...
Use ERB tag to interpolate value in template
Use ERB tag to interpolate value in template This was not dealt with automatically by the conversion script.
HTML+ERB
mit
aledelcueto/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,stwalsh/smart-answers,aledelcueto/smart-answers,aledelcueto/smart-answers,stwalsh/smart-answers,stwalsh/smart-answers,alphagov/smart-answers,stwalsh/smart-answers,aledelcueto/smart-answers
bea283182c0b4f7d64db39d3c632ab334a3ce37c
lib/omega/generators/templates/project/layout.haml.erb
lib/omega/generators/templates/project/layout.haml.erb
!!! 5 %html(lang="en" ng-app="<%= name %>") %head %meta(charset="utf-8") %meta(http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1") %meta(name="viewport" content="width=device-width, initial-scale=1.0") %title <%= name.titleize %> / Le HTML5 shim, for IE6-8 support of HTML elements ...
!!! 5 %html(lang="en" ng-app="<%= name %>") %head %meta(charset="utf-8") %meta(http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1") %meta(name="viewport" content="width=device-width, initial-scale=1.0") %title <%= name.titleize %> / Le HTML5 shim, for IE6-8 support of HTML elements ...
Include site's js and css.
Include site's js and css.
HTML+ERB
mit
dcu/omega
f009ea8b92e91d06af3907d825351905204f094c
app/views/spree/admin/payments/source_views/_paysiocom.html.erb
app/views/spree/admin/payments/source_views/_paysiocom.html.erb
<fieldset> <legend align="center"><%= t('paysio') %></legend> <table class="index"> <thead> <tr> <th colspan="6"><%= t('paysio.payment') %></th> </tr> </thead> <tbody> <tr> <td><label><%= t("paysio.charge_id") %>:</label></td> <td> <%= payment.source....
Add payment admin details view
Add payment admin details view
HTML+ERB
bsd-3-clause
itima/spree_paysio,itima/spree_paysio
561dc22fcf194f193e70eb30fffbd7573db93154
modules/govuk_jenkins/templates/jobs/tagging_migration_check.yaml.erb
modules/govuk_jenkins/templates/jobs/tagging_migration_check.yaml.erb
--- - job: name: TaggingMigrationCheck display-name: TaggingMigrationCheck project-type: freestyle description: "This job checks if taggings are in sync between contentapi and content-store" properties: - github: url: https://github.com/alphagov/tagging-migration-verifier.git ...
--- - scm: name: tagging-migration-verifier scm: - git: url: git@github.com:alphagov/tagging-migration-verifier.git branches: - master - job: name: tagging-migration-verifier display-name: TaggingMigrationCheck project-type: freestyle description: "...
Add an scm section for tagging-migration-verifier
Add an scm section for tagging-migration-verifier The jenkins configuration for tagging-migration-verifier is currently invalid, and broke our puppet run on staging. Adding an scm section should fix it.
HTML+ERB
mit
alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet
4c6f4c60fd36bd2f9357a740e21ffe18fc455887
app/views/spree/admin/account_subscriptions/_form.html.erb
app/views/spree/admin/account_subscriptions/_form.html.erb
<div class="row"> <div class="col-xs-12 col-md-8"> <%= f.field_container :product do %> <%= f.label :product_id, Spree.t(:product) %><br /> <%= f.select :product_id, @products, {}, {:class=>'select2'} %> <br/> <%= f.label :user_id, "User" %><br /> <%= f.collection_select :...
<div class="row"> <div class="col-xs-12 col-md-8"> <%= f.field_container :product do %> <%= f.label :product_id, Spree.t(:product) %><br /> <%= f.select :product_id, @products, {}, {class: 'select2'} %> <br/> <%= f.label :user_id, "User" %><br /> <%= f.select :user_id, @us...
Fix up to previous commit
Fix up to previous commit
HTML+ERB
bsd-3-clause
cehdeti/spree_account_subscription,cehdeti/spree_account_subscription,cehdeti/spree_account_subscription
d0d779f1bbd4d246c2218d10668ba12d336374f3
app/views/clubs/edit.html.erb
app/views/clubs/edit.html.erb
<div class="inner-container"> <div class="club-avatar-name-description row-fluid"> <div class="club-avatar span4"> <%= image_tag "#{@club.logo}" %> </div> <div class="club-name-description span8"> <div class="club-name"><%= @club.name %></div> <div class="club-description"><%= @club.des...
<div class="inner-container"> <div class="club-welcome-container row-fluid"> <div class="club-welcome span12"> <span class="club-welcome-text">Welcome, <%= current_user.name %>!</span> </div> </div> <div class="club-avatar-name-description row-fluid"> <div class="club-avatar span4"> <%= i...
Add Welcome Heading for Club Edit
Add Welcome Heading for Club Edit Add a welcome heading to the Club edit page that includes the currently signed up user.
HTML+ERB
mit
jekhokie/IfSimply,jekhokie/IfSimply,jekhokie/IfSimply
594d8d1ed7856451991ffa732062a574f19c489d
app/views/devise/mailer/reset_password_instructions.html.erb
app/views/devise/mailer/reset_password_instructions.html.erb
<p>Hello <%= @resource.full_name %>!</p> <p>Someone has requested a password change for your AACT (Aggregated Analysis of ClinicalTrials.gov) database account. You can do this through the link below.</p> <p><%= link_to 'Change my password', edit_password_url(@resource, reset_password_token: @token) %></p> <p>If you ...
<p>Hello <%= @resource.full_name %>!</p> <p>Someone has requested a password change for your AACT (Aggregated Analysis of ClinicalTrials.gov) database account. You can do this through the link below.</p> <p><%= link_to 'Change my password', edit_password_url(@resource, reset_password_token: @token) %></p> <p>If you ...
Fix link to aact in reset password instructions
aact-458: Fix link to aact in reset password instructions
HTML+ERB
mit
ctti-clinicaltrials/aact,ctti-clinicaltrials/aact,tibbs001/aact-1,tibbs001/aact-1,tibbs001/aact-1,ctti-clinicaltrials/aact
44f6e954ec0d58dfac9411da3647290dd1ce5953
site/source/partials/_row.erb
site/source/partials/_row.erb
<tr> <td><%= partial 'partials/file_link', :locals => {:file => wadl } %></td> <td><%= partial 'partials/file_link', :locals => {:file => swagger_yaml } %></td> <td><%= partial 'partials/file_link', :locals => {:file => swagger_json } %></td> <td> <%- if swagger_json.nil? -%> N/A <%- else -%> <%- ra...
<tr> <td><%= partial 'partials/file_link', :locals => {:file => wadl } %></td> <td><%= partial 'partials/file_link', :locals => {:file => swagger_yaml } %></td> <td><%= partial 'partials/file_link', :locals => {:file => swagger_json } %></td> <td> <%- if swagger_json.nil? -%> N/A <%- else -%> <%- ra...
Load editor w/ YAML again, and open links in a new window.
Load editor w/ YAML again, and open links in a new window.
HTML+ERB
apache-2.0
rackerlabs/wadl2swagger,annegentle/wadl2swagger,rackerlabs/wadl2swagger,annegentle/wadl2swagger,rackerlabs/wadl2swagger,annegentle/wadl2swagger,annegentle/wadl2swagger,annegentle/wadl2swagger,rackerlabs/wadl2swagger
e22a3d6b16da8a591ac06ca0320097ee614961ba
app/views/admin/shared/forms/_image_association_select.html.erb
app/views/admin/shared/forms/_image_association_select.html.erb
<div class="image-association-select"> <div class="searchable-select"> <%= f.select method, collection.map{ |c| [c.send(text_method), c.send(value_method), {:'data-url' => c.send(preview_url_method)}] }, options, html_options %> </div> <%= image_tag nil, class: "image-association-select-image -hidden" %> </di...
<div class="image-association-select"> <div class="searchable-select"> <%= f.select method, collection.map{ |c| [c.send(text_method), c.send(value_method), {:'data-url' => c.send(preview_url_method)}] }, options, html_options %> </div> <%= tag :img, class:"image-association-select-image -hidden" %> </div>
Use tag instead of image_tag for image_association_select
Use tag instead of image_tag for image_association_select Closes #55
HTML+ERB
mit
Threespot/tolaria,Threespot/tolaria,Threespot/tolaria
b8f1385970d2f472b68d8c8ff0af17e9ed3b8e1d
dev_environment/cookbooks/adam/templates/default/nginx_site.erb
dev_environment/cookbooks/adam/templates/default/nginx_site.erb
upstream <%= @resource.application.name %> { <% @hosts.each do |node| %> server <%= node.attribute?('cloud') ? node['cloud']['local_ipv4'] : node['ipaddress'] %>:<%= @resource.application_port %>; <% end %> } server { listen <%= @resource.port %>; server_name <%= @resource.server_name.is_a?(Array) ? @resourc...
Use custom nginx site template containing reverse proxy config for ejabberd BOSH
[DEPLOY] Use custom nginx site template containing reverse proxy config for ejabberd BOSH
HTML+ERB
agpl-3.0
mojolingo/Adam.Snark.Rabbit,mojolingo/Adam.Snark.Rabbit,mojolingo/Adam.Snark.Rabbit,mojolingo/Adam.Snark.Rabbit
c3871fa11894d8380213677ef096293caf9ee84f
app/views/data/_tabs.html.erb
app/views/data/_tabs.html.erb
<% content_for :tabs do %> <div id="content_tabs"> <ul> <li id="nav_dataDetails"> <%= link_to "Data Details", source_path(@source.slug), :class => ("buttonLink " + active_if(:action => ["show"])) %> </li> <li id="nav_exampleUsages"> <%= link_to "Example Usages", source_usages_path(@source.slug...
<% content_for :tabs do %> <div id="content_tabs"> <ul> <li id="nav_dataDetails"> <%= link_to "Data Details", source_path(@source.slug), :class => ("buttonLink " + active_if(:action => ["show"])) %> </li> <li id="nav_communityDocs"> <%= link_to "Community Docs", source_docs_path(@source.slug),...
Remove the "Example Usages" tab until we implement the feature.
Remove the "Example Usages" tab until we implement the feature.
HTML+ERB
bsd-3-clause
afomi/datacatalog-web,afomi/datacatalog-web
b0c35d3df86efa92cf2a81c6eb87da314df75251
app/views/lists/show.html.erb
app/views/lists/show.html.erb
<h1><%= @list.name.capitalize %></h1> <ul> <% @items.each do |item| %> <li><%= item.name %></li> <% end %> </ul> </br> <table class="table"> <thead> <th>Item</th> <th>Store</th> <th>Date Purchased</th> </thead> <tbody> <% @list.items.each do |item| %> <tr> <td> <%= item...
<h1><%= @list.name.capitalize %></h1> </br> <table class="table"> <thead> <th>Qty.</th> <th>Item</th> <th>Store</th> <th>Date Purchased</th> </thead> <tbody> <% @list.items.each do |item| %> <tr> <td> <%= item.quantity %> </td> <td> <%= item.name %> ...
Add qty to list show table
Add qty to list show table
HTML+ERB
mit
withtwoemms/stuff-i-buy,withtwoemms/stuff-i-buy,withtwoemms/stuff-i-buy
929db71805c3648c57bc4d602b9774436f11bf31
app/views/shared/_id.html.erb
app/views/shared/_id.html.erb
<% if @id %> <span id="id-box"><%= @id %></span> <% end %>
<script type="text/javascript"><!-- 'use strict'; $(() => { if (window.location.href.includes('/dashboard/show')) { $('#group-id-holder').append( $('<span>', { 'text': "<%= @group_id %>", 'id': 'group-id-box' }) ); } }); //--></script> <% if @id %> <span id="id-box"><%= @id %...
Add group-id to app-bar on dashboard
Add group-id to app-bar on dashboard
HTML+ERB
bsd-2-clause
cyber-dojo/web,cyber-dojo/web,cyber-dojo/web,cyber-dojo/web
efcb269b2c05f813878310006c5cc31da63e259f
templates/munin-node.conf.erb
templates/munin-node.conf.erb
# /etc/munin/munin-node.conf - config-file for munin-node # # This file is handled by puppet, any local changes will be lost # host_name <%= fqdn %> log_level 4 log_file /var/log/munin/munin-node.log port 4949 pid_file /var/run/munin/munin-node.pid background 1 setsid 1 # Which port to bind to; user ...
# /etc/munin/munin-node.conf - config-file for munin-node # # This file is handled by puppet, any local changes will be lost # host_name <%= fqdn %> log_level 4 log_file /var/log/munin/munin-node.log port 4949 pid_file /var/run/munin-node.pid background 1 setsid 1 # Which port to bind to; user root ...
Use /var/run for pidfile for munin-node
Use /var/run for pidfile for munin-node - it runs as root, so no need for a subdirectory
HTML+ERB
apache-2.0
ssm/ssm-munin,ssm/ssm-munin
c5ce2cf41c3eb7bf540af661cb0f9f29efc8d1d9
app/views/collections/_form.html.erb
app/views/collections/_form.html.erb
<%= simple_form_for [collections, @form] do |f| %> <% if f.error_notification %> <div class="alert alert-danger fade in"> <strong>Wait don't go!</strong> There was a problem with your submission. Please review the errors below: <a class="close" data-dismiss="alert" href="#">&times;</a> </div> <...
<%= simple_form_for [collections, @form] do |f| %> <% if f.error_notification %> <div class="alert alert-danger fade in"> <strong>Wait don't go!</strong> There was a problem with your submission. Please review the errors below: <a class="close" data-dismiss="alert" href="#">&times;</a> </div> <...
Set the cancel link based on the persisted state
Set the cancel link based on the persisted state
HTML+ERB
apache-2.0
samvera/hyrax,samvera/hyrax,samvera/hyrax,samvera/hyrax
51ffadf1bdb7f8d0df23b229c8fbd7873c3ed14f
app/views/flowcharts/_answer.txt.erb
app/views/flowcharts/_answer.txt.erb
<% if answer[:dependency].nil? && @questions[index + 1] != nil %> <%= question[:id] %>{"<%= question[:label] %>"} --> |"<%= key %>"| <%= @questions[index + 1][:id] %>["<%= @questions[index + 1][:label] %>"] <% elsif !answer[:dependency].nil? %> <%= render partial: "dependency.txt", locals: { question: question, ind...
<% if answer[:dependency].nil? && @questions[index + 1] != nil %> <%= question[:id] %>{"<%= question[:label] %>"} --> |"<%= key %>"| <%= @questions[index + 1][:id] %>["<%= @questions[index + 1][:label] %>"] <% elsif !answer[:dependency].nil? %> <%= render partial: "dependency.txt", locals: { question: question, ind...
Add end block for legal section
Add end block for legal section
HTML+ERB
mit
Motejl/open-data-certificate,Motejl/open-data-certificate,ahmadassaf/open-data-certificate,zoul/open-data-certificate,istvan-antal/open-data-certificate,zoul/open-data-certificate,ahmadassaf/open-data-certificate,ahmadassaf/open-data-certificate,theodi/open-data-certificate,istvan-antal/open-data-certificate,theodi/ope...
a84b0bd00536d328195bc0a7e8b76de653727d71
app/views/pages/maintenance.html.erb
app/views/pages/maintenance.html.erb
<!DOCTYPE html> <html> <head> <title>Serveme temporarily offline</title> <style type="text/css"> body { width: 500px; margin: 100px auto; font: 300 120% "OpenSans", "Helvetica Neue", "Helvetica", Arial, Verdana, sans-serif; } h1 { font-weight: 300; } </style>...
<!DOCTYPE html> <html> <head> <title>Serveme temporarily offline</title> <style type="text/css"> body { width: 500px; margin: 100px auto; font: 300 120% "OpenSans", "Helvetica Neue", "Helvetica", Arial, Verdana, sans-serif; } h1 { font-weight: 300; } </style>...
Include 'Murrican time in maintenance message
Include 'Murrican time in maintenance message
HTML+ERB
apache-2.0
Arie/serveme,Arie/serveme,Arie/serveme,Arie/serveme
7b4dac2b9cbcf5d3fd75b031f47b44dbe417d6c8
app/views/admin/users/_datasets_table_row.html.erb
app/views/admin/users/_datasets_table_row.html.erb
<tr> <td><%= permission.datasetID %></td> <td colspan="2"><%= permission.access_level.datasetname %></td> <td> <% if table_name == :accessible && category == :a && permission.user_has_access %> <!-- Revoke button --> <%= link_to_delete_permission(@user.user, permission.datasetID, 'revoke', categor...
<tr> <td><%= permission.datasetID %></td> <td colspan="2"><%= permission.access_level ? permission.access_level.datasetname : '-' %></td> <td> <% if table_name == :accessible && category == :a && permission.user_has_access %> <!-- Revoke button --> <%= link_to_delete_permission(@user.user, permiss...
Handle users with permission to deleted datasets
Handle users with permission to deleted datasets
HTML+ERB
mit
ANUSF/ADAUsers,ANUSF/ADAUsers,ANUSF/ADAUsers
ad8ab685d27a9d07e55f330a6289aa39ef277a82
app/views/layouts/_meta.html.erb
app/views/layouts/_meta.html.erb
<%# Templates %> <%# https://scotch.io/quick-tips/all-search-and-social-media-meta-tags-starter-template%> <%# TODO: Move this to i18n %> <% title = "Billion - Changing the way the world crowdfunds. For good." %> <% description = "Billion is a competitive crowdfunding platform for social good." %> <% image = image_ur...
<%# Templates %> <%# https://scotch.io/quick-tips/all-search-and-social-media-meta-tags-starter-template%> <%# TODO: Move this to i18n %> <% title = "Billion - Changing the way the world crowdfunds. For good." %> <% description = "Billion is a competitive crowdfunding platform for social good." %> <% image = image_ur...
Add back meta tag for mobile friendly site.
Add back meta tag for mobile friendly site.
HTML+ERB
agpl-3.0
billioneffect/billion-web,billioneffect/billion-web,billioneffect/billion-web,billioneffect/billion-web
7f19ce4f164225b3ea9a8e2c03f35596beb024c9
app/views/projects/show.html.erb
app/views/projects/show.html.erb
<p id="notice"><%= notice %></p> <p> <strong>Name:</strong> <%= @project.name %> </p> <p> <strong>Description:</strong> <%= @project.description %> </p> <p> <strong>Status:</strong> <%= Constants.get_status_name_by_id(@project.status) %> </p> <p> <strong>Priority:</strong> <%= @project.priority %> <...
<p id="notice"><%= notice %></p> <p> <strong>Name:</strong> <%= @project.name %> </p> <p> <strong>Description:</strong> <%= @project.description %> </p> <p> <strong>Status:</strong> <%= Constants.get_status_name_by_id(@project.status) %> </p> <p> <strong>Category:</strong> <%= Category.find_by_id(@p...
Remove priority from the project details screen as it doesn't get updated after the project disappears from the list
Remove priority from the project details screen as it doesn't get updated after the project disappears from the list
HTML+ERB
mit
rnelson/bossfight,rnelson/bossfight,rnelson/bossfight
710c849461a9c1d99266eff1d880249e3334ce4b
app/assets/stylesheets/users.css.erb
app/assets/stylesheets/users.css.erb
.user { width: 200px; } .profile_image { position: relative; width: 24px; height: 24px; margin-right: 5px; margin-top: 4px; } .profile_image .overlay { background-image: url(<%= asset_path "rounded-avatar-24.png" %>); position: absolute; top: 0; width: 24px; height: 24px; } .profile_image.size4...
.user { width: 200px; } .profile_image { position: relative; width: 24px; height: 24px; margin-right: 5px; margin-top: 4px; } .profile_image .overlay { background-image: url(<%= asset_path "rounded-avatar-24.png" %>); position: absolute; top: 0; width: 24px; height: 24px; } .profile_image.size4...
Fix profile info style error
Fix profile info style error
HTML+ERB
mit
tomatoes-app/tomatoes,potomak/tomatoes,tomatoes-app/tomatoes,potomak/tomatoes,potomak/tomatoes,tomatoes-app/tomatoes,tomatoes-app/tomatoes
016bfd61f338dd35344aba26dad364728384b8eb
app/views/items/_items_list.html.erb
app/views/items/_items_list.html.erb
<script type="text/javascript" src="/videoplayer/swfobject.js"></script> <%= display_classify_bar(['created_at', 'comments_number', 'viewed_number', 'rates_average', 'title'], ajax_url, 'object-list') %> <div id="content"> <%= display_item_in_list(@paginated_objects) %> </div> <div id="pagination"> <%#= will_pagi...
<script type="text/javascript" src="/videoplayer/swfobject.js"></script> <%= display_classify_bar(['created_at', 'comments_number', 'viewed_number', 'rates_average', 'title'], ajax_url, 'object-list') %> <% if params[:controller] != 'searches' %> <a href="<%= new_item_path(params[:item_type].downcase.singularize)%>"><...
Add content on items list
Add content on items list
HTML+ERB
agpl-3.0
thinkdry/blank-application,thinkdry/blank-application,thinkdry/blank-application
0358d2d86a3f14eb37a79a564e67f0ec63756dd6
app/views/static_pages/home.html.erb
app/views/static_pages/home.html.erb
<div class="center jumbotron"> <h2 class>CII Best Practices Badge Program</h2> <p> The Core Infrastructure Initiative (CII) Best Practices badge is a way for Free/Libre and Open Source Software (FLOSS) projects to show that they follow best practices. Projects can voluntarily self-certify, at...
<div class="center jumbotron"> <h2 class>CII Best Practices Badge Program</h2> <p> The Core Infrastructure Initiative (CII) Best Practices badge is a way for Free/Libre and Open Source Software (FLOSS) projects to show that they follow best practices. Projects can voluntarily self-certify, at...
Fix criteria URL on home page
Fix criteria URL on home page Signed-off-by: David A. Wheeler <9ae72d22d8b894b865a7a496af4fab6320e6abb2@dwheeler.com>
HTML+ERB
mit
coreinfrastructure/best-practices-badge,dwvisser/cii-best-practices-badge,linuxfoundation/cii-best-practices-badge,yannickmoy/cii-best-practices-badge,jdossett/cii-best-practices-badge,coreinfrastructure/best-practices-badge,linuxfoundation/cii-best-practices-badge,yannickmoy/cii-best-practices-badge,wanganyv/cii-best-...
80d176426d66bfd5fda6585c7875173ed33a03f9
app/views/user_sessions/new.html.erb
app/views/user_sessions/new.html.erb
<%= title 'Log In' %> <%= form_tag user_sessions_path do %> <%= label_tag :email, "Email Address" %> <%= text_field_tag :email, params[:email] %> <%= label_tag :password, "Password" %> <%= password_field_tag :password %> <%= label_tag :remember_me, "Remember me?" %> <%= check_box_tag :remember_me %> ...
<%= title 'Sign In' %> <%= form_tag user_sessions_path do %> <div class="row"> <div class="small-12 columns"> <%= label_tag :email, "Email Address" %> </div> </div> <div class="row"> <div class="small-12 columns"> <%= text_field_tag :email, params[:email] %> </div> </div> ...
Add markup for the signin page
Add markup for the signin page
HTML+ERB
mit
kirbrown/odot,k1r8r0wn/od-ot,k1r8r0wn/od-ot,kirbrown/od-ot,kirbrown/od-ot,kirbrown/odot,k1r8r0wn/od-ot,kirbrown/od-ot,k1r8r0wn/od-ot,kirbrown/odot
adce5298d87877a429e74302928b49adef6300a7
source/manual/github.html.md.erb
source/manual/github.html.md.erb
--- owner_slack: "#govuk-developers" title: How we use GitHub parent: /manual.html layout: manual_layout section: GitHub type: learn --- We share the [alphagov GitHub organisation][alphagov] with the other teams in the Government Digital Service (GDS). Our GitHub organisation is on the Enterprise Cloud plan. This can...
--- owner_slack: "#govuk-developers" title: How we use GitHub parent: /manual.html layout: manual_layout section: GitHub type: learn --- We share the [alphagov GitHub organisation][alphagov] with the other teams in the Government Digital Service (GDS). Our GitHub organisation is on the Enterprise Cloud plan. This can...
Add docs on accessing alphagov repos
Add docs on accessing alphagov repos
HTML+ERB
mit
alphagov/govuk-developer-docs,alphagov/govuk-developer-docs,alphagov/govuk-developer-docs,alphagov/govuk-developer-docs
564a75726c38e02b1adf42210452bb2697af7e66
backend/app/views/spree/admin/promotions/_promotion_rule.html.erb
backend/app/views/spree/admin/promotions/_promotion_rule.html.erb
<div class="promotion_rule promotion-block col-12" id="<%= dom_id promotion_rule %>"> <% type_name = promotion_rule.model_name.element %> <h6 class='promotion-title <%= 'no-text' if type_name == 'user_logged_in' || type_name == 'first_order'%>'><%= promotion_rule.class.human_attribute_name(:description) %></h6> <...
<div class="promotion_rule promotion-block col-12" id="<%= dom_id promotion_rule %>"> <% type_name = promotion_rule.model_name.element %> <h6 class='promotion-title <%= 'no-text' if type_name == 'user_logged_in' || type_name == 'first_order'%>'><%= promotion_rule.class.human_attribute_name(:description) %></h6> <...
Use to_partial_path when rendering promo rules
Use to_partial_path when rendering promo rules We now have a custom method to produce this path instead of the previous method of interpolation
HTML+ERB
bsd-3-clause
pervino/solidus,pervino/solidus,pervino/solidus,pervino/solidus
13cb895670a2dae612866f90c6e8c74b9106e4c2
app/views/refinery/subscriptions/subscription_mailer/notification.text.erb
app/views/refinery/subscriptions/subscription_mailer/notification.text.erb
<%=raw t('.greeting') %>, <%=raw t('.you_received_new_subscription') %> <% unless @subscription.first_name.blank? %> <%=raw t('.first_name') %>: <%= @subscription.first_name %> <% end %> <% unless @subscription.last_name.blank? %> <%=raw t('.last_name') %>: <%= @subscription.last_name %> <% end %> <%=raw t('.em...
<%=raw t('.greeting') %>, <%=raw t('.you_received_new_subscription') %> <% unless @subscription.first_name.blank? %> <%=raw t('.first_name') %>: <%= @subscription.first_name %> <% end %> <% unless @subscription.last_name.blank? %> <%=raw t('.last_name') %>: <%= @subscription.last_name %> <% end %> <%=raw t('.email'...
Delete empty space in notification email
Delete empty space in notification email
HTML+ERB
mit
refactorit/refinerycms-subscriptions
023fe88759579cb3448fe5afe7e86ddbceedfa19
app/views/devise/registrations/_affiliated_node.html.erb
app/views/devise/registrations/_affiliated_node.html.erb
<fieldset> <legend> Are you affiliated with an ODI Node? <a href="#" id="what-are-nodes" data-toggle="tooltip" title="ODI Nodes are local franchises of the ODI which focus on promoting open data via learning and networking"> <span class="icon-question-sign" aria-hidden="true"></span> </a> </legend...
<fieldset> <legend> Are you affiliated with an ODI Node? <a href="#" id="what-are-nodes" data-toggle="tooltip" title="ODI Nodes are local arms of the ODI who focus on promoting open data through learning and networking."> <span class="icon-question-sign" aria-hidden="true"></span> </a> </legend> ...
Change ODI Node tooltip text
Change ODI Node tooltip text Fixes #478
HTML+ERB
mit
theodi/member-directory,theodi/member-directory,theodi/member-directory
750f3e13969c132b83eec950bfe770b07806295f
views/find_a_local_branch.erb
views/find_a_local_branch.erb
<% content_for :page_title do %> Find a local branch <% end %> <article role="article" class="group"> <div class="inner-block"> <div class="text"> <p>Enter your post code below and we will find your nearest locations for a face to face session.</p> </div> </div> </article>
<% content_for :page_title do %> Find a local branch <% end %> <form action="/" method="post" class="form"> <div class="inner-block"> <p class="text"> There are 26 locations in the UK where you can have a face to face session. Enter your postcode to find the nearest location. </p> <div cl...
Add content and form to ‘find a local branch’
Add content and form to ‘find a local branch’
HTML+ERB
mit
guidance-guarantee-programme/alpha,guidance-guarantee-programme/alpha,guidance-guarantee-programme/alpha
e42ece0efc7f53d9ee9f4d8553f264ecc97815fe
app/views/organizers/index.html.erb
app/views/organizers/index.html.erb
<div class="header"> <h1>Our Organizers</h1> <p> These are the groups that are sponsored and a main focus for Prairie I/O. They're doing awesome stuff and we're here to help. </p> </div> <% if @organizers.count > 0 %> <ul> <% @organizers.each do |organizer| %> <li> <div class="logo"> ...
<div class="header"> <h1>Our Organizers</h1> <p> These are the groups that are sponsored and a main focus for Prairie I/O. They're doing awesome stuff and we're here to help. </p> </div> <% if current_user && current_user.is_admin %> <div class="actions"> <%= link_to "New Organizer", new_organizer_path...
Add link to create new org.
Add link to create new org.
HTML+ERB
mit
prairie-io/prairie-io,prairie-io/prairie-io,prairie-io/prairie-io
d0c14efd1e5eab986752507c99701d91c9a15044
app/views/articles/index.html.erb
app/views/articles/index.html.erb
<%= stylesheet_link_tag "articles", "data-turbolinks-track" => true %> <% if @logged_in_as %> <%= link_to "Post new article", :new_article %> <% end %> <%= render "shared/language_selector" %> <% if @articles.present? %> <% @articles.each do |article| %> <% if !article.is_draft %> <%= render "shared/artic...
<% if @logged_in_as %> <%= link_to "Post new article", :new_article %> <% end %> <%= render "shared/language_selector" %> <% if @articles.present? %> <% @articles.each do |article| %> <% if !article.is_draft %> <%= render "shared/article", article: article %> <% end %> <% end %> <% else %> <h1>No...
Revert "Enable data-turbolinks-track for articles CSS"
Revert "Enable data-turbolinks-track for articles CSS" This reverts commit 5d52ab0e751b975c9d5a7f44043104e7906ec5c6. It is reverted because there is no effect in the CSS being updated.
HTML+ERB
apache-2.0
NigoroJr/nigorojr.com,NigoroJr/nigorojr.com
bfe22e6871be23f7d439f655eca69c97b589c864
app/views/articles/_article.html.erb
app/views/articles/_article.html.erb
<% obj.each do |article| %> <div class="row row-grid"> <div class="col-xs-6 offset-xs-3"> <div class="demo-card-wide mdl-card mdl-shadow--2dp"> <div class="mdl-card__title"> <h2 class="mdl-card__title-text"><%= truncate(article.title) %></h2> ...
Create a shared partial for display articles
Create a shared partial for display articles This partial template receives an array of articles and iterate over every article and display it.
HTML+ERB
mit
juanhenriquez/blog-app,juanhenriquez/blog-app,juanhenriquez/blog-app
7325e8a4ec250e015ffb31dd5e484843489b11f1
app/views/leaderboard/index.html.erb
app/views/leaderboard/index.html.erb
<% content_for(:page_title, 'Leaderboard') %> <div class="page-title"> <h1>Department leaderboard<br /> <small> Which departments have the highest numbers of erroring mappings? </small> </h1> </div> <table class="table table-striped table-bordered"> <thead class="table-header"> <th rowspan="2"...
<% content_for(:page_title, 'Leaderboard') %> <div class="page-title"> <h1>Department leaderboard<br /> <small> Which departments have the highest numbers of erroring mappings? </small> </h1> </div> <table class="table table-striped table-bordered"> <thead class="table-header"> <th rowspan="2"...
Use a Bootstrap-styled down arrow instead of the HTML entity
Use a Bootstrap-styled down arrow instead of the HTML entity
HTML+ERB
mit
alphagov/transition,alphagov/transition,alphagov/transition
6f7fcfa1ec6451d8dd3394e785f944a3c3118183
modules/govuk_jenkins/templates/jobs/deploy_cdn.yaml.erb
modules/govuk_jenkins/templates/jobs/deploy_cdn.yaml.erb
--- - scm: name: cdn-configs_Deploy_CDN scm: - git: url: git@github.com:alphagov/fastly-configure.git branches: - master wipe-workspace: true clean: after: true - job: name: Deploy_CDN display-name: Deploy_CDN pro...
--- - scm: name: cdn-configs_Deploy_CDN scm: - git: url: git@github.com:alphagov/fastly-configure.git branches: - master wipe-workspace: true clean: after: true - job: name: Deploy_CDN display-name: Deploy_CDN pro...
Add servicegovuk to Deploy_CDN Jenkins job
Add servicegovuk to Deploy_CDN Jenkins job In govuk-cdn-config we added a new Fastly template to manage service.gov.uk. This change updates the Jenkins job to include the new service to the options list.
HTML+ERB
mit
alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet
abac572888ad59dfaa5b0d09178f7ec7dae0905e
app/views/menu_items/_breadcrumbs.html.erb
app/views/menu_items/_breadcrumbs.html.erb
<div class="breadcrumbs"> <% crumbs.each_with_index do |crumb, i| %> <%= link_to crumb.label, "/menu/#{crumb.name}" %> <%= ">" if i < (crumbs.length - 1) %> <% end %> <div style="float: right;"> Current local time : <%= DateTime.now.in_time_zone(session[:user].timezonepref) %></div> </div>
<div class="breadcrumbs"> <% crumbs.each_with_index do |crumb, i| %> <%= link_to crumb.label, "/menu/#{crumb.name}" %> <%= ">" if i < (crumbs.length - 1) %> <% end %> <div style="float: right;"> Current local time : <%= DateTime.now.in_time_zone(session[:user].timezonepref ||= "Eastern Time (US & Canada...
Change 'current local time' display
Change 'current local time' display
HTML+ERB
mit
michaelamoran/expertiza,ApertureScienceInnovators/expertiza,urmilparikh95/expertiza,expertiza/expertiza,joshio1/expertiza,arpitashekhar/expertiza,KunmiaoYang/expertiza,expertiza/expertiza,joshio1/expertiza,michaelamoran/expertiza,joshio1/expertiza,sid5788/expertiza,kira0992/expertiza,urmilparikh95/expertiza,expertiza/e...
6c720ea46ffeb68ee6c63c09f944941a99b061b8
config/deploy/templates/puma.rb.erb
config/deploy/templates/puma.rb.erb
#!/usr/bin/env puma directory '<%= current_path %>' rackup "<%= fetch(:puma_rackup) %>" environment '<%= fetch(:puma_env) %>' <% if fetch(:puma_tag) %> tag '<%= fetch(:puma_tag) %>' <% end %> pidfile "<%= fetch(:puma_pid) %>" state_path "<%= fetch(:puma_state) %>" stdout_redirect '<%= fetch(:puma_access_log) %>', '<...
Add a cap template for puma configuration
Add a cap template for puma configuration
HTML+ERB
mit
tmaesaka/atlas,tmaesaka/atlas
a2363a170bddea6b846d70dfd43a4553e7e6599f
app/views/front/_user.html.erb
app/views/front/_user.html.erb
<ul> <% if session[:current_user].present? %> <li class="dropdown-item"> <div class="profile-image" style="background-image: url(<%= session[:current_user][:photo] %>);"> <%= session[:current_user][:name][0..1] unless session[:current_user][:photo] || session[:current_user][:name].blank? %> <...
<ul> <% if session[:current_user].present? %> <li class="dropdown-item"> <div class="profile-image" style="background-image: url(<%= session[:current_user][:photo] %>);"> <%= session[:current_user][:email][0..1] unless session[:current_user][:photo] %> </div> <ul> <li> ...
Improve the icon of the user profile
Improve the icon of the user profile When the user doesn't have any photo, the two first letters of their email address is displayed. We previously displayed the first letters of their name but it might also be missing.
HTML+ERB
mit
Vizzuality/forest-atlas-landscape-cms,Vizzuality/forest-atlas-landscape-cms,Vizzuality/forest-atlas-landscape-cms,Vizzuality/forest-atlas-landscape-cms
5606935c569a780cece2984c4b58e3f2fb29ab68
app/views/players/new.html.erb
app/views/players/new.html.erb
<h1>Players#new</h1> <p>Find me in app/views/players/new.html.erb</p>
<h1>Welcome Player 2! Login here...</h1> <%= form_for :player, url: players_path do |f| %> <p> <%= f.label :Email %><br> <%= f.text_field :email %> </p> <p> <%= f.label :Password %><br> <%= f.password_field :password %> </p> <p> <%= f.submit 'Login' %> </p> <% end %>
Add form for player 2 login
Add form for player 2 login
HTML+ERB
mit
kaydenwilliams7/mathio-party,kaydenwilliams7/mathio-party,kaydenwilliams7/mathio-party
725789b1f018cd367d1d6a5408c0e3051d074b44
app/views/posts/index.html.erb
app/views/posts/index.html.erb
<p id="notice"><%= notice %></p> <div class="row"> <div class="large-12 columns"> <h1>Listing Posts</h1> <table class="responsive"> <thead> <tr> <th>Pic</th> <th>Owner</th> <th>Lost</th> <th>Location</th> <th>Phone</th> <th>Email</th> <th colspa...
<p id="notice"><%= notice %></p> <div class="row"> <div class="large-12 columns"> <h1>Listing Posts</h1> <table class="responsive"> <thead> <tr> <th>Pic</th> <th>Owner</th> <th>Lost</th> <th>Location</th> <th>Phone</th> <th>Email</th> <th colspa...
Fix 'I lost my pet' route
Fix 'I lost my pet' route
HTML+ERB
mit
dnguyensr/missingfursons,dnguyensr/missingfursons,dnguyensr/missingfursons
95323d2045e68e18a25f32623edb5e5bc8e8cb8a
jobs/openstack_cpi/templates/cpi.erb
jobs/openstack_cpi/templates/cpi.erb
#!/bin/bash <% if_p('env.http_proxy') do |http_proxy| %> export HTTP_PROXY=<%= http_proxy %> export http_proxy=<%= http_proxy %> <% end %> <% if_p('env.https_proxy') do |https_proxy| %> export HTTPS_PROXY=<%= https_proxy %> export https_proxy=<%= https_proxy %> <% end %> <% if_p('env.no_proxy') do |no_proxy| %> expo...
#!/bin/bash <% if_p('env.http_proxy') do |http_proxy| %> export HTTP_PROXY=<%= http_proxy %> export http_proxy=<%= http_proxy %> <% end %> <% if_p('env.https_proxy') do |https_proxy| %> export HTTPS_PROXY=<%= https_proxy %> export https_proxy=<%= https_proxy %> <% end %> <% if_p('env.no_proxy') do |no_proxy| %> expo...
Read the JSON line from the standard input in raw mode
Read the JSON line from the standard input in raw mode Without the `-r` option of the `read` command backslashes in JSON strings are interpreted as bash escape charater.
HTML+ERB
apache-2.0
cloudfoundry-incubator/bosh-openstack-cpi-release,cloudfoundry-incubator/bosh-openstack-cpi-release,cloudfoundry-incubator/bosh-openstack-cpi-release
4284aed3329fbca9f8a4e66d46ae93f139ebeb6e
sample/app/views/application/index.html.erb
sample/app/views/application/index.html.erb
<% start = Time.now %> <table border="1"> <thead> <tr> <th> id </th> <th> replies_count </th> <th> in_reply_to.id </th> <th> in_reply_to.favorites_count </th> </tr> </thead> <tbody> <% @tweets.each do |tweet| %> <tr>...
<% start = Time.now %> <table border="1"> <thead> <tr> <th> id </th> <th> replies_count </th> <th> in_reply_to.id </th> <th> in_reply_to.favorites_count </th> </tr> </thead> <tbody> <% @tweets.each do |tweet| %> <tr>...
Fix sample app view method call
Fix sample app view method call
HTML+ERB
mit
tkawa/activerecord-precount,k0kubun/activerecord-precount,tkawa/activerecord-precount,tkawa/activerecord-precount
ee0e4094bba51eba94df297cd3194790e899ca8d
app/views/transaction/_additional_information_tabbed.html.erb
app/views/transaction/_additional_information_tabbed.html.erb
<%= render "govuk_publishing_components/components/tabs", { panel_border: false, tabs: [ { id: ('more-information' if transaction.more_information.present?), label: t('formats.transaction.more_information'), content: render("govuk_publishing_components/components/govspeak", {}) do ...
<%= render "govuk_publishing_components/components/tabs", { panel_border: false, tabs: [ { id: ('more-information' if transaction.more_information.present?), label: t('formats.transaction.more_information'), content: render("govuk_publishing_components/components/govspeak", {}) do ...
Update sanitize to raw to stop tables being removed
Update sanitize to raw to stop tables being removed
HTML+ERB
mit
alphagov/frontend,alphagov/frontend,alphagov/frontend,alphagov/frontend
ce88210fee87baec62d8b7daf5d4aaca39c1abb7
themes/activate/views/sources/index.html.erb
themes/activate/views/sources/index.html.erb
<h1>Listing sources for <%= Organization.find_by_id(params[:organization_id]).name %></h1> <% if @sources.empty? %> This organization has no sources yet. <% else %> <table> <tr> <th>Manage</th> <th>URL</th> </tr> <% for source in @sources %> <tr class="<%= cycle 'odd', 'even' %>"> <td> <%=...
<h1>Listing sources for <%= Organization.find_by_id(params[:organization_id]).name %></h1> <% if @sources.empty? %> This organization has no sources yet. <% else %> <table> <tr> <th>Manage</th> <th>Source Name</th> <th>URL</th> </tr> <% for source in @sources %> <tr class="<%= cycle 'odd', 'even...
Include source name in source index view
Include source name in source index view
HTML+ERB
mit
CorainChicago/ActivateHub,CorainChicago/ActivateHub,CorainChicago/ActivateHub,CorainChicago/ActivateHub
5fb829b1f408d8d157d897ddb4560144e46550e5
app/views/home/index.html.erb
app/views/home/index.html.erb
<%= render 'carousel' %> <% if @seen_count - @unseen_count != 0 %> <div class="row"> <div class="col-md-4"> <h3>New episodes <span class="badge"><%= @unseen_count %></span></h3> <div class="unseen"> <%= render partial: 'episode_table', object: @unseen_episodes, as: :episodes %> <...
<%= render 'carousel' %> <% if @seen_count - @unseen_count != 0 %> <div class="row"> <div class="col-md-4"> <h3>New episodes <span class="badge"><%= @unseen_count %></span></h3> <div class="unseen"> <%= render partial: 'episode_table', object: @unseen_episodes, as: :episodes %> <...
Change home index blank state to match the new behaviour
Change home index blank state to match the new behaviour
HTML+ERB
mit
danitrap/terebi,danitrap/terebi,danitrap/terebi
0cdd378bcd2e23a940aae6e0206bfba1ec84a31e
app/views/items/show.html.erb
app/views/items/show.html.erb
<h2><%= @item.name %></h2> <% if !@item.image.empty? %> <img src="<%= @item.image %>"> <% else %> IMAGE NOT AVAILABLE <%end%> <ul> <li>Description: <%= @item.description %></li> <li>Quantity: <%= @item.quantity %></li> <li>Price: <%= @item.price %></li> </ul>
<h2><%= @item.name %></h2> <% if !@item.image.blank? %> <img src="<%= @item.image %>"> <% else %> IMAGE NOT AVAILABLE <%end%> <ul> <li>Description: <%= @item.description %></li> <li>Quantity: <%= @item.quantity %></li> <li>Price: <%= @item.price %></li> </ul>
Refactor if statement so it allows for both nil and empty situations
Refactor if statement so it allows for both nil and empty situations
HTML+ERB
mit
benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop
9c1f9fdb603cc54ca69996a9b2d402ef3c235c7e
app/views/main/index.html.erb
app/views/main/index.html.erb
<div class="row"> <div class="col s12"> <div class="card"> <div class="card-image"> <%= image_tag 'card-headers/hero.jpg', width: '100%' %> <% set_meta_tags image_src: image_url('card-headers/hero.jpg') %> <span class="card-title">Your digital notebook is here.</span> </div> ...
<%# Recommended keywords tag length: up to 255 characters, 20 words. %> <% set_meta_tags keywords: %w[writing author nanowrimo novel character fiction fantasy universe creative dnd roleplay larp game design] %> <div class="row"> <div class="col s12"> <div class="card"> <div class="card-image"> <%= ...
Add keywords to main page
Add keywords to main page
HTML+ERB
mit
indentlabs/notebook,indentlabs/notebook,indentlabs/notebook
d9130541f3e1d53422a9cb89a8829e178e41398b
app/views/users/show.html.erb
app/views/users/show.html.erb
<p id='us_name'><%= @user.name %></p> <div class="user_show"> <ul> <li><%= image_tag @user.avatar, :id => 'us_avatar' %></li> <li class='user_info'><%= @user.age %></li> <li class='user_info'><%= @user.location %></li> </ul> </div> <p class='us_title'>Questions</p> <div class="user_show"> <% @user.questions...
<p id='us_name'><%= @user.name %></p> <div class="user_show"> <ul> <li><%= image_tag @user.avatar, :id => 'us_avatar' %></li> <li class='user_info'><%= @user.age %></li> <li class='user_info'><%= @user.location %></li> </ul> </div> <p class='us_title'>Questions</p> <div class="user_show"> <% @user.questions...
Put question and answer links on user_index page
Put question and answer links on user_index page
HTML+ERB
mit
kevalwell/StackOverflow,kevalwell/StackOverflow,kevalwell/StackOverflow
2616e6a0dda52e267c249c10bce2f4ff0531aa0a
app/views/users/show.html.erb
app/views/users/show.html.erb
<h1><%= @user.username %> Profile</h1> <%= render @user %> <%= render 'questions_asked' %> <%= render 'questions_answered' %>
<div id="profile"> <h1> <%= image_tag @user.gravatar_url %> <%= @user.username %>'s Profile <%= link_to '(You!) - Edit', [:edit, @user], :class => 'btn btn-primary' if current_user == @user %> </h1> <%= render @user %> <%= render 'questions_asked' %> <%= render 'questions_answered' %> </div>
Move edit link to h1, and only show if current user
Move edit link to h1, and only show if current user
HTML+ERB
mit
joshmcarthur/inquest,joshmcarthur/inquest
a22b09aed76e25ec955e6052c2e0577ce31bc449
app/views/videos/new.html.erb
app/views/videos/new.html.erb
<% provide(:title, "Add video") %> <h1>Add video</h1> <% provide(:submit_button, "Add video") %> <%= render "form", video: @video %> <div id="preview"></div>
<% provide(:title, "Add video") %> <h1>Add video</h1> <% provide(:submit_button, "Add video") %> <%= render "form", video: @video %>
Remove unused element in video adding view
Remove unused element in video adding view
HTML+ERB
mit
eqot/petroglyph3,eqot/petroglyph3
ee68d891ebdccd63385915b5a8bb86810da6f3ba
pages/pipelines/secrets.md.erb
pages/pipelines/secrets.md.erb
# Managing Secrets When using secrets in your pipelines it is strongly recommended that you store them in your Agent environment hook. This means that only people with access to your Agent infrastructure will ever see these secrets, and they won't leak into your build environment variables or logs. If you're using t...
Add outline for secrets page
Add outline for secrets page
HTML+ERB
mit
buildkite/docs,buildkite/docs,buildkite/docs,buildkite/docs
fc12d08358883225c46798047e280f81b4301306
docs/manual/source/partials/shared/quickstart/_install.html.md.erb
docs/manual/source/partials/shared/quickstart/_install.html.md.erb
First you need to [install PredictionIO <%= data.versions.pio %>](/install) (if you haven't done it). Let's say you have installed PredictionIO at `/home/yourname/PredictionIO/`. For convenience, add PredictionIO's binary command path to your `PATH`, i.e. `/home/yourname/PredictionIO/bin`: ``` $ PATH=$PATH:/home/your...
First you need to [install PredictionIO <%= data.versions.pio %>](/install) (if you haven't done it). Let's say you have installed PredictionIO at `/home/yourname/PredictionIO/`. For convenience, add PredictionIO's binary command path to your `PATH`, i.e. `/home/yourname/PredictionIO/bin`: ``` $ PATH=$PATH:/home/your...
Add note to skip pio-start-all when started from AWS Marketplace
Add note to skip pio-start-all when started from AWS Marketplace
HTML+ERB
apache-2.0
hsavit1/PredictionIO,indranig/PredictionIO,zafarella/PredictionIO,ionux/PredictionIO,sevenihust/PredictionIO,codingang/PredictionIO,BuildAPE/PredictionIO,b-cuts/PredictionIO,jlegendary/PredictionIO,marevol/incubator-predictionio,jasonchaffee/PredictionIO,adamharish/PredictionIO,jingyidata/PredictionIO,zafarella/Predict...
ea83c40d04637412ae3e0ca1c8c692267536756f
site-cookbooks/rails_server/templates/default/sv-rails-app-run.erb
site-cookbooks/rails_server/templates/default/sv-rails-app-run.erb
#!/bin/sh export rvm_dir=<%= @options[:rvm_dir] %> export RUBY_BIN=<%= @options[:ruby_bin] %> cd <%= @options[:app_dir] %> <%= @options[:extra_code] %> export rvm_ignore_rvmrc=1 exec 2>&1 exec chpst -v -u <%= @options[:user] %>:<%= @options[:group] %> <%= @options[:chpst_arguments] %> <%= @options[:wrapper_dir] %>/b...
#!/bin/sh export rvm_dir=<%= @options[:rvm_dir] %> export RUBY_BIN=<%= @options[:ruby_bin] %> export RAILS_ENV=production # by default <%= @options[:env_vars].map { |name, value| "export #{name}=#{value}" }.join("\n") %> # This assumes Capistrano or Chef has already created a release cd <%= @options[:app_dir] %>/re...
Use environment variables and correct Capistrano release dir, plus set RAILS_ENV by default.
Use environment variables and correct Capistrano release dir, plus set RAILS_ENV by default.
HTML+ERB
mit
noahgibbs/madscience,noahgibbs/madscience,noahgibbs/madscience
241a2bab0581e189ae2ece711e46b8b081a74ce0
cookbooks/tilecache/templates/default/nginx_tile_ssl.conf.erb
cookbooks/tilecache/templates/default/nginx_tile_ssl.conf.erb
upstream tile_cache_backend { server 127.0.0.1; <% @caches.each do |cache| -%> <% if cache[:hostname] != node[:hostname] -%> #Server <%= cache[:hostname] %> <% cache.ipaddresses(:family => :inet, :role => :external).sort.each do |address| -%> server <%= address %> backup; <% end -%> <% e...
upstream tile_cache_backend { server 127.0.0.1; <% @caches.each do |cache| -%> <% if cache[:hostname] != node[:hostname] -%> #Server <%= cache[:hostname] %> <% cache.ipaddresses(:family => :inet, :role => :external).sort.each do |address| -%> server <%= address %> backup; <% end -%> <% e...
Revert "tile: enable http2 for ssl caches"
Revert "tile: enable http2 for ssl caches" This reverts commit b52af51e32c84636680ed79e66bad0cbaa8feab6.
HTML+ERB
apache-2.0
tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,Firefishy/chef,gravitystorm/chef,openstreetmap/chef,gravitystorm/chef,Firefishy/chef,zerebubuth/openstreetmap-chef,gr...