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
528c81d9ff9b4d6bb66b17922bca7f4433d28b8f
lib/smart_answer_flows/vat-payment-deadlines/vat_payment_deadlines.govspeak.erb
lib/smart_answer_flows/vat-payment-deadlines/vat_payment_deadlines.govspeak.erb
<% content_for :title do %> VAT payment deadline calculator <% end %> <% content_for :meta_description do %> Work out the VAT payment deadline for your accounting period. <% end %> <% content_for :body do %> Work out the VAT payment deadline for your accounting period. You can't use this calculator if you ma...
<% content_for :title do %> VAT payment deadline calculator <% end %> <% content_for :meta_description do %> Work out the VAT payment deadline for your accounting period. <% end %> <% content_for :body do %> Work out the VAT payment deadline for your accounting period. You can't use this calculator if you ma...
Update to smart answer start page
Update to smart answer start page Telling users about forthcoming changes to VAT records and returns. They need to be able to act on these now.
HTML+ERB
mit
alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers
31b5a991a0fc75609c7809850ce5b3b8451ccb0b
modules/govuk_jenkins/templates/jobs/smart_answers_broken_links_report.yaml.erb
modules/govuk_jenkins/templates/jobs/smart_answers_broken_links_report.yaml.erb
--- - job: name: smart_answers_broken_links_report display-name: Smart Answers Broken Links Report project-type: freestyle description: "<p>Searches Smart Answer flows for broken links, by quering link checker api and sends a report to zendesk</p>" builders: - trigger-builds: - proje...
--- - job: name: smart_answers_broken_links_report display-name: Smart Answers Broken Links Report project-type: freestyle description: "<p>Searches Smart Answer flows for broken links, by quering link checker api and sends a report to zendesk</p>" builders: - trigger-builds: - proje...
Update requester email used to send smart answers broken link report to zendesk
Update requester email used to send smart answers broken link report to zendesk
HTML+ERB
mit
alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet
e82ead40e2ce31f7c5b53556bced16c67d136a51
templates/java.env.erb
templates/java.env.erb
<% zk_properties = scope.lookupvar('zookeeper::_properties') -%> <%# sort the properties list for ruby <= 1.8 #-%> <% rv=RUBY_VERSION.split('.') -%> <% if rv[0] <= '1' and rv[1] <= '8' -%> <% zk_properties_keys = zk_properties.keys.sort -%> <% else -%> <% zk_properties_keys = zk_properties.keys -%> <% end -%> export JV...
<% zk_properties = scope.lookupvar('zookeeper::_properties') -%> <%# sort the properties list for ruby <= 1.8 #-%> <% rv=RUBY_VERSION.split('.') -%> <% if rv[0] <= '1' and rv[1] <= '8' -%> <% zk_properties_keys = zk_properties.keys.sort -%> <% else -%> <% zk_properties_keys = zk_properties.keys -%> <% end -%> export JV...
Fix escaping in auth_to_local Kerberos rules.
Fix escaping in auth_to_local Kerberos rules.
HTML+ERB
mit
MetaCenterCloudPuppet/cesnet-zookeeper,MetaCenterCloudPuppet/cesnet-zookeeper
2a0494dc273fd77d06d9c7b1ea7c590b86c62bd6
lib/proiel/visualization/graphviz/modern.dot.erb
lib/proiel/visualization/graphviz/modern.dot.erb
digraph G { charset="UTF-8"; graph [truecolor=true,bgcolor=transparent]; root [label="",shape=circle]; rankdir="<%= @direction -%>"; <%- @graph.tokens.select { |t| t.empty_token_sort != 'P' }.each do |token| -%> <%= node token.id, token.relation.to_s.upcase, shape: :box -%> <%- if to...
digraph G { charset="UTF-8"; graph [truecolor=true,bgcolor=transparent]; root [label="",shape=circle]; rankdir="<%= @direction -%>"; <%- @graph.tokens.select { |t| t.empty_token_sort != 'P' }.each do |token| -%> <%= node token.id, token.relation.to_s.upcase, shape: :box -%> <%- if to...
Enforce linear order in "modern" viz
Enforce linear order in "modern" viz
HTML+ERB
mit
proiel/proiel,proiel/proiel
4fab0a089b3ed33c8cc39ad8f11bf91225fdfb70
lib/mvnizer/templates/pom.xml.erb
lib/mvnizer/templates/pom.xml.erb
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId><%= group_id %></groupId> <artifactId><%= artifac...
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId><%= group_id %></groupId> <artifactId><%= artifac...
Upgrade compiler plugin to 3.8.0
Upgrade compiler plugin to 3.8.0
HTML+ERB
mit
tychobrailleur/mvnizer,tychobrailleur/mvnizer
cac7ec2c488022949b7d3ee9fd5f1162e566baf5
core/lib/generators/refinery/engine/templates/lib/generators/refinery/extension_plural_name_generator.rb.erb
core/lib/generators/refinery/engine/templates/lib/generators/refinery/extension_plural_name_generator.rb.erb
module Refinery class <%= extension_plural_class_name %>Generator < Rails::Generators::Base def rake_db rake("refinery_<%= extension_plural_name %>:install:migrations") end def append_load_seed_data create_file 'db/seeds.rb' unless File.exists?(File.join(destination_root, 'db', 'seeds.rb')) ...
module Refinery class <%= extension_plural_class_name %>Generator < Rails::Generators::Base def rake_db rake("refinery_<%= extension_plural_name %>:install:migrations") end def append_load_seed_data create_file 'db/seeds.rb' unless File.exists?(File.join(destination_root, 'db', 'seeds.rb')) ...
Use namespace instead of extension resource plural name, which is often wrong in the case of nested resources.
Use namespace instead of extension resource plural name, which is often wrong in the case of nested resources. Fixes #2016
HTML+ERB
mit
louim/refinerycms,kappiah/refinerycms,Eric-Guo/refinerycms,refinery/refinerycms,gwagener/refinerycms,johanb/refinerycms,chrise86/refinerycms,Retimont/refinerycms,hoopla-software/refinerycms,mobilityhouse/refinerycms,Retimont/refinerycms,KingLemuel/refinerycms,refinery/refinerycms,mobilityhouse/refinerycms,KingLemuel/re...
62e5a80f604c1d5f109da5b259dca094c8eae578
templates/default/chef-rundeck.conf.erb
templates/default/chef-rundeck.conf.erb
start on runlevel [2345] stop on shutdown respawn respawn limit 3 30 script exec su - <%=@user%> -c "/opt/chef/embedded/bin/chef-rundeck -c <%=@chef_config%> -f <%=@project_config%> -w <%=@chef_webui_url%> -o <%=@chef_rundeck_host%> -p <%=@chef_rundeck_port%> -u <%= node['rundeck']['user'] %> -t <%= @chef_rundeck_cach...
start on runlevel [2345] stop on shutdown respawn respawn limit 3 30 exec su - <%=@user%> -c 'exec "$0" "$@"' -- "/opt/chef/embedded/bin/chef-rundeck" -c <%=@chef_config%> -f <%=@project_config%> -w <%=@chef_webui_url%> -o <%=@chef_rundeck_host%> -p <%=@chef_rundeck_port%> -u <%= node['rundeck']['user'] %> -t <%= @che...
Use 'exec' to substitute calling process instead of forking.
Use 'exec' to substitute calling process instead of forking. Restarting the process does not kill the child process, so new configuration are not loaded unless someone kills the child process manually. Proposed change fixes the restarting issue.
HTML+ERB
apache-2.0
ronabop/rundeck,ARentz07/rundeck,edwlarkey/rundeck,edwlarkey/rundeck,ARentz07/rundeck,ARentz07/rundeck,ronabop/rundeck,ronabop/rundeck,edwlarkey/rundeck
5199dd136166ac2d24d3801bd32b04eb54aae882
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title><%= content_for?(:title) ? yield(:title) : "foundation-rails" %></title> <%= stylesheet_link_tag "application" %> <%= javascript_include_tag "vendor...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title><%= content_for?(:title) ? yield(:title) : "YesAnd" %></title> <%= stylesheet_link_tag "application" %> <%= javascript_include_tag "vendor/modernizr...
Add navigation bar and logic
Add navigation bar and logic
HTML+ERB
mit
chi-fiddler-crabs-2015/yesand,chi-fiddler-crabs-2015/yesand,chi-fiddler-crabs-2015/yesand
0c7a61cd141b081982d9bc72bc72c8036714a8c9
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>Faxomat</title> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> <%= csrf_meta_tags %> </head> <body> <%= yield %> </body> </html>
<!DOCTYPE html> <html> <head> <title>Faxomat</title> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> <%= csrf_meta_tags %> </head> <body> <div class="alert alert-danger" role="alert"> <...
Add warning dialog for users.
Add warning dialog for users.
HTML+ERB
mit
bjoernalbers/faxomat,bjoernalbers/faxomat,bjoernalbers/faxomat,bjoernalbers/faxomat
75eb0cd95dbeefebb716a491f6f5705db784572b
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<% content_for :head do %> <%= stylesheet_link_tag "application", :media => "all" %> <%= javascript_include_tag 'application' %> <%= csrf_meta_tags %> <% end %> <% content_for :page_title, "Specialist Publisher" %> <% content_for :navbar_items do %> <li><%= nav_link_to 'Manuals', '/manuals' %></li> <% if us...
<% content_for :head do %> <%= stylesheet_link_tag "application", :media => "all" %> <%= javascript_include_tag 'application' %> <%= csrf_meta_tags %> <% end %> <% content_for :page_title, "Specialist Publisher" %> <% content_for :navbar_items do %> <li><%= nav_link_to 'Manuals', '/manuals' %></li> <% if us...
Stop JS from rendering outside of head tag
Stop JS from rendering outside of head tag When I moved to the govuk_admin_template I accidentally left some things outside of content_for tags which meant that there were a whole bunch of script tags at the top of the page before the <head> this caused ie^ and 7 to get very confused, naturally.
HTML+ERB
mit
alphagov/specialist-publisher,alphagov/specialist-publisher-rebuild,ministryofjustice/specialist-publisher,alphagov/specialist-publisher-rebuild,ministryofjustice/specialist-publisher,alphagov/specialist-publisher-rebuild,alphagov/specialist-publisher,alphagov/manuals-publisher,alphagov/specialist-publisher-rebuild,alp...
31ca012c0595d3cae767e00ce3e992eb620caeca
app/views/mentorships/_details.html.erb
app/views/mentorships/_details.html.erb
<h2>Commitment</h2> <p> We are currently asking everyone that starts one of these relationships to commit for a time of <strong>4 weeks.</strong> (If both parties want to continue on past 4 weeks, that is very cool, but we feel like this is a good time frame to start with.) </p> <p> This commitment will run until...
<h2>Commitment</h2> <p> We ask everyone to sign up for mentoring segments in <strong>4 week chunks</strong>. If you and your mentor want to continue for additional 4 week segments, please renew the relationship at the end of the initial 4 weeks. </p> <p> This commitment will run until close to <strong><%= display...
Copy changes on the mentorship details
Copy changes on the mentorship details
HTML+ERB
mit
markmcspadden/coding-mentors,markmcspadden/coding-mentors
91f76fb35b583eaf33973733b1e1f94f946c8c04
app/views/cms/_forum.html.erb
app/views/cms/_forum.html.erb
<%= error_messages_for 'forum' %> <h1><%= _('My Forum') %></h1> <%= render :file => 'shared/tiny_mce' %> <%= required f.text_field(:name, :size => '64', :maxlength => 150, :onchange => "updateUrlField(this, 'article_slug')") %> <%= render :partial => 'general_fields' %> <%= labelled_form_field(_('Description:'), t...
<%= error_messages_for 'forum' %> <h1><%= _('My Forum') %></h1> <%= required_fields_message %> <%= render :file => 'shared/tiny_mce' %> <%= required f.text_field(:name, :size => '64', :maxlength => 150, :onchange => "updateUrlField(this, 'article_slug')") %> <%= render :partial => 'general_fields' %> <%= labelled...
Fix the required_fields_message for forums. It was overlaying the title field
Fix the required_fields_message for forums. It was overlaying the title field Signed-off-by: Fabio Teixeira <a90b0aa793b4509973a022e6fee8cf8a263dd84e@gmail.com> Signed-off-by: Gabriela Navarro <61c2bac069eee966d94f5b4095f9a2d9fa323d86@gmail.com>
HTML+ERB
agpl-3.0
evandrojr/noosferogov,samasti/noosfero,arthurmde/noosfero,uniteddiversity/noosfero,vfcosta/noosfero,alexandreab/noosfero,hebertdougl/noosfero,vfcosta/noosfero,EcoAlternative/noosfero-ecosol,EcoAlternative/noosfero-ecosol,evandrojr/noosferogov,LuisBelo/tccnoosfero,evandrojr/noosferogov,abner/noosfero,EcoAlternative/noos...
732bb99e9b7270593575e36c7b39cfccb43953cf
app/views/games/show.html.erb
app/views/games/show.html.erb
<p>Let's play 500!</p> <p>First, we will deal the cards.</p> <p>Your cards:</p> <ul> <% @game.hands[:south].each do |card| %> <li><%= unicode_card(card.to_s) %></li> <% end %> </ul> <p>Now is the bidding phase.</p> <p>West passes.</p> <p>North passes.</p> <p>East passes.</p> <p>It is now your chance to make a b...
<p>Let's play 500!</p> <p>First, we will deal the cards.</p> <p>Your cards:</p> <ul> <% @game.hands[:south].each do |card| %> <li><%= unicode_card(card.to_s) %></li> <% end %> </ul>
Remove unused bidding phase content
Remove unused bidding phase content
HTML+ERB
mit
MattHeard/Five-Hundred,MattHeard/Five-Hundred,MattHeard/Five-Hundred
287dbe1481f7618b23292b85dbe8cdcf12ad4a98
app/views/games/show.html.erb
app/views/games/show.html.erb
<%= @game.name %> <ul> <% @game.participants.each do |player| %> <li><%= player.display_name %></li> <% end %> </ul> <%= render 'cards/form', card: Card.new, game: @game %> <%= render 'start', game: @game %>
<%= @game.name %> <ul> <% @game.participants.each do |player| %> <li><%= player.display_name %></li> <% end %> </ul> <%= render 'cards/form', card: Card.new, game: @game %> <%= render 'games/start', game: @game %>
Add full path to games/start
Add full path to games/start
HTML+ERB
mit
KimTran27/fish_bowling,KatherineGuenther/fish_bowling,pholls/fish_bowling,KatherineGuenther/fish_bowling,pholls/fish_bowling,sea-otters-2017/fish_bowling,sea-otters-2017/fish_bowling,KatherineGuenther/fish_bowling,KimTran27/fish_bowling,sea-otters-2017/fish_bowling,pholls/fish_bowling,KimTran27/fish_bowling
a3fd264977e1a197bf620cabb3c7feb7de9d93e0
app/views/home/index.html.erb
app/views/home/index.html.erb
<h1>ODI Membership</h1>
<div class='well'> For ODI membership information, please visit <%= link_to 'http://theodi.org/join-us', 'http://theodi.org/join-us'%> </div>
Add link back to main website on frontpage.
Add link back to main website on frontpage.
HTML+ERB
mit
theodi/member-directory,theodi/member-directory,theodi/member-directory
fda7d5d609d43ec99999647e08093dcf76a123e6
app/views/steps/edit.html.erb
app/views/steps/edit.html.erb
<%= render partial: 'lessons/sub_header' %> <%= render partial: 'lessons/edit_sub_nav' %> <%= render partial: 'steps/step_list' %> <%= form_tag(edit_lesson_step_path(lesson_id: @lesson_obj.id, id: @step_obj.id, form_step:4), method: :patch, multipart: true, class: "Form") do %> <%= render partial: 'steps/form' %>...
<%= render partial: 'lessons/sub_header' %> <%= render partial: 'lessons/edit_sub_nav' %> <%= render partial: 'steps/step_list' %> <%= form_tag(lesson_step_path(lesson_id: @lesson_obj.id, id: @step_obj.id, form_step:4), method: :patch, multipart: true, class: "Form") do %> <%= render partial: 'steps/form' %> <...
Patch to lesson_step_path not edit_lesson_step_path
Patch to lesson_step_path not edit_lesson_step_path
HTML+ERB
agpl-3.0
fablabbcn/SCOPESdf,fablabbcn/SCOPESdf,fablabbcn/SCOPESdf,fablabbcn/SCOPESdf
b3288c7a6d932e9a3af0519e8e6327b6fdacb23d
app/views/attractions/_info_window.html.erb
app/views/attractions/_info_window.html.erb
<div class="infowindow"> <h3><%= location.name %></h3> <p><%= location.address %></p> <%= image_tag(location.icon.url(:map_icon)) %> <ul class="no-bullet"> <li><%= number_to_phone(location.phone, area_code: true) %></li> <li><%= link_to("Website", location.website, :target => "_blank") %></a></li> <...
<div class="infowindow"> <h3><%= location.name %></h3> <p><%= location.address %></p> <%= image_tag(location.icon.url(:map_icon)) %> <ul class="no-bullet"> <li><%= number_to_phone(location.phone, area_code: true) %></li> <li><%= link_to("Website", location.website, :target => "_blank") %></a></li> <...
Resolve print coupon button issue
Resolve print coupon button issue
HTML+ERB
mit
Seattle-Attractions/map,Seattle-Attractions/map,Seattle-Attractions/map
79f4ea64731afe53852da861787475eb27055280
app/views/galleryhomepage/index.html.erb
app/views/galleryhomepage/index.html.erb
<h1>Gallery Homepage</h1> <h3>Featured Pieces:</h3> <div> <% @random_pieces.each do |piece| %> <div> <%= link_to image_tag(piece.img), artist_piece_path(piece.artist_id, piece.id) %></div> <% end %> <h3>Featured Scenes:</h3> <% @random_scenes.each do |scene| %> <%= link_to image_tag(scene.img), organization...
<h1>Gallery Homepage</h1> <h3>Featured Pieces:</h3> <div> <% @random_pieces.each do |piece| %> <div> <%= link_to image_tag(piece.img), artist_piece_path(piece.artist_id, piece.id) %></div> <% end %> <h3>Featured Scenes:</h3> <% @random_scenes.each do |scene| %> <%= link_to image_tag(scene.img), organization...
Remove categories from gallery homepage
Remove categories from gallery homepage
HTML+ERB
mit
ajdlp/Scene,atp1o2/Scene,atp1o2/Scene,Thrashmandicoot/Scene,atp1o2/Scene,ajdlp/Scene,Thrashmandicoot/Scene,ormaechea/Scene,ormaechea/Scene,ormaechea/Scene,Thrashmandicoot/Scene,ajdlp/Scene
52f26bddf8d5d3c1f6d1905bc45eebbcec3f968b
app/views/layouts/_test_results.html.erb
app/views/layouts/_test_results.html.erb
<ul class="results-list"> <% test_results.each_with_index do |test_result, index| %> <li> <% if test_result[:status] == :failed %> <span class="text-danger"> <%= status_icon(test_result[:status]) %> <strong class="example-title"><%= test_result[:title] %></strong> <a d...
<ul class="results-list"> <% test_results.each_with_index do |test_result, index| %> <li> <% if test_result[:status] == :failed %> <span class="text-danger"> <%= status_icon(test_result[:status]) %> <strong class="example-title"><%= test_result[:title] %></strong> <% u...
Hide details in visible output
Hide details in visible output
HTML+ERB
agpl-3.0
mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory
876247d7e59093635538689bd5856668c4c3411f
app/views/devise/passwords/edit.html.erb
app/views/devise/passwords/edit.html.erb
<h2>Change your password</h2> <%= simple_form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put }) do |f| %> <%= f.error_notification %> <%= f.input :reset_password_token, :as => :hidden %> <%= f.full_error :reset_password_token %> <div class="form-inputs"> ...
<div class="container-fluid"> <h2>Change your password</h2> <%= simple_form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put }) do |f| %> <%= f.error_notification %> <%= f.input :reset_password_token, :as => :hidden %> <%= f.full_error :reset_passwor...
Add the container on the password reset
Add the container on the password reset
HTML+ERB
mit
codeforamerica/alumni,codeforamerica/alumni
87d8e3bd3fbdc6e4e253219a103a67c28f771fa8
app/views/admins/profile.html.erb
app/views/admins/profile.html.erb
<div class="container-fluid"> <div class="row-fluid"> <div class="span12"> <h1>My Profile</h1> <%= form_for(@admin, :url => save_profile_admin_path) do |f| %> <% if @admin.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@admin.errors.count, "error") %> proh...
<div class="container-fluid"> <div class="row-fluid"> <div class="span12"> <h1>My Profile</h1> <%= form_for(@admin, :url => save_profile_admin_path) do |f| %> <% if @admin.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@admin.errors.count, "error") %> proh...
Change profile to only change password field
Change profile to only change password field
HTML+ERB
mit
CMP-Studio/cmoa-app-cms,CMP-Studio/cmoa-app-cms,CMP-Studio/cmoa-app-cms
cfb404f70bf236895e693cda800937ec8b70cf7f
app/views/contacts/index.html.erb
app/views/contacts/index.html.erb
<h2>All contacts</h2> <div class="admin-section"> <ul class="contacts"> <% for contact in @contacts.in_alphabetical_order %> <li><%= link_to contact.name, contact_path(contact) %></li> <% end %> </ul> </div> <div class="format-controls"> <ul> <li><%= link_to 'Create new contact', new_contac...
<h2>All contacts</h2> <div class="admin-section"> <ul class="contacts"> <% for contact in @contacts.in_alphabetical_order %> <li><%= link_to contact.name, contact_path(contact) %></li> <% end %> </ul> </div> <div class="format-controls"> <ul> <li><%= link_to 'Create new contact', new_contact_p...
Clean up contacts index template
Clean up contacts index template
HTML+ERB
mit
gds-attic/contact-o-tron,gds-attic/contact-o-tron,gds-attic/contact-o-tron
957d3e7e291b3d65dd52cf9c420a75608556e728
generators/templates/nginx_unicorn.erb
generators/templates/nginx_unicorn.erb
upstream <%= domain %> { server unix:<%= shared_path %>/unicorn/tmp/sockets/unicorn.sock fail_timeout=0; } server { listen 80; server_name <%= domain %> ; root <%= current_path %>/public; location ^~ /assets/ { gzip_static on; expires max; add_header Cache-Control public; } try_files $uri/i...
upstream <%= domain %> { server unix:<%= shared_path %>/unicorn/tmp/sockets/unicorn.sock fail_timeout=0; } server { listen 80; server_name <%= domains.join(" ") %>; root <%= current_path %>/public; location ^~ /assets/ { gzip_static on; expires max; add_header Cache-Control public; } try_fi...
Fix the multiple nginx domain problem
Fix the multiple nginx domain problem
HTML+ERB
mit
ikennaokpala/debot
0ba1202a9a56ee5bce2ee67f881e6c52324851c3
app/views/welcome/index.html.erb
app/views/welcome/index.html.erb
<h1>Welcome#index</h1> <p>Find me in app/views/welcome/index.html.erb</p>
<h1>Welcome#index</h1> <p>Find me in app/views/welcome/index.html.erb</p> <div><%= flash.notice %></div> <div id="user_nav"> <% if current_user %> User Info, <pre> <%= current_user %> </pre> <%= link_to "Sign Out", destroy_user_session_path, method: :delete %> <% else %> <%= link_to "Sign in...
Add 'Sign out' and 'Sign in with Google' links on the welcome page.
Add 'Sign out' and 'Sign in with Google' links on the welcome page.
HTML+ERB
mit
hnakamur/rails4_devise_google_openid_example,hnakamur/rails4_devise_google_openid_example
83aed94905c1105886fd7d1eba3d7e1a18200674
lib/app/views/completed_assignments.erb
lib/app/views/completed_assignments.erb
<% if completed && !completed.empty? %> <h2>Completed</h2> <% completed.each do |work| %> <div> <% if work.submitted? %> <%= language_icon(work.language) %> <a href="/<%= current_user.username %>/<%= work.language %>/<%= work.slug %>"> <h4 style="display: inline"><%= work.slug %>...
<% unless completed.empty? %> <h2>Completed</h2> <% completed.each do |work| %> <div> <% if work.submitted? %> <%= language_icon(work.language) %> <a href="/<%= current_user.username %>/<%= work.language %>/<%= work.slug %>"> <h4 style="display: inline"><%= work.slug %></h4></a> ...
Remove check for empty completed assignments
Remove check for empty completed assignments Completed assignments coming from the User are always an array so we don't need to check for nil. Amos King @adkron <amos.l.king@gmail.com> Zach Briggs @TheOtherZach <briggszj@gmail.com>
HTML+ERB
agpl-3.0
mscoutermarsh/exercism_coveralls,Tonkpils/exercism.io,IanDCarroll/exercism.io,tejasbubane/exercism.io,exercistas/exercism.io,copiousfreetime/exercism.io,copiousfreetime/exercism.io,hanumakanthvvn/exercism.io,MBGeoff/Exercism.io-mbgeoff,sheekap/exercism.io,praveenpuglia/exercism.io,mscoutermarsh/exercism_coveralls,jtigg...
5f646021079b15a7b543372a9218a9027cf0604c
test/lib/generators/discerner/templates/application.html.erb
test/lib/generators/discerner/templates/application.html.erb
<!DOCTYPE html> <html> <head> <title>Dummy</title> <%= stylesheet_link_tag "discerner/application", :media => "all" %> <%= javascript_include_tag "discerner/application" %> <%= csrf_meta_tags %> </head> <body class="discerner"> <% flash.each do |message_type, message| %> <div class="<%= message %>",...
<!DOCTYPE html> <html> <head> <title>Dummy</title> <%= stylesheet_link_tag "discerner/application", :media => "all" %> <%= javascript_include_tag "discerner/application" %> <%= csrf_meta_tags %> </head> <body class="discerner"> <% flash.each do |message_type, message| %> <div class="message" id="<%=...
Fix dummy application layout template
Fix dummy application layout template
HTML+ERB
mit
NUBIC/discerner,NUBIC/discerner,NUBIC/discerner
34723f7944d28ee03a4b3d282774566517410c74
app/views/dc_common/_help.html.erb
app/views/dc_common/_help.html.erb
<div class="dc-help"><a id="help-top"></a> <h1><%= t('drgcms.dc_help.help') %>: <%= dc_form_title %></h1> <div class="help-buttons"> <% if params[:type] == 'form' %> <button onclick="location.href='#fields'; return false;"><%= t('drgcms.dc_help.fields_button') %></button> <% end %> <% if @commnet...
<div class="dc-help"><a id="help-top"></a> <h1><%= t('drgcms.dc_help.help') %>: <%= dc_form_title %></h1> <div class="help-buttons"> <% if params[:type] == 'form' %> <button onclick="location.href='#fields'; return false;"><%= t('drgcms.dc_help.fields_button') %></button> <% end %> <% if @commnet...
Add close button to help popup.
Add close button to help popup.
HTML+ERB
mit
drgcms/drg-cms,drgcms/drg-cms,drgcms/drg-cms
c50439fe376b0ef67fadc3379bdf02627e72ffce
app/views/search/_country.html.erb
app/views/search/_country.html.erb
<a href="<%= country_path(iso: model.iso) %>"><%= cover model %></a> <div class="inner-result"> <h3> <a href="<%= country_path(iso: model.iso) %>"><%= model.name %></a> <small><%= commaify model.protected_areas.count %> Protected Areas in this country</small> </h3> <p> <%= StatisticPresenter.new(mod...
<a href="<%= country_path(iso: model.iso) %>"><%= cover model %></a> <div class="inner-result"> <h3> <a href="<%= country_path(iso: model.iso) %>"><%= model.name %></a> <small><%= commaify model.protected_areas.count %> Protected Areas in this country</small> </h3> <p> <%= StatisticPresenter.new(mod...
Remove additional space in pa total percentage
Remove additional space in pa total percentage
HTML+ERB
bsd-3-clause
unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet
82d7febe94c6560efb28ba3e2b33c1e36c51a5ad
app/views/shared/_tab_row.html.erb
app/views/shared/_tab_row.html.erb
<div class="row"> <% (@tabs.keys).reject { |x| skip.include?(x) }.each do |tab| %> <% is_current = tab == params[:tab] %> <div class="tab col-md-2 <%= 'tab-current' if is_current %>"> <%= link_to_unless(is_current, tab.titlecase, tab) %> </div> <% end %> </div>
<% anchor = 'tabs' %> <div class="row" id="<%= anchor %>"> <% (@tabs.keys).reject { |x| skip.include?(x) }.each do |tab| %> <% is_current = tab == params[:tab] %> <div class="tab col-md-2 <%= 'tab-current' if is_current %>"> <%= link_to_unless(is_current, tab.titlecase, "#{tab}##{anchor}") %> </div>...
Make tabs anchor links so the header can be long.
Make tabs anchor links so the header can be long.
HTML+ERB
apache-2.0
WGBH/openvault3,WGBH/openvault3,WGBH/openvault3,WGBH/openvault3
1466192419c9f920221f52115d6c95e5670e9c1b
app/views/snapshots/_tree.html.erb
app/views/snapshots/_tree.html.erb
<h4><%= link_to resource['title'], resource['uri'] %></h4> <p><%= resource['description'] %></p> <% children = resource['studies'] || resource['assays'] || resource['assets'] || [] %> <% children.each do |child| %> <div class="isa-tree"> <%= render :partial => 'tree', locals: { resource: child } %> </div...
<h4><%= link_to resource['title'], resource['uri'] %></h4> <p><%= text_or_not_specified resource['description'], description: true, auto_link: true, length: 500 %></p> <% children = resource['studies'] || resource['assays'] || resource['assets'] || [] %> <% children.each do |child| %> <div class="isa-tree"> ...
Truncate descriptions in snapshot tree
Truncate descriptions in snapshot tree
HTML+ERB
bsd-3-clause
HITS-SDBV/seek,HITS-SDBV/seek,SynthSys/seek,HITS-SDBV/seek,stuzart/seek,SynthSys/seek,SynthSys/seek,stuzart/seek,HITS-SDBV/seek,stuzart/seek,SynthSys/seek
df35acc291e2ab617c579037c19f36bb8ec8ec6f
app/views/people/show.html.erb
app/views/people/show.html.erb
<% content_for :title, person.title %> <%= render partial: "header", locals: { person: person } %> <div class="govuk-grid-row"> <div class="govuk-grid-column-one-third"> <%= render "govuk_publishing_components/components/image_card", { href: "#", image_src: person.image_url, image_alt: person....
<% content_for :title, person.title %> <%= render partial: "header", locals: { person: person } %> <div class="govuk-grid-row"> <div class="govuk-grid-column-one-third"> <%= render "govuk_publishing_components/components/image_card", { href: "#", image_src: person.image_url, image_alt: person....
Use contents_list component for page contents
Use contents_list component for page contents This is a better component to use than the image card links.
HTML+ERB
mit
alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections
ecebdebd46042323d3cbcc04fcbd79dff4003947
app/views/access_grid/_permissions.html.erb
app/views/access_grid/_permissions.html.erb
<% if @sublibrary %> <h3><%= @sublibrary.web_text.html_safe %></h3> <div id="permissions_<%=@sublibrary.code%>" class="permissions_list"> <table class="table table-bordered table-striped"> <thead> <th>Privilege</th> <th></th> </thead> <tbody> <% unless @patron_status_permissions.count == 0 %> ...
<% if @sublibrary %> <h3><%= @sublibrary.web_text.html_safe %></h3> <div id="permissions_<%=@sublibrary.code%>" class="permissions_list"> <table class="table table-bordered table-striped"> <thead> <th>Privilege</th> <th></th> </thead> <tbody> <% unless @patron_status_permissions.blank? %> <% ...
Check for blank instead of checking count==0 for the patron status permissions in the access grid
Check for blank instead of checking count==0 for the patron status permissions in the access grid
HTML+ERB
mit
NYULibraries/privileges,NYULibraries/privileges,NYULibraries/privileges,NYULibraries/privileges
f8309d1d9a74c0febeda1e49e0d6e72868fcce74
app/views/devise/registrations/new.html.erb
app/views/devise/registrations/new.html.erb
<h2>Sign up</h2> <%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %> <%= devise_error_messages! %> <div class="field"> <%= f.label :email %><br /> <%= f.email_field :email, autofocus: true %> </div> <div class="field"> <%= f.label :password %> <% if @min...
<h2>Sign up</h2> <%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %> <%= devise_error_messages! %> <div class="field"> <%= f.label :name %><br /> <%= f.text_field :name, autofocus: true %> </div> <div class="field"> <%= f.label :email %><br /> <%= f.emai...
Add name field in registration view
Add name field in registration view
HTML+ERB
mit
rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn
0ab90627a217f3a42b475cde1cb72b6c87d10b2f
lib/domgen/gwt/templates/app_module.xml.erb
lib/domgen/gwt/templates/app_module.xml.erb
<?xml version="1.0" encoding="UTF-8"?> <!-- DO NOT EDIT: File is auto-generated --> <module> <inherits name="com.google.gwt.inject.Inject"/> <inherits name="org.realityforge.gwt.lognice.LogniceEventBus"/> <% if repository.appcache? -%> <inherits name="org.realityforge.gwt.appcache.Appcache"/> <% end -%> <set-c...
<?xml version="1.0" encoding="UTF-8"?> <!-- DO NOT EDIT: File is auto-generated --> <module> <inherits name="com.google.gwt.inject.Inject"/> <inherits name="org.realityforge.gwt.lognice.BrowserExceptionUtil"/> <inherits name="org.realityforge.gwt.lognice.LogniceEventBus"/> <% if repository.appcache? -%> <inheri...
Upgrade to the next version of lognice
Upgrade to the next version of lognice
HTML+ERB
apache-2.0
icaughley/domgen,realityforge/domgen,realityforge/domgen,icaughley/domgen
8f9a553cec71e1c784ab7aa357074e733dc95b0b
lib/views/general/_before_head_end.html.erb
lib/views/general/_before_head_end.html.erb
<%= stylesheet_link_tag "/alavetelitheme/stylesheets/custom" %> <% if request.ssl? %> <link href='https://fonts.googleapis.com/css?family=Maven+Pro:400,700|Actor' rel='stylesheet' type='text/css'> <% else %> <link href='http://fonts.googleapis.com/css?family=Maven+Pro:400,700|Actor' rel='stylesheet' type='text/css'> <%...
<% if request.ssl? %> <link href='https://fonts.googleapis.com/css?family=Maven+Pro:400,700|Actor' rel='stylesheet' type='text/css'> <% else %> <link href='http://fonts.googleapis.com/css?family=Maven+Pro:400,700|Actor' rel='stylesheet' type='text/css'> <% end %>
Remove link to missing stylesheet
Remove link to missing stylesheet We don't need this any more, the stylesheet is delivered via the asset pipeline
HTML+ERB
mit
openaustralia/righttoknow,openaustralia/righttoknow,openaustralia/righttoknow
d8228705ed8042298068472b0167b4e0af46da8f
source/index.html.erb
source/index.html.erb
--- title: Martin Costello's Blog --- <div class="jumbotron"> <h1><%= blog_title %></h1> <p class="lead"><%= blog_subtitle %></p> </div> <div class="row"> <% article_count = blog.articles.length %> <% blog.articles[0..2].each do |article| %> <div class="col-md-<%= article_count == 1 ? "1...
--- title: Martin Costello's Blog --- <div class="jumbotron"> <h1><%= blog_title %></h1> <p class="lead"><%= blog_subtitle %></p> </div> <div class="row"> <% article_count = blog.articles.length %> <% blog.articles[0..2].each do |article| %> <div class="col-md-<%= article_count == 1 ? "1...
Use article summary on home page.
Use article summary on home page.
HTML+ERB
mit
martincostello/blog,martincostello/blog,martincostello/blog
79bfc7b14c4a41ab252b9531e6f49d04b6fab228
app/views/orders/index.html.erb
app/views/orders/index.html.erb
This is the index page for orders. <% current_user %> <% if !@current_user.shopping_cart.blank? %> <p><%= @current_user.shopping_cart.each do |item| %></p> <%= item %> <% end %> <% else %> Can't see cart contents :{ <% end %> <!-- This code isn't final. I need to add logic for an order having multiple ite...
<% current_user %> <% if !@current_user.shopping_cart.blank? %> <p><%= @current_user.shopping_cart.each do |item| %></p> <%= item %> <% end %> <% else %> Shopping Cart is currently empty! Go add some items! <% end %> <!-- This code isn't final. I need to add logic for an order having multiple items, name,...
Change text from empty cart conditional
Change text from empty cart conditional
HTML+ERB
mit
benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop
dec2d5f38378e04f97b1a1168f43f3b8332680b1
app/views/stories/show.html.erb
app/views/stories/show.html.erb
<%= @story.snippet.content %>(<%= link_to "link", @story.snippet %>)<br> <% if @story.title %> <%= @story.title.html_safe %><br> <% end %> <% if @story.content %> <%= @story.content.html_safe %> <% end %> <%= @story.vote_count %><br> <% if current_user %> <div id="upvote"> <% if @vote != nil && @vote.user_i...
<%= @story.snippet.content %>(<%= link_to "link", @story.snippet %>)<br> <% if @story.title %> <%= @story.title.html_safe %><br> <% end %> <% if @story.content %> <%= @story.content.html_safe %> <% end %> <%= @story.vote_count %><br> <% if current_user %> <div id="upvote"> <% if @vote != nil && @vote.user_i...
Add form with hidden fields to report story inappropriate
Add form with hidden fields to report story inappropriate
HTML+ERB
mit
SputterPuttRedux/storyvine_clone,SputterPuttRedux/storyvine_clone,SputterPuttRedux/storyvine_clone,pearlshin/StoryVine,pearlshin/StoryVine,mxngyn/StoryVine,mxngyn/StoryVine,pearlshin/StoryVine,mxngyn/StoryVine
5cf175b6a30cc083894ad68b494c1524cf2371ab
templates/default/replication_master.sql.erb
templates/default/replication_master.sql.erb
-- Generated by Chef for <%= node["hostname"] %>. -- Local modifications will be overwritten. GRANT REPLICATION SLAVE ON *.* TO '<%=node["percona"]["server"]["replication"]["username"]%>'@'%' IDENTIFIED BY '<%= @replication_password %>'; FLUSH PRIVILEGES; STOP SLAVE; RESET SLAVE;
-- Generated by Chef for <%= node["hostname"] %>. -- Local modifications will be overwritten. GRANT REPLICATION SLAVE ON *.* TO '<%=node["percona"]["server"]["replication"]["username"]%>'@'%' IDENTIFIED BY '<%= @replication_password %>'; FLUSH PRIVILEGES;
Fix template to support master-master replication
Fix template to support master-master replication
HTML+ERB
mit
phlipper/chef-percona,Sauraus/chef-percona,archsaber/chef-percona,phlipper/chef-percona,mevansam/chef-cookbook-percona,twistle/chef-percona,archsaber/chef-percona,jharley/chef-percona,twistle/chef-percona,jharley/chef-percona,bitpusher-real/chef-percona,engineyard-cookbooks/percona,bitpusher-real/chef-percona,Sauraus/c...
f9de601841db1ce586b49c158de34682a745052c
app/views/valuation/_menu.html.erb
app/views/valuation/_menu.html.erb
<nav class="admin-sidebar"> <ul id="valuation_menu"> <li> <%= link_to t("valuation.menu.title"), valuation_root_path %> </li> <% if feature?(:budgets) %> <li <%= "class=is-active" if controller_name == "budget_investments" %>> <%= link_to t("valuation.menu.budgets"), valuation_budgets...
<ul id="valuation_menu"> <li> <%= link_to t("valuation.menu.title"), valuation_root_path %> </li> <% if feature?(:budgets) %> <li <%= "class=is-active" if controller_name == "budget_investments" %>> <%= link_to t("valuation.menu.budgets"), valuation_budgets_path, class: "budgets-link" %> </li> ...
Fix double <nav> tag in valuation menu
Fix double <nav> tag in valuation menu We were defining a <nav> tag which was already defined in the admin layout.
HTML+ERB
agpl-3.0
consul/consul,consul/consul,consul/consul,consul/consul,consul/consul
ca224c996353af679669c77433f5d0546bb16131
lib/hubdown/template.html.erb
lib/hubdown/template.html.erb
<!DOCTYPE html> <html> <head> <title>OUTPUT</title> <% links.each do |link| %> <%= link %> <% end %> <style> #wrapper { width: 920px; margin: 20px auto; } </style> </head> <body> <div id="wrapper"> <div id="slider"> <div class="frames"> <div class="frame"> <div id=...
Add basic output erb template for full page rendering
Add basic output erb template for full page rendering
HTML+ERB
mit
knomedia/hubdown,knomedia/hubdown
5d40f722ed1d297929e55ced74a6505f319d827a
modules/govuk_jenkins/templates/jobs/run_deploy_lag_badger.yaml.erb
modules/govuk_jenkins/templates/jobs/run_deploy_lag_badger.yaml.erb
--- - scm: name: deploy-lag-badger-repo scm: - git: url: git@github.com:alphagov/govuk-deploy-lag-badger.git branches: - master - job: name: run-deploy-lag-badger display-name: Run deploy lag badger project-type: freestyle description: "The deploy l...
--- - scm: name: deploy-lag-badger-repo scm: - git: url: git@github.com:alphagov/govuk-deploy-lag-badger.git branches: - main - job: name: run-deploy-lag-badger display-name: Run deploy lag badger project-type: freestyle description: "The deploy lag...
Update deploy-lag-badger job to use main branch
Update deploy-lag-badger job to use main branch This is in preparation to switch the deploy-lag-badger-repo to use `main` as its default branch.
HTML+ERB
mit
alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet
1f4904f83d9e5250d077ebf0225af7cfe8f6e876
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>Collections publisher</title> <% content_for :head do %> <%= stylesheet_link_tag 'application', media: 'all' %> <% end %> <% content_for :body_end do %> <%= javascript_include_tag 'application' %> <% end %> <%= csrf_meta_tags %> </head> ...
<% content_for :app_title, 'GOV.UK Collections Publisher' %> <% content_for :page_title, ' | GOV.UK Collections Publisher' %> <% content_for :head do %> <%= csrf_meta_tags %> <%= stylesheet_link_tag 'application', media: 'all' %> <% end %> <% if user_signed_in? %> <% content_for :navbar_right do %> <%= link...
Set up the application layout for an admin app
Set up the application layout for an admin app This adds the name of the app and a sign out link to the navbar.
HTML+ERB
mit
alphagov/collections-publisher,alphagov/collections-publisher,alphagov/collections-publisher
b062aa90714ff37a80a640c1de1b5c87cf7bcc78
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>StackOverphil</title> <%= stylesheet_link_tag 'application', media: 'all' %> <%= javascript_include_tag 'application' %> <%= csrf_meta_tags %> </head> <body> <h2><%= link_to "stackOverphil", root_path %></h2> <ul> <% if logged_in? %> <li><%= link_to current_user.usernam...
<!DOCTYPE html> <html> <head> <title>StackOverphil</title> <%= stylesheet_link_tag 'application', media: 'all' %> <%= javascript_include_tag 'application' %> <%= csrf_meta_tags %> </head> <body> <div class="wrapper"> <nav> <div class="content"> <ul> <% if logged_in? %> <...
Add css tags and organize for styling
Add css tags and organize for styling
HTML+ERB
mit
jeder28/stack_overphil,jeder28/stack_overphil,jeder28/stack_overphil
33391b9c7bdc61fbd2f69af40750b2be384065a3
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>JuliaObserver</title> <%= csrf_meta_tags %> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %> <script> var customInit = function() ...
<!DOCTYPE html> <html> <head> <title>JuliaObserver</title> <%= csrf_meta_tags %> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %> <%= stylesheet_link_tag "http://fonts.goog...
Add Roboto and material icon fonts
Add Roboto and material icon fonts
HTML+ERB
mit
djsegal/julia_observer,djsegal/julia_observer,djsegal/julia_observer
1c4c51d921db504eb8abe9c6b5103b5677b46446
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title><%= content_for?(:title) ? yield(:title) : "foundation-rails" %></title> <%= stylesheet_link_tag "application" %> <%= javascript_include_tag "vendor...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title><%= content_for?(:title) ? yield(:title) : "foundation-rails" %></title> <%= stylesheet_link_tag "application" %> <%= javascript_include_tag "vendor...
Add my account link to edit user page
Add my account link to edit user page
HTML+ERB
mit
mud-turtles-2014/palate,mud-turtles-2014/palate
06f8c0baead643916ce96ee8b70e359279bb1f0e
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>Clutch</title> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> <%= csrf_meta_tags %> </head> <body> <p class="navbar-text pull-right"> <% if user_signed_i...
<!DOCTYPE html> <html> <head> <title>Clutch</title> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> <%= csrf_meta_tags %> </head> <body> <p class="navbar-text pull-right"> <% if user_signed_i...
Change link name from All Events to Join Events
Change link name from All Events to Join Events
HTML+ERB
mit
JosephKennerson/Clutch,JosephKennerson/Clutch,JosephKennerson/Clutch
48b5dc2a8d83f1a0c10e75882b1ee385ac8f061e
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>Mountain Chat</title> <%= stylesheet_link_tag 'application', media: 'all' %> <%= javascript_include_tag 'application' %> <%= csrf_meta_tags %> </head> <body> <header class="top-banner"> <h1>Mountain Chat Header</h1> </header> <%= yield %> <footer class="bottom-banner...
<!DOCTYPE html> <html> <head> <title>Mountain Chat</title> <%= stylesheet_link_tag 'application', media: 'all' %> <%= javascript_include_tag 'application' %> <%= csrf_meta_tags %> </head> <body> <header class="top-banner"> <h1>Mountain Chat Header</h1> </header> <%= yield %> <footer class="bottom-banner...
Replace text within link_to for login
Replace text within link_to for login
HTML+ERB
mit
zlschatz/Mountain-Chat-Rails-App,zlschatz/Mountain-Chat-Rails-App,zlschatz/Mountain-Chat-Rails-App
51f5ee404933c8e308c3dcf4fb3f31a339431215
templates/default/chef-rundeck.conf.erb
templates/default/chef-rundeck.conf.erb
start on runlevel [2345] stop on shutdown respawn respawn limit 3 30 script exec su - <%=@user%> -c "/opt/chef/embedded/bin/chef-rundeck -c <%=@chef_config%> -f <%=@project_config%> -w <%=@chef_webui_url%> -o <%=@chef_rundeck_host%> -p <%=@chef_rundeck_port%> -u <%= node['rundeck']['user'] %> -t <%= @chef_rundeck_cach...
start on runlevel [2345] stop on shutdown respawn respawn limit 3 30 exec su - <%=@user%> -c 'exec "$0" "$@"' -- "/opt/chef/embedded/bin/chef-rundeck" -c <%=@chef_config%> -f <%=@project_config%> -w <%=@chef_webui_url%> -o <%=@chef_rundeck_host%> -p <%=@chef_rundeck_port%> -u <%= node['rundeck']['user'] %> -t <%= @che...
Use 'exec' to substitute calling process instead of forking.
Use 'exec' to substitute calling process instead of forking. Restarting the process does not kill the child process, so new configuration are not loaded unless someone kills the child process manually. Proposed change fixes the restarting issue. Former-commit-id: 62e5a80f604c1d5f109da5b259dca094c8eae578
HTML+ERB
apache-2.0
Webtrends/rundeck,Webtrends/rundeck,nilroy/rundeck,scottymarshall/rundeck,scottymarshall/rundeck,nilroy/rundeck,Webtrends/rundeck,nilroy/rundeck,scottymarshall/rundeck
a94dbb4a70c83f8926801e81482e4cf59865c093
app/views/dashboard/_welcome.html.erb
app/views/dashboard/_welcome.html.erb
<h1>Welcome to Trailmix.</h1> <p> You're now well on your way to a journaling habit that will stick. You don't have any entries yet, but you'll be creating one soon. </p> <h3>Entries are created using email.</h3> <p> We email you to ask how your day was and you just hit reply and start typing. Your entries w...
<% content_for :header do %> <h1>Welcome to Trailmix.</h1> <% end %> <p> You're now well on your way to a journaling habit that will stick. You don't have any entries yet, but you'll be creating one soon. </p> <p> <h3>Entries are created using email.</h3> </p> <p> We email you to ask how your day was and y...
Update formatting of welcome page to match landing
Update formatting of welcome page to match landing
HTML+ERB
mit
codecation/trailmix,codecation/trailmix,codecation/trailmix,codecation/trailmix
c6ad570406b6facd05b93a115e0ae7d5f212a0c5
templates/squeezeboxserver.service.erb
templates/squeezeboxserver.service.erb
[Unit] Description=Logitech Media Server After=network.target [Service] Type=simple User=<%= @user_name %> Group=<%= @user_name %> ExecStart=<% if @custom_perl != '' %><%= @custom_perl %> <% end -%> <%= @service_bin %>\ --cachedir=<%= @data_dir %>\ --prefsdir=<%= @pref_dir %>\ --logdir=<%= @log_dir %>\ --charset=<...
[Unit] Description=Logitech Media Server After=network.target [Service] Type=simple User=<%= @user_name %> Group=<%= @user_name %> Environment=LANG=en_US.utf8 ExecStart=<% if @custom_perl != '' %><%= @custom_perl %> <% end -%> <%= @service_bin %>\ --cachedir=<%= @data_dir %>\ --prefsdir=<%= @pref_dir %>\ --logdir=<...
Fix issue with Ubuntu 15.04 and LANG
Fix issue with Ubuntu 15.04 and LANG perl complains when starting squeezeboxserver from systemd. Initial database creation and subsequent COLLATE pieces of SQL messed up. Adding an explicit LANG=en_US.utf8 setting to the service file fixes. Not sure why the LANG="en_US.UTF-8" in /etc/default/locale not working. Does...
HTML+ERB
apache-2.0
rlmoser/puppet-squeezeboxserver,rlmoser/puppet-squeezeboxserver
0504017919449d925f8ee61bf84464588545c350
app/views/devise/registrations/edit.html.erb
app/views/devise/registrations/edit.html.erb
<%= title('Settings') %> <div class="gradient pb-1"> <div class="container"> <h1 class="text-center accent page-heading-title">Settings</h1> <div class='col-lg-10 offset-lg-1'> <%= render 'devise/registrations/profile', user: @user %> <%= render 'devise/registrations/learning_goal', user: @user ...
<%= title('Settings') %> <div class="gradient pb-1"> <div class="container"> <h1 class="text-center accent page-heading-title mx-auto">Settings</h1> <div class='col-lg-10 offset-lg-1'> <%= render 'devise/registrations/profile', user: @user %> <%= render 'devise/registrations/learning_goal', user...
Add mx-auto class to setting page's heading
Add mx-auto class to setting page's heading
HTML+ERB
mit
TheOdinProject/theodinproject,TheOdinProject/theodinproject,TheOdinProject/theodinproject,TheOdinProject/theodinproject
0ff5da5d78bea529b5c290c5e275afd1ec2c098b
app/views/shared/_newsletter_signup.html.erb
app/views/shared/_newsletter_signup.html.erb
<%= form_tag(main_app.newsletter_subscription_path, class: 'newsletter-signup t-newsletter', remote: true) do %> <%= hidden_field_tag :authenticity_token, form_authenticity_token -%> <h2 class="newsletter-signup__heading"><%= t('newsletter_subscriptions.title') %></h2> <ul class="newsletter-signup__benefits-lis...
<%= form_tag(main_app.newsletter_subscription_path, class: 'newsletter-signup t-newsletter', remote: true) do %> <%= hidden_field_tag :authenticity_token, form_authenticity_token -%> <%= heading_tag t('newsletter_subscriptions.title'), level: 2, class: 'newsletter-signup__heading' %> <ul class="newsletter-signu...
Add role and aria-level attributes to newsletter_signup partial headings
Add role and aria-level attributes to newsletter_signup partial headings
HTML+ERB
mit
moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend
e8e75624a8e223da281942d4056e7286d2fd565b
lib/views/help/_sidebar.html.erb
lib/views/help/_sidebar.html.erb
<div id="right_column_flip"> <h2>Help pages</h2> <ul class="no_bullets"> <li><%= link_to_unless_current "Introduction", "/help/about" %></li> <li><%= link_to_unless_current "Making requests", "/help/requesting" %></li> <li><%= link_to_unless_current "Your privacy", "/help/privacy" %></li...
<div id="right_column_flip"> <h2>Help pages</h2> <ul class="no_bullets"> <li><%= link_to_unless_current "Introduction", help_about_path %></li> <li><%= link_to_unless_current "Making requests", help_requesting_path %></li> <li><%= link_to_unless_current "Your privacy", help_privacy_path ...
Use url helpers in the sidebar.
Use url helpers in the sidebar. Generally good practice.
HTML+ERB
mit
nikeshbalami/asknepal-theme,openaustralia/righttoknow,olineham/morebetter-theme,TEDICpy/queremosaber-theme,openaustralia/righttoknow,mysociety/alavetelitheme,nzherald/fyi-theme,nztu/nztu-theme,slygent/accessinfohktheme,slygent/accessinfohktheme,mysociety/sobanukirwa-theme,mysociety/asknepal-theme,TEDICpy/queremosaber-t...
db887b4b28536dc42c19453b17ab8a7ae1403f09
app/views/courses/index.html.erb
app/views/courses/index.html.erb
<% content_for :title, Course.model_name.human(count:2) %> <table> <thead> <tr> <th><%= Course.human_attribute_name('code') %></th> <th><%= t 'name' %></th> <th colspan="2"></th> </tr> </thead> <tbody> <% @courses.each do |course| %> <tr> <td><%= link_to course.cod...
<% content_for :title, Course.model_name.human(count:2) %> <table> <thead> <tr> <th><%= Course.human_attribute_name('code') %></th> <th><%= t 'name' %></th> <% if policy(Course).update? %> <th colspan="2"></th> <% end %> </tr> </thead> <tbody> <% @courses.eac...
Make edit, destroy for courses show if authorized
Make edit, destroy for courses show if authorized
HTML+ERB
mit
cthit/chalmersit-rails,cthit/chalmersit-rails,cthit/chalmersit-rails,cthit/chalmersit-rails
ce4b7a5c5ba33918e6e64d6543bb72cf641a1c46
app/views/shared/_focus.html.erb
app/views/shared/_focus.html.erb
<script type="text/javascript" charset="utf-8"> <!-- $(document).ready(function() { if ($('#<%= focus %>:visible')) { $('#<%= focus %>').select(); } }); // --> </script>
<% javascript_tag do %> $(document).ready(function() { if ($('#<%= focus %>:visible')) { $('#<%= focus %>').select(); } }); <% end -%>
Use javascript_tag for focus helper
Use javascript_tag for focus helper
HTML+ERB
mit
scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails
a2288924cb9823bf4705bd5b5593044630d2f31a
cookbooks/svn/templates/default/svn.conf.erb
cookbooks/svn/templates/default/svn.conf.erb
<VirtualHost *:80> ServerName <%= @params[:server_name] %> <Location /svn> DAV svn SVNParentPath <%= node[:svn][:svn_home] %>/repositories AuthType Basic AuthName "Subversion repository" AuthUserFile <%= @params[:htpasswd_path] %> Require valid-user AuthzSVNAccessFile <%= node[:svn][:s...
<VirtualHost *:80> ServerName <%= @params[:server_name] %> ServerAlias localhost <Location /svn> DAV svn SVNParentPath <%= node[:svn][:svn_home] %>/repositories AuthType Basic AuthName "Subversion repository" AuthUserFile <%= @params[:htpasswd_path] %> Require valid-user AuthzSVNAcce...
Support the slightly perverse use case of a server checking out application code from itself
Support the slightly perverse use case of a server checking out application code from itself
HTML+ERB
apache-2.0
rgeyer/cookbooks_linux
835abcd4c45e280a9ba1fd597dac8ef389eb76e5
app/views/tweets/show.erb
app/views/tweets/show.erb
<h1> This is all of your tweets </h1> <ul> <div class="container"> <center><form action="/users/<%=@user.id%>/tweets" method="post"> Post a New Tweet: <input type="text" name="body" placeholder="Your Tweet here"><input type="submit" value="Tweet"> </form></center> </div> <%@user.tweets.each do |tweet| %> <li><%= t...
<h1> This is all of your tweets </h1> <ul> <div class="container"> <center><form action="/users/<%=@user.id%>/tweets" method="post"> Post a New Tweet: <input type="text" name="body" placeholder="Your Tweet here"><input type="submit" value="Tweet"> </form></center> </div> <%@user.tweets.each do |tweet| %> <li><%= t...
Add update and delete forms.
Add update and delete forms.
HTML+ERB
mit
UmarFBajwa/rackup-twitter,UmarFBajwa/rackup-twitter,UmarFBajwa/rackup-twitter
e83409db124ead25864ce9def998e781809b0065
app/views/layouts/pageflow/editor.html.erb
app/views/layouts/pageflow/editor.html.erb
<!DOCTYPE html> <%= content_tag(:html, lang: I18n.locale, dir: @page_text_direction) do %> <head> <title><%= @page_title.presence || 'Pageflow' %></title> <script> window.PAGEFLOW_EDITOR = <%= @editor_scope ? 'true' : 'false' %>; </script> <%= javascript_include_tag 'pageflow/vendor', 'data-turbolinks-tra...
<!DOCTYPE html> <%= content_tag(:html, lang: I18n.locale) do %> <head> <title><%= @page_title.presence || 'Pageflow' %></title> <script> window.PAGEFLOW_EDITOR = <%= @editor_scope ? 'true' : 'false' %>; </script> <%= javascript_include_tag 'pageflow/vendor', 'data-turbolinks-track' => true %> <%= javasc...
Remove unused code from editor layout
Remove unused code from editor layout `@page_text_direction`, print view and loading spinner scripts are only set when rendering outside the editor. There is also no non-js case for the editor. REDMINE-17269
HTML+ERB
mit
codevise/pageflow,tf/pageflow,codevise/pageflow,tf/pageflow,codevise/pageflow,tf/pageflow,codevise/pageflow,tf/pageflow
643204ab01f04fbf6e0fecd78170b6f59531f78b
lib/views/general/_topnav.html.erb
lib/views/general/_topnav.html.erb
<div id="topnav"> <ul id="navigation"> <li class="selected"><%= link_to _("ABOUT"), help_about_path %></li> <li class="selected"><%= link_to _("HOW TO ASK THE EU"), help_requesting_path %></li> <li class="selected"><%= link_to _("SEND A REQUEST"), body_index_path, :class => 'make-request-lin...
<div id="topnav"> <ul id="navigation"> <li class="selected"><%= link_to _("ABOUT"), help_about_path %></li> <li class="selected"><%= link_to _("HOW TO ASK THE EU"), help_requesting_path %></li> <li class="selected"><%= link_to _("SEND A REQUEST"), body_index_path, :class => 'make-request-lin...
Fix search link on English topbar (previously only worked from the front page).
Fix search link on English topbar (previously only worked from the front page).
HTML+ERB
mit
mysociety/asktheeu-theme,crowbot/asktheeu-theme,mysociety/asktheeu-theme,access-info/asktheeu-theme
9549fe9a7a9e3ec57c7c44b4a00834b99badec92
app/views/pages/home.html.erb
app/views/pages/home.html.erb
<div class="row"> <div class="large-4 columns"> <!-- <img src="http://placehold.it/400x300&text=[img]"/> --> <div class="panel radius"> <h3>Organize...</h3> <p>...your ink. Upload an image of your tattoo. Add information, such as the artist, the shop where you got the tattoo, or the inspirat...
<div class="row" data-equalizer> <div class="large-4 columns"> <!-- <img src="http://placehold.it/400x300&text=[img]"/> --> <div class="panel radius" data-equalizer-watch> <h3>Organize...</h3> <p>...your ink. Upload an image of your tattoo. Add information, such as the artist, the shop where...
Add equalizer to panels on landing/home page.
Add equalizer to panels on landing/home page.
HTML+ERB
mit
CharlesMilam/tatalog,CharlesMilam/tatalog,CharlesMilam/tatalog
c5e55e1e3ffcdc01a37b4890123b1931cb5dcdd0
lib/generators/task/templates/deploy.txt.erb
lib/generators/task/templates/deploy.txt.erb
namespace :after_party do desc '<%= task_description %>' task <%= file_name %>: :environment do puts "Running deploy task '<%= file_name %>'" # Put your task implementation HERE. # Update task as completed. If you remove the line below, the task will # run with every deploy (or every time you cal...
namespace :after_party do desc '<%= task_description %>' task <%= file_name %>: :environment do puts "Running deploy task '<%= file_name %>'" # Put your task implementation HERE. # Update task as completed. If you remove the line below, the task will # run with every deploy (or every time you cal...
Remove double space in task template
Remove double space in task template
HTML+ERB
mit
theSteveMitchell/after_party,theSteveMitchell/after_party
d0899db9719609e36a257ee974a54df26ff7843e
app/views/shared/_traffic_lights_bulb_info.html.erb
app/views/shared/_traffic_lights_bulb_info.html.erb
<div class="info"> Each test run creates a new traffic-light: <table> <tr> <td>&nbsp;&nbsp;&nbsp;</td> <td> <img src='/images/traffic-light/red.png' alt='red traffic-light' class='traffic-light' /> </td> <td><span class="red">red</span></td> <td>&n...
<div class="info"> Each test run creates a new traffic-light: <table> <tr> <td>&nbsp;&nbsp;&nbsp;</td> <td> <img src='/images/traffic-light/red.png' alt='red traffic-light' class='traffic-light' /> </td> <td><span class="red">red</span></td> <td>&n...
Tweak traffic-lights dialog text to match predict buttons text.
Tweak traffic-lights dialog text to match predict buttons text.
HTML+ERB
bsd-2-clause
cyber-dojo/web,cyber-dojo/web,cyber-dojo/web,cyber-dojo/web
259db1d843fe10449e03ffbdbbb1ecfe35ec77aa
app/views/enrollments/_form.html.erb
app/views/enrollments/_form.html.erb
<%= form_for([course, enrollment]) do |f| %> <% if enrollment.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(enrollment.errors.count, "error") %> prohibited this enrollment from being saved:</h2> <ul> <% enrollment.errors.full_messages.each do |message| %> <li><%= message...
<%= form_for([course, enrollment]) do |f| %> <% if enrollment.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(enrollment.errors.count, "error") %> prohibited this enrollment from being saved:</h2> <ul> <% enrollment.errors.full_messages.each do |message| %> <li><%= message...
Fix person query on enrollment form
Fix person query on enrollment form
HTML+ERB
mit
UANDES-ICC5180-201710/proyecto-rails-base,UANDES-ICC5180-201710/proyecto-rails-base,UANDES-ICC5180-201710/proyecto-rails-base
003f447f94f93e0599646dd9e93e776624a54163
app/views/shared/_directory.html.erb
app/views/shared/_directory.html.erb
<div class="directory-container"> <div class="l-constrained"> <ul class="directory"> <% items.each do |item| %> <li class="directory__item"> <a class="directory__item__heading" href="<%= item['url'] %>"><%= item['title'] %></a> <p><%= item['description'] %></p> </li> ...
<div class="directory"> <section class="l-constrained clearfix"> <% items.each do |item| %> <div class="directory__item l-directory__item"> <h2 class="directory__title"><a href="<%= item['url'] %>"><%= item['title'] %></a></h2> <p><%= item['description'] %></p> </div> <% end %> ...
Adjust structure of the directory
Adjust structure of the directory
HTML+ERB
mit
moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend
fd55fb42d2f0be809b57b28a042f4bfcdb0fa3b3
deployment/puppet/rsyslog/templates/30-server-remote-log.conf.erb
deployment/puppet/rsyslog/templates/30-server-remote-log.conf.erb
# file is managed by puppet # # remote anaconda logs, uses predefined Fuel templates $template RemoteLog, "%$NOW%T%TIMESTAMP:8:$% %syslogseverity-text%: %msg%\n" # Would match 'kernel:' -> 'kernel' ; 'rsyslog[12345]:' -> 'rsyslog' ; '<180>(nova.api.wsgi):' -> 'nova.api.wsgi' $template RemoteLogFile, "/var/log/r...
# file is managed by puppet # # remote anaconda logs, uses predefined Fuel templates $template RemoteLog, "%$NOW%T%TIMESTAMP:8:$% %syslogseverity-text%: %msg%\n" # Would match 'kernel:' -> 'kernel' ; 'rsyslog[12345]:' -> 'rsyslog' ; '<180>(nova.api.wsgi):' -> 'nova.api.wsgi' $template RemoteLogFile, "/var/log/r...
Fix reqexp for log file names parsing
Fix reqexp for log file names parsing Signed-off-by: Bogdan Dobrelya <62b3a3e71fe69d786a0eb2bf561b6ce08e31d2cc@mail.ru>
HTML+ERB
apache-2.0
slystopad/fuel-lib,SmartInfrastructures/fuel-library-dev,huntxu/fuel-library,zhaochao/fuel-library,zhaochao/fuel-library,huntxu/fuel-library,zhaochao/fuel-library,SmartInfrastructures/fuel-library-dev,xarses/fuel-library,SmartInfrastructures/fuel-library-dev,Metaswitch/fuel-library,slystopad/fuel-lib,stackforge/fuel-li...
dc0ab2ba55682972460325e497c4d8a4ca00b040
app/views/password_resets/edit.html.erb
app/views/password_resets/edit.html.erb
<% provide(:title, 'Reset password') %> <br /> <h1>Reset password</h1> <br /> <div class='row'> <div class='col-md-6 col-md-offset-3'> <%= form_for(@user, url: reset_path(params[:id])) do |f| %> <%= render 'shared/error_messages', object: f.object %> <%= hidden_field_tag :email, @user.email %> ...
<% provide(:title, 'Reset password') %> <br /> <h1>Reset password</h1> <br /> <div class='row'> <div class='col-md-6 col-md-offset-3'> <%= form_for(@user, url: reset_path(params[:id])) do |f| %> <%= render 'shared/error_messages', object: f.object %> <%= hidden_field_tag :email, @user.email %> ...
Improve verbiage on password reset edit page
Improve verbiage on password reset edit page
HTML+ERB
mit
steve-mcclellan/j-scorer,steve-mcclellan/j-scorer,steve-mcclellan/j-scorer
85143030b582980ceefd119672b5bede526d261d
app/views/admin/programmes/_edit.html.erb
app/views/admin/programmes/_edit.html.erb
<%= semantic_form_for @resource, :url => admin_edition_path(@resource), :as => :edition do |f| %> <%= f.inputs do %> <%= render :partial => 'admin/shared/title_etc', :locals => {:f => f} %> <% end %> <hr> <div class="row-fluid"> <div class="span8"> <h3>Parts</h3> <section class="accordi...
<%= semantic_nested_form_for @resource, :url => admin_edition_path(@resource), :as => :edition do |f| %> <%= f.inputs do %> <%= render :partial => 'admin/shared/title_etc', :locals => {:f => f} %> <% end %> <hr> <div class="row-fluid"> <div class="span8"> <h3>Parts</h3> <section class="...
Make programmes form support nested forms
Make programmes form support nested forms It needs to be a semantic_nested_form_for in order to support the remove link
HTML+ERB
mit
theodi/publisher,alphagov/publisher,theodi/publisher,leftees/publisher,leftees/publisher,alphagov/publisher,leftees/publisher,leftees/publisher,theodi/publisher,telekomatrix/publisher,telekomatrix/publisher,telekomatrix/publisher,alphagov/publisher,theodi/publisher,telekomatrix/publisher
ab54cb23a7d7e6f47e1fcf96bd39c28bd47a58fb
app/views/dspace/community/index.html.erb
app/views/dspace/community/index.html.erb
<div id="page-wrapper"> <div class="row"> <div class="col-lg-12"> <h1 class="page-header">DSpace Communities</h1> </div> <!-- /.col-lg-12 --> </div> <!-- /.row --> <div class="row"> <table class="table table-striped"> <% @community_presenter.ro...
<div id="page-wrapper"> <div class="row"> <div class="col-lg-12"> <h1 class="page-header">DSpace Communities</h1> </div> <!-- /.col-lg-12 --> </div> <!-- /.row --> <div class="row"> <table class="table table-striped"> <% @community_presenter.ro...
Add navigation arrow to community list
Add navigation arrow to community list
HTML+ERB
apache-2.0
aaron-collier/departure,aaron-collier/departure,aaron-collier/departure
ac49a132cf207f00f3fa67a9649cde90bd7571f1
app/views/lesson_plan/_milestone.html.erb
app/views/lesson_plan/_milestone.html.erb
<div> <h2><%= milestone.title %></h2> <% if milestone.description %> <p> <%= milestone.description.html_safe %> </p> <% end %> <% if (can? :manage, LessonPlanEntry) && milestone.is_virtual != true %> <%= link_to edit_course_lesson_plan_milestone_path(@course, milestone), class: 'btn' do %> ...
<div> <table class="table-top-align"> <tr> <td> <h2><%= milestone.title %></h2> <% if milestone.description %> <p> <%= milestone.description.html_safe %> </p> <% end %> </td> <td width="10%"> <% if (can? :manage, LessonPlanEntry) && milestone.is_virt...
Move milestone Edit/Delete buttons to right. Using table :|
Move milestone Edit/Delete buttons to right. Using table :|
HTML+ERB
mit
Coursemology/coursemology.org,dariusf/coursemology.org,dariusf/coursemology.org,Coursemology/coursemology.org,allenwq/coursemology.org,nusedutech/coursemology.org,nnamon/coursemology.org,allenwq/coursemology.org,Coursemology/coursemology.org,nusedutech/coursemology.org,nnamon/coursemology.org,Coursemology/coursemology....
3c053c1e8b91a1070248479baa7d61f980bebbb9
batdc/app/views/lists/membership.html.erb
batdc/app/views/lists/membership.html.erb
<% table = {} %> <% 2015.downto(2000).each do |y| %> <% table[y] = {} %> <% end %> <% @membership_years.each do |m| %> <% table[m.year][m.region] = m.count %> <% end %> <div class="row col-xs-12 col-sm-12 col-md-12"> <table class="col-sm-12 col-md-12"> <tr> <td>Year</td> ...
<% table = {} %> <% 2025.downto(2000).each do |y| %> <% table[y] = {} %> <% end %> <% @membership_years.each do |m| %> <% table[m.year][m.region] = m.count %> <% end %> <div class="row col-xs-12 col-sm-12 col-md-12"> <table class="col-sm-12 col-md-12"> <tr> <td>Year</td> ...
Add space for future membership years
Add space for future membership years
HTML+ERB
mit
kevinemoore/batdc,kevinemoore/batdc,kevinemoore/batdc,kevinemoore/batdc,kevinemoore/batdc
dbc5062c90900f3cb0e1f85c28e43942f4e3dde0
modules/govuk/templates/asset_pipeline_extra_nginx_conf.erb
modules/govuk/templates/asset_pipeline_extra_nginx_conf.erb
# Set expires headers for assets # Assets with a digest (32 char hex string in filename) get max expires # Non-digest assets get 30 mins location ^~ /<%= @asset_pipeline_prefix %>/ { expires 30m; add_header Cache-Control public; gzip_static on; location ~ "-[0-9a-f]{32}\." { expires max;...
# Set expires headers for assets # Assets with a digest (32+ char hex string in filename) get max expires # Non-digest assets get 30 mins location ^~ /<%= @asset_pipeline_prefix %>/ { expires 30m; add_header Cache-Control public; gzip_static on; location ~ "-[0-9a-f]{32,}\." { expires ma...
Fix assets cache-control header for Rails 4 assets.
Fix assets cache-control header for Rails 4 assets. Starting with Rails 4, the digested asset files now use a 64 character digest instead of the 32 character one that Rails 3 used. This meant that they weren't matching the regex here, and therefore only getting a 30 minute cache TTL. This updates the regex to match a...
HTML+ERB
mit
alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet
bb874c195d2c53da5315ebc92853bcb0e76985b6
app/views/welcome/index.html.erb
app/views/welcome/index.html.erb
<div class="imgsplash"> <%= image_tag('logo-dark.svg') %> </div> <div class="centerText"> This website is currently functional yet still under development. You may find that there are bugs. If you find any please submit an issue on github, or send us a <%= link_to 'message', contact_path %> so that we can resolve th...
<div class="imgsplash"> <%= image_tag('logo-dark.svg') %> </div> <div class="centerText"> This website is currently functional yet still under development. You may find that there are bugs. If you find any please submit an issue on GitHub, or send us a <%= link_to 'message', contact_path %> so that we can resolve th...
Fix typo in about page
Fix typo in about page
HTML+ERB
agpl-3.0
cllns/refugerestrooms,valeriecodes/refugerestrooms,RefugeRestrooms/refugerestrooms,cllns/refugerestrooms,RefugeRestrooms/refugerestrooms,valeriecodes/refugerestrooms,azelma/refugerestrooms,azelma/refugerestrooms,mathonsunday/welcomehome,cllns/refugerestrooms,valeriecodes/refugerestrooms,azelma/refugerestrooms,RefugeRes...
39aff7d8097a7f0428ca6b9fd99b4f5768c0f314
app/views/welcome/index.html.erb
app/views/welcome/index.html.erb
<!-- Navigation --> <%= render :partial => 'navigation' %> <!-- Header --> <header id="top" class="header cover"> <%= render :partial => 'header' %> </header> <section class="whitespace"></section> <!-- School search results --> <section id="school-info-section" class="results-section cover"> <%= render :partial...
<!-- Navigation --> <%= render :partial => 'navigation' %> <!-- Header --> <header id="top" class="header cover"> <%= render :partial => 'header' %> </header> <section class="whitespace"></section> <div class="visible-results"> <!-- School search results --> <section id="school-info-section" class="results-sect...
Add wrapper for sections with school info
Add wrapper for sections with school info
HTML+ERB
mit
fma2/cfe-money,fma2/cfe-money,fma2/cfe-money
0ccd14dde70b537827b2f1c002601e3047eb2931
modules/govuk_jenkins/templates/jobs/deploy_emergency_banner.yaml.erb
modules/govuk_jenkins/templates/jobs/deploy_emergency_banner.yaml.erb
--- - job: name: deploy-emergency-banner display-name: Deploy the emergency banner project-type: freestyle description: "Deploy the emergency banner on GOV.UK." builders: # The argument to `-c` is in this case `frontend` but the value is used by both `static` and `frontend` applications ...
--- - job: name: deploy-emergency-banner display-name: Deploy the emergency banner project-type: freestyle description: "Deploy the emergency banner on GOV.UK." builders: # The argument to `-c` is in this case `frontend` but the value is used by both `static` and `frontend` applications ...
Fix how params are passed to the rake task
Fix how params are passed to the rake task The "Deploy emergency banner" should pass quoted string parameters to the `emergency_banner:deploy` rake task. This final attempt of wrapping quotes in quotes, which has been tested by manually updating the config in Jenkins, seems to work.
HTML+ERB
mit
alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet
08530e1fd9171592c26d9f1e32db94d515b52c40
backend/app/views/spree/admin/shared/_variant_search.html.erb
backend/app/views/spree/admin/shared/_variant_search.html.erb
<div data-hook="admin_orders_index_search"> <%= form_for :variant_search, url: form_path, method: :get do |f| %> <div class="field-block alpha four columns"> <div class="field"> <%= label_tag nil, Spree.t(:stock_location) %> <%= select_tag :stock_location_id, options_from_collection_for_sele...
<div data-hook="admin_orders_index_search"> <%= form_for :variant_search, url: form_path, method: :get do |f| %> <div class="field-block alpha four columns"> <div class="field"> <%= label_tag nil, Spree::StockLocation.model_name.human %> <%= select_tag :stock_location_id, options_from_collec...
Improve I18n in variant search partial
Improve I18n in variant search partial Use model name translations.
HTML+ERB
bsd-3-clause
jordan-brough/solidus,Arpsara/solidus,jordan-brough/solidus,jordan-brough/solidus,Arpsara/solidus,jordan-brough/solidus,pervino/solidus,pervino/solidus,Arpsara/solidus,pervino/solidus,Arpsara/solidus,pervino/solidus
21e3a5d002b0e7924826348518d742ee19d1f8d6
templates/bin_setup.erb
templates/bin_setup.erb
#!/usr/bin/env sh # Set up Rails app. Run this script immediately after cloning the codebase. # Exit if any subcommand fails set -e # Set up Ruby dependencies via Bundler gem install bundler --conservative bundle check || bundle install # Set up configurable environment variables if [ ! -f .env ]; then cp .sample...
#!/usr/bin/env sh # Set up Rails app. Run this script immediately after cloning the codebase. # Exit if any subcommand fails set -e # Set up Ruby dependencies via Bundler gem install bundler --conservative bundle check || bundle install # Set up configurable environment variables if [ ! -f .env ]; then cp .sample...
Make the `.git/safe` directory in `bin/setup`
Make the `.git/safe` directory in `bin/setup` Assuming the binstubs for a project are in the local `bin/` directory, we can add the directory to shell `$PATH` so that `rspec` can be invoked without the `bin/` prefix: export PATH="./bin:$PATH" Doing so on a system that other people have write access to (such as a...
HTML+ERB
mit
craftsmen/roll,craftsmen/roll,craftsmen/roll
6ebe56afe55e6aa170f0e44fe8afed36b66f044a
templates/sssd.conf.erb
templates/sssd.conf.erb
<%= "# This file is managed with Puppet." %> [sssd] config_file_version = 2 domains = intranet.epfl.ch services = nss, pam debug_level = 0 [nss] [pam] [domain/intranet.epfl.ch] # Unless you know you need referrals, turn them off ldap_referrals = false # Uncomment if you need offline logins # cache_credentials = tru...
<%= "# This file is managed with Puppet." %> [sssd] config_file_version = 2 domains = intranet.epfl.ch services = nss, pam <%= @debug ? "debug_level = 9" : "" %> [nss] <%= @debug ? "debug_level = 9" : "" %> [pam] <%= @debug ? "debug_level = 9" : "" %> [domain/intranet.epfl.ch] # Unless you know you need referrals, ...
Introduce a debug_level in each section
Introduce a debug_level in each section This is keyed on @debug being set in caller
HTML+ERB
mit
epfl-sti/puppet.epfl_sso,epfl-sti/puppet.epfl_sso,epfl-sti/puppet.epfl_sso
c633f1cc13a7313b9ad5e6d30bc249bf463ebe1e
kiwi/app/views/questions/index.html.erb
kiwi/app/views/questions/index.html.erb
<h2>All Questions</h2> <% @questions.each do |question| %> <div class="question-container"> <div class="question-stats"> <div class="votes">0</div> <div class="votes-label">votes</div> <div class="answers"> <%= question.answers.count %> </div> <div class="answers-labe...
<h2>All Questions</h2> <% @questions.each do |question| %> <div class="question-container"> <div class="question-stats"> <div class="votes"><%= question.sum_of_votes %></div> <div class="votes-label">votes</div> <div class="answers"> <%= question.answers.count %> </div> <...
Implement vote count on questions index page
Implement vote count on questions index page
HTML+ERB
mit
nyc-island-foxes-2016/kiwi-overflow,nyc-island-foxes-2016/kiwi-overflow,nyc-island-foxes-2016/kiwi-overflow
c8f46ed76df0efa734daa99e258e42b5e9ee3e4e
templates/default/grants.sql.erb
templates/default/grants.sql.erb
# Generated by Chef for <%= node["fqdn"] %>. # Local modifications will be overwritten. <% if node["platform_family"] == "debian" -%> # debian-sys-maint user for administration <% [['SELECT', 'mysql.user'], ['SHUTDOWN', '*.*']].each do |priv, loc| %> <%= "GRANT #{priv} ON #{loc} TO '#{@debian_user}'@'localhost';" %>...
# Generated by Chef for <%= node["fqdn"] %>. # Local modifications will be overwritten. <% if node["platform_family"] == "debian" -%> # debian-sys-maint user for administration <% if node["percona"]["version"] >= "5.7" -%> CREATE USER '<%= @debian_user %>'@'localhost' IDENTIFIED BY '<%= @debian_password %>'; <% en...
Create the user in MySQL 5.7+ before adding GRANTs
Create the user in MySQL 5.7+ before adding GRANTs
HTML+ERB
mit
twistle/chef-percona,twistle/chef-percona
56c5aa921aa1c9c9b5e7952a7ca2fdd1a5ed7a86
templates/logrotate.catalina.erb
templates/logrotate.catalina.erb
# file managed by Puppet <%= @catalina_base %>/logs/catalina.out { copytruncate size 500M dateext rotate 53 compress delaycompress missingok create 644 <%= @owner %> <%= @group %> su <%= @owner %> <%= @group %> }
# file managed by Puppet <%= @catalina_base %>/logs/catalina.out { copytruncate dateext rotate 53 compress delaycompress missingok create 644 <%= @owner %> <%= @group %> su <%= @owner %> <%= @group %> }
Remove logrotate 500M minimum limit
Remove logrotate 500M minimum limit Browsing through 500M of logs is painful, so lets rotate every week without minimum size.
HTML+ERB
apache-2.0
camptocamp/puppet-tomcat,camptocamp/puppet-tomcat,camptocamp/puppet-tomcat
d030c36394fcb824ba06ca7cb67310635a1c8e29
lib/capistrano/templates/nginx_conf.erb
lib/capistrano/templates/nginx_conf.erb
server { listen 80; listen [::]:80; root /var/www/<%= fetch(:stage) %>/<%= fetch(:application) %>/public; index index.html index.htm; # Make site accessible from http://<%= fetch(:domain_name) %> server_name <%= fetch(:domain_name) %>; # Passenger passenger_enabled on; passenger_app_env <%= fetch(:...
<% if fetch(:stage) == :production %> server { listen 80; listen [::]:80; server_name <%= fetch(:domain_name).sub(/www\./, '') %>; return 301 http://<%= fetch(:domain_name) %>$request_uri; } <% end %> server { listen 80; listen [::]:80; root /var/www/<%= fetch(:stage) %>/<%= fetch(:application) ...
Add Nginx redirection from no www to www in url
Add Nginx redirection from no www to www in url
HTML+ERB
mit
lr-agenceweb/rails-starter,lr-agenceweb/rails-starter,lr-agenceweb/rails-starter,lr-agenceweb/rails-starter
72434941e63c04f483c56c58753796768e301eb0
templates/CentOS/wazuh.erb
templates/CentOS/wazuh.erb
[wazuh] name = WAZUH OSSEC Repository - www.wazuh.com baseurl = https://packages.wazuh.com/3.x/yum/ gpgcheck = 1 <% if @operatingsystem == 'CentOS' and @operatingsystemmajrelease == '5' -%> gpgkey = http://ossec.wazuh.com/key/RPM-GPG-KEY-OSSEC-RHEL5 <% else -%> gpgkey = https://packages.wazuh.com/key/GPG-KEY-WAZUH <% e...
[wazuh] name = WAZUH OSSEC Repository - www.wazuh.com baseurl = https://packages.wazuh.com/3.x/yum/ gpgcheck = 1 <% if @operatingsystem == 'CentOS' and @operatingsystemmajrelease == '5' -%> gpgkey = http://ossec.wazuh.com/key/RPM-GPG-KEY-OSSEC-RHEL5 <% else -%> gpgkey = https://packages.wazuh.com/key/GPG-KEY-WAZUH <% e...
Disable protect in Wazuh repo for CentOS 8 and newer
Disable protect in Wazuh repo for CentOS 8 and newer
HTML+ERB
apache-2.0
lutak-srce/yum,lutak-srce/yum
a00e250743dbc995be8d078c21d2c539a4ee959a
pages/pipelines/wait_step.md.erb
pages/pipelines/wait_step.md.erb
# Wait Step <%= toc %> A *wait* step waits for all previous steps to have successfully completed before allowing following jobs to continue. <%= image "wait-step.png", width: 1070/2, height: 508/2, alt: "Screenshot of a basic wait step" %> A basic wait step can be defined in your pipeline settings, or in your [pipe...
# Wait Step <%= toc %> A *wait* step waits for all previous steps to have successfully completed before allowing following jobs to continue. <%= image "wait-step.png", width: 1070/2, height: 508/2, alt: "Screenshot of a basic wait step" %> A basic wait step can be defined in your pipeline settings, or in your [pipe...
Clarify the behaviour of wait steps
Clarify the behaviour of wait steps
HTML+ERB
mit
buildkite/docs,buildkite/docs,buildkite/docs,buildkite/docs
de0dc474fd04f2af86675a87f0ecf434afecfa00
templates/config/nginx/nginx.conf.erb
templates/config/nginx/nginx.conf.erb
daemon off; user <%= scope.lookupvar "::boxen_user" %> staff; worker_processes 2; pid <%= scope.lookupvar "nginx::config::pidfile" %>; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; log_format main '$remote_addr - $remote_user [$time_local] $status ' ...
daemon off; user <%= scope.lookupvar "::boxen_user" %> staff; worker_processes 2; pid <%= scope.lookupvar "nginx::config::pidfile" %>; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; log_format main '$remote_addr - $remote_user [$time_local] $status ' ...
Increase the max sizes for proxy headers and server names.
Increase the max sizes for proxy headers and server names. This way nginx doesn't drop headers in the way to send request to application servers.
HTML+ERB
mit
RallySoftware/boxen-nginx,boxen/puppet-nginx,zendesk/puppet-nginx,weyert/puppet-nginx,RallySoftware/boxen-nginx,grosser/puppet-nginx,zachpendleton/puppet-ngx_openresty,zendesk/puppet-nginx,TORO-IO/puppet-nginx,grosser/puppet-nginx,n0ts/puppet-nginx,weyert/puppet-nginx,Paulche/puppet-nginx,boxen/puppet-nginx,jaredreynol...
f45959cb93fa033ea7c47daf21735373e9939cfd
templates/default/systemd/default.erb
templates/default/systemd/default.erb
[Unit] Description=<%= @daemon_name %> daemon [Service] User=<%= @user %> EnvironmentFile=/etc/sysconfig/<%= @daemon_name %> ExecStart=/bin/bash $KAFKA_RUN $KAFKA_ARGS $KAFKA_CONFIG TimeoutSec=10
[Unit] Description=<%= @daemon_name %> daemon [Service] User=<%= @user %> EnvironmentFile=/etc/sysconfig/<%= @daemon_name %> ExecStart=/bin/bash $KAFKA_RUN $KAFKA_ARGS $KAFKA_CONFIG TimeoutSec=10 [Install] WantedBy=multi-user.target
Add `multi-user.target` to systemd service file
Add `multi-user.target` to systemd service file
HTML+ERB
apache-2.0
mthssdrbrg/kafka-cookbook,mthssdrbrg/kafka-cookbook,mthssdrbrg/kafka-cookbook
a267848394b39098aa6cda88122ef55832940ed4
app/views/spree/admin/shared/_routes.html.erb
app/views/spree/admin/shared/_routes.html.erb
<script> Spree.routes = <%== { :variants_search => spree.admin_search_variants_path(:format => 'json'), :taxons_search => spree.api_taxons_path(:format => 'json'), :user_search => spree.admin_search_users_path(:format => 'json'), :product_search => spree.api_products_pat...
<script> Spree.routes = <%== { :variants_search => spree.admin_search_variants_path(:format => 'json'), :taxons_search => spree.api_taxons_path(:format => 'json'), :user_search => spree.admin_search_users_path(:format => 'json'), :orders_api => spree.api_orders_path(...
Remove unused api routes from views/spree/admin/shared/routes view
Remove unused api routes from views/spree/admin/shared/routes view
HTML+ERB
agpl-3.0
lin-d-hop/openfoodnetwork,openfoodfoundation/openfoodnetwork,lin-d-hop/openfoodnetwork,lin-d-hop/openfoodnetwork,lin-d-hop/openfoodnetwork,mkllnk/openfoodnetwork,openfoodfoundation/openfoodnetwork,mkllnk/openfoodnetwork,Matt-Yorkley/openfoodnetwork,mkllnk/openfoodnetwork,openfoodfoundation/openfoodnetwork,Matt-Yorkley/...
f6ff23933da120a84ed16481e96e11af85c82156
app/views/smart_answers/landing.html.erb
app/views/smart_answers/landing.html.erb
<% start_node = @presenter.start_node %> <% if start_node.meta_description.present? %> <% content_for :head do %> <meta name="description" content="<%= start_node.meta_description %>"> <% end %> <% end %> <div class="govuk-grid-row"> <div class="govuk-grid-column-two-thirds"> <%= render "govuk_publishin...
<% start_node = @presenter.start_node %> <% if start_node.meta_description.present? %> <% content_for :head do %> <meta name="description" content="<%= start_node.meta_description %>"> <% end %> <% end %> <div class="govuk-grid-row"> <div class="govuk-grid-column-two-thirds"> <%= render "govuk_publishin...
Add contextual footer and sidebar to landing pages
Add contextual footer and sidebar to landing pages
HTML+ERB
mit
alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers
6fc8671089b631856496255060e6240eea8d7295
lib/active_admin/views/layouts/active_admin.html.erb
lib/active_admin/views/layouts/active_admin.html.erb
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <title><%= [@page_title, "Site Title"].join(" | ") %></title> <%= stylesheet_link_tag *ActiveAdmin.stylesheets %> <%= javascript_include_tag *ActiveAdmin.javascripts %> </head> <body> <div id="wrapper"> <div ...
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <title><%= [@page_title, ActiveAdmin.site_title].join(" | ") %></title> <%= stylesheet_link_tag *ActiveAdmin.stylesheets %> <%= javascript_include_tag *ActiveAdmin.javascripts %> </head> <body> <div id="wrapper...
Use the ActiveAdmin.site_title for the site title
Use the ActiveAdmin.site_title for the site title
HTML+ERB
mit
jethroo/activeadmin,westonplatter/activeadmin,senid231/activeadmin,quikly/active_admin,westonplatter/activeadmin,Davidzhu001/activeadmin,FundingGates/activeadmin,Pollywog23/activeadmin,ampinog/activeadmin,ampinog/activeadmin,yeti-switch/active_admin,samvincent/active_admin,yijiasu/activeadmin,tjgrathwell/activeadmin,hi...
5968f39d7edced12fe3a33fa32c55c81caf360e8
app/views/metadata/opensearch.xml.erb
app/views/metadata/opensearch.xml.erb
<?xml version="1.0" encoding="UTF-8"?> <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"> <ShortName><%= SiteSetting.title %> Search</ShortName> <Description>Search for posts on <%= SiteSetting.title %></Description> <Tags>discourse forum</Tags> <% if SiteSetting.favicon_url =~ /\.ico$/ -%> ...
<?xml version="1.0" encoding="UTF-8"?> <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"> <ShortName><%= SiteSetting.title %> Search</ShortName> <Description>Search for posts on <%= SiteSetting.title %></Description> <Tags>discourse forum</Tags> <% if SiteSetting.favicon_url =~ /\.ico$/ -%> ...
Allow for search engine updates
Allow for search engine updates
HTML+ERB
mit
natefinch/discourse,natefinch/discourse
78fde28046f2dbdc08ce6f60ac6bc03aa1101cc1
dashboard/app/assets/javascripts/utils.js.erb
dashboard/app/assets/javascripts/utils.js.erb
var addClickTouchEvent = function(element, handler) { var wrapper = function(e) { handler(e); e.preventDefault(); }; element.on({ 'touchstart': wrapper, 'click': wrapper }); }; function onURLBlocked(base_url, callback) { $('<img width="0" height="0">') .on("error", callback) .attr...
var addClickTouchEvent = function(element, handler) { var wrapper = function(e) { handler(e); e.preventDefault(); }; element.on({ 'touchstart': wrapper, 'click': wrapper }); }; function onURLBlocked(base_url, callback) { $('<img>') .on("error", callback) .attr("src", base_url + "?...
Remove inline attributes from HTTPS test image
Remove inline attributes from HTTPS test image
HTML+ERB
apache-2.0
dillia23/code-dot-org,rvarshney/code-dot-org,ty-po/code-dot-org,rvarshney/code-dot-org,rvarshney/code-dot-org,pickettd/code-dot-org,pickettd/code-dot-org,dillia23/code-dot-org,pickettd/code-dot-org,ty-po/code-dot-org,dillia23/code-dot-org,ty-po/code-dot-org,rvarshney/code-dot-org,dillia23/code-dot-org,ty-po/code-dot-or...
0113dbf8f7cf9ce48cecc39e0f0e6cfd6cdb1039
app/views/devise/sessions/two_factor.html.erb
app/views/devise/sessions/two_factor.html.erb
<div class="c-login"> <div class="c-title"> <h1>Two Factor Authentication</h1> </div> <%= form_for(resource, as: resource_name, url: session_path(resource_name), method: :post) do |f| %> <%= f.label :otp_attempt, class: "c-input" do %> <span>OTP</span> <%= f.text_field :otp_attempt %> <% e...
<div class="c-login"> <div class="c-title"> <h1>Two Factor Authentication</h1> </div> <%= form_for(resource, as: resource_name, url: session_path(resource_name), method: :post) do |f| %> <%= f.label :otp_attempt, class: "c-input" do %> <span>OTP</span> <%= f.text_field :otp_attempt %> <% e...
Use Verify instead of Login
Use Verify instead of Login
HTML+ERB
mit
atomicjolt/lti_starter_app,atomicjolt/adhesion,atomicjolt/adhesion,atomicjolt/adhesion,atomicjolt/adhesion,atomicjolt/lti_starter_app,atomicjolt/lti_starter_app,atomicjolt/lti_starter_app
8a9a835cdfc31067a9adfbd86bd3727dd1b043eb
app/views/tools/_petition_location.html.erb
app/views/tools/_petition_location.html.erb
<fieldset id='location' data-international-only="<%= params[:international_only] %>" <%= 'class=require' if @require_location -%>> <span class='intl-toggle'> <div class="row"> <div class="col-xs-6"> <%= f.text_field :zipcode, class: 'form-control', placeholder: "#{t(:zip_code)} #{@require_location |...
<fieldset id='location' data-international-only="<%= params[:international_only] %>" <%= 'class=require' if @require_location -%>> <span class='intl-toggle'> <div class="row"> <div class="col-xs-6"> <%= f.text_field :zipcode, class: 'form-control', placeholder: "#{t(:zip_code)} #{@require_location ?...
Fix location zip code placeholder
Fix location zip code placeholder
HTML+ERB
agpl-3.0
EFForg/action-center-platform,EFForg/action-center-platform,EFForg/action-center-platform,EFForg/action-center-platform
27112782272e1be81a2ea021d9ec24908c1201f0
app/views/admin/editions/_alerts.html.erb
app/views/admin/editions/_alerts.html.erb
<% if edition.force_published? %> <div class="alert alert-error force_published"> <p><strong>Warning</strong> This edition was force published and has not yet been reviewed by a second pair of eyes.</p> <% if edition.approvable_retrospectively_by?(current_user) %> <p><%= link_to "View this on the websi...
<% if edition.force_published? %> <div class="alert alert-error force_published"> <p><strong>Warning</strong> This edition was force published and has not yet been reviewed by a second pair of eyes.</p> <% if edition.approvable_retrospectively_by?(current_user) %> <p><%= link_to "View this on the websi...
Edit warning for force publish flag
Edit warning for force publish flag https://www.pivotaltracker.com/story/show/56117956
HTML+ERB
mit
alphagov/whitehall,ggoral/whitehall,robinwhittleton/whitehall,ggoral/whitehall,hotvulcan/whitehall,YOTOV-LIMITED/whitehall,alphagov/whitehall,askl56/whitehall,askl56/whitehall,askl56/whitehall,askl56/whitehall,alphagov/whitehall,hotvulcan/whitehall,YOTOV-LIMITED/whitehall,ggoral/whitehall,alphagov/whitehall,robinwhittl...
d961c0760fd76c421054d896ff774ac90fbad649
app/views/documents/_attachments.html.erb
app/views/documents/_attachments.html.erb
<% object_with_attachments.attachments.each do |attachment| %> <%= content_tag_for(:div, attachment, class: "attachment embedded") do %> <%= link_to(url: attachment.url) do %> <% if attachment.pdf? %> <%= image_tag(attachment.url(:thumbnail), alt: "") %> <% else %> <%= image_tag('pub-c...
<% object_with_attachments.attachments.each do |attachment| %> <%= render partial: "attachment" %> <% end %>
Refactor attachments partial to just include attachment
Refactor attachments partial to just include attachment
HTML+ERB
mit
ggoral/whitehall,alphagov/whitehall,YOTOV-LIMITED/whitehall,hotvulcan/whitehall,YOTOV-LIMITED/whitehall,alphagov/whitehall,robinwhittleton/whitehall,ggoral/whitehall,hotvulcan/whitehall,alphagov/whitehall,alphagov/whitehall,robinwhittleton/whitehall,ggoral/whitehall,YOTOV-LIMITED/whitehall,ggoral/whitehall,askl56/white...
0f95035e3fc3de7199ed5f7f4631581c73538459
app/views/layouts/administration.html.erb
app/views/layouts/administration.html.erb
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> <title><%= this_blog.blog_name %> – <%= controller.controller_name %></title> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta http-equiv="imagetoolbar" content="no" /> ...
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> <title><%= this_blog.blog_name %> – <%= controller.controller_name %></title> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta http-equiv="imagetoolbar" content="no" /> ...
Remove unneeded wrapping elements from admin layout
Remove unneeded wrapping elements from admin layout
HTML+ERB
mit
publify/publify_core,publify/publify_core,publify/publify_core
8a167a5b30cf95a6b00f5d2bd0b1d0444fa1bc9a
base/app/views/toolbar/_home.html.erb
base/app/views/toolbar/_home.html.erb
<%= render partial: 'toolbar/subject' %> <% content_for :toolbar_menu do %> <li> <%= link_to image_tag("btn/btn_group.png") + t('group.other'), '#', :id => "toolbar_menu-groups", :class => "btn-blue" %> </li> <li> <%= link_to(image_tag("btn/btn_group.png")+t('group.new.action'), new_group_path) %> </li...
<%= render partial: 'toolbar/subject' %> <% content_for :toolbar_menu do %> <div class="base_items"/> <% end %> <%= render partial: 'toolbar/menu' %>
Remove old group toolbar menu entries
Remove old group toolbar menu entries
HTML+ERB
mit
honorlin/social_stream,ging/social_stream,ging/social_stream,honorlin/social_stream,ging/social_stream,honorlin/social_stream,honorlin/social_stream
179e86213a9bf64bce2ee361937ef0638f8b1eba
app/views/domains/show.html.erb
app/views/domains/show.html.erb
<p> <strong>Name:</strong> <%= @domain.name %> </p> <p> <strong>Traffic Rank:</strong> <%= @domain.last_rank.traffic_rank %> </p> <table> <% @domain.ranks.each do |rank| %> <tr> <td><%= rank.traffic_rank %></td> <td><%= time_ago_in_words(rank.created_at) %></td> </tr> <% end %> </table>
<h1><%= @domain.name %></h1> <h2>Traffic Rank: <%= @domain.last_rank.traffic_rank %></h2> <table> <% @domain.ranks.each do |rank| %> <tr> <td><%= rank.traffic_rank %></td> <td><%= time_ago_in_words(rank.created_at) %></td> </tr> <% end %> </table>
Add minor UI change to domain show.
Add minor UI change to domain show.
HTML+ERB
mit
Kyle-Dornblaser/Historical-Alexa,Kyle-Dornblaser/Historical-Alexa,Kyle-Dornblaser/Historical-Alexa
88b7ef4d136a243dabf1c8dc69e51b6d3628294f
app/views/events/_form.html.erb
app/views/events/_form.html.erb
<%= form_for @event do |f|%> <%= text_area_tag :emails, "", {:placeholder => "Invite guests by entering emails separated by commas!"} %> <fieldset> <%= f.text_field :name, placeholder: "Event Name" %> <%= f.date_field :date %> <%= f.time_field :time %> <%= f.text_field :location, placeholder: "Eve...
<%= form_for @event do |f|%> <fieldset> <%= f.text_field :name, placeholder: "Event Name" %> <%= f.date_field :date %> <%= f.time_field :time %> <%= f.text_field :location, placeholder: "Event Location" %> <%= text_area_tag :emails, "", {:placeholder => "Invite guests by entering emails separated ...
Move email box within field for event
Move email box within field for event
HTML+ERB
mit
mud-turtles-2014/palate,mud-turtles-2014/palate
2c5420a3614188b04ec3c85b49c19aeae3b0418d
app/views/messages/new.html.erb
app/views/messages/new.html.erb
<h1>Messages#new</h1> <%= form_for(:message, url: new_message_path) do |f| %> <%= f.label :name %> <%= f.text_field :name %> <%= f.label :bio %> <%= f.text_field :bio %> <%= f.label :profile_img %> <%= f.text_field :profile_img %> <%= f.hidden_field :author_id, :value => @user.id %> <%= f.hidden_field :...
Add small change to new messages form
Add small change to new messages form
HTML+ERB
mit
chi-cicadas-2015/hey-9,chi-cicadas-2015/hey-9,chi-cicadas-2015/hey-9