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
8f5811a05e0f43889afc9772028eddd714633cfc
app/views/question/answer.html.erb
app/views/question/answer.html.erb
<div class='hero-unit'> <%= render :partial => 'ask'%> </div> <div class="container"> <% if session[:categories] && session[:categories].size > 0 %> <div class='alert-message info'> OK, I'm going to look for things related to <%= @terms.map{|x| "<strong>#{h(x)}</strong>"}.join(' and ').html...
<div class='hero-unit'> <%= render :partial => 'ask'%> </div> <div class="container"> <% if session[:categories] && session[:categories].size > 0 && session[:quantity] %> <div class='alert-message info'> OK, I'm going to look for things related to <%= @terms.map{|x| "<strong>#{h(x)}</strong...
Check quantity is present before we go off searching APP-485
Check quantity is present before we go off searching APP-485
HTML+ERB
bsd-3-clause
OpenAMEE/askamee,OpenAMEE/askamee
622d8a83e58e1fecec4a511f61d3b756312b173f
templates/default/hypernova.monitrc.erb
templates/default/hypernova.monitrc.erb
<% ([@out[:process_count].to_i || 1].max).times do |n| %> <% identifier = "#{@application}-#{n+1}" %> <% log_file = "#{@deploy_to}/shared/log/hypernova_#{identifier}.log" %> <% pid_file = "#{@deploy_to}/shared/pids/hypernova_#{identifier}.pid" %> check process hypernova_<%= identifier.to_s %> with ...
<% ([@out[:process_count].to_i || 1].max).times do |n| %> <% identifier = "#{@application}-#{n+1}" %> <% log_file = "#{@deploy_to}/shared/log/hypernova_#{identifier}.log" %> <% pid_file = "#{@deploy_to}/shared/pids/hypernova_#{identifier}.pid" %> check process hypernova_<%= identifier.to_s %> with ...
Kill the whole process group when killing hypernova
Kill the whole process group when killing hypernova
HTML+ERB
mit
inket/opsworks_ruby,inket/opsworks_ruby,inket/opsworks_ruby
3bd73816e80559e0200670c7f9d54a1c2c5ef9a3
gitconfig.erb
gitconfig.erb
[user] name = <%= print("Your Name: "); STDOUT.flush; STDIN.gets.chomp %> email = <%= print("Your Email: "); STDOUT.flush; STDIN.gets.chomp %> [alias] co = checkout [color] diff = auto status = auto branch = auto ui = true [core] excludesfile = ~/.gitignore [merge] ff = only [push] default = simple ...
[user] name = <%= print("Your Name: "); STDOUT.flush; STDIN.gets.chomp %> email = <%= print("Your Email: "); STDOUT.flush; STDIN.gets.chomp %> [alias] co = checkout [color] diff = auto status = auto branch = auto ui = true [core] excludesfile = ~/.gitignore [merge] ff = only [push] default = simple ...
Remove opinionated default git values for diff
Remove opinionated default git values for diff
HTML+ERB
mit
agendrix/dotfiles,agendrix/dotfiles,agendrix/dotfiles
101dd0cb3f551bb6cdcb56b7e7c2102e08bcae09
jobs/bits-service/templates/dns_health_check.erb
jobs/bits-service/templates/dns_health_check.erb
#!/bin/bash nc -z 127.0.0.1 80 # http://www.consul.io/docs/agent/checks.html if [ $? -ne 0 ]; then exit 2 # Exit higher than 1 to ensure service is registered as 'critical' fi
#!/bin/bash nc -z 127.0.0.1 <%= p('bits-service.tls.port') %> # http://www.consul.io/docs/agent/checks.html if [ $? -ne 0 ]; then exit 2 # Exit higher than 1 to ensure service is registered as 'critical' fi
Use configured port for Consul health check
Use configured port for Consul health check [#120659595] Signed-off-by: Norman Sutorius <c92e212d4253616268289a70bdbb216a97333b3e@de.ibm.com>
HTML+ERB
apache-2.0
cloudfoundry-incubator/bits-service-release,cloudfoundry-incubator/bits-service-release,cloudfoundry-incubator/bits-service-release,cloudfoundry-incubator/bits-service-release
0a249b85f1933112efddc19c405e945e65236aca
vendor/assets/javascripts/leaflet.js.erb
vendor/assets/javascripts/leaflet.js.erb
//= depend_on_asset "marker-icon-2x.png" //= depend_on_asset "marker-shadow.png" //= depend_on_asset "marker-icon.png" //= require leaflet-src <% icons = ['icon-2x.png', 'shadow.png', 'icon.png'] %> L.Icon.Default = L.Icon.Default.extend({ _getIconUrl: function (name) { var paths = <%= Hash[icons.map{|i| [i, asset_...
//= depend_on_asset "marker-icon-2x.png" //= depend_on_asset "marker-shadow.png" //= depend_on_asset "marker-icon.png" //= require leaflet-src <% icons = ['icon-2x.png', 'shadow.png', 'icon.png'] %> L.Icon.Default = L.Icon.Default.extend({ _getIconUrl: function (name) { var paths = <%= Hash[icons.map{|i| [i, asset_...
Fix marker icon override for 1.x
Fix marker icon override for 1.x
HTML+ERB
bsd-2-clause
axyjo/leaflet-rails
9d469b286b8ee56f32986b446dcf8319862a72c7
modules/govuk_rabbitmq/templates/check_rabbitmq_network_partition.cfg.erb
modules/govuk_rabbitmq/templates/check_rabbitmq_network_partition.cfg.erb
define command { command_name check_rabbitmq_network_partition command_line /usr/lib/nagios/plugins/check_http_timeout_noncrit -a '<%= @monitoring_user %>:<%= @monitoring_password %>' -I '127.0.0.1' -p 15672 -u '/api/nodes' -s '"partitions":[]' }
command[check_rabbitmq_network_partition]=/usr/lib/nagios/plugins/check_http_timeout_noncrit -a '<%= @monitoring_user %>:<%= @monitoring_password %>' -I '127.0.0.1' -p 15672 -u '/api/nodes' -s '"partitions":[]'
Change syntax of rabbitmq nrpe plugin
Change syntax of rabbitmq nrpe plugin The syntax formerly used in this file is valid for Nagios, but not for NRPE. All of the NRPE checks are as specified in the documentation, which is this format: `command[%command_name]=%command_string`
HTML+ERB
mit
alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet
cd3b5fda7e4b7588e202868307054234a8c86d0e
app/views/content_viewer/_uploaded_file.html.erb
app/views/content_viewer/_uploaded_file.html.erb
<% if uploaded_file.image? %> <%= link_to '', uploaded_file.view_url, :class => 'image', :style => 'background-image: url(%s)'% uploaded_file.public_filename(:thumb) %> <span><%=h uploaded_file.title %></span> <% else %> <%= render :partial => 'article', :object => uploaded_file %> <% en...
<% if uploaded_file.image? %> <%= link_to '', uploaded_file.view_url, :class => 'image', :style => 'background-image: url(%s)'% [Noosfero.root, uploaded_file.public_filename(:thumb)].join %> <span><%=h uploaded_file.title %></span> <% else %> <%= render :partial => 'article', :object => ...
Fix images url on gallery when Noosfero's under subdirectory
Fix images url on gallery when Noosfero's under subdirectory Signed-off-by: Tallys Martins <a57906cd5ffd0ae42ef9904e85a23bf39e87dcad@yahoo.com.br>
HTML+ERB
agpl-3.0
EcoAlternative/noosfero-ecosol,macartur/noosfero,samasti/noosfero,abner/noosfero,evandrojr/noosferogov,larissa/noosfero,blogoosfero/noosfero,evandrojr/noosfero,tallysmartins/noosfero,CIRANDAS/noosfero-ecosol,hebertdougl/noosfero,evandrojr/noosfero,coletivoEITA/noosfero-ecosol,evandrojr/noosfero,macartur/noosfero,tallys...
2d8f44d78b69b69f835b788294ce87202d0c4e02
app/views/doorkeeper/applications/_form.html.erb
app/views/doorkeeper/applications/_form.html.erb
<%= form_for([:oauth, application]) do |f| %> <fieldset> <% if @application.errors.any? %> <div class="alert-message error" data-alert><a class="close" href="#">×</a><p>Whoops! Check your form for possible errors</p></div> <% end %> <div class="clearfix"> <%= f.label :name %> <div class...
<%= form_for([:oauth, application]) do |f| %> <fieldset> <% if application.errors.any? %> <div class="alert-message error" data-alert><a class="close" href="#">×</a><p>Whoops! Check your form for possible errors</p></div> <% end %> <div class="clearfix"> <%= f.label :name %> <div class=...
Use method instead of ivar
Use method instead of ivar
HTML+ERB
mit
CloudTags/doorkeeper,EasterAndJay/doorkeeper,telekomatrix/doorkeeper,6fusion/doorkeeper,vanboom/doorkeeper,AdStage/doorkeeper,AICIDNN/doorkeeper,stefania11/doorkeeper,coinbase/modified-doorkeeper,Tout/doorkeeper,lalithr95/doorkeeper,identification-io/doorkeeper,ifeelgoods/doorkeeper,CloudTags/doorkeeper,nbulaj/doorkeep...
9913add2d092346c97dc5b277b4922b3c132290a
app/views/cms/_link_article.html.erb
app/views/cms/_link_article.html.erb
<div> <%= labelled_form_field(_('Title'), @article.name) %> <%= labelled_form_field(_('Reference'), link_to(url_for @article.view_url)) %> <%= render :partial => 'general_fields' %> </div>
Add custom edit page for link article
Add custom edit page for link article
HTML+ERB
agpl-3.0
tallysmartins/noosfero,EcoAlternative/noosfero-ecosol,coletivoEITA/noosfero,arthurmde/noosfero,samasti/noosfero,evandrojr/noosferogov,abner/noosfero,abner/noosfero,AlessandroCaetano/noosfero,abner/noosfero,samasti/noosfero,blogoosfero/noosfero,LuisBelo/tccnoosfero,tallysmartins/noosfero,coletivoEITA/noosfero-ecosol,Eco...
87a304761bb02a37a32a45a3b1f57da020cd1508
app/views/departments/_list.html.erb
app/views/departments/_list.html.erb
<table id="list" class="bordered highlight" cellspacing="0" width="100%"> <thead> <tr> <th>Code</th> <th>Name</th> <th></th> </tr> </thead> </table> <script> $(function() { if ($('#list_wrapper').length == 0) { $('#list').DataTable({ "pageLength": 15, "bLengthChange": false, ...
<table id="list" class="bordered highlight" cellspacing="0" width="100%"> <thead> <tr> <th>Code</th> <th>Name</th> <th></th> </tr> </thead> </table> <script> $(function() { if ($('#list_wrapper').length == 0) { $('#list').DataTable({ "pageLength": 15, "bLengthChange": false, ...
Remove Delete Button on DEPARTMENT
Remove Delete Button on DEPARTMENT
HTML+ERB
mit
BOJOP/organize_cu,BOJOP/organize_cu,BOJOP/organize_cu
b26a2b2f4e815c3b4a3e70707e4c78284754f37b
app/views/index/_navigation.html.erb
app/views/index/_navigation.html.erb
<nav class="navbar navbar-default navbar-static-top"> <div class="navbar-header container-fluid" id="navfluid"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="...
<nav class="navbar navbar-default navbar-static-top"> <div class="navbar-header container-fluid" id="navfluid"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="...
Change register to registration in nav bar
Change register to registration in nav bar
HTML+ERB
mit
linseyo/autogenics-client-project,linseyo/autogenics-client-project,linseyo/autogenics-client-project
0ce0657e71f232302e2d1a8344ca76c743184ef0
app/views/shared/_model_new.html.erb
app/views/shared/_model_new.html.erb
<% content_for :heading do -%><%= controller.new_title %><% end -%> <h1><%= controller.new_title %></h1> <%= flashes! %> <%= form_for @obj, :url => @url, :remote => controller.may_upload, data: { ajax: !controller.may_upload } do |f| %> <%= render partial: "shared/model_form", locals: { form_name: controller.form_pat...
<% content_for :heading do -%><%= controller.new_title %><% end -%> <h1><%= controller.new_title %></h1> <%= flashes! %> <%= form_for @obj, :url => @url, :remote => controller.may_upload, data: { ajax: !controller.may_upload } do |f| %> <%= render partial: "shared/model_form", locals: { form_name: controller.form_pat...
Set the form's prefill value if found
Set the form's prefill value if found
HTML+ERB
agpl-3.0
myplaceonline/myplaceonline_rails,myplaceonline/myplaceonline_rails,myplaceonline/myplaceonline_rails
c347fa4336bfc1ad27f71116f8f06811902dadf2
app/views/master_files/_mejs4_player_js.html.erb
app/views/master_files/_mejs4_player_js.html.erb
<% content_for :page_styles do %> <%= stylesheet_link_tag 'mejs4_player' %> <% end %> <% content_for :page_scripts do %> <%= javascript_include_tag "mejs4_player" %> <% end %> <script> <!-- Missing title and logo features --> var mejs4AvalonPlayer = new MEJSPlayer({ currentStreamInfo: <%= section_info.to_json.html_s...
<% content_for :page_styles do %> <%= stylesheet_link_tag 'mejs4_player' %> <% end %> <% content_for :page_scripts do %> <%= javascript_include_tag "mejs4_player" %> <% end %> <script> <%# Do not include quality or HDtoggle feature for embedded audio because adaptive streaming %> <% quality_feature = section_info[:is_...
Exclude HDToggle feature for embedded audio
Exclude HDToggle feature for embedded audio
HTML+ERB
apache-2.0
nulib/avalon,uvalib/avalon,nulib/avalon,uvalib/avalon,avalonmediasystem/avalon,ualbertalib/avalon,uvalib/avalon,ualbertalib/avalon,avalonmediasystem/avalon,avalonmediasystem/avalon,uvalib/avalon,ualbertalib/avalon,avalonmediasystem/avalon,ualbertalib/avalon,nulib/avalon,nulib/avalon
8e911bb0596875035f3e5367b4239b0c2f506e85
app/views/course_group_finishers/_list.html.erb
app/views/course_group_finishers/_list.html.erb
<div data-controller="infinite-scroll" data-infinite-scroll-next-page-url="<%= presenter.next_page_url %>" data-infinite-scroll-html-template="course_group_best_efforts/best_effort_segment"> <table class="table table-condensed table-striped"> <thead> <tr> <th>Name</th> <th>Gender</th> ...
<div data-controller="infinite-scroll" data-infinite-scroll-next-page-url="<%= presenter.next_page_url %>" data-infinite-scroll-html-template="course_group_finishers/course_group_finisher"> <table class="table table-condensed table-striped"> <thead> <tr> <th>Name</th> <th>Gender</th> ...
Use the correct partial for course group finishers infinite scroll
Use the correct partial for course group finishers infinite scroll
HTML+ERB
mit
SplitTime/OpenSplitTime,SplitTime/OpenSplitTime,SplitTime/OpenSplitTime
528f78ab5b4f14f4d73dccbee97eccb18ab7c37c
app/views/spree/layouts/_add_js_params.html.erb
app/views/spree/layouts/_add_js_params.html.erb
<%= javascript_tag do %> Spree.url_params["locale"] = "<%= I18n.locale %>"; <% end %>
<%= javascript_tag do %> document.addEventListener("load", function(){ Spree.url_params["locale"] = "<%= I18n.locale %>"; }) <% end %>
Fix SD-943 `Spree is not defined`
Fix SD-943 `Spree is not defined`
HTML+ERB
bsd-3-clause
spree-contrib/spree_i18n,welaika/spree_i18n,welaika/spree_i18n,welaika/spree_i18n
e2e9282019cba56476dbf970be19abc77f24bb2c
core/app/views/spree/admin/tax_settings/edit.html.erb
core/app/views/spree/admin/tax_settings/edit.html.erb
<%= render :partial => 'spree/admin/shared/configuration_menu' %> <% content_for :page_title do %> <%= t(:tax_settings) %> <% end %> <%= form_tag admin_tax_settings_path, :method => :put do %> <div data-hook="shipment_vat" class="field align-center"> <%= check_box_tag 'preferences[shipment_inc_vat]', '1', Sp...
<%= render :partial => 'spree/admin/shared/configuration_menu' %> <% content_for :page_title do %> <%= t(:tax_settings) %> <% end %> <%= form_tag admin_tax_settings_path, :method => :put do %> <div data-hook="shipment_vat" class="field align-center"> <%= hidden_field_tag 'preferences[shipment_inc_vat]', '0' %...
Fix The action 'show' could not be found for Spree::Admin::TaxSettingsController
Fix The action 'show' could not be found for Spree::Admin::TaxSettingsController Fixes #2368
HTML+ERB
bsd-3-clause
bjornlinder/Spree,Hates/spree,firman/spree,volpejoaquin/spree,caiqinghua/spree,jeffboulet/spree,vinayvinsol/spree,kitwalker12/spree,Nevensoft/spree,vcavallo/spree,dandanwei/spree,APohio/spree,Migweld/spree,piousbox/spree,abhishekjain16/spree,caiqinghua/spree,CJMrozek/spree,Mayvenn/spree,Ropeney/spree,vmatekole/spree,us...
ea8ea246ab31fbdc5046dd73f18435476ab05e85
templates/default/passenger.conf.erb
templates/default/passenger.conf.erb
PassengerRoot <%= node[:passenger][:rbenv][:root_path] %> PassengerRuby <%= node[:passenger][:rbenv][:binary] %> <% if node[:passenger][:max_pool_size] %> PassengerMaxPoolSize <%= node[:passenger][:max_pool_size] %> <% end %> <% if node[:passenger][:min_instances] %> PassengerMinInstances <%= node[:passenger][:mi...
PassengerRoot <%= node[:passenger][:rbenv][:root_path] %> PassengerRuby <%= node[:passenger][:rbenv][:binary] %> PassengerFriendlyErrorPages 'off' <% if node[:passenger][:max_pool_size] %> PassengerMaxPoolSize <%= node[:passenger][:max_pool_size] %> <% end %> <% if node[:passenger][:min_instances] %> PassengerMi...
Disable passenger friendly error pages.
Disable passenger friendly error pages. [References #111463444]
HTML+ERB
apache-2.0
optimis-cookbooks/passenger_apache2,optimis-cookbooks/passenger_apache2
a8b199050b150256c4ce618102cfa9ed3fd5803c
app/views/address/edit.html.erb
app/views/address/edit.html.erb
<% content_for :header_title, "Address" %> <div class="form-card"> <header class="form-card__header"> <div class="step-section-header"> <div class="step-section-header__subhead">Tell us the best ways to reach you.</div> </div> </header> <div class="form-card__content"> <%= form_for @step, as: :...
<% content_for :header_title, "Address" %> <div class="form-card"> <header class="form-card__header"> <div class="step-section-header"> <div class="step-section-header__subhead">Tell us the best ways to reach you.</div> </div> </header> <div class="form-card__content"> <%= form_for @step, as: :...
Fix typo for disabling a field
Fix typo for disabling a field Reason for Change ================= * The HTML directive is `disabled: true` with a "d" at the end. I had it as `disable: true` accidentally. * See [reference]. [reference]: https://www.w3schools.com/jsref/prop_text_disabled.asp Changes ======= * Fix typo. Minor ----- * Add note speci...
HTML+ERB
mit
codeforamerica/michigan-benefits,codeforamerica/michigan-benefits,codeforamerica/michigan-benefits,codeforamerica/michigan-benefits
c5a4bc10b80908ad43b2ed1a8b0320f951e46d04
app/views/admins/_form.html.erb
app/views/admins/_form.html.erb
<%= simple_form_for(@admin, :defaults => { :input_html => { :class => 'span8' } }) do |f| %> <%= f.error_notification %> <div class="form-inputs"> <%= f.input :email, :required => true, :autofocus => true %> <%= f.input :password, :required => true %> <%= f.input :password_confirmation, :required => tr...
<%= simple_form_for(@admin, :defaults => { :input_html => { :class => 'span8' } }) do |f| %> <%= f.error_notification %> <div class="form-inputs"> <%= f.input :email, :required => true, :autofocus => true %> <%= f.input :password, :required => true %> <%= f.input :password_confirmation, :required => tr...
Change user save button txt
Change user save button txt
HTML+ERB
bsd-3-clause
unepwcmc/BlueCarbon,unepwcmc/BlueCarbon,unepwcmc/BlueCarbon
303035ef49bcfec04f4a64ded886e60943a2cd6c
app/views/groups/_form.html.erb
app/views/groups/_form.html.erb
<%= form_for @group do |f| %> <%= f.error_messages %> <table class="form"> <tr> <td><%= f.label :name %></td> <td><%= f.text_field :name %></td> </tr> <tr> <td><%= f.label :description %></td> <td><%= f.text_area :description, :rows => 5 %></td> </tr> <tr> <td><%= f...
<%= render "shared/error_messages", :target => @group %> <%= form_for @group do |f| %> <table class="form"> <tr> <td><%= f.label :name %></td> <td><%= f.text_field :name %></td> </tr> <tr> <td><%= f.label :description %></td> <td><%= f.text_area :description, :rows => 5 %></td> ...
Fix group creation form error reporting
Fix group creation form error reporting
HTML+ERB
agpl-3.0
Floppy/carbon-diet,Floppy/carbon-diet,Floppy/carbon-diet,Floppy/carbon-diet
c9c810e23e9acf93e497aa522e62afef336aa69f
app/views/users/_admin.html.erb
app/views/users/_admin.html.erb
<h1>Admin</h1> <h2>Groups</h2> <ul> <li><a href="/groups/new">Add</a></li> <li><a href="/groups/">List</a></li> </ul> <h2>Parties</h2> <ul> <li><a href="/parties/new">Add</a></li> <li><a href="/parties/">List</a></li> </ul> <h2>Politicians</h2> <ul> <li><a href="/politicians/new">Add</a></li> <li><a href=...
<h1>Admin</h1> <h2>Groups</h2> <ul> <li><a href="/groups/new">Add</a></li> <li><a href="/groups/">List</a></li> </ul> <h2>Parties</h2> <ul> <li><a href="/parties/new">Add</a></li> <li><a href="/parties/">List</a></li> </ul> <h2>Politicians</h2> <ul> <li><a href="/politicians/new">Add</a></li> <li><a href=...
Add a link to statistics in menu.
Add a link to statistics in menu.
HTML+ERB
bsd-3-clause
4bic/politwoops,Saworieza/politwoops,sunlightlabs/politwoops,sunlightlabs/politwoops,4bic/politwoops,4bic/politwoops,Saworieza/politwoops,sunlightlabs/politwoops,Saworieza/politwoops
095d7b1bae8882f938713166e47a1e6b1b986227
app/views/shared/_tracking.erb
app/views/shared/_tracking.erb
<%- if MySociety::Config.get("DOMAIN", '127.0.0.1:3000') == 'www.fixmytransport.com' %> <!-- Piwik --> <script type="text/javascript"> var pkBaseURL = (("https:" == document.location.protocol) ? "https://piwik.mysociety.org/" : "http://piwik.mysociety.org/"); document.write(unescape("%3Cscript src='" + ...
<%- if MySociety::Config.get("DOMAIN", '127.0.0.1:3000') == 'www.fixmytransport.com' %> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-24232514-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.typ...
Add google analytics tracking js
Add google analytics tracking js
HTML+ERB
agpl-3.0
mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport
d839c8cda16816960d1eefc9eabe2a9875ab73ef
app/views/trades/show.html.erb
app/views/trades/show.html.erb
<h2><%= @trade %></h2> <% if @trade.completed? || @trade.participant(current_user) %> <ul> <% @trade.participants.each do |participant| %> <li class><%= participant.other_participant.user %> said: <%= participant.feedback %></li> <% end %> </ul> <% elsif @trade.waiting_for_approval? current_user %> ...
<h2><%= @trade %></h2> <% if @trade.completed? || @trade.participant(current_user) %> <ul> <% @trade.participants.each do |participant| %> <li class><%= participant.other_participant.user %> said: <%= participant.feedback %></li> <% end %> </ul> <% end %> <% if @trade.waiting_for_approval? curr...
Correct logic for show actions
Correct logic for show actions
HTML+ERB
mit
patrickomatic/beertrade,patrickomatic/beertrade,patrickomatic/beertrade
a7b7f584d2356d5c643eb52a31068b0fcc642b23
app/views/home.html.erb
app/views/home.html.erb
<%= controller.menu.render %> <div id="content"> <div id="screen_content"></div> <div id="confirm_dialog" class='ui-state-highlight' style="display: none;" title="Delete Confirmation"> <h4><br /><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .2em;"></span>Are you sure to do this ?</h4> </...
<%= controller.menu.render %> <div id="content"> <div id="screen_content"></div> <div id="confirm_dialog" class='ui-state-highlight' style="display: none;" title="Delete Confirmation"> <h4><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .2em;"></span>Are you sure to do this ?</h4> </div> <...
Change the delete confirm dialog style
Change the delete confirm dialog style
HTML+ERB
mit
ekohe/wulin_master,ekohe/wulin_master,ekohe/wulin_master
41ed0ff36bc871230a242d46be7ca1b657b909a3
modules/govuk_jenkins/templates/jobs/clear_cdn_cache.yaml.erb
modules/govuk_jenkins/templates/jobs/clear_cdn_cache.yaml.erb
--- - job: name: clear-cdn-cache display-name: Clear production CDN cache project-type: freestyle description: > Clears the production CDN cache for the 10 most popular pages on GOV.UK. properties: - build-discarder: num-to-keep: 30 builders: - shell: | #!/u...
--- - job: name: clear-cdn-cache display-name: Clear production CDN cache project-type: freestyle description: > Clears the production CDN cache for the 10 most popular pages on GOV.UK. properties: - build-discarder: num-to-keep: 30 builders: - shell: | #!/u...
Fix CDN cache clearing for emergency banner
Fix CDN cache clearing for emergency banner The CDN cache did not clear when we deployed the emergency banner on 9 April 2021, and the Jenkins job failed. If appears we were trying to clear the cache of `hostnamespaths` which appears to have been caused by not treating the variables hostnames and paths as arrays.
HTML+ERB
mit
alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet
db1cd4a61b08273d6e4b09af4ce49ad692ff2cb5
themes/clear/views/articles/_article.html.erb
themes/clear/views/articles/_article.html.erb
<article id="article-<%= article.id %>" class='h-entry hentry h-as-note'> <h2 class='page-header p-name entry-title'><%= (controller.controller_name == 'redirect') ? article.title : link_to_permalink(article,article.title) %></h2> <div class='e-content entry-content article'> <%= render 'articles/protected_arti...
<article id="article-<%= article.id %>" class='h-entry hentry h-as-note'> <h2 class='page-header p-name entry-title'><%= (controller.controller_name == 'redirect') ? article.title : link_to_permalink(article,article.title) %></h2> <div class='e-content entry-content article'> <%= render 'articles/protected_arti...
Fix article date on homepage.
Fix article date on homepage.
HTML+ERB
mit
Juuro/publify,Juuro/publify,Juuro/publify
b2be2cd1e386484315c27fab25bfe1c8cd33ba3b
app/views/devise/sessions/new.html.erb
app/views/devise/sessions/new.html.erb
<div class="row"> <div class="col-xs-1 col-sm-4"></div> <div class="jumbotron col-xs-10 col-sm-4" id="login-form"> <h2>Sign in</h2> <%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %> <dl><%= f.label :email %>: <%= f.email_field :email, :autofocus => true...
<div class="row"> <div class="col-xs-1 col-sm-4"></div> <div class="jumbotron col-xs-10 col-sm-4" id="login-form"> <h2>Sign in</h2> <%= form_for(resource, as: resource_name, url: session_path(resource_name), html: { class: "settings-form-fields" }) do |f| ...
Update styling of sign_in form
Update styling of sign_in form
HTML+ERB
mit
ramillim/heatseeknyc,heatseeknyc/heatseeknyc,heatseeknyc/heatseeknyc,heatseeknyc/heatseeknyc,ramillim/heatseeknyc,ramillim/heatseeknyc
93fc14cf7740ff58640dea552acc918f38a9e077
app/views/layouts/_search_bar.html.erb
app/views/layouts/_search_bar.html.erb
<div class='row'> <div class='col-lg-6 col-lg-offset-3'> <div class='panel panel-default'> <div class='panel-heading'> <h3 class='panel-title'>Search</h3> </div> <div class='panel-body'> <%= form_tag(works_path, method: :get, id: "search-form") do %> <div class='input-g...
<div class='row'> <div class='col-lg-6 col-lg-offset-3'> <div class='panel panel-default'> <div class='panel-heading'> <h3 class='panel-title'>Search</h3> </div> <div class='panel-body'> <%= form_tag(works_path, method: :get, id: "search-form") do %> <div class='input-g...
Use last search term in placeholder
Use last search term in placeholder This will make it easier for users to keep track of what they searched for, or modify their previous search, etc.
HTML+ERB
mit
sjreich/bien-research-database,sjreich/bien-research-database,sjreich/bien-research-database
9605aae99ab59d08fde3a949615f80623c6cf72d
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>Quienmanda</title> <%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %> <%= javascript_include_tag "application", "data-turbolinks-track" => true %> <%= csrf_meta_tags %> </head> <body> <ul class="hmenu"> <%= render 'devise/menu/r...
<!DOCTYPE html> <html> <head> <title>Quienmanda</title> <%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %> <%= javascript_include_tag "application", "data-turbolinks-track" => true %> <%= csrf_meta_tags %> </head> <body> <h3><a href="/admin">Admin Interface</a></h3> ...
Add link to admin interface
Add link to admin interface
HTML+ERB
agpl-3.0
AsunaYuukio/quienmanda.es,civio/quienmanda.es,civio/quienmanda.es,AsunaYuukio/quienmanda.es,javomorales/quienmanda.es,AsunaYuukio/quienmanda.es,civio/quienmanda.es,javomorales/quienmanda.es,AsunaYuukio/quienmanda.es,civio/quienmanda.es
c574366eb4b2b22ba924f7afe65cc48e54f2dc2c
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>SuperVoices</title> <%= csrf_meta_tags %> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %> </head> <body> <%= yield %> </body> </h...
<!DOCTYPE html> <html> <head> <title>SuperVoices</title> <%= csrf_meta_tags %> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.css"> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap-theme.css"> <%= stylesheet_link_tag 'a...
Add Bootstrap references to style the project
Add Bootstrap references to style the project
HTML+ERB
apache-2.0
MaxCruz/super_voices,cami7ord/super_voices,MaxCruz/super_voices,cami7ord/super_voices,cami7ord/super_voices,MaxCruz/super_voices
fefa2463e9a9643ac3799aab9ea59c5991c08f03
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta content="width=device-width, initial-scale=1.0" name="viewport" /> <title>Private Events</title> <%= render 'layouts/anti_fouc' %> <%= render 'layouts/webapp_meta_tags' %> <%= stylesheet_link_tag 'application', ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta content="width=device-width, initial-scale=1.0" name="viewport" /> <title>Private Events</title> <%= render 'layouts/webapp_meta_tags' %> <%= stylesheet_link_tag 'application', '//fonts.googleapis.co...
Stop using anti-fouc script for now
Stop using anti-fouc script for now
HTML+ERB
mit
pugsiman/private-events,pugsiman/private-events,pugsiman/private-events
7ccc4da11589b536e4ccffa0e2368b95fe621128
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title><%= yield :title %> - GOV.UK</title> <%= javascript_include_tag "application" %> <%= stylesheet_link_tag "application" %> <%= csrf_meta_tags %> <%= yield :meta_tags %> <%= yield :meta_section %> <%= yield :extra_headers %> <%= render 'govuk_publishing_components/comp...
<!DOCTYPE html> <html> <head> <title><%= yield :title %> - GOV.UK</title> <%= javascript_include_tag "application" %> <%= stylesheet_link_tag "application" %> <%= csrf_meta_tags %> <%= yield :meta_tags %> <%= yield :meta_section %> <%= yield :extra_headers %> <%= render 'govuk_publishing_components/comp...
Add lang attribute to wrapper
Add lang attribute to wrapper
HTML+ERB
mit
alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections
3da6102e062a4f7600cb680f1fde522b467c8063
app/views/validation/_message.html.erb
app/views/validation/_message.html.erb
<p><%= t(message.category) %>: <strong><%= t(message.type) %> <% if message.row %> on row <%= message.row %> <% end %> <% if message.column %> in column <%= message.column %> <% end %></strong></p> <% if message.content %> <%= content_tag :pre, message.content.to_s.encode("utf-8", :invalid=>:replace, :undef=>:...
<p><%= t(message.category) %>: <strong><%= t(message.type) %> <% if message.row %> on row <%= message.row %> <% end %> <% if message.column %> in column <%= message.column %> <% end %></strong></p> <% if message.content != ""%> <%= content_tag :pre, message.content.to_s.encode("utf-8", :invalid=>:replace, :undef...
Check for empty string rather than nil
Check for empty string rather than nil I think we’re done here.
HTML+ERB
mit
theodi/csvlint,theodi/csvlint,theodi/csvlint
cd28b26bed7715a0c22d12c07a70761e66c41396
app/views/links/show.html.erb
app/views/links/show.html.erb
<div class="pull-right"> <% if @link.user == current_user %> <%= link_to 'Edit this link', edit_link_path(@link), class: 'btn' %> <% end %> <% if @link.modifiable_by?(current_user) %> <%= link_to link_path(@link), method: 'delete', data: { confirm: 'Are you sure you want to destroy this link? This cannot ...
<div class="pull-right"> <% if @link.user == current_user %> <%= link_to 'Edit this link', edit_link_path(@link), class: 'btn' %> <% end %> <% if @link.modifiable_by?(current_user) %> <%= link_to link_path(@link), method: 'delete', data: { confirm: 'Are you sure you want to destroy this link? This cannot ...
Correct link to @link, make text make sense
Correct link to @link, make text make sense Since we're no longer redirecting to this page upon duplicate link submission, the text didn't make sense any more.
HTML+ERB
agpl-3.0
Rootstrikers/vdash,Rootstrikers/vdash
96c9c952bf4040b4fa12ed54ab59603fa9db4993
app/views/root/print.html.erb
app/views/root/print.html.erb
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <%= stylesheet_link_tag 'guides-print', media: 'all' %> </head> <body> <div id="wrapper"> <section id="content" role="main" class="group"> <h1 class="govuk">GOV.UK</h1> </section> </div> </body> </html>
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <%= stylesheet_link_tag 'guides-print', media: 'all' %> </head> <body> <header role="banner" class="group" id="global-header"> <div class="header-wrapper group"> <h1 class="govuk">GOV.UK</h1> </div> </header> <div id="wrapper">...
Add GOV.UK crown to guide print templates
Add GOV.UK crown to guide print templates
HTML+ERB
mit
kalleth/static,alphagov/static,tadast/static,robinwhittleton/static,tadast/static,kalleth/static,robinwhittleton/static,kalleth/static,alphagov/static,tadast/static,tadast/static,alphagov/static,robinwhittleton/static,kalleth/static,robinwhittleton/static
f40abc8082f578325e8857856fe782a10689ae84
app/views/users/show.html.erb
app/views/users/show.html.erb
<div class="profile-header"> <h2><%= @user.name.capitalize %>'s questions</h2> <%= link_to edit_user_path(@user) do %> Edit User Info <% end %> </div> <div class="col-12"> <ol class="thumb-grid group clearfix"> <% @questions.each do |question| %> <li> <%= link_to question_path(questi...
<div class="profile-header"> <h2><%= @user.name.capitalize %>'s questions</h2> <% if session[:current_user] == @user.id %> <%= link_to edit_user_path(@user) do %> Edit User Info <% end %> <% end %> </div> <div class="col-12"> <ol class="thumb-grid group clearfix"> <% @questions.each do |q...
Fix User Page to Only Allow Logged In User to Edit Info
Fix User Page to Only Allow Logged In User to Edit Info
HTML+ERB
mit
great-horned-owls-2014/dbc-what-is-this,great-horned-owls-2014/dbc-what-is-this
b0fc2c3c93c12a457c6e8eb2b38781727a332a8b
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 back the header in layouts
Add back the header in layouts
HTML+ERB
mit
calblueprint/ashby-village,calblueprint/ashby-village,calblueprint/ashby-village
c4ae9ecb5b74f363f7e26b953dd7e75907821a3a
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE> <html> <head> <title>The Lion's Share</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <script src="http://maps.googleapis.com/maps/api/js"></script> <link href='https://fonts.googleapis.com/css?family=Lora' rel='stylesheet' type='text/css'> <%= stylesheet_link_tag 'a...
<!DOCTYPE> <html> <head> <title>The Lion's Share</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <script src="https://maps.googleapis.com/maps/api/js"></script> <link href='https://fonts.googleapis.com/css?family=Lora' rel='stylesheet' type='text/css'> <%= stylesheet_link_tag '...
Add secure connection to script tag
Add secure connection to script tag
HTML+ERB
mit
jennyheath/lions-share,slgarden/lions-share,slgarden/lions-share,jennyheath/lions-share,slgarden/lions-share,jennyheath/lions-share
71ceb5ba27038bf8d6a44cab35561c11cdb22b13
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) : "OK Councillr" %></title> <%= stylesheet_link_tag "application" %> <%= javascript_include_tag "vendor/mod...
<!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) : "OK Councillr" %></title> <%= stylesheet_link_tag "application" %> <%= javascript_include_tag "vendor/mod...
Add Logo & Navigation Bar In Header
Add Logo & Navigation Bar In Header
HTML+ERB
mit
CivicHaxx/ok_councillr,CivicHaxx/ok_councillr,CivicHaxx/ok_councillr
907f4c2e861f00cb3e0673fd864379e02f2fae7a
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html lang="<%= I18n.locale %>"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>BadgeApp</title> <%= favicon_link_tag %> <%= stylesheet_link_tag 'application', media: 'all' %...
<!DOCTYPE html> <html lang="<%= I18n.locale %>"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1"> <%= csrf_meta_tags %> <title>BadgeApp</title> <%= favicon_link_tag %> <%= stylesheet_link_tag 'appl...
Move CSRF meta tags to very early in application HTML
Hardening: Move CSRF meta tags to very early in application HTML Move the CSRF meta tags so they are very early in sent HTML. This is a hardening measure; this way, even if there's an error in the later code (e.g., that allows an attacker to insert a comment or other text), it cannot override or control the CSRF meta ...
HTML+ERB
mit
linuxfoundation/cii-best-practices-badge,yannickmoy/cii-best-practices-badge,yannickmoy/cii-best-practices-badge,linuxfoundation/cii-best-practices-badge,linuxfoundation/cii-best-practices-badge,coreinfrastructure/best-practices-badge,coreinfrastructure/best-practices-badge,yannickmoy/cii-best-practices-badge,coreinfra...
ee0aac5d5381ec150ab65224540aeeb70514f39a
app/views/open_conference_ware/proposals/create.html.erb
app/views/open_conference_ware/proposals/create.html.erb
<p><strong>Thanks for submitting <%= link_to "your proposal", proposal_path(@proposal) %> to Open Source Bridge!</strong></p> <h3>Next Steps</h3> <p>You'll hear back from us after March 9th, when proposal submissions close.</p> <h4>Get to Portland</h4> <p>Check out the <a href='/attend/'>attend</a> page for useful ...
<p><strong>Thank you for submitting <%= link_to "your proposal", proposal_path(@proposal) %> to <%= @event.title %>!</strong></p> <h3>Next Steps</h3> <p>You'll hear back from us after <%= @event.deadline.to_date.to_s(:long) %>, when proposal submissions close.</p>
Remove OSB-specific copy from proposal "thank you" page
Remove OSB-specific copy from proposal "thank you" page Closes #73
HTML+ERB
mit
mynameisfashanu/openconferenceware,osbridge/openconferenceware,osbridge/openconferenceware,mynameisfashanu/openconferenceware,ondrocks/openconferenceware,mynameisfashanu/openconferenceware,mynameisfashanu/openconferenceware,ondrocks/openconferenceware,osbridge/openconferenceware,ondrocks/openconferenceware,osbridge/ope...
94e2042f69ea6b2b6a0c13893c0102dd6fadecc6
site/source/index.html.erb
site/source/index.html.erb
--- title: UofT Enrolment Charts --- <h1>UofT Enrolment Charts</h1> <div id="chart"></div> <section class="courses"> <% data.charts[0].contents.each do |dir| %> <% unless dir.contents.empty? %> <details class="courses__dept"> <summary><%= dir.name %></summary> <ul> <% dir.conten...
--- title: UofT Enrolment Charts --- <h1>UofT Enrolment Charts</h1> <div id="chart"></div> <section class="courses"> <% data.charts[0].contents.each do |dir| %> <% unless dir.contents.empty? %> <details class="courses__dept"> <summary><%= dir.name %></summary> <ul> <% dir.conten...
Include update date/time in website footer.
Include update date/time in website footer.
HTML+ERB
mit
arkon/uoft-enrolment-charts,arkon/uoft-enrolment-charts,arkon/uoft-enrolment-charts,arkon/uoft-enrolment-charts,arkon/uoft-enrolment-charts
4f8c36bed05914647357f8751d3406111baa2f7c
lib/matross/templates/unicorn/unicorn.rb.erb
lib/matross/templates/unicorn/unicorn.rb.erb
app_path = "<%= current_path %>" working_directory "#{app_path}" pid "#{app_path}/tmp/pids/unicorn.pid" stderr_path "#{app_path}/log/unicorn.log" stdout_path "#{app_path}/log/unicorn.log" listen "/tmp/unicorn.sock" worker_processes <%= unicorn_workers %> ti...
app_path = "<%= current_path %>" working_directory "#{app_path}" pid "#{app_path}/tmp/pids/unicorn.pid" listen "/tmp/unicorn.sock" worker_processes <%= unicorn_workers %> timeout 60 preload_app true before_fork do |server, worker| if defined?(ActiveR...
Use upstart to log unicorn
Use upstart to log unicorn - With upstart we get free log rotation through copytruncate of output of stderr and stdout
HTML+ERB
mit
innvent/matross
080e2b60b817660c430de603a9084f09d12572a8
cookbooks/rs_utils/templates/default/collectd.config.erb
cookbooks/rs_utils/templates/default/collectd.config.erb
# # Config file for collectd, version 4. # # Managed by RightScale # DO NOT EDIT BY HAND # Hostname "<%= @instance_uuid %>" Interval 20 ReadThreads 5 LoadPlugin syslog <Plugin syslog> LogLevel info </Plugin> LoadPlugin network <Plugin network> Server "<%= @sketchy_hostname %>" "3011" </Plugin> LoadPlugin inte...
# # Config file for collectd, version 4. # # Managed by RightScale # DO NOT EDIT BY HAND # Hostname "<%= @instance_uuid %>" Interval 20 ReadThreads 5 LoadPlugin syslog <Plugin syslog> LogLevel info </Plugin> LoadPlugin network <Plugin network> Server "<%= @sketchy_hostname %>" "3011" </Plugin> LoadPlugin inte...
Add missing line break EOF.
Add missing line break EOF.
HTML+ERB
mit
Promoboxx/cookbooks_public,Promoboxx/cookbooks_public,Promoboxx/cookbooks_public
5674cec224ecb2d6517620306249a3cf8095ee3b
app/views/shared/_date_picker_javascript.html.erb
app/views/shared/_date_picker_javascript.html.erb
<script type='text/javascript'> function makeDatePickers () { $('#trip_pickup_time, #trip_appointment_time, [data-behavior=date-time-picker]').datetimepicker({ ampm: true, hourMin: 8, hourMax: 18, hourGrid: 3, minuteGrid: 15, timeFormat: 'hh:mm t', dateFormat: 'D yy-mm-dd', showOn: "button", ...
<script type='text/javascript'> function makeDatePickers () { $('#trip_pickup_time, #trip_appointment_time, [data-behavior=date-time-picker]').datetimepicker({ ampm: true, stepMinute: 5, stepHour: 1, hourMin: 8, hourMax: 18, hourGrid: 2, minuteGrid: 10, timeFormat: 'h...
Make datetime picker more friendly
Make datetime picker more friendly
HTML+ERB
agpl-3.0
rideconnection/ridepilot,camsys/ridepilot,camsys/ridepilot,rideconnection/ridepilot,rideconnection/ridepilot,camsys/ridepilot
b5b58cdd27ce02d9d8b8a77607a5087461b05777
modules/govuk_jenkins/templates/jobs/whitehall_run_broken_link_checker.yaml.erb
modules/govuk_jenkins/templates/jobs/whitehall_run_broken_link_checker.yaml.erb
--- - job: name: whitehall_run_broken_link_checker display-name: whitehall_run_broken_link_checker project-type: freestyle description: "<p>Triggers the broken link checker rake task on whitehall-backend-1.</p>" builders: - shell: | <%- if scope.lookupvar('::aws_migration') %> ...
--- - job: name: whitehall_run_broken_link_checker display-name: whitehall_run_broken_link_checker project-type: freestyle description: "<p>Triggers the broken link checker rake task on whitehall-backend-1.</p>" builders: - shell: | ssh deploy@$(govuk_node_list -c whitehall_backe...
Remove conditional from the broken link checker job
Remove conditional from the broken link checker job The indentation and position of the command is wrong. Rather than trying to figure out how to layout the erb, lets try removing the conditional and changing the behaviour not to specify a machine. I've had a quick look at the rake task being run, and it doesn't look ...
HTML+ERB
mit
alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet
d2456f89ddce3d46dc1496705f711cf9f9581224
app/views/index.erb
app/views/index.erb
<div class="tabs"> <span class="fl-l">Top Questions</span> <ul> <li class="active">newest</li> <li>votes</li> <li>comments</li> <li>unanswered</li> </ul> </div> <% @questions.each do |question| %> <div class="listing"> <div class="statbox"> <p><%= question.v...
<div class="tabs"> <span class="fl-l">Top Questions</span> <ul> <li class="active">newest</li> <li>votes</li> <li>comments</li> <li>unanswered</li> </ul> </div> <% @questions.each do |question| %> <div class="listing"> <div class="statbox"> <p><%= question.v...
Change to question pathway; logo now links to website front page
Change to question pathway; logo now links to website front page
HTML+ERB
mit
chi-dragonflies-2015/stack-underflow,chi-dragonflies-2015/stack-underflow,chi-dragonflies-2015/stack-underflow
da3e62846bc0bb4f8bb2b32dfa69d6b8427c4ecd
app/views/fonelator/webhooks/twilio_voice.html.erb
app/views/fonelator/webhooks/twilio_voice.html.erb
<?xml version="1.0" encoding="UTF-8"?> <Response> <Dial> <% if ENV["TWILIO_FORWARD_SIP"] %> <Sip><%= ENV["TWILIO_FORWARD_SIP"] %></Sip> <% else %> <Number><%= ENV["TWILIO_FORWARD_NUMBER"] %></Number> <% end %> </Dial> </Response>
<?xml version="1.0" encoding="UTF-8"?> <Response> <Dial> <% if ENV["TWILIO_FORWARD_SIP"] %> <Sip username="<%= TWILIO_FORWARD_SIP_USERNAME %>" password="<%= TWILIO_FORWARD_SIP_PASSWORD %>"> <%= ENV["TWILIO_FORWARD_SIP"] %> </Sip> <% else %> <Number><%= ENV["TWILIO_FORWARD_NUMBER"] %>...
Add username and password for SIP
Add username and password for SIP
HTML+ERB
mit
codelation/fonelator,codelation/fonelator
d00e5294ab71b04fef66b4d2db3d10c4c6927dcb
app/views/admin/features/select_ancestor.html.erb
app/views/admin/features/select_ancestor.html.erb
<div> <h1>Please select the Subject in the hierarchy tree where you would like to add your new Subject</h1> </div> <div id="relation_tree_container"> </div> <%= javascript_include_tag 'kmaps_engine/kmaps_fancytree' %> <%= javascript_on_load do %> $("#relation_tree_container").kmapsFancytree({ featureId: "", ...
<div> <h1>Please select the Subject in the hierarchy tree where you would like to add your new Subject</h1> </div> <div id="relation_tree_container"> </div> <%= javascript_include_tag 'kmaps_engine/kmaps_fancytree' %> <%= javascript_on_load do %> $("#relation_tree_container").kmapsFancytree({ featureId: "", ...
Fix url in select_ancestor partial
Fix url in select_ancestor partial Fixed the link in the tree to redirect to the correct feature.
HTML+ERB
mit
shanti-uva/subjects_engine,shanti-uva/subjects_engine,shanti-uva/subjects_engine
330ddc92e9bf90d6a7cc23ba94110f63d8c8cccf
app/views/rails_admin/main/_form_has_one.html.erb
app/views/rails_admin/main/_form_has_one.html.erb
<% association_name = field.association[:name] child_key = field.association[:child_key].first collection = field.associated_collection.sort_by{|object| object.first} selected = field.value if selected.nil? && params["associations"] selected = params["associations"][child_key.to_param.pluralize].to_i e...
<% association_name = field.association[:name] child_key = field.association[:child_key].first collection = field.associated_collection.sort_by{|object| object.first} selected = field.value if selected.nil? && params["associations"] selected = params["associations"][child_key.to_param.pluralize].to_i e...
Fix has one association to render like belongs to in form
Fix has one association to render like belongs to in form
HTML+ERB
mit
allori/rails_admin,sideci-sample/sideci-sample-rails_admin,VoroninNick/rails_admin_sigma,fjg/rails_admin,ubik86/rails_admin,iangels/rails_admin,ecielam/rails_admin,vincentwoo/rails_admin,PhilipCastiglione/rails_admin,FeipingHunag/admin,rayzhng/rails_admin,allori/rails_admin,ernestoe/rails_admin,engel/rails_admin,iangel...
57bbf9fa8df61266d391901f89a605d7a8d689bf
app/views/travel_advice/_country_summary.html.erb
app/views/travel_advice/_country_summary.html.erb
<header> <h1>Summary</h1> </header> <ul class="country-metadata"> <li><div class="label">Still current at:</div> <%= Date.today.strftime("%e %B %Y") %></li> <li><div class="label">Updated:</div> <%= publication.updated_at.strftime("%e %B %Y") %></li> <li><div class="label">Description:</div> <%= simple_format ...
<header> <h1>Summary</h1> </header> <ul class="country-metadata"> <li><div class="label">Still current at:</div> <%= Date.today.strftime("%e %B %Y") %></li> <li><div class="label">Updated:</div> <%= publication.updated_at.strftime("%e %B %Y") %></li> <li><%= simple_format publication.change_description %></li>...
Remove description label from change description.
Remove description label from change description. It's unnecessary, and looks better without.
HTML+ERB
mit
alphagov/frontend,alphagov/frontend,alphagov/frontend,alphagov/frontend
0682bc9c193f7ba08e340e7c846cc34c80827c47
app/views/discover/updates.html.erb
app/views/discover/updates.html.erb
<% title "What&#39;s happening in #{params[:filter] || 'the community'}" %> <% provide(:description, "All recent #{params[:filter]} activity across the community built Assembly products.") %> <% activate_nav! :platform_updates %> <%= render 'shared/navbar' %> <style> body { background-color: #F5F5F4; } </sty...
<% title "What's happening in #{params[:filter] || 'the community'}" %> <% provide(:description, "All recent #{params[:filter]} activity across the community built Assembly products.") %> <% activate_nav! :platform_updates %> <%= render 'shared/navbar' %> <%= react_component 'NewsFeed', url: discover_path(action: '...
Fix title in What's Happening page
Fix title in What's Happening page
HTML+ERB
agpl-3.0
lachlanjc/meta,lachlanjc/meta,assemblymade/meta,assemblymade/meta,assemblymade/meta,assemblymade/meta,lachlanjc/meta,lachlanjc/meta
bb11d46cfe3faa304c5c72ec4850839ab2780da1
app/views/events/show_quiz.html.erb
app/views/events/show_quiz.html.erb
<h1><%= @wine_bringer %>'s Wine</h1> <%= form_for @tasting do |f| %> <% if @wine.color == 'red' %> <%= render 'red_wine' %> <% else %> <%= render 'white_wine' %> <% end %> <div class="card"> <label for="tasting_notes">Tasting Notes</label><br> <textarea name="tasting_notes" row...
<h1><%= @wine_bringer %>'s Wine</h1> <%= form_for @tasting do |f| %> <h3>Observations</h3> <% if @wine.color == 'red' %> <%= render 'red_wine' %> <% else %> <%= render 'white_wine' %> <% end %> <div class="card"> <label for="tasting_notes">Tasting Notes</label><br> <textarea ...
Add card to tasting notes
Add card to tasting notes
HTML+ERB
mit
mud-turtles-2014/palate,mud-turtles-2014/palate
d472aa8ec948111f948744360a943a789f81cfc8
app/views/pages/push-react.html.erb
app/views/pages/push-react.html.erb
<h2>Push React: Under Construction!</h2> <p> <strong>Objective</strong>: Simple example of the Web Push API through Service Worker. Send notifications to users even when the page is not open. </p> <div class="callout"> <div id="push-react-app"></div> </div> <script type="text/javascript"> var publicKey =...
<h2>Push React</h2> <p> <strong>Objective</strong>: Demo of push button toggle to subscribe/unsubscribe from push notifications through Service Worker. Button controls are rendered using React. </p> <div class="callout"> <div id="push-react-app"></div> </div> <script type="text/javascript"> var publicKey...
Copy change: push-react demo now functional
Copy change: push-react demo now functional
HTML+ERB
mit
rossta/serviceworker-rails-sandbox,rossta/serviceworker-rails-sandbox,rossta/serviceworker-rails-sandbox,rossta/serviceworker-rails-sandbox
13a5835cd1aba1df0ae3103edfb8e1aaeb969548
app/views/restaurants/show.html.erb
app/views/restaurants/show.html.erb
<fieldset> <legend> <h3>Restaurant Page</h3> </legend> </br> <ul> <li> <b>Restaurant Name:</b>&ensp; <%= @restaurant.name %> </li> <br/> <li> <b>Cuisine Type(s):</b>&ensp; <!--show ALL cuisines from ALL reviews of specific restaurant--> <%= @restaurant.cuisines.map{|cuisine| cuisine.name}.join...
<fieldset> <legend> <h3>Restaurant Page</h3> </legend> </br> <ul> <li> <b>Restaurant Name:</b>&ensp; <%= @restaurant.name %> </li> <br/> <li> <b>Cuisine Type(s):</b>&ensp; <!--show ALL cuisines from ALL reviews of specific restaurant--> <%= @restaurant.cuisines.map{|cuisine| cuisine.name}.join...
Add _blank to pen link in new tab/window
Add _blank to pen link in new tab/window
HTML+ERB
mit
jffernan/rails-my-restaurant-review,jffernan/rails-my-restaurant-review,jffernan/rails-my-restaurant-review
875ddfd0ee404f2229a58120dd350c1d3b87507b
lib/assets/junit.xml.erb
lib/assets/junit.xml.erb
<?xml version="1.0" encoding="UTF-8"?> <% number_of_tests = 0 %> <% number_of_failures = 0 %> <% @results.each { |a| number_of_tests += a[:number_of_tests] } %> <% @results.each { |a| number_of_failures += a[:number_of_failures] } %> <testsuites tests="<%= number_of_tests %>" failures="<%= number_of_failures %>"> <%...
<?xml version="1.0" encoding="UTF-8"?> <% number_of_tests = 0 %> <% number_of_failures = 0 %> <% @results.each { |a| number_of_tests += a[:number_of_tests] } %> <% @results.each { |a| number_of_failures += a[:number_of_failures] } %> <testsuites tests="<%= number_of_tests %>" failures="<%= number_of_failures %>"> <%...
Test for target_name, if it is not there, use test_name instead.
Test for target_name, if it is not there, use test_name instead.
HTML+ERB
mit
MarnixArnold/trainer,KrauseFx/trainer,KrauseFx/trainer,MarnixArnold/trainer
746ad3e7ad6edebdc56fed1f600dbc25f08ab7d4
modules/hdo/templates/nginx-static-vhost.conf.erb
modules/hdo/templates/nginx-static-vhost.conf.erb
<% if @ssl %> server { listen 80; server_name <%= @server_name %>; return 301 https://$server_name$request_uri; } <% end %> server { <% if @ssl %> <%= scope.function_template(['hdo/nginx-ssl-conf.erb']) %> <% else %> listen 80; <% end %> server_name <%= @server_na...
<% if @ssl %> server { listen 80; server_name <%= @server_name %>; return 301 https://$server_name$request_uri; } <% end %> server { <% if @ssl %> <%= scope.function_template(['hdo/nginx-ssl-conf.erb']) %> <% else %> listen 80; <% end %> server_name <%= @server_na...
Fix separate logs for static sites
Fix separate logs for static sites
HTML+ERB
bsd-3-clause
holderdeord/hdo-puppet,holderdeord/hdo-puppet,holderdeord/hdo-puppet,holderdeord/hdo-puppet,holderdeord/hdo-puppet
74fa207d169bf18f6bb1d7b6022407c34635a3a9
app/views/book_discussions/index.html.erb
app/views/book_discussions/index.html.erb
<%= content_for :breadcrumbs do %> <%= header_breadcrumbs %> <%= breadcrumb_list_item(t(:discussions), 'last') %> <% end %> <%= content_for :extra_filters do %> <%= discussion_dropdown_filter :language, discussions_languages(@discussions), true do |language_filter| %> <%= language_filter.capitalize %> <% end...
<%= content_for :breadcrumbs do %> <%= header_breadcrumbs %> <%= breadcrumb_list_item(t(:discussions), 'last') %> <% end %> <%= content_for :extra_filters do %> <%= discussion_dropdown_filter :language, discussions_languages(@discussions), true do |language_filter| %> <%= language_filter.capitalize %> <% end...
Change book name for forum translation in book discussions
Change book name for forum translation in book discussions
HTML+ERB
agpl-3.0
mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory
b0dfe7dc4c835a475e97c6efc65d6fc5a4773ab2
app/views/cookbook_versions/show.html.erb
app/views/cookbook_versions/show.html.erb
<%= provide(:title, "#{@cookbook.name} Cookbook") %> <%= provide(:description, "#{@cookbook.name} Cookbook (#{@version.version}) #{@version.supported_platforms.map(&:name).join(', ')}".strip) %> <div class="page cookbook_show" data-equalizer> <%= render 'cookbooks/main', cookbook: @cookbook, version: @version, cookb...
<%= provide(:title, "#{@cookbook.name} Cookbook") %> <%= provide(:description, "#{@cookbook.name} Cookbook (#{@version.version}) #{@version.supported_platforms.map(&:name).join(', ')}".strip) %> <div class="page resource cookbook_show" data-equalizer> <%= render 'cookbooks/main', cookbook: @cookbook, version: @versi...
Add resource class to cookbook version show
Add resource class to cookbook version show The resource class contains a bunch of useful styles for resource show views without things just don't look quite right.
HTML+ERB
apache-2.0
leftathome/supermarket,juliandunn/supermarket,tas50/supermarket,chef/supermarket,dpnl87/supermarket,leftathome/supermarket,chef/supermarket,dpnl87/supermarket,rafaelmagu/supermarket,robbkidd/supermarket,chef/supermarket,chef/supermarket,tas50/supermarket,nellshamrell/supermarket,dpnl87/supermarket,nellshamrell/supermar...
1be8f46a73c3d2dde7307e76448e334465591bfc
app/views/shared/_traffic_lights.html.erb
app/views/shared/_traffic_lights.html.erb
<button type="button" id="traffic-lights-button" class="info-button">traffic-lights</button> <div id="traffic-lights-dialog" style="display:none;"> <%= render partial: 'shared/traffic_lights_bulb_info' %> <%= render partial: 'shared/traffic_lights_click_info' %> <div class="info">Tests must complete in <%= @mani...
<button type="button" id="traffic-lights-button" class="info-button">traffic-lights</button> <div id="traffic-lights-dialog" style="display:none;"> <%= render partial: 'shared/traffic_lights_bulb_info' %> <%= render partial: 'shared/traffic_lights_click_info' %> </div> <script> 'use strict'; $(() => { cd.traff...
Use JS to get manifest.max_seconds value in traffic-lights dialog info.
Use JS to get manifest.max_seconds value in traffic-lights dialog info.
HTML+ERB
bsd-2-clause
cyber-dojo/web,cyber-dojo/web,cyber-dojo/web,cyber-dojo/web
e9440ac7349e649bb12039a66c52290865e8c50c
cookbooks/geoevents/templates/default/geoevents.ini.erb
cookbooks/geoevents/templates/default/geoevents.ini.erb
[uwsgi] virtualenv = <%= node['geoevents']['virtualenv']['location'] %> logto = <%= File.join(node['geoevents']['logging']['location'] , 'geoevents.log') %> log-maxsize = 20971520 #uid = www-data #gid = www-data # master master = true #master-as-root = true # maximum number of processes p...
[uwsgi] virtualenv = <%= node['geoevents']['virtualenv']['location'] %> logto = <%= File.join(node['geoevents']['logging']['location'] , 'geoevents.log') %> log-maxsize = 20971520 buffer-size=32768 #uid = www-data #gid = www-data # master master = true #master-as-root = true # maximum nu...
Update to add more memory to nginx process
Update to add more memory to nginx process
HTML+ERB
mit
ngageoint/geoevents-chef-installer,ngageoint/geoevents-chef-installer
8938cbd6a6bc5862196dc9be154bbeb553bb63b7
lib/brief_mail/views/deploy_notification.txt.erb
lib/brief_mail/views/deploy_notification.txt.erb
<%= @config.application || "Application" %> has been deployed to <%= @config.stage || "(unknown stage)" %> @ <%= Time.now %>. ## Paths Previous: <%= @config.previous_release %> @ <%= @config.previous_revision %> Current: <%= @config.current_release %> @ <%= @config.current_revision %> ## Commits since last deploy (...
<%= @config.application || "Application" %> has been deployed to <%= @config.stage || "(unknown stage)" %> @ <%= Time.now %>. ## Paths Previous: <%= @config.previous_release %> @ <%= @config.previous_revision %> Current: <%= @config.current_release %> @ <%= @config.current_revision %> ## Commits since last deploy (...
Fix trailing newline for log output (again).
views/deploy_notifiation: Fix trailing newline for log output (again).
HTML+ERB
mit
sce/brief_mail
78a0d86b0a4e9ce791f684d424f8aca96ff6ff92
actionpack/lib/action_dispatch/middleware/templates/rescues/routing_error.erb
actionpack/lib/action_dispatch/middleware/templates/rescues/routing_error.erb
<h1>Routing Error</h1> <p><pre><%=h @exception.message %></pre></p> <% unless @exception.failures.empty? %> <p> <h2>Failure reasons:</h2> <ol> <% @exception.failures.each do |route, reason| %> <li><code><%=h route.inspect.gsub('\\', '') %></code> failed because <%=h reason.downcase %></li> <% en...
<header> <h1>Routing Error</h1> </header> <div id="container"> <h2><%=h @exception.message %></h2> <% unless @exception.failures.empty? %> <p> <h2>Failure reasons:</h2> <ol> <% @exception.failures.each do |route, reason| %> <li><code><%=h route.inspect.gsub('\\', '') %></code> failed...
Add new style to Routing Error page
Add new style to Routing Error page
HTML+ERB
mit
MichaelSp/rails,flanger001/rails,illacceptanything/illacceptanything,maicher/rails,shioyama/rails,kmcphillips/rails,starknx/rails,koic/rails,iainbeeston/rails,illacceptanything/illacceptanything,rossta/rails,alecspopa/rails,gfvcastro/rails,yhirano55/rails,rbhitchcock/rails,mohitnatoo/rails,yahonda/rails,arunagw/rails,l...
8e952fd241513e792510c077218806ab10f29b49
app/assets/javascripts/preview.js.erb
app/assets/javascripts/preview.js.erb
$(document).ready(function(){ var Previewer = { preview: function(content, output) { $.ajax({ type: 'POST', url: "/trade-tariff-admin/preview", data: { govspeak: content.val() }, dataType: 'json' }).success(function(data){ output.html(data['govspeak']); })...
$(document).ready(function(){ var Previewer = { preview: function(content, output) { $.ajax({ type: 'POST', url: "/trade-tariff-admin/preview", beforeSend: function(xhr) {xhr.setRequestHeader('X-CSRF-Token', $('meta[name="csrf-token"]').attr('content'))}, data: { govspeak: co...
Add X-CSRF-Token to ajax request
Add X-CSRF-Token to ajax request
HTML+ERB
mit
bitzesty/trade-tariff-admin,alphagov/trade-tariff-admin,alphagov/trade-tariff-admin,alphagov/trade-tariff-admin,bitzesty/trade-tariff-admin,bitzesty/trade-tariff-admin,alphagov/trade-tariff-admin,bitzesty/trade-tariff-admin
3cc4d29ecfd9a87361615cd964fd5378d2b38db9
app/views/grades/_team_title.html.erb
app/views/grades/_team_title.html.erb
<%= render :partial => 'team_charts', :locals => {:prefix => nil} %> <TR class="team" <% if prefix %>id='<%= prefix %>_<%= num + 4 %>' style="display:none"<% end %>> <th style="text-align:center;">&nbsp;</th> <th style="text-align:center;" COLSPAN="<%= col_outer_th_span_value %>">Submitted work</th> <th style="text...
<%if !@avg_of_avg.nan?%> <%= render :partial => 'team_charts', :locals => {:prefix => nil} %> <%end%> <TR class="team" <% if prefix %>id='<%= prefix %>_<%= num + 4 %>' style="display:none"<% end %>> <th style="text-align:center;">&nbsp;</th> <th style="text-align:center;" COLSPAN="<%= col_outer_th_span_value %>">Subm...
Fix the NaN error when view grades on instructors' end.
Fix the NaN error when view grades on instructors' end.
HTML+ERB
mit
sid5788/expertiza,urmilparikh95/expertiza,KunmiaoYang/expertiza,urmilparikh95/expertiza,urmilparikh95/expertiza,redsock88/expertiza,rmmaily/expertiza,joshio1/expertiza,rmmaily/expertiza,KunmiaoYang/expertiza,joshio1/expertiza,mhhassan/expertiza,KunmiaoYang/expertiza,kira0992/expertiza,joshio1/expertiza,kira0992/experti...
15861558bcd7ce5714bb7f729be960e2be0ee871
app/views/interventions/create.js.erb
app/views/interventions/create.js.erb
<%- if @intervention.present? %> var data = { name: "<%= @intervention.name %>", comment: "<%= @intervention.comment %>", goal: "<%= @intervention.goal %>", start_date: "<%= @intervention.start_date.strftime('%B %e, %Y') %>", end_date: "<%= @intervention.end_date.strftime('%B %e, %Y') if @interven...
<%- if @intervention.present? %> var data = { name: "<%= @intervention.name %>", comment: "<%= @intervention.comment %>", goal: "<%= @intervention.goal %>", start_date: "<%= @intervention.start_date.strftime('%B %e, %Y') %>", end_date: "<%= @intervention.end_date.strftime('%B %e, %Y') if @interven...
Reset intervention form after submit
Reset intervention form after submit + Resolves https://github.com/codeforamerica/somerville-teacher-tool/issues/312#issuecomment-150334754 + #312
HTML+ERB
mit
codeforamerica/somerville-teacher-tool,erose/studentinsights,erose/studentinsights,jhilde/studentinsights,studentinsights/studentinsights,codeforamerica/somerville-teacher-tool,erose/studentinsights,studentinsights/studentinsights,jhilde/studentinsights,erose/studentinsights,jhilde/studentinsights,codeforamerica/somerv...
b6a6dec6a91d3e94a7be55c5cfc015b4524bb5f4
app/views/users/_list_detail.html.erb
app/views/users/_list_detail.html.erb
<li id="user-<%= user.id %>" class="user"> <div class="user-info-block"> <%= link_to user.username, user %> (<%= user.karma %>) </div> </li>
Add sass file for users search
Add sass file for users search
HTML+ERB
bsd-3-clause
calblueprint/bp-news,calblueprint/bp-news,calblueprint/bp-news
027b9d4d431fc3a05716f6aa994630129cf9bca2
source/layouts/layout_with_sidebar.erb
source/layouts/layout_with_sidebar.erb
<% wrap_layout :header_footer_only do %> <div id="toc-heading" class="toc-show fixedsticky"> <a href="#toc" class="toc-show__label js-toc-show" aria-controls="toc"> Table of contents <span class="toc-show__icon"></span> </a> </div> <div class="app-pane__body" data-module="in-page-navigation"> <...
<% wrap_layout :header_footer_only do %> <div id="toc-heading" class="toc-show fixedsticky"> <a href="#toc" class="toc-show__label js-toc-show" aria-controls="toc"> Table of contents <span class="toc-show__icon"></span> </a> </div> <div class="app-pane__body" data-module="in-page-navigation"> <...
Remove duplicate table of contents HTML element
Remove duplicate table of contents HTML element
HTML+ERB
mit
alphagov/govuk-developer-docs,alphagov/govuk-developer-docs,alphagov/govuk-developer-docs,alphagov/govuk-developer-docs
325aff73557751e3216d76eb765682354ee7f529
client/html/index.erb
client/html/index.erb
<article class="index-page"> <div class="banner"> <h1>hike.io</h1> <h2>Find beautiful hikes</h2> </div> <% if settings.development? %> <div class="content"> <input type="text" class="search-box shadow-light" placeholder="Hike or location..." spellcheck="false"> </div> <% end %> </article>
<article class="index-page"> <div class="banner"> <h1>hike.io</h1> <h2>Find beautiful hikes</h2> </div> <div class="content"> <input type="text" class="search-box shadow-light" placeholder="Hike or location..." spellcheck="false"> </div> </article>
Enable search box on homepage.
Enable search box on homepage.
HTML+ERB
mit
zaknelson/hike.io,zaknelson/hike.io,zaknelson/hike.io,zaknelson/hike.io
e3b0f6787f8bb09041a2c2d0c0aaceb245e7669b
templates/crowd.service.erb
templates/crowd.service.erb
[Unit] Description=Atlassian Crowd - Single Sign-On (SSO) and Identity Management After=network.target [Service] Type=forking User=<%= scope.lookupvar('crowd::user') %> PIDFile=<%= scope.lookupvar('crowd::app_dir') %>/apache-tomcat/work/catalina.pid ExecStart=<%= scope.lookupvar('crowd::app_dir') %>/apache-tomcat/bin/...
[Unit] Description=Atlassian Crowd - Single Sign-On (SSO) and Identity Management After=network.target [Service] Type=forking User=<%= scope.lookupvar('crowd::user') %> PIDFile=<%= scope.lookupvar('crowd::app_dir') %>/apache-tomcat/work/crowd.pid ExecStart=<%= scope.lookupvar('crowd::app_dir') %>/apache-tomcat/bin/sta...
Fix PID file for systemd
Fix PID file for systemd Per issue #2, this corrects the filename of the PIDFile for the systemd service.
HTML+ERB
apache-2.0
joshbeard/puppet-crowd,prikkeldraad/puppet-crowd,joshbeard/puppet-crowd,prikkeldraad/puppet-crowd,joshbeard/puppet-crowd,prikkeldraad/puppet-crowd
dec130a80c4947f749782347d03469bd7358c43b
app/views/active_storage/blobs/_blob.html.erb
app/views/active_storage/blobs/_blob.html.erb
<% transformations = { resize: local_assigns[:in_gallery] ? "800x600>" : "1024x768>" } %> <figure class="attachment attachment--<%= blob.representable? ? "preview" : "file" %> attachment--<%= blob.filename.extension %>"> <% if blob.variable? %> <%= image_tag blob.variant(transformations) %> <% elsif blob.previe...
<figure class="attachment attachment--<%= blob.representable? ? "preview" : "file" %> attachment--<%= blob.filename.extension %>"> <% if blob.representable? %> <%= image_tag blob.representation(resize_to_fit: local_assigns[:in_gallery] ? [ 800, 600 ] : [ 1024, 768 ]) %> <% end %> <figcaption class="attachmen...
Use the ASt representation API
Use the ASt representation API
HTML+ERB
mit
rafaelfranca/omg-rails,Erol/rails,schuetzm/rails,fabianoleittes/rails,MSP-Greg/rails,Erol/rails,vipulnsward/rails,bogdanvlviv/rails,Vasfed/rails,gauravtiwari/rails,schuetzm/rails,yahonda/rails,rails/rails,fabianoleittes/rails,esparta/rails,Edouard-chin/rails,yawboakye/rails,Stellenticket/rails,lcreid/rails,kmcphillips/...
29b50877da862b42c5f0d57b5761b21534206bd2
app/views/devise/passwords/_new_form.html.erb
app/views/devise/passwords/_new_form.html.erb
<h2>Forgot your password?</h2> <%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f| %> <%= devise_error_messages! %> <div class="field"> <%= f.label "Digite seu e-mail" %><br /> <%= f.email_field :email, autofocus: true, class: "form-control" %> </...
Add form file for passwords view
[Template] Add form file for passwords view
HTML+ERB
mit
marceloboeira/spread_blood,marceloboeira/spread_blood,SpreadBlood/core,SpreadBlood/core,SpreadBlood/core,marceloboeira/spread_blood
837e4eee1414a992c7dc68a9910a55a9dd4532eb
app/views/images/_edit_mode_controls.html.erb
app/views/images/_edit_mode_controls.html.erb
<div class="edit-mode-controls center l-box"> <% if edit_mode? %> <a href="<%= url_for(params.except(:edit_mode)) %>" alt="Leave edit mode"> <button class="pure-button s-margin">Leave edit mode</button> </a> <button class="pure-button s-margin">Select all</button> <button class="pure-button s-ma...
<div class="edit-mode-controls center l-box"> <% if edit_mode? %> <a href="<%= url_for(params.except(:edit_mode)) %>" alt="Leave edit mode"> <button class="pure-button s-margin">Leave edit mode</button> </a> <button class="pure-button s-margin">Select all</button> <button class="pure-button s-ma...
Add name and value to delete and add to album buttons
Add name and value to delete and add to album buttons
HTML+ERB
mit
Margatroid/uploadstuffto.me,Margatroid/uploadstuffto.me
1c0fc99b6aac5d04e8f20b1801435c19c0f75f3e
alert_templates/prod/diego-unhealthy-cell.json.erb
alert_templates/prod/diego-unhealthy-cell.json.erb
{ "escalation_message": null, "message": "A cell has been reporting unhealthy for 30 minutes or more.\n\nPossible causes:\n- Diego cells can't make basic calls to the garden backend. \n\nEscalation Path: Pivotal Diego Engineering getdiegonow@cfoundry.pagerduty.com\n\n<%= cloudops_pagerduty %> \n\nCreated by: Tushar...
{ "created_at": 1504313458000, "deleted": null, "message": "A cell has been reporting unhealthy for 30 minutes or more.\n\nPossible causes:\n- Diego cells can't make basic calls to the garden backend. \n\nEscalation Path: Pivotal Diego Engineering getdiegonow@cfoundry.pagerduty.com\n \n\nCreated by: Tushar Dadlan...
Change unhealthy.rep alert to Slack notify rather than page
Change unhealthy.rep alert to Slack notify rather than page
HTML+ERB
apache-2.0
pivotal-cf-experimental/datadog-config-oss,pivotal-cf-experimental/datadog-config-oss
1755324f26b5faf6c607c4f9ad0b5c5d844375cf
app/views/devise/passwords/reset_error.html.erb
app/views/devise/passwords/reset_error.html.erb
<% content_for :title, "Passphrase reset" %> <div class="page-title"> <h1>Passphrase reset</h1> </div> <div class="alert alert-warning"> <p>That passphrase reset didn’t work. It may be that you’ve used this passphrase already, or the link you were using has expired or was invalid.</p> <p class="add-top-margin">...
<% content_for :title, "Passphrase reset" %> <div class="page-title"> <h1>Passphrase reset</h1> </div> <div class="alert alert-warning"> <p>That passphrase reset didn’t work. It may be that the link you were using has expired or was invalid.</p> <p class="add-top-margin"><%= link_to 'Try again', new_user_passwo...
Revert "Clearer password reset error message"
Revert "Clearer password reset error message" This reverts commit f7d7647b08fe63b1a597e9d330e9529fcd901b01. The change was made to mitigate the fact that an incorrect password would show an incorrect error. We're fixing the original problem, so this copy can change back again.
HTML+ERB
mit
alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2
fb23fb317138808a4f84eae4b6d3c70c2c5f1506
app/views/krikri/field_value_reports/show.csv.erb
app/views/krikri/field_value_reports/show.csv.erb
<%= @field_value_report.headers.to_csv %><% @field_value_report.enumerate_rows.each do |row| %><%= row.to_csv %><% end %>
<%= raw @field_value_report.headers.to_csv -%> <%- @field_value_report.enumerate_rows.each do |row| -%> <%= raw row.to_csv -%> <%- end %>
Fix issue with unnecessarily escaped HTML entities in CSV reports
Fix issue with unnecessarily escaped HTML entities in CSV reports
HTML+ERB
mit
dpla/KriKri,dpla/KriKri,dpla/KriKri,dpla/KriKri
3202bb5f47f1355bf5c233e984015678d53475e4
gitconfig.erb
gitconfig.erb
[user] name = <%= print("Your Name: "); STDOUT.flush; STDIN.gets.chomp %> email = <%= print("Your Email: "); STDOUT.flush; STDIN.gets.chomp %> [color] ui = auto [core] excludesfile = <%= ENV['HOME'] %>/.gitignore editor = mvim -f [apply] whitespace = nowarn [format] ; pretty = %C(yellow)%h%Cred%d %Creset%...
[user] name = <%= print("Your Name: "); STDOUT.flush; STDIN.gets.chomp %> email = <%= print("Your Email: "); STDOUT.flush; STDIN.gets.chomp %> [color] ui = auto [core] excludesfile = <%= ENV['HOME'] %>/.gitignore editor = mvim -f [apply] whitespace = nowarn [format] ; pretty = %C(yellow)%h%Cred%d %Creset%...
Add git config to force merge commits instead of fast forwarding
Add git config to force merge commits instead of fast forwarding
HTML+ERB
mit
carlosantoniodasilva/dotfiles,carlosantoniodasilva/dotfiles
8b08e8fd7224ed59d014678209ed4cd1a92bded9
app/views/admin/editions/confirm_export.html.erb
app/views/admin/editions/confirm_export.html.erb
<% page_title "Export: #{@filter.page_title}" %> <div class="span8"> <section> <h1>Export as CSV</h1> <p>Please confirm you want to export the documents list. The following will be emailed to <strong><%= current_user.email %></strong>:</p> <ul> <li><%= @filter.page_title %></li> </ul> <for...
<% page_title "Export: #{@filter.page_title}" %> <div class="span8"> <section> <h1>Export as CSV</h1> <p>Please confirm you want to export the documents list. The following will be emailed to <strong><%= current_user.email %></strong>:</p> <ul> <li><%= @filter.page_title %></li> </ul> <%= ...
Use form_tag to add missing CSRF token.
Use form_tag to add missing CSRF token.
HTML+ERB
mit
askl56/whitehall,askl56/whitehall,alphagov/whitehall,YOTOV-LIMITED/whitehall,YOTOV-LIMITED/whitehall,ggoral/whitehall,alphagov/whitehall,robinwhittleton/whitehall,robinwhittleton/whitehall,robinwhittleton/whitehall,hotvulcan/whitehall,askl56/whitehall,ggoral/whitehall,YOTOV-LIMITED/whitehall,robinwhittleton/whitehall,a...
addda088e645bfe2fa38458eca462949b01afe5f
app/views/category/show.erb
app/views/category/show.erb
<h1><strong><%=@category.mood%></strong></h1> <% if @category.mood == "Happy"%> <div class="container" style="background-image: url('http://doge2048.com/meta/doge-600.png')"> <% elsif @category.mood == "Sad"%> <div class="container" style="background-image: url('http://rack.0.mshcdn.com/media/ZgkyMDEzLzA3LzIyL2I0L...
<h1><strong><%=@category.mood%></strong></h1> <ul> <% @messages.each do |message|%> <h2><i><a href="/messages/<%=message.id%>"><%=message.title%></a></i></h2> <p><%=message.content%></p> <% end%> </ul> </div>
Remove mood pics, better style
Remove mood pics, better style
HTML+ERB
mit
rayanb/east_philosophy,rayanb/east_philosophy
2addb7da2869425f11e6808302124505a19d7e96
app/views/problems/show.erb
app/views/problems/show.erb
<%- @title = "#{@problem.subject}" %> <%= render :partial => 'shared/problem_details', :locals => {:show_comment_button => true, :show_questionnaire => false } %>
<%- @title = "#{@problem.subject}" %> <%- if params[:first_time] %> <%- content_for :tracking do %>'<%= raw url_for(params.merge(:location_type => @problem.location_type, :escape => false )) %>'<%- end %> <%- end %> <%= render :partial => 'shared/problem_details', :locals => {:show_comment_button => true, :show_quest...
Set location_type param for tracking.
Set location_type param for tracking.
HTML+ERB
agpl-3.0
mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport
8a047b136563ecabadc6fb59d917f28ee643b649
ci_environment/travis_build_environment/templates/default/etc/environment.sh.erb
ci_environment/travis_build_environment/templates/default/etc/environment.sh.erb
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" JAVA_HOME="<%= node.java.java_home %>" DEBIAN_FRONTEND=noninteractive TRAVIS=true CI=true
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" JAVA_HOME="<%= node.java.java_home %>" DEBIAN_FRONTEND=noninteractive TRAVIS=true CI=true LC_CTYPE=en_US.UTF-8 LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
Make sure LC_* and LANG are set globally
Make sure LC_* and LANG are set globally
HTML+ERB
mit
Acidburn0zzz/travis-cookbooks,vinaykaradia/travis-cookbook-cloned,Distelli/travis-cookbooks,dracos/travis-cookbooks,tianon/travis-cookbooks,Acidburn0zzz/travis-cookbooks,ardock/travis-cookbooks,ljharb/travis-cookbooks,DanielG/travis-cookbooks,tianon/travis-cookbooks,tianon/travis-cookbooks,dstufft/travis-cookbooks,drac...
5de975a78fe7e3851058c9758bb3a98066378ccb
vendor/plugins/authentication/app/views/users/new.html.erb
vendor/plugins/authentication/app/views/users/new.html.erb
<% content_for :header, t('.fill_form') %> <% form_for :user, :url => users_path do |f| -%> <%= f.error_messages %> <div class='field'> <%= f.label :login %> <%= f.text_field :login, :class => 'larger widest' %> </div> <div class='field'> <%= f.label :email %> <%= f.text_field :email, :class => ...
<% content_for :header, t('.fill_form') %> <% form_for :user, :url => users_path do |f| -%> <%= f.error_messages %> <div class='field'> <%= f.label :login %> <%= f.text_field :login, :class => 'larger widest' %> </div> <div class='field'> <%= f.label :email %> <%= f.text_field :email, :class => ...
Revert "Change plugins names to titles and fix error on creating new user"
Revert "Change plugins names to titles and fix error on creating new user" This reverts commit bd8f127ebd799e1176335b429eea5436b18fdbf2.
HTML+ERB
mit
myabc/refinerycms,kritik/portfolio,mdoyle13/haymarket-ref,mdoyle13/haymarket-ref,myabc/refinerycms,kritik/diamond-tours,kritik/diamond-tours,mdoyle13/haymarket-ref,kritik/portfolio,mdoyle13/haymarket-ref
d525ae3c17a93ad64f6ca97181c3a7aba64679be
app/views/tags/show.html.erb
app/views/tags/show.html.erb
<h3>Tag <%= @tag %></h3> <p> <b>Tomatoes:</b> <%= pluralize(@tomatoes.size, 'tomato') %> </p> <%= link_to 'Back', tags_path %>
<h3>Tag <%= @tag %></h3> <p> <b>Tomatoes:</b> <%= pluralize(@tomatoes.size, 'tomato') %> </p> <p> <b>Total duration:</b> <%= humanize(@tomatoes.size*Tomato::DURATION) %> </p> <%= link_to 'Back', tags_path %>
Add total duration detail to tag show
Add total duration detail to tag show
HTML+ERB
mit
tomatoes-app/tomatoes,potomak/tomatoes,potomak/tomatoes,tomatoes-app/tomatoes,tomatoes-app/tomatoes,potomak/tomatoes,tomatoes-app/tomatoes
a36de3a8ae8dc11e635eb1f6982f07950e7935e5
jobs/nfsbrokerpush/templates/manifest.yml.erb
jobs/nfsbrokerpush/templates/manifest.yml.erb
--- applications: - name: "<%= p('nfsbrokerpush.app_name') %>" buildpacks: - binary_buildpack routes: - route: "<%= p('nfsbrokerpush.app_name') + '.' + p('nfsbrokerpush.app_domain') %>" memory: "<%= p('nfsbrokerpush.memory_in_mb') %>M" env: USERNAME: "<%= p('nfsbrokerpush.username') %>" PASSWORD: "<...
--- applications: - name: "<%= p('nfsbrokerpush.app_name') %>" buildpacks: - binary_buildpack routes: - route: "<%= p('nfsbrokerpush.app_name') + '.' + p('nfsbrokerpush.app_domain') %>" memory: "<%= p('nfsbrokerpush.memory_in_mb') %>M" env: USERNAME: "<%= p('nfsbrokerpush.username') %>" PASSWORD: "<...
Remove unused db properties from manifest
Remove unused db properties from manifest [#168959409](https://www.pivotaltracker.com/story/show/168959409) Co-authored-by: Dennis Leon <84f467a5e250ceeacb4292b28bf3ac3f822ea696@pivotal.io> Co-authored-by: Lisa Cho <53c7312eb9f02149a2ed58fc14d78d4142caa3c0@pivotal.io>
HTML+ERB
apache-2.0
cloudfoundry-incubator/nfs-volume-release,cloudfoundry-incubator/nfs-volume-release,cloudfoundry-incubator/nfs-volume-release
48db425a2ccd87b0ac7fba6e6a89eacd5580cc1f
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>KOBRA</title> <%= javascript_include_tag :defaults %> <%= stylesheet_link_tag 'blueprint/screen', :media => 'all' %> <%= stylesheet_link_tag 'blueprint/print', :media => 'print' %> <!--[if lt IE 8]> <%= stylesheet_link_tag 'blueprint/ie', :media => 'screen, projection'%>...
<!DOCTYPE html> <html> <head> <title>KOBRA</title> <%= javascript_include_tag :defaults %> <%= stylesheet_link_tag 'blueprint/screen', :media => 'all' %> <%= stylesheet_link_tag 'blueprint/print', :media => 'print' %> <!--[if lt IE 8]> <%= stylesheet_link_tag 'blueprint/ie', :media => 'screen, projection'%>...
Make sure conten is below message
Make sure conten is below message
HTML+ERB
mit
karservice/kobra,karservice/kobra,karservice/kobra,karservice/kobra
e285ba1b788dfccae53094603f72fa8915f20a86
app/views/root/_location_form.html.erb
app/views/root/_location_form.html.erb
<div class="find-nearest"> <form method="post" id="local-locator-form" class="find-location-for-<%= format %>"> <fieldset> <legend class="visuallyhidden">Postcode lookup</legend> <% if @edition %> <input type="hidden" name="edition" value="<%= @edition %>"> <% end %> <% if @locati...
<div class="find-nearest"> <form method="post" id="local-locator-form" class="find-location-for-<%= format %>"> <fieldset> <legend class="visuallyhidden">Postcode lookup</legend> <% if @edition %> <input type="hidden" name="edition" value="<%= @edition %>"> <% end %> <% if @locati...
Add postcode finder link to view
Add postcode finder link to view Postcode Finder opens in new tab as not to close the current page. Exit link tracking is being provided by `static` app's inclusion of govuk_frontend_toolkit
HTML+ERB
mit
alphagov/frontend,alphagov/frontend,alphagov/frontend,alphagov/frontend
cd246480fa81da04043278604dd9f7c77b721876
templates/default/module/html/box_info.erb
templates/default/module/html/box_info.erb
<% n = 1 %> <div id="info_box"> <dl class="box"> <% [[:class, "Extends"], [:instance, "Includes"]].each do |scope, name| %> <% if (mix = object.mixins(scope)).size > 0 %> <dt class="r<%=n%>"><%= name %>:</dt> <dd class="r<%=n%>"><%= mix.sort_by {|o| o.path }.map {|o| linkify(o) }.join(", ") ...
<% n = 1 %> <div id="info_box"> <dl class="box"> <% [[:class, "Extended by"], [:instance, "Includes"]].each do |scope, name| %> <% if (mix = object.mixins(scope)).size > 0 %> <dt class="r<%=n%>"><%= name %>:</dt> <dd class="r<%=n%>"><%= mix.sort_by {|o| o.path }.map {|o| linkify(o) }.join(",...
Rename "Extends" to "Extended by" for class mixins in templates.
Rename "Extends" to "Extended by" for class mixins in templates.
HTML+ERB
mit
dreamcat4/yard-slipstream,dreamcat4/yard-slipstream
64cda34205c584490cd71d773c4ee34631ae0faf
core/lib/generators/refinery/form/templates/spec/features/refinery/namespace/singular_name_spec.rb.erb
core/lib/generators/refinery/form/templates/spec/features/refinery/namespace/singular_name_spec.rb.erb
# encoding: utf-8 require "spec_helper" module Refinery module <%= namespacing %> describe "<%= plural_name %>", type: :feature do before(:each) do Refinery::<%= namespacing %>::Engine::load_seed end describe "Create <%= singular_name %>" do before do visit refinery...
# encoding: utf-8 require "spec_helper" module Refinery module <%= namespacing %> describe "<%= plural_name %>", type: :feature do before(:each) do Refinery::<%= namespacing %>::Engine::load_seed end describe "Create <%= singular_name %>" do before do visit refinery...
Fix deprecated test assertion (should vs expect)
Fix deprecated test assertion (should vs expect)
HTML+ERB
mit
mabras/refinerycms,anitagraham/refinerycms,stefanspicer/refinerycms,stefanspicer/refinerycms,anitagraham/refinerycms,mabras/refinerycms,mabras/refinerycms,stefanspicer/refinerycms,gwagener/refinerycms,gwagener/refinerycms,Eric-Guo/refinerycms,Eric-Guo/refinerycms,anitagraham/refinerycms,refinery/refinerycms,Eric-Guo/re...
a82d44d282bf3887231681e2e3a61833ffeba439
app/views/refinery/admin/settings/_setting.html.erb
app/views/refinery/admin/settings/_setting.html.erb
<li class='clearfix record <%= cycle("on", "on-hover") %>'> <span class='title'> <%= t(setting.name, :scope => 'refinery.admin.settings.form.title', :default => setting.title) %> <span class="preview">- <%= truncate(setting.value.to_s, :length => 40) %></span> </span> <span class='actions'> <%= link_t...
<li class='clearfix record <%= cycle("on", "on-hover") %>'> <span class='title'> <%= t(setting.name, :scope => 'refinery.admin.settings.form.title', :default => setting.title) %> <span class="preview">- <%= truncate(setting.value.to_s, :length => 40) %></span> </span> <span class='actions'> <%= link_t...
Fix deprecation warnings related to confirm option.
Fix deprecation warnings related to confirm option.
HTML+ERB
mit
refinery/refinerycms-settings,wuboy0307/refinerycms-settings,chrise86/refinerycms-settings,refinery/refinerycms-settings,chrise86/refinerycms-settings,wuboy0307/refinerycms-settings
74c92b043ec23a023c88590dbe026875a364c60a
app/views/gas_asset_lists/update.js.erb
app/views/gas_asset_lists/update.js.erb
$("#gas-asset-list span.wait").addClass("hidden"); $("#gas-asset-list input[type=submit]").removeClass("disabled"); $("#gas-asset-list .table-holder").html("<%= escape_javascript(render partial: 'gas_asset_lists/table', locals: { testing_ground: @testing_ground, gas_asset_list: @gas_assets }) %>"); TableInitializer.i...
$("#gas-asset-list span.wait").addClass("hidden"); $("#gas-asset-list input[type=submit]").removeClass("disabled"); $("#gas-asset-list .table-holder").html("<%= escape_javascript(render partial: 'gas_asset_lists/table', locals: { testing_ground: @testing_ground, gas_asset_list: @gas_assets }) %>"); TableInitializer.i...
Remove 'editing' class when gas asset list is saved
Remove 'editing' class when gas asset list is saved
HTML+ERB
mit
quintel/etmoses,quintel/etmoses,quintel/etmoses,quintel/etmoses,quintel/etmoses
5ba09ea749c9cf8436b1ae29b2e4f239ea051dea
cookbooks/openvpn/templates/default/tunnel.conf.erb
cookbooks/openvpn/templates/default/tunnel.conf.erb
# DO NOT EDIT - This file is being maintained by Chef # Set the local port to use port <%= @port %> # Use UDP proto udp # Use routed IP tunnels dev tun # Use shared secret authentication secret <%= @name %>.key # Run in peer-to-peer mode mode p2p <% if @mode == "client" -%> # Connect to the remote machine remote ...
# DO NOT EDIT - This file is being maintained by Chef # Set the local port to use port <%= @port %> # Use UDP proto udp # Use routed IP tunnels dev tun # Use shared secret authentication secret <%= @name %>.key # Run in peer-to-peer mode mode p2p <% if @mode == "client" -%> # Connect to the remote machine remote ...
Disable compression on VPN links
Disable compression on VPN links
HTML+ERB
apache-2.0
Firefishy/chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,Firefishy/chef,zerebubuth/openstreetmap-chef,Firefishy/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,gravitystorm...
b54123408ecb436ba9918e74f927b756b3a94a3a
app/views/admin/editions/_show_attachments.html.erb
app/views/admin/editions/_show_attachments.html.erb
<table class="table table-bordered"> <thead> <tr class="table-header"> <th>Title</th> <th>Filename</th> <th></th> </tr> </thead> <% @edition.attachments.each do |attachment| %> <tr> <td> <%= attachment.title %> </td> <td class="attachment-filename"><%= link_to_attachment(attachment, ...
<table class="table table-bordered"> <thead> <tr class="table-header"> <th>Title</th> <th>Filename</th> <th></th> </tr> </thead> <% @edition.attachments.includes(:attachment_data).each do |attachment| %> <tr> <td> <%= attachment.title %> </td> <td class="attachment-filename"><%= link...
Improve loading attachments for publication
Improve loading attachments for publication As part of our load testing improvements, we want to make the publication overview page more resilient. There are three types of `Attachments`: `FileAttachment`, `HtmlAttachment`, and `ExternalAttachment`. They all share the same view when loaded into the publication overvi...
HTML+ERB
mit
alphagov/whitehall,alphagov/whitehall,alphagov/whitehall,alphagov/whitehall
69f97038e898b0fc8a11ed9f387fba8048dcf2d1
lib/smart_answer_flows/childcare-costs-for-tax-credits/outcomes/call_helpline_plain.erb
lib/smart_answer_flows/childcare-costs-for-tax-credits/outcomes/call_helpline_plain.erb
<% text_for :title do %> Contact [HM Revenue and Customs (HMRC)](/government/organisations/hm-revenue-customs/contact/tax-credits-enquiries) for help in working out your costs. <% end %>
<% text_for :title do %> Contact HM Revenue and Customs (HMRC) for help in working out your costs. <% end %> <% govspeak_for :body do %> [Contact HMRC](/government/organisations/hm-revenue-customs/contact/tax-credits-enquiries). <% end %>
Move outcome link to govspeak body block
Move outcome link to govspeak body block
HTML+ERB
mit
alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers
68552c31cb70cf3aac12b7ca66e474bd6c5adeab
puppet/zulip/templates/uwsgi.ini.template.erb
puppet/zulip/templates/uwsgi.ini.template.erb
[uwsgi] socket=/home/zulip/deployments/uwsgi-socket module=zproject.wsgi:application chdir=/home/zulip/deployments/current/ master=true chmod-socket=700 chown-socket=zulip:zulip processes=<%= @uwsgi_processes %> harakiri=20 post-buffering=4096 env= LANG=en_US.UTF-8 uid=zulip gid=zulip listen=512
[uwsgi] socket=/home/zulip/deployments/uwsgi-socket module=zproject.wsgi:application chdir=/home/zulip/deployments/current/ master=true chmod-socket=700 chown-socket=zulip:zulip processes=<%= @uwsgi_processes %> harakiri=20 post-buffering=4096 env= LANG=en_US.UTF-8 uid=zulip gid=zulip
Revert "puppet: Increase process listening count for uwsgi."
Revert "puppet: Increase process listening count for uwsgi." This reverts commit ccce83d0f0eefa55d6a85950217383dd57a60ff3. This needs sysctl changes as well.
HTML+ERB
apache-2.0
rht/zulip,zulip/zulip,synicalsyntax/zulip,timabbott/zulip,zulip/zulip,brainwane/zulip,andersk/zulip,shubhamdhama/zulip,punchagan/zulip,punchagan/zulip,showell/zulip,brainwane/zulip,eeshangarg/zulip,timabbott/zulip,showell/zulip,showell/zulip,rht/zulip,hackerkid/zulip,timabbott/zulip,tommyip/zulip,eeshangarg/zulip,eesha...
dae8af0a78b4aaa9d6da2f2e256bed0a8b1e9559
app/views/games/new.html.erb
app/views/games/new.html.erb
<div class="game-background"> <div class="canvas"> <canvas id="myCanvas" width="500" height="600"></canvas> <canvas id="canvasLava" width="500" height="600"></canvas> </div> <input id="inputText" type="text" name="gametext" value=""> <div class="level"> <p>Level:</p> <select id="level"> <option value="1"> Level ...
<div class="game-background"> <div class="canvas"> <canvas id="myCanvas" width="500" height="600"></canvas> <canvas id="canvasLava" width="500" height="600"></canvas> </div> <input id="inputText" type="text" name="gametext" value=""> <div class="level"> <p>Level:</p> <select id="level"> <...
Fix indentation for games/new view
Fix indentation for games/new view
HTML+ERB
mit
nyc-chipmunks-2016/typing-game,nyc-chipmunks-2016/typing-game,nyc-chipmunks-2016/typing-game
a2421409111c855276db1d4d57693bdea73725c3
app/views/alchemy/admin/pages/update.js.erb
app/views/alchemy/admin/pages/update.js.erb
(function() { var page = document.querySelector('#page_<%= @page.id %>'); <% if @while_page_edit -%> Alchemy.reloadPreview(); document.querySelector('#page_<%= @page.id %>_status').outerHTML = '<%= j render("current_page", current_page: @page) %>'; Alchemy.growl("<%= j @notice %>"); Alchemy.closeCurrentDial...
(function() { var page = document.querySelector('#page_<%= @page.id %>'); <% if @while_page_edit -%> Alchemy.reloadPreview(); document.querySelector('#page_<%= @page.id %>_status').outerHTML = '<%= j render("current_page", current_page: @page) %>'; Alchemy.growl("<%= j @notice %>"); Alchemy.closeCurrentDial...
Fix admin page tree links after update
Fix admin page tree links after update Closes #2347
HTML+ERB
bsd-3-clause
AlchemyCMS/alchemy_cms,AlchemyCMS/alchemy_cms,AlchemyCMS/alchemy_cms
652695c1faf16c73648ba74f8e57b9ede6b55e4c
app/views/devise/registrations/new.html.erb
app/views/devise/registrations/new.html.erb
<div class="container"> <div class="row"> <div class="col-md-6 col-md-offset-3"> <h2>Sign up</h2> <hr> <%= devise_error_messages! %> <%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %> <div class="form-gro...
<div class="container"> <div class="row"> <div class="col-md-6 col-md-offset-3"> <h2>Sign up</h2> <hr> <%= devise_error_messages! %> <%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %> <div class="form-gro...
Remove links partial in sign up form.
Remove links partial in sign up form.
HTML+ERB
mit
francisbrito/sarah_rails,francisbrito/sarah_rails
a645079c34ad12bb9b4709b5ea74e54e015c2645
app/views/layouts/_bootstrap_flash.html.erb
app/views/layouts/_bootstrap_flash.html.erb
<% flash.each do |key, value| %> <div class="alert alert-<%= flash_class(key) %> alert-dismissable"> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> <%= sanitize(value) %> <%= flash_icon(key) %> </div> <% end %>
<% flash.each do |key, value| %> <div class="alert alert-<%= flash_class(key) %> alert-dismissable"> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> <%= sanitize(value.to_s) %> <%= flash_icon(key) %> </div> <% end %>
Fix error during failsafe response
Fix error during failsafe response Reason: flashes with booleans (e.g., true/false) fail to be sanitize. Workaround: convert `value.to_s` before `sanitize` Question: How did boolean values end up as flash error keys? ```none F, [2019-01-07T15:38:52.943629 #32257] FATAL -- : F, [2019-01-07T15:38:52.943701 #32257] FAT...
HTML+ERB
apache-2.0
sealuzh/cloud-workbench,sealuzh/cloud-workbench,sealuzh/cloud-workbench
8becf885ceb0b2f98ca386ffea7a0a92ca08c712
app/views/representatives/_twitter.html.erb
app/views/representatives/_twitter.html.erb
<h4>Twitter <%= link_to "(@#{@representative.twitter_id})", @representative.twitter_url, class: 'muted' %></h4> <span id="twitter-container"> <a href="<%= @representative.twitter_url %>" class='twitter-timeline' height='445px'; data-dnt='true' data-widget-id='<%= AppConfig.twitter_widget_id %>' ...
<h4>Twitter <%= link_to "(@#{@representative.twitter_id})", @representative.twitter_url, class: 'muted' %></h4> <div id="twitter-container"> <a href="<%= @representative.twitter_url %>" class='twitter-timeline' height='445px' data-dnt='true' data-widget-id='<%= AppConfig.twitter_widget_id %>' ...
Fix twitter widget width by replacing span with div
Fix twitter widget width by replacing span with div
HTML+ERB
bsd-3-clause
holderdeord/hdo-site,holderdeord/hdo-site,holderdeord/hdo-site,holderdeord/hdo-site
407954191669dca72f8c8a8c230162613be8d523
app/views/companies/_company_card.html.erb
app/views/companies/_company_card.html.erb
<% @companies.each do |company| %> <div class="company-card" onclick="flipCard()"> <div class="flipper"> <div class="front"> <div class="company-image"></div> <h2 class="company-name-front"><%= company.name %></h2> </div> <div class="back"> <h2 class="company-name"><%= co...
<% @companies.each do |company| %> <% if company.users.length >= 1 %> <div class="company-card" onclick="flipCard()"> <div class="flipper"> <div class="front"> <div class="company-image"></div> <h2 class="company-name-front"><%= company.name %></h2> </div> <div cl...
Add conditional to only show companies with users
Add conditional to only show companies with users
HTML+ERB
mit
iand11/boot-on-the-ground,iand11/boot-on-the-ground,iand11/boot-on-the-ground