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
e6729dc822e906ec47cebc57b2d1c06762439e25
cookbooks/letsencrypt/templates/default/cron.erb
cookbooks/letsencrypt/templates/default/cron.erb
0 */12 * * * letsencrypt /srv/acme.openstreetmap.org/bin/renew
# DO NOT EDIT - This file is being maintained by Chef MAILTO=admins@openstreetmap.org 0 */12 * * * letsencrypt /srv/acme.openstreetmap.org/bin/renew
Make sure letsencrypt renewal errors are seen by somebody
Make sure letsencrypt renewal errors are seen by somebody
HTML+ERB
apache-2.0
zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,Firefishy/chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,Firefishy/chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,Firefishy/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,openstreetmap/chef,zerebubuth/openstree...
af75542795f861dd5ea452a4041d74676213d6e4
app/views/site/key.html.erb
app/views/site/key.html.erb
<div id="mapkey"> <h3><%= t "site.key.table.heading", :zoom_level => params[:zoom] %></h3> <table class="mapkey-table"> <% YAML.load_file("#{RAILS_ROOT}/config/key.yml").each do |name,data| %> <% if params[:layer] == name %> <% data.each do |entry| %> <% if params[:zoom].to_i >= entry['m...
<div id="mapkey"> <h3><%= t "site.key.table.heading", :zoom_level => params[:zoom] %></h3> <table class="mapkey-table"> <% YAML.load_file("#{RAILS_ROOT}/config/key.yml").each do |name,data| %> <% if params[:layer] == name %> <% data.each do |entry| %> <% if params[:zoom].to_i >= entry['m...
Call .to_sentence on site.key.table.entry. Translations are free to take advantage of this or ignore it completely
Call .to_sentence on site.key.table.entry. Translations are free to take advantage of this or ignore it completely
HTML+ERB
agpl-3.0
tillmo/do-roam,tillmo/do-roam,tillmo/do-roam,tillmo/do-roam,tillmo/do-roam,tillmo/do-roam
ee1a3947f3f0e42a9f328d345ee8e9f6208b6e2c
app/views/backend/_navigation.html.erb
app/views/backend/_navigation.html.erb
<nav class="top-bar" data-topbar role="navigation"> <ul class="title-area"> <li class="name"> <h1><%= link_to 'Udongo', '#' %></h1> </li> <li class="toggle-topbar menu-icon"><a href="#"><span>Menu</span></a></li> </ul> <section class="top-bar-section"> <ul class="right"> <li class="ha...
<nav class="top-bar" data-topbar role="navigation"> <ul class="title-area"> <li class="name"> <h1><%= link_to 'Udongo', backend_path %></h1> </li> <li class="toggle-topbar menu-icon"><a href="#"><span>Menu</span></a></li> </ul> <section class="top-bar-section"> <ul class="right"> <li ...
Add dynamic link to the CMS dashboard.
Add dynamic link to the CMS dashboard.
HTML+ERB
mit
udongo/udongo,udongo/udongo,udongo/udongo
62fad783b8445aec48ac32de0c799c2b1c19ef93
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>RiverAndAsh</title> <%= stylesheet_link_tag 'application', media: 'all' %> <%= javascript_include_tag 'application' %> <%= csrf_meta_tags %> <%= analytics_init if Rails.env.production? %> </head> <body> <%= yield %> </body> </html>
<!DOCTYPE html> <html> <head> <title>You Basic</title> <%= stylesheet_link_tag 'application', media: 'all' %> <%= javascript_include_tag 'application' %> <%= csrf_meta_tags %> <%= analytics_init if Rails.env.production? %> </head> <body> <%= yield %> </body> </html>
Update the application file in views
Update the application file in views
HTML+ERB
mit
JessRudder/river-and-ash,JessRudder/river-and-ash,JessRudder/river-and-ash
045c9a062daea0e889d15fb313900892ae3e4db6
app/views/users/_signup_steps.html.erb
app/views/users/_signup_steps.html.erb
<div class="step span4"> <div class="interior"> <h2>Step 1: Sign Up</h3> <p>Sign up using your Twitter account, or create one with us. Either way works and will get you started in no time, but if you sign up with Twitter you can Tweet your problem and copy <a href="http://twitter.com/BarackObama" target="blan...
<div class="step span4"> <div class="interior"> <h2>Step 1: Sign Up</h3> <p>Sign up using your Twitter account, or create one with us. Either way works and will get you started in no time, but if you sign up with Twitter you can Tweet your problem and copy <a href="http://twitter.com/BarackObama" target="blan...
Change language in steps to reflect comments
Change language in steps to reflect comments
HTML+ERB
mit
travisvalentine/POP,travisvalentine/POP,travisvalentine/POP
9ade889a35163967513fa063d4e1d2bb95d337de
app/views/layouts/_session_protection.html.erb
app/views/layouts/_session_protection.html.erb
<% # Destroy old sessions if a user has been deleted begin User.find(session[:user]) if session[:user] rescue Mongoid::Errors::DocumentNotFound session = {} %> <script type="text/javascript"> window.location.href="<%= homepage_path %>" </script> <% end %>
<% # Destroy old sessions if a user has been deleted begin User.find(session[:user]) if session[:user] rescue ActiveRecord::RecordNotFound session = {} %> <script type="text/javascript"> window.location.href="<%= homepage_path %>" </script> <% end %>
Change Mongo reference to ActiveRecord reference
Change Mongo reference to ActiveRecord reference
HTML+ERB
mit
indentlabs/notebook,indentlabs/notebook,indentlabs/notebook
c9d4a54f92fcdf07c53e0a05c492cbdf9ee04d2e
app/views/layouts/application/_footer.html.erb
app/views/layouts/application/_footer.html.erb
<div class="footer container-fluid"> <div class="row-fluid"> <div class="span4 left"> Source code available on <%= link_to "GitHub", "https://github.com/gbchaosmaster/gbchaosmaster" %>. </div> <div class="span4">Copyright ©2012 Vinny Diehl</div> <div class="span4 right"> <%= link_to ...
<% content_for :github_link do %> Source code available on <a href="https://github.com/gbchaosmaster/gbchaosmaster">GitHub</a>. <% end %> <% content_for :copyright do %> Copyright ©2012 Vinny Diehl <% end %> <% content_for :contact_link do %> <%= link_to "Contact the Developer", contact_path %> <% end %> <div class=...
Improve footer on all screen sizes
Improve footer on all screen sizes Got rid of the extra space on the left and right caused by an unneeded nested container, and made a phone-specific layout for the text.
HTML+ERB
mit
vinnydiehl/gbchaosmaster,vinnydiehl/gbchaosmaster
4df53075385b2398a3081b76a8d7c1d1bda50cb2
templates/rc.local.erb
templates/rc.local.erb
#!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to do the full Sys V style init stuff. touch /var/lock/subsys/local PRIMARY_INTERFACE=$(ip route show default scope global | awk 'NR==1 {print $5}') IP_ADDRESS=$(ip -o...
#!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to do the full Sys V style init stuff. touch /var/lock/subsys/local PRIMARY_INTERFACE=$(ip route show default scope global | awk 'NR==1 {print $5}') IP_ADDRESS=$(ip -o...
Check if password files is empty
Check if password files is empty
HTML+ERB
apache-2.0
samuelson/pltraining-bootstrap,binford2k/pltraining-bootstrap,kjhenner/pltraining-bootstrap,samuelson/pltraining-bootstrap,puppetlabs/pltraining-bootstrap,kjhenner/pltraining-bootstrap,binford2k/pltraining-bootstrap,joshsamuelson/pltraining-bootstrap,binford2k/pltraining-bootstrap,joshsamuelson/pltraining-bootstrap,pup...
35851642861eaa80b91c72e7518ebce896538064
app/views/catalog/_document.html.erb
app/views/catalog/_document.html.erb
<%# container for a single doc -%> <div class="document <%= render_document_class document %> document-position-<%= document_counter%> " data-document-counter="<%= document_counter %>" itemscope itemtype="<%= document.itemtype %>"> <%= render_document_partials document, blacklight_config.view_config(document_index_vi...
Copy document partial (index view) from blacklight 6.16 for local override, esp. to add id to markup.
Copy document partial (index view) from blacklight 6.16 for local override, esp. to add id to markup.
HTML+ERB
mit
trln/trln_argon,trln/trln_argon,trln/trln_argon,trln/trln_argon
0e8afdfb17a691c1c139e265e4085d6c12797b7b
app/views/code_status/index.html.erb
app/views/code_status/index.html.erb
<h3>Revision <a href="https://github.com/Charcoal-SE/metasmoke/commit/<%= CurrentCommit %>"><code><%= CurrentCommit.first(7) %></code></a></h3> <hr> <details open><summary class="h3">Versions <%= link_to "Show ", "#", :id => "show-all-gem-versions" %></summary> <table class="table" id="gems-versions-table"> <thead...
<h3>Revision <%= link_to "https://github.com/Charcoal-SE/metasmoke/commit/#{CurrentCommit}" do %><code><%= CurrentCommit.first(7) %></code><% end %></h3> <hr> <details open><summary class="h3">Versions <%= link_to "Show ", "#", :id => "show-all-gem-versions" %></summary> <table class="table" id="gems-versions-table"...
Use `link_to` syntax for link
Use `link_to` syntax for link
HTML+ERB
cc0-1.0
j-f1/forked-metasmoke,angussidney/metasmoke,SulphurDioxide/metasmoke,Charcoal-SE/metasmoke,Charcoal-SE/metasmoke,SulphurDioxide/metasmoke,angussidney/metasmoke,j-f1/forked-metasmoke,j-f1/forked-metasmoke,Charcoal-SE/metasmoke,angussidney/metasmoke,SulphurDioxide/metasmoke,j-f1/forked-metasmoke,Charcoal-SE/metasmoke,ang...
334334a9e291bb86935a6e0e1aa6116941c3851f
app/views/requests/_request.html.erb
app/views/requests/_request.html.erb
<li> <%= request.requester.first_name %> said: <%= request.content %> At <%= request.created_at %> <% if request.requester == current_user %> <%= button_to "Cancel Request", request, class: 'button', method: 'delete' %> <% elsif request.responder == nil %> <%= button_to 'Be a neighbor!', request, class:...
<li class="request" data-id="<%= request.id %>"> <%= request.requester.first_name %> said: <%= request.content %> At <%= request.created_at %> <% if request.requester == current_user %> <%= button_to "Cancel Request", request, class: 'button', method: 'delete' %> <% elsif request.responder == nil %> <%=...
Add a data-id and class attribute to the list item created by the request partial.
Add a data-id and class attribute to the list item created by the request partial. This will be helpful in styling later.
HTML+ERB
mit
kimchanyoung/nghborly,kimchanyoung/nghborly,kimchanyoung/nghborly,nyc-mud-turtles-2015/nghborly,nyc-mud-turtles-2015/nghborly,nyc-mud-turtles-2015/nghborly
595a34598bf25cbc4f223ac27d59bfa1581300cb
app/views/shared/_base_page.html.erb
app/views/shared/_base_page.html.erb
<main id="content" role="main" class="govuk-grid-column-two-thirds <%= main_class if local_assigns.include?(:main_class) %>" <%= @lang_attribute %>> <header class="page-header"> <%= render "govuk_publishing_components/components/title", context: local_assigns[:context], title: title %> </header> <div class="...
<main id="content" role="main" class="<%= main_class if local_assigns.include?(:main_class) %>" <%= @lang_attribute %>> <header class="page-header govuk-grid-column-two-thirds"> <%= render "govuk_publishing_components/components/title", context: local_assigns[:context], title: title %> </header> <div class="...
Make sidebar position consistent with other applications
Make sidebar position consistent with other applications
HTML+ERB
mit
alphagov/frontend,alphagov/frontend,alphagov/frontend,alphagov/frontend
414348010d866ead19b5ee333b2433b25b810dd2
app/views/static_pages/home.html.erb
app/views/static_pages/home.html.erb
<div class="center jumbotron"> <h1>Welcome to <%= competition_name %></h1> <div class="row"> <%= link_to image_tag("mcpa-black.png", width: '80%', alt: "MCPA San Antonio logo", class: "center col-sm-12 col-md-6 col-md-offset-3"), 'http://mcpa-stl.org' %> </div> <h2> Announcing Defend the Alamo ...
<div class="center jumbotron"> <h1>Welcome to <%= competition_name %></h1> <div class="row"> <%= link_to image_tag("mcpa-black.png", width: '80%', alt: "MCPA San Antonio logo", class: "center col-sm-12 col-md-6 col-md-offset-3"), 'http://mcpa-stl.org' %> </div> <h2> Announcing Defend the Alamo ...
Revert "Revert "Remove redundant 'Sign-Up Now!'""
Revert "Revert "Remove redundant 'Sign-Up Now!'"" This reverts commit 25f452955e30ec485e54f730b98e2d0fe0c301c6.
HTML+ERB
mit
RCydefe/hack-the-arch,RCydefe/hack-the-arch,RCydefe/hack-the-arch,mcpa-stlouis/hack-the-arch,RCydefe/hack-the-arch,mcpa-stlouis/hack-the-arch,mcpa-stlouis/hack-the-arch,mcpa-stlouis/hack-the-arch,mcpa-stlouis/hack-the-arch
42761153d1b4a5fbda028be99064600f5aa5bc35
app/views/static_pages/home.html.erb
app/views/static_pages/home.html.erb
<!DOCTYPE html> <html> <head> <% provide(:title, 'Home') %> <%= javascript_include_tag "footerMenu" %> <%= javascript_include_tag "home" %> <%= csrf_meta_tags %> </head> <body> <div class="actionVax" onclick=activateVaccinationMode()> <div class="vaccineDepressedState"></div> <text id = "va...
<!DOCTYPE html> <html> <head> <% provide(:title, 'Home') %> <%= javascript_include_tag "footerMenu" %> <%= javascript_include_tag "home" %> <%= csrf_meta_tags %> </head> <body> </body> </body> </html>
Remove redundant actionVax and actionQuarantine divs on home page
Remove redundant actionVax and actionQuarantine divs on home page
HTML+ERB
mit
alexanderlin999/alexanderlin999.github.io,alexanderlin999/alexanderlin999.github.io
4adc2d22933449c7d8e87ea90c3be8a44d30c59d
lib/domgen/ejb/templates/cdi_types_test.java.erb
lib/domgen/ejb/templates/cdi_types_test.java.erb
/* DO NOT EDIT: File is auto-generated */ package <%= to_package(repository.ejb.qualified_cdi_types_test_name) %>; @java.lang.SuppressWarnings( { "UnusedDeclaration" } ) @javax.annotation.Generated( "Domgen" ) public class <%= repository.ejb.cdi_types_test_name %> { <% repository.data_modules.select{|d|d.ejb?}.each ...
/* DO NOT EDIT: File is auto-generated */ package <%= to_package(repository.ejb.qualified_cdi_types_test_name) %>; @java.lang.SuppressWarnings( { "UnusedDeclaration" } ) @javax.annotation.Generated( "Domgen" ) public class <%= repository.ejb.cdi_types_test_name %> {<% repository.data_modules.select{|d|d.ejb?}.each d...
Add test required for imitation layer
Add test required for imitation layer
HTML+ERB
apache-2.0
realityforge/domgen,icaughley/domgen,realityforge/domgen,icaughley/domgen
7956f11ad85a5688274b2aa91d52cf2365f9be68
templates/spark-env.sh.augeas.erb
templates/spark-env.sh.augeas.erb
<% @environments.keys.each do |k| -%> <% if @environments[k] == '::undef' -%> rm /files<%= @confdir -%>/spark-env.sh/<%= k -%> <% else -%> set /files<%= @confdir -%>/spark-env.sh/<%= k -%> <%= @environments[k] %> set /files<%= @confdir -%>/spark-env.sh/<%= k -%>/export "" <% end -%> <% end -%>
<% @environments.keys.each do |k| -%> <% if @environments[k] == '::undef' -%> rm /files<%= @confdir -%>/spark-env.sh/<%= k %> <% else -%> set /files<%= @confdir -%>/spark-env.sh/<%= k -%> <%= @environments[k] %> set /files<%= @confdir -%>/spark-env.sh/<%= k -%>/export "" <% end -%> <% end -%>
Fix a problem when deleting multiple variables.
Fix a problem when deleting multiple variables.
HTML+ERB
mit
MetaCenterCloudPuppet/cesnet-spark,MetaCenterCloudPuppet/cesnet-spark
dd0596bfa2c88d6027bbe4634b98f6ac9eb213d9
modules/jenkins/templates/monitoring-proxy.conf.erb
modules/jenkins/templates/monitoring-proxy.conf.erb
server { listen 80; server_name logging.*; location / { proxy_pass http://logging.management.production/; proxy_set_header Host $http_host; } } server { listen 443; server_name errbit.*; location / { proxy_pass https://exception-handler-1.management.production/; proxy_set_header Host $h...
server { listen 80; server_name logging.*; location / { proxy_pass http://logging.management.production/; proxy_set_header Host $http_host; } } server { listen 443; server_name errbit.*; location / { proxy_pass https://exception-handler-1.management.production/; proxy_set_header Host $h...
Allow CORS requests to graphite
Allow CORS requests to graphite Many JS-based dashboards need to be able to make cross-origin requests to the Graphite API endpoints. These CORS headers allow that to happen.
HTML+ERB
mit
alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet
a6a2cb886ae94811c21332de71dad3d7600ac6d0
app/views/api/v1/transcripts/_premium.txt.erb
app/views/api/v1/transcripts/_premium.txt.erb
<%- prev_speaker_id = 0 -%> <%- transcript.timed_texts.each do |tt| -%> <% if params["timestamps"] == "true" %> <%= if prev_speaker_id != tt.speaker_id "\n\r" + format_time(tt.start_time) + "\r\n" + transcript.speaker_name(tt.speaker_id) + "\n" end -%> <% end %> <%= tt.text + " " -%> <% if params["timestamps"] ...
<% prev_speaker_id = 0 %> <% transcript.timed_texts.each do |tt| %> <% if prev_speaker_id != tt.speaker_id %> <%= if params["timestamps"] == "true" "\n\r" + format_time(tt.start_time) else "\n\r" end %> <%= transcript.speaker_name(tt.speaker_id) + "\n" %> <% end %> <%= tt.text + " " %> <% prev_speaker_id = tt.spea...
Include speaker name w/out timestamps
Include speaker name w/out timestamps
HTML+ERB
agpl-3.0
quoideneuf/pop-up-archive,quoideneuf/pop-up-archive,quoideneuf/pop-up-archive,quoideneuf/pop-up-archive
fbfb33afb169e581f178f4b71898af28ed9213c4
app/views/sign_up_sheet/_topic_names.html.erb
app/views/sign_up_sheet/_topic_names.html.erb
<a href="#<%= i %>" onClick="toggleSingleTeamAndMember(<%= i %>)"> <span class="inline" id="<%= i %>_show"><%= topic.topic_name %></span> <span class="inline" id="<%= i %>_hide" style="display: none"><%= topic.topic_name %></span> </a> <!--if 'Has teams' is not checked, the UI should not show the team name on the ...
<!--Only in assignment#edit page, topic name has link on it. In students' sign_up_sheet page, topic name should be plain text.--> <% if params[:controller] == "assignments" and params[:action] == "edit"%> <a href="#<%= i %>" onClick="toggleSingleTeamAndMember(<%= i %>)"> <span class="inline" id="<%= i %>_show"><%...
Change the topic names in students' sign_up_sheet page to be plain text.
Change the topic names in students' sign_up_sheet page to be plain text.
HTML+ERB
mit
ApertureScienceInnovators/expertiza,expertiza/expertiza,arpitashekhar/expertiza,urmilparikh95/expertiza,rmmaily/expertiza,urmilparikh95/expertiza,KunmiaoYang/expertiza,sid5788/expertiza,expertiza/expertiza,redsock88/expertiza,kira0992/expertiza,akshayjain114/expertiza,ApertureScienceInnovators/expertiza,michaelamoran/e...
f2dd57d51b9bdfec87d173d1e100edebb09f7ccd
lib/smart_answer_flows/state-pension-age/state_pension_age.govspeak.erb
lib/smart_answer_flows/state-pension-age/state_pension_age.govspeak.erb
<% content_for :title do %> Check your State Pension age <% end %> <% content_for :meta_description do %> Work out your State Pension age and Pension Credit qualifying age <% end %> <% content_for :body do %> Your State Pension age is the earliest age you can start receiving your State Pension. It may be differen...
<% content_for :title do %> Check your State Pension age <% end %> <% content_for :meta_description do %> Work out your State Pension age and Pension Credit qualifying age <% end %> <% content_for :body do %> Your State Pension age is the earliest age you can start receiving your State Pension. It may be differen...
Add state pension age review callout
Add state pension age review callout Added callout linking to news story about state pension age review.
HTML+ERB
mit
alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers,aledelcueto/smart-answers,aledelcueto/smart-answers
037169e1df9e2b8e5c831725c7acb0366bb09d05
templates/process.conf.erb
templates/process.conf.erb
<% if @pidfile -%> check process <%= @name %> with pidfile <%= @pidfile %> <% elsif @matching -%> check process <%= @name %> matching <%= @matching %> <% elsif @program -%> check program <%= @name %> with path <%= @program %> <% end -%> start program = "<%= @start_script %>"<%= " as uid \"#{uid}\" and gid \"#{gid}\""...
<% if @pidfile -%> check process <%= @name %> with pidfile <%= @pidfile %> <% elsif @matching -%> check process <%= @name %> matching <%= @matching %> <% elsif @program -%> check program <%= @name %> with path <%= @program %> <% end -%> start program = "<%= @start_script %>"<%= " as uid \"#{uid}\" and gid \"#{gid}\""...
Add support for multiple groups for a monitored process
Add support for multiple groups for a monitored process
HTML+ERB
mit
bigcommerce/puppet-module-monit,bigcommerce/puppet-module-monit
61287502f1002aae5e3b5908f611cce55e4bd9bf
app/views/home/index.html.erb
app/views/home/index.html.erb
<h1 class="sr-only">Welcome</h1> <%= render 'partials/change_background_color_section' %> <%= render 'partials/intro_section' %> <%= render 'partials/about_me_section' %> <%= render 'partials/skills_section' %> <%= render 'partials/projects_section' %> <%= render 'partials/video_section' %> <%= render 'partials/...
<h1 class="sr-only">Welcome</h1> <%= render 'partials/change_background_color_section' %> <%= render 'partials/intro_section' %> <%= render 'partials/about_me_section' %> <%= render 'partials/skills_section' %> <%= render 'partials/projects_section' %> <%# render 'partials/video_section' %> <%= render 'partials/...
Comment out video section partial
Comment out video section partial
HTML+ERB
mit
downeyd27/personal_website,downeyd27/personal_website,downeyd27/personal_website
9f7d1a489627503c7e6197a908b7cf6acee27f3f
app/views/orders/new.html.erb
app/views/orders/new.html.erb
<div class="container"><br><br><br><br> <%= simple_form_for @order do |f| %> <h2>Shipper</h2> <%= f.simple_fields_for :shipper do |shipper| %> <%= shipper.input :first_name %> <%= shipper.input :last_name %> <%= shipper.fields_for :address do |address| %> <%= address.input :addres...
<div class="container"> <h1>Order Service</h1> <small>* required fields</small> <%= render "form", order: @order %> <%# render "form", order: @order, shipper: @order.build_shipper, recipient: @order.build_recipient %> </div>
Remove form to its own partial
Remove form to its own partial
HTML+ERB
mit
Dom-Mc/fetch_it,Dom-Mc/fetch_it,Dom-Mc/fetch_it
c1c07fe3db6d3f3894a5182f7d2d0856c793d6f3
app/views/users/show.html.erb
app/views/users/show.html.erb
<label class="label">Email:</label> <p><%= @user.email %></p> <label class="label">Github:</label> <p><%= "@#{@user.github }"%></p> <label class="label">Public Account:</label> <p><%= @user.public? %></p> <p><small>If your account is public others can see what repos you are triaging. Your email is never shared, ever...
<div class="row"> <div class="span5"> <h3>Email:</h3> <p><%= @user.email %></p> <h3>Github:</h3> <p><%= "@#{@user.github }"%></p> <h3>Publicly visible?:</h3> <p><%= @user.public? ? "Yes" : "No" %></p> <p><small>If your account is public others can see what repos you are triaging. Your e...
Tweak styling of user page for consistency
Tweak styling of user page for consistency
HTML+ERB
mit
avirajkhare00/codetriage,ojengwa/codewarrior,ven0226/codetriage,VishvajitP/codetriage,CjayBillones/codetriage,rvasqz86/codetriage,colinrubbert/codetriage,ven0226/codetriage,igas/codetriage,CjayBillones/codetriage,schneems/codetriage-ko1-test-app,colinrubbert/codetriage,ferdinandrosario/codetriage,avirajkhare00/codetria...
8c0e27bb187334725d7b2720232300fef278e6d5
modules/spamassassin/templates/1404-proxy.cfg.erb
modules/spamassassin/templates/1404-proxy.cfg.erb
global log /dev/log local0 log /dev/log local1 notice chroot /var/lib/haproxy user haproxy group haproxy daemon defaults log global mode <%= @haproxy_mode %> option tcplog option dontlognull contimeout 5000 clitimeo...
global log /dev/log local0 log /dev/log local1 notice chroot /var/lib/haproxy user haproxy group haproxy daemon defaults log global mode <%= @haproxy_mode %> option tcplog option dontlognull contimeout 5000 clitimeo...
Use a user/pass from eyaml
Use a user/pass from eyaml
HTML+ERB
apache-2.0
chtyim/infrastructure-puppet,sebbASF/infrastructure-puppet,sebbASF/infrastructure-puppet,chtyim/infrastructure-puppet,stumped2/infrastructure-puppet,bdube/infrastructure-puppet,stumped2/infrastructure-puppet,bdube/infrastructure-puppet,bdube/infrastructure-puppet,apache/infrastructure-puppet,sebbASF/infrastructure-pupp...
29cb1e18eb3f023dc1f1cbcbd82e7f27ee497113
spec/dummy/app/views/home/index.html.erb
spec/dummy/app/views/home/index.html.erb
<h1>House Buying Suite</h1> <ul> <li><%= link_to "Mortgage Calculator", mortgage_calculator.root_path %></li> <li><%= link_to "Mortgage Calculator (Welsh)", mortgage_calculator.root_path(locale: :cy) %></li> </ul> <ul> <li><%= link_to "Stamp Duty Calculator", '/en/mortgage_calculator/stamp-duty-calculator' %></...
<h1>House Buying Suite</h1> <ul> <li><%= link_to "Mortgage Calculator", mortgage_calculator.root_path %></li> <li><%= link_to "Mortgage Calculator (Welsh)", mortgage_calculator.root_path(locale: :cy) %></li> </ul> <ul> <li><%= link_to "Stamp Duty Calculator", '/en/mortgage_calculator/stamp-duty-calculator' %></...
Add calculator links to dummy root page app
Add calculator links to dummy root page app Since I was changing the ports for this engine dummy and the site app, it was annoying to discover the url every time.
HTML+ERB
mit
moneyadviceservice/mortgage_calculator,moneyadviceservice/mortgage_calculator,moneyadviceservice/mortgage_calculator,moneyadviceservice/mortgage_calculator
fac6ce7ecf7bb8ab1daa297868b49d505b1fc5ed
app/views/petitions/create/_your_details_ui.html.erb
app/views/petitions/create/_your_details_ui.html.erb
<%= f.submit raw('&#9664; Back'), :name => 'move:back', :class => 'back-page' %> <h1 class="page-title">Sign your petition</h1> <h2 class="page-subtitle"><%= petition.action %></h2> <%= render 'petitions/create/error_summary', f: f %> <%= f.fields_for :creator_signature, petition.creator_signature do |csf| %> <%= ...
<%= f.submit raw('&#9664; Back'), :name => 'move:back', :class => 'back-page' %> <h1 class="page-title">Sign your petition</h1> <h2 class="page-subtitle"><%= petition.action %></h2> <%= render 'petitions/create/error_summary', f: f %> <%= f.fields_for :creator_signature, petition.creator_signature do |csf| %> <%= ...
Create petition -- use div instead of section
Create petition -- use div instead of section section must have a heading
HTML+ERB
mit
alphagov/e-petitions,unboxed/e-petitions,StatesOfJersey/e-petitions,StatesOfJersey/e-petitions,oskarpearson/e-petitions,unboxed/e-petitions,joelanman/e-petitions,StatesOfJersey/e-petitions,alphagov/e-petitions,alphagov/e-petitions,unboxed/e-petitions,alphagov/e-petitions,joelanman/e-petitions,joelanman/e-petitions,Stat...
5c15439e5e036fcf3cf80ad762e4c5def22717da
cookbooks/planet/templates/default/planet-update.erb
cookbooks/planet/templates/default/planet-update.erb
#!/bin/sh # DO NOT EDIT - This file is being maintained by Chef exec > /var/log/planet-update.log 2>&1 echo "Updating planet file..." runuser -u planet -- /usr/local/bin/planet-update-file echo "Running jobs..." <% node[:planet][:current][:jobs].each_value do |job| -%> echo "Running '<%= job[:command] %>' as user...
#!/bin/sh # DO NOT EDIT - This file is being maintained by Chef exec > /var/log/planet-update.log 2>&1 echo "Updating planet file..." /sbin/runuser -u planet -- /usr/local/bin/planet-update-file echo "Running jobs..." <% node[:planet][:current][:jobs].each_value do |job| -%> echo "Running '<%= job[:command] %>' a...
Use full path for runuser
Use full path for runuser
HTML+ERB
apache-2.0
openstreetmap/chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,Firefishy/chef,openstreetmap/chef,tomhughes/openstreetmap-chef,Firefishy/chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,tomhughe...
38da5982bedd140e5099963dbaebd2c77aca7f96
app/views/doorkeeper/applications/_form.html.erb
app/views/doorkeeper/applications/_form.html.erb
<%= form_for(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 %> <p> <%= f.label :name %> <div class="input"> <%= f.text...
<%= form_for(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="input"> ...
Update styling in application form
Update styling in application form
HTML+ERB
mit
calfzhou/doorkeeper,daande/doorkeeper,Tout/doorkeeper,CloudTags/doorkeeper,EasterAndJay/doorkeeper,ministryofjustice/doorkeeper,ValMilkevich/doorkeeper,ngpestelos/doorkeeper,doorkeeper-gem/doorkeeper,telekomatrix/doorkeeper,doorkeeper-gem/doorkeeper,lalithr95/doorkeeper,kolorahl/doorkeeper,ngpestelos/doorkeeper,AdStage...
97a06a0ea89af673b8253a76b82444361d7e6e8d
app/views/tshirts/buy_tshirt.html.erb
app/views/tshirts/buy_tshirt.html.erb
<div class="container"> <div class="page-header"> <h1>Buy TShirts</h1> <h2> <small>For only 2 cents a piece!</small> </h2> </div> <%= error_messages_for 'credit_card', :object_name => "credit card" %> <%= form_for @credit_card, :as => :credit_card, :url => SpreedlyCore.add_payment_method_url...
<div class="container"> <div class="page-header"> <h1>Buy TShirts</h1> <h2> <small>For only 2 cents a piece!</small> </h2> </div> <%= error_messages_for 'credit_card', :object_name => "credit card" %> <%= form_for @credit_card, :as => :credit_card, :url => SpreedlyCore.add_payment_method_url...
Include detail about it not using real $.
Include detail about it not using real $.
HTML+ERB
mit
spreedly/sample-phasers,spreedly/sample-phasers,spreedly/sample-phasers,spreedly/sample-phasers
1a9286db64110fded23f2f07304ba136081aa67a
source/thanks/index.html.erb
source/thanks/index.html.erb
<% content_for(:title) { } %> <% content_for(:section) { 'I make things' } %> <section id="hero" class="hero"> <header> <h1>Thanks for Signing up!</h1> </header> <section> <p>Your subscription to my newsletter has been confirmed. I'm looking forward to helping you on your journey as a web developer.</p> ...
<% content_for(:title) { } %> <% content_for(:section) { 'I make things' } %> <section id="hero" class="hero mb-12 bg-silver"> <header class="flex items-center justify-between mb-4"> <h1>Thanks for Signing up!</h1> </header> <section> <p class="mb-4">Your subscription to my newsletter has been confirmed....
Update styles on thanks page
Update styles on thanks page
HTML+ERB
mit
rossta/rossta.github.com,rossta/rossta.github.com,rossta/rossta.github.com
98c9ddd43d7503044ce135680b9a2966d64d8096
source/_splash.erb
source/_splash.erb
<div class="row"> <div class="col-6 col-lg-6"> <img src="images/foodcritic.png" /> </div> <div class="col-6 col-lg-6"> <h1>About Foodcritic</h1> <p> Foodcritic is a helpful lint tool you can use to check your Chef cookbooks for common problems. </p> <p> It comes with <b><%= r...
<div class="row"> <div class="col-6 col-lg-6"> <img src="images/foodcritic.png" /> </div> <div class="col-6 col-lg-6"> <h1>About Foodcritic</h1> <p> Foodcritic is a helpful lint tool you can use to check your Chef cookbooks for common problems. </p> <p> It comes with <b><%= r...
Update for Foodcritic in ChefDK
Update for Foodcritic in ChefDK Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
HTML+ERB
mit
acrmp/foodcritic-site,Foodcritic/foodcritic-site,acrmp/foodcritic-site,Foodcritic/foodcritic-site
009dd9f5b2288b840864f7b4988e6d738d77ad42
BHCDatabase/app/views/layouts/application.html.erb
BHCDatabase/app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title><%= full_title(yield(:title)) %></title> <%= favicon_link_tag 'favicon.ico' %> <%= render 'layouts/rails_default' %> <%= render 'layouts/shim' %> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> </head> <body> <% unless current_page?(lo...
<!DOCTYPE html> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <title><%= full_title(yield(:title)) %></title> <%= favicon_link_tag 'favicon.ico' %> <%= render 'layouts/rails_default' %> <%= r...
Add the "X-UA-Compatible" tag to head. This ensures that IE uses the latest rendering mode and doesn't needlessly allow compatability mode.
Add the "X-UA-Compatible" tag to head. This ensures that IE uses the latest rendering mode and doesn't needlessly allow compatability mode.
HTML+ERB
mit
DaBrown95/BHCDatabase,DaBrown95/BHCDatabase,DaBrown95/BHCDatabase
8fd74ce9094f24b282a5374f8e0c769f2319caa7
app/views/session/results.html.erb
app/views/session/results.html.erb
<% provide(:title, "Results") %> <h1>Here are your results!</h1> <% @sorted_questions.each do |question| %> <% full_question = find_question(@recent_questions, question[0]) %> <p><%= link_to question[0], "https://stackoverflow.com/questions/#{question[0]}" %></p> <% end %>
<% provide(:title, "Results") %> <h1>Here are your results!</h1> <% @sorted_questions.each do |question| %> <% full_question = find_question(@recent_questions, question[0]) %> <p><%= link_to question[0], "https://stackoverflow.com/questions/#{question[0]}" %> Relevance: <%= @questionList[question[0]] %></p> <% end...
Add sorted question link details
Add sorted question link details
HTML+ERB
mit
krrg/serloin,krrg/serloin,krrg/serloin
17cc5c7ff63d940e55fd24491bd9fe2471791907
backend/root/etc/nginx/sites-available/default.erb
backend/root/etc/nginx/sites-available/default.erb
server { listen 443 default_server; include ssl.conf; location = /healthcheck { return 200 "I am in good health!\n"; } location / { if ($http_x_forwarded_proto = "http") { return 301 https://$host:<%= Proxy.https_port %>$request_uri; } return 444; } } <% apex_domains.each do |d| %> server { listen...
server { listen 443 default_server; include ssl.conf; location = /healthcheck { return 200 "I am in good health!\n"; } location / { if ($http_x_forwarded_proto = "http") { return 301 https://$host:<%= Proxy.https_port %>$request_uri; } return 444; } } <% apex_domains.each do |d| %> server { listen...
Include proxy params to set our own X-Forwarded-For headers
Include proxy params to set our own X-Forwarded-For headers
HTML+ERB
agpl-3.0
recursecenter/proxy,recursecenter/proxy,recursecenter/proxy
69bce42715eaea8da302a6de352d51f568399882
views/log_in.erb
views/log_in.erb
<h1> Register </h1> <% if !error.nil? %> <p class="error"> <%= error %> </p> <% end %> <form action="/log_in" method="post"> <table> <tr> <td> <label for="email">Email</label> </td> <td> <input id="email" type="text" name="email"> </td> </tr> <tr> ...
<h1> Log in </h1> <% if !error.nil? %> <p class="error"> <%= error %> </p> <% end %> <form action="/log_in" method="post"> <table> <tr> <td> <label for="email">Email</label> </td> <td> <input id="email" type="text" name="email"> </td> </tr> <tr> ...
Fix title on log in page
Fix title on log in page
HTML+ERB
mit
mikegehard/user-authentication-from-scratch
8b8124df1a88132ff8a67cc194d22be588f82602
dev/puppet/modules/jazzee/templates/my.cnf.erb
dev/puppet/modules/jazzee/templates/my.cnf.erb
[mysqld] datadir=/var/lib/mysql/data server-id=99 socket=/var/lib/mysql/mysql.sock user=mysql old_passwords=0 symbolic-links=0 max_allowed_packet=20M #innodb tables all get their own file innodb_file_per_table # Set buffer pool size to 50-80% of your computer's memory innodb_buffer_pool_size=<%= (@memorysize.to_i*0....
[mysqld] datadir=/var/lib/mysql/data server-id=99 socket=/var/lib/mysql/mysql.sock user=mysql old_passwords=0 symbolic-links=0 max_allowed_packet=20M #innodb tables all get their own file innodb_file_per_table # Set buffer pool size to 50-80% of your computer's memory innodb_buffer_pool_size=<%= (@memorysize.to_i*0....
Change jazzee mysql configuration to use the new dfault mysql collation.
Change jazzee mysql configuration to use the new dfault mysql collation.
HTML+ERB
bsd-3-clause
Jazzee/Jazzee,Jazzee/Jazzee,Jazzee/Jazzee,Jazzee/Jazzee,Jazzee/Jazzee,Jazzee/Jazzee
ce5a938c6139cea17534e5f8147352fa39cb7282
views/not_found.erb
views/not_found.erb
<!DOCTYPE html> <html> <head> <title>Gitator - Find awesome repos/users based on your GitHub Profile!</title> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css"> <link ...
<!DOCTYPE html> <html> <head> <title>Gitator - Find relevent repos/users based on your GitHub Profile!</title> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css"> <link...
Correct the title in not found page
Correct the title in not found page
HTML+ERB
mit
prat0318/gitator,prat0318/gitator
2706d465d5b044d5145c97c52faf154f42120dcd
app/views/news_items/index.html.erb
app/views/news_items/index.html.erb
<% content_for :body_content_title do %> <%= t('plugins.refinerycms_news.title') %> <% end %> <% content_for :body_content_left do %> <%= @page[:body] if @news_items.offset == 0 %> <% if @news_items.any? %> <% @news_items.each do |item| %> <h3><%= link_to item.title, news_item_url(item) %></h3> ...
<% content_for :body_content_title do %> <%= t('plugins.refinerycms_news.title') %> <% end %> <% content_for :body_content_left do %> <%= @page[:body] if @news_items.offset == 0 %> <% if @news_items.any? %> <% @news_items.each do |item| %> <h3><%= link_to item.title, news_item_url(item) %></h3> ...
Use :format => :long date format for index action just like in show action.
Use :format => :long date format for index action just like in show action.
HTML+ERB
mit
wuboy0307/refinerycms-news,krisquigley/refinerycms-news,ipmobiletech/refinerycms-news,refinery/refinerycms-news,krisquigley/refinerycms-news,refinery/refinerycms-news,wuboy0307/refinerycms-news,ipmobiletech/refinerycms-news
55eb8ec5a0de6edf1b91632fde71f7ea1f8794a6
app/views/shared/tags/_curated_links_preview.html.erb
app/views/shared/tags/_curated_links_preview.html.erb
<div id="curated-lists" class="curated-lists"> <% tag_object.lists.ordered.each do |list| %> <%= render "govuk_publishing_components/components/document_list", { items: [ { link: { text: list.name }, metadata: { edit_list: tag.a("Edit list", href...
<div id="curated-lists" class="curated-lists"> <% tag_object.lists.ordered.each do |list| %> <%= render "govuk_publishing_components/components/document_list", { items: [ { link: { text: list.name }, metadata: { edit_list: tag.a("Edit list", href...
Fix broken link for "Unused links" section
Fix broken link for "Unused links" section
HTML+ERB
mit
alphagov/collections-publisher,alphagov/collections-publisher,alphagov/collections-publisher
4360fcc91d34de2a84cf71360298e561e00ddb1d
app/views/shared/_requirements_tree.html.erb
app/views/shared/_requirements_tree.html.erb
<% # this partial should take a local of requirements for it's level in the tree %> <% requirements.each do |requirement| %> <% if requirement.is_group? %> <li class="li_folder" id="requirement_<%= requirement.id %>"> <i class="icon requirements-group-open larger"></i> <%= requirement.text_brief %> ...
<% # this partial should take a local of requirements for it's level in the tree %> <% requirements.each do |requirement| %> <% if requirement.is_group? %> <li class="li_folder" id="requirement_<%= requirement.id %>"> <i class="icon requirements-group-open larger"></i> <%= requirement.text_brief %> ...
Refactor comeplete icon related code.
Refactor comeplete icon related code.
HTML+ERB
mit
2015SebINF1340/dmptool,derDaywalker/dmptool,derDaywalker/dmptool,derDaywalker/dmptool,2015SebINF1340/dmptool,2015SebINF1340/dmptool,derDaywalker/dmptool
1e7ade506cf17d0b518897abf369c233654c3807
app/views/my/packages/show.html.erb
app/views/my/packages/show.html.erb
<div class="Package"> <h2 class="Package-name"> <%= @package.name %> </h2> <h2 class="Package-estimated"> <% if @package.estimated_delivery_date.present? %> <%= @package.estimated_delivery_date %> <% else %> No Estimated Delivery Date Available <% end %> </h2> <h3 class="Package-...
<div class="Package"> <h2 class="Package-name"> <%= @package.name %> </h2> <h2 class="Package-status"> <%= @package.status.humanize %> </h2> <h2 class="Package-estimated"> <% if @package.estimated_delivery_date.present? %> <%= @package.estimated_delivery_date %> <% else %> No Est...
Add status to package page
Add status to package page
HTML+ERB
mit
coreyja/package-tracker,coreyja/package-tracker,coreyja/package-tracker
fb5b5e5a967e03beee76050dc2dfdd697447cd10
app/views/team_name/create.html.erb
app/views/team_name/create.html.erb
<div class="row mt-5"> <div class="col"> </div> <div class="col mt-5"> <%= form_tag create_path, method: :post do %> <div class="form-group"> <%= label_tag :team_name, 'Team Name' %> <%= text_field_tag :team_name, '', class: 'form-control', placeholder: 'GOV.U...
<div class="row mt-5"> <div class="col"> </div> <div class="col mt-5"> <%= form_tag create_path, method: :post do %> <div class="form-group"> <%= label_tag :team_name, 'Team Name' %> <%= text_field_tag :team_name, '', class: 'form-control', placeholder: 'GOV.U...
Add link to colour contrast checker
Add link to colour contrast checker
HTML+ERB
mit
govuklaurence/tv-team-name,govuklaurence/tv-team-name,govuklaurence/tv-team-name
94d403ab347c55c483bdf9fab2998529b03efbc1
app/views/coronavirus_landing_page/components/shared/_country_section.html.erb
app/views/coronavirus_landing_page/components/shared/_country_section.html.erb
<% guidance ||= nil %> <%= if guidance.present? && guidance["links"].present? guidance_links = guidance["links"] content_tag :p, :class => 'govuk-body' do concat(guidance["text"] + " ") guidance_links.each do | link | elem = link_to(link["label"],link["url"]) if link.equal? gu...
<% guidance ||= nil %> <%= if guidance.present? && guidance["links"].present? guidance_links = guidance["links"] content_tag :p, :class => 'govuk-body' do concat(guidance["text"] + " ") guidance_links.each do | link | elem = link_to(link["label"],link["url"], class: "govuk-link") ...
Add govuk-link class to country guidance links
Add govuk-link class to country guidance links
HTML+ERB
mit
alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections
a526baaefb961b9aeb2e394886713cfd30a8ef4a
app/views/email_alerts/publication_footer.html.erb
app/views/email_alerts/publication_footer.html.erb
<table id="govuk-email-footer" style="max-width: 580px; border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;"> <tr> <td style="border-collapse: collapse; padding: 0 0 0 15px;"> <ul class="actions" style="color: #0B0C0C !important; font-family: sans-serif; font-size: 16px; line-height: 1....
<table id="govuk-email-footer" style="max-width: 580px; border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;"> <tr> <td style="border-collapse: collapse; padding: 0 0 0 15px;"> <ul class="actions" style="color: #0B0C0C !important; font-family: sans-serif; font-size: 16px; line-height: 1....
Add email address to email footer
Add email address to email footer This enables users who have email forwarding to know which email address it was sent to.
HTML+ERB
mit
ministryofjustice/specialist-publisher,alphagov/manuals-publisher,alphagov/specialist-publisher,alphagov/manuals-publisher,ministryofjustice/specialist-publisher,alphagov/specialist-publisher-rebuild,alphagov/specialist-publisher-rebuild,alphagov/manuals-publisher,ministryofjustice/specialist-publisher,alphagov/special...
04674cf7fcb73d1da40b88d4afb45727d44fdf0e
app/views/transition/deployments/log_data.html.erb
app/views/transition/deployments/log_data.html.erb
<% if @rfc %> <h4> <%= @rfc.ciName %> <br/> <%= @rfc.ciClassName %> <br/> <%= @rfc.nsPath %> </h4> <% end %> <% render 'cms/log_data', :log_data => @log_data %> <script> window.log_line_selected = function(source, event) { var lineNumber = source.id.substr(1); var li = $j(source); var sel...
<% if @rfc %> <h4> <%= @rfc.ciName %> <br/> <%= @rfc.ciClassName %> <br/> <%= @rfc.nsPath %> </h4> <% end %> <%= render 'cms/log_data', :log_data => @log_data %> <script> window.log_line_selected = function(source, event) { var lineNumber = source.id.substr(1); var li = $j(source); var se...
Fix for deployment log data, change render to execute
Fix for deployment log data, change render to execute
HTML+ERB
apache-2.0
lkhusid/display,gauravlall/oneops,gauravlall/oneops,okornev/oneops,lkhusid/oneops,okornev/oneops,okornev/oneops,lkhusid/oneops,lkhusid/oneops,gauravlall/oneops,oneops/display,gauravlall/oneops,oneops/display,oneops/display,lkhusid/display,lkhusid/oneops,lkhusid/oneops,lkhusid/oneops,gauravlall/oneops,lkhusid/display,ok...
92cd3f9e0ce7f180cfc1b4563598069fbee24fbb
lib/generators/atlassian_jwt_authentication/templates/jwt_tokens_migration.rb.erb
lib/generators/atlassian_jwt_authentication/templates/jwt_tokens_migration.rb.erb
class CreateAtlassianJwtTokens < ActiveRecord::Migration def self.up if table_exists? :jwt_tokens pp 'Skipping jwt_tokens table creation...' else create_table :jwt_tokens do |t| t.string :addon_key t.string :client_key t.string :shared_secret t.string :product_type ...
class CreateAtlassianJwtTokens < ActiveRecord::Migration[<%= ActiveRecord::Migration.current_version %>] def self.up if table_exists? :jwt_tokens pp 'Skipping jwt_tokens table creation...' else create_table :jwt_tokens do |t| t.string :addon_key t.string :client_key t.strin...
Fix the failing migration template
Fix the failing migration template Inheriting directly from `ActiveRecord::Migration` is no longer supported. So we need to inherit from a specific Rails version.
HTML+ERB
mit
MeisterLabs/atlassian-jwt-authentication,MeisterLabs/atlassian-jwt-authentication
f2c72b7ca5dbe9b43cf7e033eb22a0719fa640b0
cookbooks/ad-auth/templates/default/lsassd.reg.erb
cookbooks/ad-auth/templates/default/lsassd.reg.erb
[HKEY_THIS_MACHINE\Services\lsass\Parameters] "SpaceReplacement"="-" [HKEY_THIS_MACHINE\Services\lsass\Parameters\Providers\ActiveDirectory] "HomeDirTemplate"="%H/%D/%U" "SpaceReplacement"="-" "AssumeDefaultDomain"=dword:00000001 "NssGroupMembersQueryCacheOnly"=dword:00000001 "RequireMembershipOf"=sza:"<%= @ad_members...
[HKEY_THIS_MACHINE\Services\lsass\Parameters] "SpaceReplacement"="-" [HKEY_THIS_MACHINE\Services\lsass\Parameters\Providers\ActiveDirectory] "HomeDirTemplate"="%H/%D/%U" "SpaceReplacement"="-" "AssumeDefaultDomain"=dword:00000001 "NssGroupMembersQueryCacheOnly"=dword:00000001 "RequireMembershipOf"=sza:"<%= @ad_members...
Set bash as the default shell for likewise
Set bash as the default shell for likewise Former-commit-id: 7353cecd23db90de1740a18bc3f988b43185cbfe [formerly 5e646bec732e013f32aed93a2c578e36c76e14c1] [formerly beb919e79c9b5b4eac75ba96429b8efc7933dd04 [formerly 91479f6f8a8a4240b5f36f5ae47bd2ca4f973eb2 [formerly c24675d90bf2fe05b1637dbf4dbae06786777d7d]]] Former-c...
HTML+ERB
apache-2.0
Webtrends/rundeck,Webtrends/rundeck,nilroy/rundeck,scottymarshall/rundeck,nilroy/rundeck,scottymarshall/rundeck,Webtrends/rundeck,scottymarshall/rundeck,nilroy/rundeck
0ee6050b492169db7646d85c16075f9df78ec48f
source/_footer.html.erb
source/_footer.html.erb
<div class="footer"> <div class="container"> <div class="footer-info"> Copyright <%= Time.now.strftime('%Y') %> <a href="http://tilde.io">Tilde Inc.</a> <br> <a href="http://emberjs.com/team">Core Team</a> | <a href="http://emberjs.com/sponsors">Sponsors</a> <br> <a href=...
<div class="footer"> <div class="container"> <div class="footer-info"> Copyright <%= Time.now.strftime('%Y') %> <a href="http://tilde.io">Tilde Inc.</a> <br> <a href="http://emberjs.com/team">Team</a> | <a href="http://emberjs.com/sponsors">Sponsors</a> <br> <a href="http...
Update "Core Team" link to be more appropriate
Update "Core Team" link to be more appropriate
HTML+ERB
mit
AaronSikes/website,josemarluedke/ember-website,SaladFork/emberjs-website,bmac/website,SaladFork/emberjs-website,AaronSikes/website,josemarluedke/ember-website,bmac/website,AaronSikes/website,SaladFork/emberjs-website,josemarluedke/ember-website,bmac/website,bmac/website,josemarluedke/ember-website,SaladFork/emberjs-web...
1f877fde1e4dd58fcb25073e60d243f9b9816a61
lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb
lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb
--- layout: post title: "Welcome to Jekyll!" date: <%= Time.now.strftime('%Y-%m-%d %H:%M:%S') %> categories: jekyll update --- You’ll find this post in your `_posts` directory – edit it and re-build (or run with the `--watch` switch) to see your changes. To add new posts, simply add a file in the `_posts` directory...
--- layout: post title: "Welcome to Jekyll!" date: <%= Time.now.strftime('%Y-%m-%d %H:%M:%S') %> categories: jekyll update --- You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is ...
Make the intro text on the site template post a bit nicer.
Make the intro text on the site template post a bit nicer.
HTML+ERB
mit
Tyrion22/jekyll,alfredxing/jekyll,fengsmith/jekyllcn,ls2uper/jekyll,kimeng/jekyll,ryanshaw/jekyll,0x00evil/jekyll,fengsmith/jekyll,getandpost/jekyll.github.io,sideci-sample/sideci-sample-jekyll,fulldecent/jekyll,angeliaz/jekyll,ls2uper/jekyll,doubleday/jekyll,digideskio/jekyll,yihangho/jekyll,LeuisKen/jekyllcn,xcatliu/...
cae7f55851c13c8729692fa08e30a0520d403ffb
modules/govuk_jenkins/templates/jobs/govuk_taxonomy_supervised_learning.yaml.erb
modules/govuk_jenkins/templates/jobs/govuk_taxonomy_supervised_learning.yaml.erb
--- - scm: name: govuk-taxonomy-supervised-learning scm: - git: url: git@github.com:alphagov/govuk-taxonomy-supervised-learning.git branches: - master - job: name: govuk_taxonomy_supervised_learning display-name: Taxonomy Supervised Learning Pipeline pr...
--- - scm: name: govuk-taxonomy-supervised-learning scm: - git: url: git@github.com:alphagov/govuk-taxonomy-supervised-learning.git branches: - master - job: name: govuk_taxonomy_supervised_learning display-name: Taxonomy Supervised Learning Pipeline pr...
Add measuring average taxons to taxonomy pipeline jenkins job
Add measuring average taxons to taxonomy pipeline jenkins job
HTML+ERB
mit
alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet
b2af6cb07291569f416e796c5e839be27c80dc12
app/views/site_page/dashboard_v2.html.erb
app/views/site_page/dashboard_v2.html.erb
<%= Gon::Base.render_data %> <%= javascript_pack_tag 'application' %> <%= react_component('Cover', { page: @site_page, site: @site_page.site, siteSettings: defined?(@site_page.site.site_settings) ? @site_page.site.site_settings : nil, siteTitleOnly: @site_title_only, image: @main_image, pageSize: defined?(...
<%= Gon::Base.render_data %> <%= javascript_pack_tag 'application' %> <%= react_component('Cover', { page: @site_page, site: @site_page.site, siteSettings: defined?(@site_page.site.site_settings) ? @site_page.site.site_settings : nil, siteTitleOnly: @site_title_only, image: @alternative_image, pageSize: de...
Use the correct cover image for the dashboard
Use the correct cover image for the dashboard
HTML+ERB
mit
Vizzuality/forest-atlas-landscape-cms,Vizzuality/forest-atlas-landscape-cms,Vizzuality/forest-atlas-landscape-cms,Vizzuality/forest-atlas-landscape-cms
6e841a46e48aa99b782c9fe8df14900364755bca
core/app/views/welcome.html.erb
core/app/views/welcome.html.erb
<% content_for :header, t('.there_are_no_users') %> <p> <%=t('.remember_admin_location')%> </p> <p> <strong>http://<%= request.host %>/refinery</strong> </p> <p> <%= t('.lets_start') %> </p> <div class='form-actions'> <div class='form-actions-left'> <%= button_to t('.continue'), new_user_url, :method => :g...
<% content_for :header, t('.there_are_no_users') %> <p> <%=t('.remember_admin_location')%> </p> <p> <strong>http://<%= request.host %>/refinery</strong> </p> <p> <%= t('.lets_start') %> </p> <div class='form-actions'> <div class='form-actions-left'> <%= link_to t('.continue'), new_user_url(:only_path => tr...
Build upon the success of tsdbrown by converting this to a link.
Build upon the success of tsdbrown by converting this to a link.
HTML+ERB
mit
Eric-Guo/refinerycms,LytayTOUCH/refinerycms,simi/refinerycms,hoopla-software/refinerycms,chrise86/refinerycms,kelkoo-services/refinerycms,mabras/refinerycms,mkaplan9/refinerycms,anitagraham/refinerycms,koa/refinerycms,kappiah/refinerycms,anitagraham/refinerycms,kappiah/refinerycms,Retimont/refinerycms,mkaplan9/refinery...
1a67f460473e70a8dd993a8751555eba4fd6f97f
lib/views/dashboards/show.erb
lib/views/dashboards/show.erb
<ul class="grid rows-<%= @dashboard.rows %> cols-<%= @dashboard.columns %>" id="<%= @dashboard.slug %>"> <% @dashboard.metrics.each do |metric| %> <li class="row-<%= metric[:row] %> col-<%= metric[:col] %> height-<%= metric[:height] || 1 %> width-<%= metric[:width] || 1 %>"> <div style="postition: relative"...
<ul class="grid rows-<%= @dashboard.rows %> cols-<%= @dashboard.columns %>" id="<%= @dashboard.slug %>"> <% @dashboard.metrics.each do |metric| %> <li class="row-<%= metric[:row] %> col-<%= metric[:col] %> height-<%= metric[:height] || 1 %> width-<%= metric[:width] || 1 %>"> <div style="postition: relative"...
Add title to metric url
Add title to metric url
HTML+ERB
mit
theodi/metrics-api,theodi/bothan,theodi/metrics-api,theodi/metrics-api,theodi/bothan,theodi/bothan,theodi/bothan
268538a03f45c9569409236b7380981be2d8fd25
app/views/conversations/_row.html.erb
app/views/conversations/_row.html.erb
<a href="<%= account_conversation_path(conversation.account, conversation) %>" class="conversation-row"> <% if current_page?(inbox_account_conversations_path(@account)) %> <div class="pull-right"> <div class="btn-group"> <button href="#" data-account-conversation-path="<%= account_conversation_path...
<a class="conversation-row" href="<%= account_conversation_path(conversation.account, conversation) %>"> <% if current_page?(inbox_account_conversations_path(@account)) %> <div class="pull-right"> <div class="btn-group"> <button class="btn btn-primary respond-later" data-account-conversation-path="...
Clean up conversation row markup
Clean up conversation row markup
HTML+ERB
agpl-3.0
asm-helpful/helpful-web,asm-helpful/helpful-web,asm-helpful/helpful-web,nikhilmat/helpful-web,asm-helpful/helpful-web,nikhilmat/helpful-web,nikhilmat/helpful-web
bba3e9553a395a12f8e6fe7359b29e4eb1378f96
app/views/residences/_fields.html.erb
app/views/residences/_fields.html.erb
<div class="row"> <div class="col-md-4"> <h2>Time period</h2> <%= f.date_field :start %> <%= f.date_field :end %> <%= f.check_box :current, label: "Currently living here", disable: true %> <%= f.text_field :reason, label: "Reason for leaving" %> <%= f.text_field :rent %> <h2>Residence Address<...
<div class="row"> <div class="col-md-4"> <h2>Time period</h2> <%= f.date_field :start %> <%= f.date_field :end %> <%= f.check_box :current, label: "Currently living here", disable: true %> <%= f.text_field :reason, label: "Reason for leaving" %> <%= f.text_field :rent %> <h2>Residence Address<...
Update landlord address field descritption
Update landlord address field descritption At the request of Stacey, changing the label "Landord's address" to "Landlord's current address." This makes it clearer to case workers that the address should be one where the landlord can contacted at the current time.
HTML+ERB
mit
jrunningen/districthousing,uncompiled/districthousing,uncompiled/districthousing,uncompiled/districthousing,MetricMike/districthousing,MetricMike/districthousing,uncompiled/districthousing,codefordc/districthousing,meiao/districthousing,meiao/districthousing,jrunningen/districthousing,uncompiled/districthousing,codefor...
20335290836e1a11755f9cee60253b4bf92531f2
app/views/shared/_breadcrumb.html.erb
app/views/shared/_breadcrumb.html.erb
<% content_for(:breadcrumb) do %> <a href="<%= root_path %>"><%= t('layouts.base.home') %></a> <% categories.each do |category| %> <span class="breadcrumb__divider">&#187;</span> <a> <%= link_to category.title, category.path %> </a> <% end %> <% end %>
<% content_for(:breadcrumb) do %> <a href="<%= root_path %>"><%= t('layouts.base.home') %></a> <% categories.each do |category| %> <span class="breadcrumb__divider">&#187;</span> <span itemscope itemtype="http://data-vocabulary.org/Breadcrumb"> <%= link_to category.path, itemprop: "url" do %> ...
Add in the microdata for the breadcrumbs
Add in the microdata for the breadcrumbs
HTML+ERB
mit
moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend
08cf8c3e8407e99141258dd54a2e93b5e1172043
modules/performanceplatform/templates/assets-vhost.erb
modules/performanceplatform/templates/assets-vhost.erb
# Spotlight serves assets from the public directory # of the currently deployed version of the app. location /spotlight/ { expires 1m; rewrite ^/spotlight(.*)$ $1 break; root /opt/spotlight/current/public; gzip on; gzip_types application/x-javascript application/javascript application/json text/css; gzip_pr...
# Spotlight serves assets from the public directory # of the currently deployed version of the app. location /spotlight/ { expires 30d; rewrite ^/spotlight(.*)$ $1 break; root /opt/spotlight/current/public; gzip on; gzip_types application/x-javascript application/javascript application/json text/css; gzip_p...
Fix cache time for Spotlight assets
Fix cache time for Spotlight assets 1m is 1 minute, not 1 month. 30d is 30 days, which is 1 month. Documentation: http://nginx.org/en/docs/syntax.html
HTML+ERB
mit
alphagov/pp-puppet,alphagov/pp-puppet,alphagov/pp-puppet,alphagov/pp-puppet
08bc1bd87a19def169155364df7be6afbb946f50
app/views/thredded/shared/nav/_private_topics.html.erb
app/views/thredded/shared/nav/_private_topics.html.erb
<li class="thredded--user-navigation--item thredded--user-navigation--private-topics"> <%= link_to private_topics_path do %> <%= inline_svg 'thredded/private-messages.svg', class: 'thredded--icon' %> <%= t('thredded.nav.private_topics') %> <% if unread_private_topics_count > 0 -%> <span class="t...
<li class="thredded--user-navigation--item thredded--user-navigation--private-topics"> <%= link_to private_topics_path, rel: 'nofollow' do %> <%= inline_svg 'thredded/private-messages.svg', class: 'thredded--icon' %> <%= t('thredded.nav.private_topics') %> <% if unread_private_topics_count > 0 -%> ...
Add `rel="nofollow"` to private topics link
[JRO] Add `rel="nofollow"` to private topics link We don't want search engines trying to follow this link. Closes issue #257
HTML+ERB
mit
thredded/thredded,jvoss/thredded,jayroh/thredded,jayroh/thredded,thredded/thredded,thredded/thredded,jvoss/thredded,jvoss/thredded,jvoss/thredded,thredded/thredded,jayroh/thredded,jayroh/thredded
e87ea4a3d5e65370c37b6c67f2537de93b26bfb3
app/views/site/dashboard/_watched_projects.html.erb
app/views/site/dashboard/_watched_projects.html.erb
<%= pull_box('Watched', :class => 'watched') do %> <% if favorites.blank? %> <p class="hint muted"> <%= no_watchings_notice_for(user) %> </p> <% else %> <div class="filters clearfix"> <ul class="unstyled"> <li> <strong>Filter by</strong> </li> <% if is_curre...
<%= pull_box('Watched', :class => 'watched') do %> <% if favorites.blank? %> <p class="hint muted"> <%= no_watchings_notice_for(user) %> </p> <% else %> <div class="filters clearfix"> <ul class="unstyled"> <li> <strong>Filter by</strong> </li> <% if is_curre...
Remove defensive filter, as invalid favorites were removed.
Remove defensive filter, as invalid favorites were removed.
HTML+ERB
agpl-3.0
elcom/gitorious,Gitorious-backup/mainline,spencerwp/mainline,gitorious/mainline,rae/gitorious-mainline,rae/gitorious-mainline,SamuelMoraesF/Gitorious,tigefa4u/gitorious-mainline,rae/gitorious-mainline,gitorious/mainline,elcom/gitorious,tigefa4u/gitorious-mainline,elcom/gitorious,spencerwp/mainline,Gitorious-backup/main...
4e620ed43c64120e5ae31ba0238575519b047d4e
puppet/zulip/templates/nginx/zulip-enterprise.template.erb
puppet/zulip/templates/nginx/zulip-enterprise.template.erb
<% if @nginx_http_only != '' -%> <% else -%> server { listen 80; listen [::]:80; return 301 https://$host$request_uri; } <% end -%> include /etc/nginx/zulip-include/upstreams; server { <% if @nginx_http_only != '' -%> listen 80; listen [::]:80; <% else -%> listen <%= @nginx_listen_port %>; ...
<% if @nginx_http_only != '' -%> <% else -%> server { listen 80; listen [::]:80; return 301 https://$host$request_uri; } <% end -%> include /etc/nginx/zulip-include/upstreams; server { <% if @nginx_http_only != '' -%> listen 80; listen [::]:80; <% else -%> listen <%= @nginx_listen_port %> http...
Enable http2 in on-premise configuration.
nginx: Enable http2 in on-premise configuration. Signed-off-by: Anders Kaseorg <dfdb7392591db597bc41cf266a9c3bc12a2706e5@zulipchat.com>
HTML+ERB
apache-2.0
hackerkid/zulip,rht/zulip,timabbott/zulip,brainwane/zulip,rht/zulip,eeshangarg/zulip,eeshangarg/zulip,synicalsyntax/zulip,punchagan/zulip,shubhamdhama/zulip,andersk/zulip,shubhamdhama/zulip,showell/zulip,andersk/zulip,eeshangarg/zulip,andersk/zulip,kou/zulip,zulip/zulip,timabbott/zulip,kou/zulip,brainwane/zulip,timabbo...
88cb081d1f920c6cbd8bc63092b7c9f309bbc802
app/views/flag_settings/audits.html.erb
app/views/flag_settings/audits.html.erb
<h3>Flag Settings Audit</h3> <table class="table"> <tr> <th>User</th> <th>Action</th> <th>Setting</th> <th>Change</th> <th>At</th> </tr> <% @audits.each do |audit| %> <tr> <td><%= audit.user.username %></td> <td><%= audit.action %></td> <td><code><%= audit.auditable.nam...
<h3>Flag Settings Audit</h3> <table class="table"> <tr> <th>User</th> <th>Action</th> <th>Setting</th> <th>Change</th> <th>At</th> </tr> <% @audits.each do |audit| %> <tr> <td><%= audit.user.try(:username) %></td> <td><%= audit.action %></td> <td><code><%= audit.auditab...
Allow nil users in audits
Allow nil users in audits
HTML+ERB
cc0-1.0
j-f1/forked-metasmoke,angussidney/metasmoke,SulphurDioxide/metasmoke,angussidney/metasmoke,Charcoal-SE/metasmoke,SulphurDioxide/metasmoke,j-f1/forked-metasmoke,Charcoal-SE/metasmoke,angussidney/metasmoke,SulphurDioxide/metasmoke,j-f1/forked-metasmoke,angussidney/metasmoke,Charcoal-SE/metasmoke,Charcoal-SE/metasmoke,j-f...
6945ff63ed82b2f02afebf08d420b05620a53eab
app/views/flag_settings/audits.html.erb
app/views/flag_settings/audits.html.erb
<h3><%= title "Flag Settings Audit" %></h3> <table class="table"> <tr> <th>User</th> <th>Action</th> <th>Setting</th> <th>Change</th> <th>At</th> </tr> <% @audits.each do |audit| %> <tr> <td><%= audit.user.try(:username) %></td> <td><%= audit.action %></td> <td><code><%...
<h3><%= title "Flag Settings Audit" %></h3> <table class="table"> <tr> <th>User</th> <th>Action</th> <th>Setting</th> <th>Change</th> <th>At</th> </tr> <% @audits.each do |audit| %> <tr> <td><%= audit.user.try(:username) %></td> <td><%= audit.action %></td> <td><code><%...
Use Unicode arrow in audits; only show second value if present
Use Unicode arrow in audits; only show second value if present
HTML+ERB
cc0-1.0
j-f1/forked-metasmoke,angussidney/metasmoke,Charcoal-SE/metasmoke,j-f1/forked-metasmoke,SulphurDioxide/metasmoke,angussidney/metasmoke,SulphurDioxide/metasmoke,angussidney/metasmoke,Charcoal-SE/metasmoke,Charcoal-SE/metasmoke,j-f1/forked-metasmoke,angussidney/metasmoke,Charcoal-SE/metasmoke,SulphurDioxide/metasmoke,j-f...
7388f0742135aada695bf4750cfd588d96f716c8
app/views/opinio/comments/create.js.erb
app/views/opinio/comments/create.js.erb
$('#no_comments').fadeOut() <% if @reply %> if($('#comment_<%= @comment.commentable_id %> ul').length == 0) $('#comment_<%= @comment.commentable_id %>').append('<ul id="comment_<%= @comment.commentable_id %>_replies" class="replies"></ul>') $('#comment_<%= @comment.commentable_id %>_replies').append("<%= escape...
$('#no_comments').fadeOut() <% if @comment.valid? %> <% if @reply %> if($('#comment_<%= @comment.commentable_id %> ul').length == 0) $('#comment_<%= @comment.commentable_id %>').append('<ul id="comment_<%= @comment.commentable_id %>_replies" class="replies"></ul>') $('#comment_<%= @comment.commentable_i...
Return error to user if couldn't save the comment
Return error to user if couldn't save the comment
HTML+ERB
mit
Draiken/opinio,Draiken/opinio
19feb7e9b15eee7d7c69e41325d03f9e0e05509b
app/views/spree/shared/_social.html.erb
app/views/spree/shared/_social.html.erb
<% if (!current_user || !current_user.user_authentications) && Spree::AuthenticationMethod.active_authentication_methods? %> <h2><%= t(:sign_in_through_one_of_these_services) %>:</h2> <% end %> <% Spree::AuthenticationMethod.available_for(@user).each do |method| %> <% img = "store/#{method.provider}_32.png" %> <...
<% if (!current_user || !current_user.user_authentications) && Spree::AuthenticationMethod.active_authentication_methods? %> <h2><%= t(:sign_in_through_one_of_these_services) %>:</h2> <% end %> <% Spree::AuthenticationMethod.available_for(@user).each do |method| %> <% img = "store/#{method.provider}_32.png" %> <...
Use url helper instead of raw url generated based on the site_url spree preference
Use url helper instead of raw url generated based on the site_url spree preference
HTML+ERB
bsd-3-clause
andreteves/spree_social,andreteves/spree_social,andreteves/spree_social
9316fd0d76551504549a9270cdb77585249b6715
app/views/home/_join.html.erb
app/views/home/_join.html.erb
<section class="group"> <div class="join-box center"> <p class="title">Developers</p> <%= link_to "Back Ruby Together", developers_path(anchor: "plans"), class: "solid-button" %> <p>From $10 per month</p> <p class="learn-more"><%= link_to "Learn More", developers_path %></p> </div> <div class="jo...
<section class="group"> <div class="join-box center"> <p class="title">Developers</p> <%= link_to "Support Ruby Together", developers_path(anchor: "plans"), class: "solid-button" %> <p>From $10 per month</p> <p class="learn-more"><%= link_to "Learn More", developers_path %></p> </div> <div class=...
Use "support" instead of "back"
Use "support" instead of "back" Reason for Change ================= * I was confused when I saw this button. I thought it referred to the browser's "back" action. * I wondered if this was confusing for anyone else, so I opened this PR. Changes ======= * Replace `Back Ruby Together` with `Support Ruby Together`.
HTML+ERB
mit
rubytogether/rubytogether.org,rubytogether/rubytogether.org,rubytogether/rubytogether.org,rubytogether/rubytogether.org
d48cbdcb0944be2b529e5a2cfba9926a72bf87a1
app/views/home/index.html.erb
app/views/home/index.html.erb
<% content_for :head do -%> <%= stylesheet_pack_tag "hello_world_graphql" %> <% end -%> <%= render "shared/default_client_settings" %> <div id="main-app"></div> <%= javascript_packs_with_chunks_tag "hello_world_graphql", "data-turbolinks-track": "reload" %>
<% content_for :head do -%> <%= stylesheet_pack_tag "hello_world" %> <% end -%> <%= render "shared/default_client_settings" %> <div id="main-app"></div> <%= javascript_packs_with_chunks_tag "hello_world", "data-turbolinks-track": "reload" %>
Change back to hello world
Change back to hello world
HTML+ERB
mit
atomicjolt/react_rails_starter_app,atomicjolt/react_rails_starter_app,atomicjolt/lti_starter_app,atomicjolt/adhesion,atomicjolt/react_starter_app,atomicjolt/react_rails_starter_app,atomicjolt/adhesion,atomicjolt/lti_starter_app,atomicjolt/adhesion,atomicjolt/lti_starter_app,atomicjolt/react_starter_app,atomicjolt/react...
61a99aba2cb79a9940e01173e3f4236e50984439
app/views/items/show.html.erb
app/views/items/show.html.erb
<h2><%= @item.name %></h2> <% if !@item.image.blank? %> <img src="<%= @item.image %>"> <% else %> IMAGE NOT AVAILABLE <%end%> <ul> <li>Description: <%= @item.description %></li> <li>Quantity: <%= @item.quantity %></li> <li>Price: <%= @item.price %></li> </ul>
<h2><%= @item.name %></h2> <% if !@item.image.blank? %> <img src="<%= @item.image %>" width="500" height="400"> <% else %> <img src="https://static.orpi.com/image-not-found.png" width="450" height="400"> <%end%> <ul> <li>Description: <%= @item.description %></li> <li>Quantity: <%= @item.quantity %></li> <li...
Update if statement so no image provides default "Image Not Found" image. Provide temporary image measurements
Update if statement so no image provides default "Image Not Found" image. Provide temporary image measurements
HTML+ERB
mit
benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop
436a20b7a19fe621f691e50d86eae270cbcaf122
templates/interview.erb
templates/interview.erb
--- layout: default --- <article class="h-card"> <%= render_template('shared.interview_header', interview: @this, selected: true) %> <%= yield %> <% if @this.licence %><p id="licence"><strong>Note:</strong> This interview is available under the <a href="http://creativecommons.org/licenses/<%= @this.licence %>/3....
--- layout: default --- <article class="h-card"> <%= render('shared.interview_header', interview: page, selected: true) %> <%= yield %> <% if page.licence %><p id="licence"><strong>Note:</strong> This interview is available under the <a href="http://creativecommons.org/licenses/<%= page.licence %>/3.0/" title="F...
Switch to the page object and the render method, remove the next/previous links
Switch to the page object and the render method, remove the next/previous links
HTML+ERB
mit
ivuk/usesthis,waferbaby/usesthis,waferbaby/usesthis,ivuk/usesthis
02de94a04124f626d758f3cbb1f5ab53837b374e
app/views/layers/show.html.erb
app/views/layers/show.html.erb
<%=render :partial => 'layers/layermap', :object => @layer unless @layer.rectified_maps_count < 1 || !@layer.is_visible?%> <h3>Maps <span id="view-maps-index-link"></span></h3> <div class="warper_pagination"> <div id="search-pagination-top"> <%= will_paginate @maps %> </div> </div> <div id="loading-spinner" s...
<%=render :partial => 'layers/layermap', :object => @layer unless @layer.rectified_maps_count < 1 || !@layer.is_visible?%> <h3>Maps <span id="view-maps-index-link"></span></h3> <div class="warper_pagination"> <div id="search-pagination-top"> <%= will_paginate @maps %> </div> </div> <div id="loading-spinner" s...
Add in header for layer maps
Add in header for layer maps
HTML+ERB
mit
nypl-spacetime/nypl-warper,NYPL/nypl-warper,NYPL/nypl-warper,NYPL/nypl-warper,nypl-spacetime/nypl-warper,nypl-spacetime/nypl-warper,nypl-spacetime/nypl-warper,NYPL/nypl-warper
439360f488f6420cd11f37a4d3845d8ca46b1160
app/views/news/show.iphone.erb
app/views/news/show.iphone.erb
<% content_for :toolbar do %> <h1>I18n.t('news.news')</h1> <%= iphone_back_button %> <% end %> <div class="info"> I18n.t('news.posted') <%= @news_item.published.to_s(:date) rescue '?' %> <% if @news_item.person %> I18n.t('news.by') <%= link_to h(@news_item.person.name), @news_item.person %> <% elsif @new...
<% content_for :toolbar do %> <h1><%= I18n.t('news.news') %></h1> <%= iphone_back_button %> <% end %> <div class="info"> <%= I18n.t('news.posted') %> <%= @news_item.published.to_s(:date) rescue '?' %> <% if @news_item.person %> <%= I18n.t('news.by') %> <%= link_to h(@news_item.person.name), @news_item.pers...
Fix erb insertion of i18n translation keys.
Fix erb insertion of i18n translation keys.
HTML+ERB
agpl-3.0
nerdnorth/remote-workers-app,calsaviour/onebody,hooray4me/onebody2,hschin/onebody,hooray4me/onebody2,tmecklem/onebody,moss-zc/sns_shop,seethemhigh/onebody,brunoocasali/onebody,moss-zc/sns_shop,Capriatto/onebody,davidleach/onebody,kevinjqiu/onebody,tochman/onebody,fadiwissa/onebody,hooray4me/onebody,mattraykowski/onebod...
bd3d2bcb52b467d339e9b8d28ada443ea7aa4712
app/views/users/index.html.erb
app/views/users/index.html.erb
<h2>Results:</h2> <% @users.each do |user| %> <div class="result"> <label>Name:</label> <%= user.prefix %> <%= user.first_name %> <%= user.last_name %><br> <label>Years of Experience: </label> <%= user.years %><br> <label>Licenses Held:</label> <%= user.licenses.map do |lic| lic.name end.join(', ') %><br> <lab...
<h2>Results:</h2> <% @users.each do |user| %> <div class="result"> <label>Name:</label> <%= user.prefix %> <%= user.first_name %> <%= user.last_name %><br> <label>Years of Experience: </label> <%= user.years %><br> <label>Licenses Held:</label> <%= user.licenses.map do |lic| lic.name end.join(', ') %><br> <lab...
Make export to csv available to schools
Make export to csv available to schools
HTML+ERB
mit
brianmock/incs-resume-bank,brianmock/incs-resume-bank,brianmock/incs-resume-bank
d64232287b6dbfca9bba1705e1c76208b441a262
app/assets/javascripts/graph_starter/application.coffee.erb
app/assets/javascripts/graph_starter/application.coffee.erb
#= require jquery #= require jquery_ujs #= require turbolinks #= require graph_starter/underscore #= require graph_starter/ember #= require graph_starter/ember-template-compiler #= require semantic-ui ready = -> $('#loading-spinner').hide() $("img").error -> console.log 'imgError!!!!' img = $(@) im...
#= require jquery #= require jquery_ujs #= require turbolinks #= require graph_starter/underscore #= require semantic-ui ready = -> $('#loading-spinner').hide() $("img").error -> console.log 'imgError!!!!' img = $(@) img.attr('src', <%= asset_path("missing.png").to_json %>) img.css('padding', '...
Remove ember for now for better performance
Remove ember for now for better performance
HTML+ERB
mit
neo4j-examples/graph_starter,neo4j-examples/graph_starter,neo4j-examples/graph_starter
e345a29d2c63158d18a32129637104fccd44b057
lib/pliny/templates/endpoint_acceptance_test.erb
lib/pliny/templates/endpoint_acceptance_test.erb
require "spec_helper" describe Endpoints::<%= plural_class_name %> do include Committee::Test::Methods include Rack::Test::Methods def app Routes end it "GET <%= url_path %>" do get "<%= url_path %>" last_response.status.should eq(200) last_response.body.should eq("[]") end it "POST <%...
require "spec_helper" describe Endpoints::<%= plural_class_name %> do include Committee::Test::Methods include Rack::Test::Methods def app Routes end describe 'GET <%= url_path %>' do it 'returns correct status code and conforms to schema' do get '<%= url_path %>' last_response.status.s...
Add grouping to acceptance spec
Add grouping to acceptance spec
HTML+ERB
mit
fdr/pliny,fdr/pliny,interagent/pliny,interagent/pliny,interagent/pliny,hayduke19us/pliny,hayduke19us/pliny,fdr/pliny,hayduke19us/pliny
8c38ccf5a77915252cee4a5f15750720ecfe622b
app/views/permit_steps/display_permits.html.erb
app/views/permit_steps/display_permits.html.erb
<%= render partial: "layouts/sidebar", locals: {cur_step: 2} %> <div class="step ha-waypoint" id="renovation-rules" data-animate-down="50%" data-animate-up="34%"> <h1>This is the permit you need to apply for</h1> <h2 class="grant-total permits-req">Permits Required</h2> <div class="w-row"> <div class="w-col"...
<%= render partial: "layouts/sidebar", locals: {cur_step: 2} %> <div class="step ha-waypoint" id="renovation-rules" data-animate-down="50%" data-animate-up="34%"> <h1>This is the permit you need to apply for</h1> <h2 class="grant-total permits-req">Permits Required</h2> <div class="w-row"> <div class="w-col"...
Rewrite language for permit accept page to match real requirements of general repairs permit
Rewrite language for permit accept page to match real requirements of general repairs permit
HTML+ERB
isc
codeforamerica/homebase,schlos/homebase,codeforamerica/homebase,randy-r-masters/homebase,randy-r-masters/homebase,codeforamerica/homebase,schlos/homebase,schlos/homebase,randy-r-masters/homebase
f64fd205e75213328b085e7a3f355b681338937a
app/views/activities/_form.html.erb
app/views/activities/_form.html.erb
<%= form_for(@activity) do |f| %> <% if @activity.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@activity.errors.count, "error") %> prohibited this activity from being saved:</h2> <ul> <% @activity.errors.full_messages.each do |msg| %> <li><%= msg %></li> <% end %>...
<%= form_for(@activity) do |f| %> <% if @activity.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@activity.errors.count, "error") %> prohibited this activity from being saved:</h2> <ul> <% @activity.errors.full_messages.each do |msg| %> <li><%= msg %></li> <% end %>...
Add a label for the polarity radio buttons
Add a label for the polarity radio buttons
HTML+ERB
mit
rossfuhrman/habitabs,rossfuhrman/habitabs,rossfuhrman/habitabs
b98790d48e1357d5a2e95a7ce09df89e3cd3503d
doc/yardoc_templates/default/layout/html/footer.erb
doc/yardoc_templates/default/layout/html/footer.erb
<%= superb %> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.pvar pluginUrl = '//www.google-analytics.com/plugins/ga/inpage_linkid.js'; _gaq.push(['_require', 'inpage_linkid', pluginUrl]); _gaq.push(['_setAccount', 'UA-15639968-1']); _gaq.push(['_setDomainName', 'nanoc.ws']); _gaq.p...
<%= superb %> <script type="text/javascript"> var _gaq = _gaq || []; var pluginUrl = '//www.google-analytics.com/plugins/ga/inpage_linkid.js'; _gaq.push(['_require', 'inpage_linkid', pluginUrl]); _gaq.push(['_setAccount', 'UA-15639968-1']); _gaq.push(['_setDomainName', 'nanoc.ws']); _gaq.push(['...
Fix broken Google Analytics tracking code
Fix broken Google Analytics tracking code
HTML+ERB
mit
remko/nanoc,barraq/nanoc,legallybrown/nanoc,RubenVerborgh/nanoc,nanoc/nanoc,hilohiro/nanoc,gjtorikian/nanoc
c1a9ce6b3b3d66791ee24b79959ba116386e885a
app/views/datagrid/_table.html.erb
app/views/datagrid/_table.html.erb
<%# Local variables: * grid - instance of Datagrid * assets - Array of database Entities * options - passed options Hash %> <%= content_tag :table, options[:html] do %> <thead> <%= datagrid_header(grid, options) %> </thead> <tbody> <% if grid.rows.empty? %> <tr><td class="noresults" colspan="100%"><%=...
<%# Local variables: * grid - instance of Datagrid * assets - Array of database Entities * options - passed options Hash %> <%= content_tag :table, options[:html] do %> <thead> <%= datagrid_header(grid, options) %> </thead> <tbody> <% if grid.rows.empty? %> <tr><td class="noresults" colspan="100%"><%=...
Use &mdash;&mdash; as a default indication that no records were found.
Use &mdash;&mdash; as a default indication that no records were found.
HTML+ERB
mit
reenhanced/datagrid,bogdan/datagrid,artofhuman/datagrid,sadaf2605/datagrid,sadaf2605/datagrid,11factory/datagrid,artofhuman/datagrid,bogdan/datagrid,jeanlinux/datagrid,jeanlinux/datagrid,reenhanced/datagrid
a4d33b68fd4e7524c170172d8922e28504543a10
app/views/partials/_posts.html.erb
app/views/partials/_posts.html.erb
<div class="posts wall row"> <!-- Posts list --> <% @articles.each_with_index do |article, i| %> <% unless !(defined?(limit_to)).nil? and i >= limit_to %> <div class="wall-item col-sm-6 col-md-4"> <div class="panel panel-default"> <div class="panel-heading"> <h3><%= link_to art...
<div class="posts wall row"> <!-- Posts list --> <% @articles.each_with_index do |article, i| %> <% unless !(defined?(limit_to)).nil? and i >= limit_to %> <div class="wall-item col-sm-6 col-md-4"> <div class="panel panel-default"> <div class="panel-heading"> <h3><%= link_to art...
Remove date in articles preview
Remove date in articles preview
HTML+ERB
agpl-3.0
civio/quiencobralaobra,civio/quiencobralaobra,civio/quiencobralaobra
cebd5a263a8d14cf998fec7424420ae272114c82
app/views/session/results.html.erb
app/views/session/results.html.erb
<% provide(:title, "Results") %> <h1>Here are your results!</h1> <% @sorted_questions.each do |question| %> <% full_question = find_question(@recent_questions, question[0]) %> <p><%= link_to question[0], "https://stackoverflow.com/questions/#{question[0]}" %> Relevance: <%= @questionList[question[0]] %></p> <% end...
<% provide(:title, "Results") %> <h1>Here are your results!</h1> <% @sorted_questions.each do |question| %> <% full_question = find_question(@recent_questions, question[0]) %> <p><%= link_to question[0], "https://stackoverflow.com/questions/#{question[0]}" %> Relevance: <%= @questionList[question[0]] %></p> <% end...
Add sorted question link details
Add sorted question link details
HTML+ERB
mit
krrg/serloin,krrg/serloin,krrg/serloin
f0eeecae6bb178c7f74147a8b45ce01f68079a8f
modules/main/templates/nginx.conf.erb
modules/main/templates/nginx.conf.erb
server { listen 80 default_server; listen [::]:80 default_server; root /opt/app/web; index index.html index.php; server_name _; client_max_body_size <%= @maxUploadSize%>M; location / { # First attempt to serve request as file, then # as directory, then fall back to displaying a 404. try_files $uri /ap...
server { listen 80 default_server; listen [::]:80 default_server; root /opt/app/web; index index.php; server_name _; client_max_body_size <%= @maxUploadSize%>M; location / { # First attempt to serve request as file, then # as directory, then fall back to displaying a 404. try_files $uri /app.php$is_ar...
Make index.php the only index
Make index.php the only index
HTML+ERB
mit
istvan-antal/nginx-php-puppet,istvan-antal/nginx-php-puppet,istvan-antal/nginx-php-puppet
3d9d6a86fcff1199d470bcc6d591c4411f03a0e4
config/deploy/templates/shared/foreman/process.service.erb
config/deploy/templates/shared/foreman/process.service.erb
[Unit] PartOf=<%= app %>-<%= name %>.target [Service] # Foreground process (do not use --daemon in ExecStart or config.rb) Type=simple WorkingDirectory=<%= engine.root %> ExecStart=/bin/bash -l -c '<%= process.command %>' Restart=no TimeoutStopSec=<%= engine.options[:timeout] %>
[Unit] PartOf=<%= app %>-<%= name %>.target [Service] # Foreground process (do not use --daemon in ExecStart or config.rb) Type=simple WorkingDirectory=<%= engine.root %> ExecStart=/bin/bash -l -c '<%= process.command %>' Restart=no TimeoutStopSec=<%= engine.options[:timeout] %> SyslogIdentifier=deploy-it.<%= name %>
Add SyslogIdentifier to systemd units
Add SyslogIdentifier to systemd units
HTML+ERB
agpl-3.0
jbox-web/deploy-it,jbox-web/deploy-it,jbox-web/deploy-it,jbox-web/deploy-it
6fa931c72c5217bcc1712380ecf29e23b3afeb92
app/views/layouts/_nav.html.erb
app/views/layouts/_nav.html.erb
<div class="container-fluid page-nav"> <nav> <div class="row-fluid"> <div class="span12"> <h1><%= link_to RacingAssociation.current.short_name, root_path %></h1> <ul class="pull-right"> <li><%= link_to "Schedule", schedule_path, :class => "schedule_link" %></li><li><%=...
<div class="container-fluid page-nav"> <nav> <div class="row-fluid"> <div class="span12"> <h1><%= link_to RacingAssociation.current.short_name, root_path %></h1> <ul class="pull-right"> <% if @posts.present? %><li><%= link_to "Mailing Lists", mailing_lists_path %></li><...
Add mailing lists link to nav if there are mailing list posts
Add mailing lists link to nav if there are mailing list posts
HTML+ERB
mit
scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails
4c72ef9bd8fabb30ad2c581d896c53b545a3519b
app/views/problem_submissions/_comment.html.erb
app/views/problem_submissions/_comment.html.erb
<div class='comment_line'> <% current_comments = source_file.comments.where(:line_number => line_number).order(:created_at) current_comments.each do |comment|%> <div class='comment'> <div class='comment_box <%= (comment.user == current_user) ? 'this_user_' : 'other_user_'%>comment'> <%= simple_f...
<div class='comment_line'> <% current_comments = source_file.comments.select{ |c| c.line_number == line_number } current_comments.each do |comment|%> <div class='comment'> <div class='comment_box <%= (comment.user == current_user) ? 'this_user_' : 'other_user_'%>comment'> <%= simple_format(comme...
Improve performance for comment loading
Improve performance for comment loading The “where” statement was hitting the database a lot which was degrading performance. Using a lambda expression “select” to work with the data in memory improves performance dramatically.
HTML+ERB
mit
mgdelcar/JavaTA,mgdelcar/JavaTA,mgdelcar/JavaTA,mgdelcar/JavaTA
47306b84a1abc5c972dfcd85657b125e54e12f77
app/views/admin/merchandise/brands/index.html.erb
app/views/admin/merchandise/brands/index.html.erb
<%= render :partial => '/admin/merchandise/sub_header'%> <h1> Brands </h1> <div class=' pretty_table'> <table> <thead> <tr> <th>Name</th><th></th> </tr> </thead> <% for brand in @brands %> <tr> <td><%= link_to brand.name, admin_merchandise_brand_path(brand) %></td> <td><%= link_to "Edit",...
<%= render :partial => '/admin/merchandise/sub_header'%> <h1> Brands </h1> <div class=' pretty_table'> <table> <thead> <tr> <th>Name</th><th></th><th></th> </tr> </thead> <% for brand in @brands %> <tr> <td><%= link_to brand.name, admin_merchandise_brand_path(brand) %></td> <td><%= link_t...
Move 'Delete' to separate cell
Move 'Delete' to separate cell
HTML+ERB
mit
epireve/Kffy,drhenner/ror_ecommerce,ragnarisxx/ktis,apexkid/sally,mycee0001/ror_ecommerce-master,WebwinkeleninNL/wwi,tiveor/ror_ecommerce,zjr/o-junk-ecomm-site,rommelk/Ecommerce,frenkly/artychoke,paulhd/Gutscheine,tjblonsk/ecommerce_prototype,arthursllaw/ror_ecommerce,danilke/magazin,paulhd/Gutscheine,gustavoguichard/q...
737e3511a4d0ebf02793a45188d67bca7bafd5f2
app/views/calculations/results/paginated.html.erb
app/views/calculations/results/paginated.html.erb
<% @page_title = "Results: #{@event.date.year}: #{@event.full_name}" %> <% cache cache_key(@event, @page, @races) do %> <h2><%= @event.year %> <%= @event.full_name %></h2> <%= render partial: "calculations/date_and_parent", locals: { event: @event } %> <%= render partial: "calculation", locals: { calculation: @c...
<% @page_title = "Results: #{@event.date.year}: #{@event.full_name}" %> <% cache cache_key(@event, @page, @races) do %> <h2><%= @event.year %> <%= @event.full_name %></h2> <%= render partial: "calculations/date_and_parent", locals: { event: @event } %> <%= render partial: "calculation", locals: { calculation: @c...
Use smaller pagination for mobile
Use smaller pagination for mobile
HTML+ERB
mit
scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails
b7753bd290cd6fe3bbc2bed33657b5d7a92a387d
app/views/results/marker/show_result_error.js.erb
app/views/results/marker/show_result_error.js.erb
<%# Marking state set to complete but there is at least one nil mark %> document.getElementById('criterion_incomplete_error').innerHTML = '<%= @result.errors[:base] %>'; document.getElementById('criterion_incomplete_error').style.display = ''; document.getElementById('marking_state').value = '<%= Result::MARKING_STATE...
<%# Marking state set to complete but there is at least one nil mark %> document.getElementById('criterion_incomplete_error').innerHTML = '<%= @result.errors[:base].to_sentence %>'; document.getElementById('criterion_incomplete_error').style.display = ''; document.getElementById('marking_state').value = '<%= Result::M...
Remove quotes/brackets around error message in results view
Remove quotes/brackets around error message in results view
HTML+ERB
mit
binuri/Markus,arkon/Markus,david-yz-liu/Markus,MarkUsProject/Markus,wkwan/Markus,SoftwareDev/Markus,SoftwareDev/Markus,ealonas/Markus,ealonas/Markus,ealonas/Markus,reidka/Markus,jeremygoh/Markus,WilsonChiang/Markus,finnergizer/Markus,arkon/Markus,ealonas/Markus,binuri/Markus,wkwan/Markus,melneubert/Markus,arkon/Markus,...
4760d76e591fac5d79a08378f54218f0648e7b5a
lib/smart_answer_flows/calculate-statutory-sick-pay/questions/total_employee_earnings.erb
lib/smart_answer_flows/calculate-statutory-sick-pay/questions/total_employee_earnings.erb
<% text_for :title do %> Enter the total amount (before deductions like Income Tax and National Insurance) of your employee’s earnings on paydays between <%= format_date(calculator.relevant_period_from) %> and <%= format_date(calculator.relevant_period_to) %>. <% end %> <% govspeak_for :body do %> Different rules ...
<% text_for :title do %> Enter the total amount (before deductions like Income Tax and National Insurance) of your employee’s earnings on paydays between <%= format_date(calculator.relevant_period_from) %> and <%= format_date(calculator.relevant_period_to) %>. <% end %> <% govspeak_for :hint do %> Different rules ...
Fix missing helper text for total employee earnings question
Fix missing helper text for total employee earnings question The guidance text for this question was not being displayed as the question type doesn't support body text. However it does support hint text.
HTML+ERB
mit
alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers
035787b33e5fe66576c89968763b83a7cdfc246c
alert_templates/shared/logsearch/logsearch_persistent_disk_usage.json.erb
alert_templates/shared/logsearch/logsearch_persistent_disk_usage.json.erb
{ "silenced": false, "query": "avg(last_1h):max:bosh.healthmonitor.system.disk.persistent.percent{deployment:cf-elk-3az} by {deployment,index,job} > 90", "message": "Healthmonitor reports that the persistent disk usage is > 90% in the past 60 minutes on: \n{{deployment.name}},\n{{job.name}}, \n{{index.name}}\n@pa...
{ "silenced": false, "query": "avg(last_1h):max:bosh.healthmonitor.system.disk.persistent.percent{deployment:cf-elk-3az} by {deployment,index,job} > 90", "message": "Healthmonitor reports that the persistent disk usage is > 90% in the past 60 minutes on: \n{{deployment.name}},\n{{job.name}}, \n{{index.name}}\n@cl...
Switch logsearch persistent disk usage alert to go to cloudops
Switch logsearch persistent disk usage alert to go to cloudops [#106223354] Signed-off-by: Rohit Kumar <bf9db8c0f4342eaf27792a19d3daba493b5df7cd@pivotal.io>
HTML+ERB
apache-2.0
pivotal-cf-experimental/datadog-config-oss,pivotal-cf-experimental/datadog-config-oss
5be28d712f8e60ee004a3b8249d4af4cbd43bc4d
lib/deprec/templates/mongrel/mongrel_cluster.yml.erb
lib/deprec/templates/mongrel/mongrel_cluster.yml.erb
--- user: <%= mongrel_user %> group: <%= mongrel_group %> cwd: <%= current_path %> log_file: <%= mongrel_log_dir %>/mongrel.log port: "<%= mongrel_port.to_s %>" environment: <%= mongrel_environment %> address: <%= mongrel_address %> pid_file: <%= mongrel_pid_dir %>/mongrel.pid servers: <%= mongrel_servers.to_s %>
--- user: <%= app_user %> group: <%= app_group %> cwd: <%= current_path %> log_file: <%= mongrel_log_dir %>/mongrel.log port: "<%= mongrel_port.to_s %>" environment: <%= mongrel_environment %> address: <%= mongrel_address %> pid_file: <%= mongrel_pid_dir %>/mongrel.pid servers: <%= mongrel_servers.to_s %>
Use generic user and group variable names
Use generic user and group variable names
HTML+ERB
mit
zippy/deprec,saimonmoore/deprec,zippy/deprec,saimonmoore/deprec,zippy/deprec,zippy/deprec,saimonmoore/deprec,saimonmoore/deprec,zippy/deprec
e1a4711d51fe60e2a489d019ff795a35b47638b8
personal_website/app/views/layouts/application.html.erb
personal_website/app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>Personal Website</title> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, maxmimum-scale=1.0, minimum-scale=1.0 initial-scale=1.0"/> <!--[if lt IE]> <script src="//html5shiv....
<!DOCTYPE html> <html> <head> <title>Personal Website</title> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, maxmimum-scale=1.0, minimum-scale=1.0 initial-scale=1.0"/> <!--[if lt IE]> <script src="//html5shiv....
Delete text logo in image
Delete text logo in image
HTML+ERB
mit
Bigless27/Personal-Website-2.0,Bigless27/Personal-Website-2.0,Bigless27/Personal-Website-2.0
8b65492f99052bb53400852de345d9c28203b0c9
app/views/request/_view_html_stylesheet.html.erb
app/views/request/_view_html_stylesheet.html.erb
<% if AlaveteliConfiguration::responsive_styling || params[:responsive] %> <!--[if LTE IE 7]> <link href="/assets/responsive/application-lte-ie7.css" media="all" rel="stylesheet" title="Main" type="text/css" /> <![endif]--> <!--[if IE 8]> <link href="/assets/responsive/application-ie8.css" media="all" rel="s...
<% if AlaveteliConfiguration::responsive_styling || params[:responsive] %> <!--[if LTE IE 7]> <link href="/assets/responsive/application-lte-ie7.css" media="all" rel="stylesheet" title="Main" type="text/css" /> <![endif]--> <!--[if IE 8]> <link href="/assets/responsive/application-ie8.css" media="all" rel="s...
Add viewport to head when using responsive styles.
Add viewport to head when using responsive styles.
HTML+ERB
agpl-3.0
4bic/alaveteli,petterreinholdtsen/alaveteli,nzherald/alaveteli,nzherald/alaveteli,nzherald/alaveteli,andreicristianpetcu/alaveteli,petterreinholdtsen/alaveteli,4bic/alaveteli,andreicristianpetcu/alaveteli_old,nzherald/alaveteli,Br3nda/alaveteli,andreicristianpetcu/alaveteli,TEDICpy/QueremoSaber,Br3nda/alaveteli,4bic/al...
77055c6a4adf1111b257b777baaf3a29b02e2a9e
cookbooks/calico/templates/default/compute/felix.cfg.erb
cookbooks/calico/templates/default/compute/felix.cfg.erb
[global] # Time between retries for failed endpoint operations. #EndpointRetryTimeMillis = 500 # Time between complete resyncs #ResyncIntervalSecs = 1800 # Plugin and ACL manager addresses PluginAddress = <%= @controller %> ACLAddress = <%= @controller %> # Metadata IP and port. If there is no metadata configuration...
[global] # Time between retries for failed endpoint operations. #EndpointRetryTimeMillis = 500 # Time between complete resyncs #ResyncIntervalSecs = 1800 # Plugin and ACL manager addresses PluginAddress = <%= @controller %> ACLAddress = <%= @controller %> # Metadata IP (or host) and port. If no metadata configuratio...
Change MetadataIP to MetadataAddr in config
Change MetadataIP to MetadataAddr in config
HTML+ERB
apache-2.0
Metaswitch/calico-chef,Metaswitch/calico-chef,Metaswitch/calico-chef,projectcalico/calico-chef,projectcalico/calico-chef,projectcalico/calico-chef
6a0453a7558815ed8a59c8b10c5b60d2e4c58906
cookbooks/nagios/templates/default/hosts.cfg.erb
cookbooks/nagios/templates/default/hosts.cfg.erb
# Generated by Chef # host definitions define host { use server address <%= node['ipaddress'] %> host_name <%= node['hostname'] %> hostgroups <%= node['nagios']['server_role'] %> } <% @nodes.each do |n| -%> <% unless n.name == node.name -%> define host { use server address <%= n['ipaddress'] %> host_nam...
# Generated by Chef # host definitions define host { use server address <%= node['ipaddress'] %> host_name <%= node['hostname'] %> hostgroups <%= node['nagios']['server_role'] %> } <% @nodes.each do |n| -%> <% unless n.name == node.name -%> define host { use server address <%= n['ipaddress'] %> host_name ...
Fix formatting so the ERB writes out correctly
Fix formatting so the ERB writes out correctly
HTML+ERB
apache-2.0
scottymarshall/rundeck,scottymarshall/rundeck,scottymarshall/rundeck
027131cb6a2ae12f81ec6d543a690e67460d1031
doc-src/templates/default/layout/html/layout.erb
doc-src/templates/default/layout/html/layout.erb
<!DOCTYPE html> <html> <head> <%= erb(:headers) %> </head> <body> <div class="nav_wrap"> <iframe id="nav" src="<%= @nav_url %>"></iframe> <div id="resizer"></div> </div> <div id="main" tabindex="-1"> <div id="header"> <%= erb(:breadcrumb) %> <%= erb(:search) %> ...
<!DOCTYPE html> <html> <head> <%= erb(:headers) %> </head> <body> <div class="nav_wrap"> <iframe id="nav" src="<%= @nav_url %>"></iframe> <div id="resizer"></div> </div> <div id="main" tabindex="-1"> <div id="header"> <%= erb(:breadcrumb) %> <%= erb(:search) %> ...
Comment out version 3 -> version 2 doc redirect
Comment out version 3 -> version 2 doc redirect
HTML+ERB
apache-2.0
aws/aws-sdk-ruby,aws/aws-sdk-ruby,aws/aws-sdk-ruby
36e99090651df7488ba05cc5d1fe187474ff7d34
app/views/admin/corporate_information_pages/new.html.erb
app/views/admin/corporate_information_pages/new.html.erb
<% content_for :page_title, "New corporate information page for #{@organisation.name}" %> <% content_for :back_link, (render "govuk_publishing_components/components/back_link", { href: admin_editions_path }) %> <% content_for :error_summary, render('shared/error_summary', object: @edition, parent_class: "edition"...
<% content_for :page_title, "New corporate information page for #{@organisation.name}" %> <% content_for :back_link, (render "govuk_publishing_components/components/back_link", { href: admin_editions_path }) %> <% content_for :error_summary, render('shared/error_summary', object: @edition, parent_class: "edition"...
Add tabs to new corporate information page
Add tabs to new corporate information page
HTML+ERB
mit
alphagov/whitehall,alphagov/whitehall,alphagov/whitehall,alphagov/whitehall
96141c12a6a93b3badd44b5ade522b46aadbc836
app/views/shared/_featured_news.html.erb
app/views/shared/_featured_news.html.erb
<% extra_class ||= "" extra_classes = if defined?(edition_counter) extra_class + " item-#{edition_counter}" else extra_class end image_size ||= :s300 show_meta ||= false %> <%= content_tag_for(:article, edition, nil, class: "#{edition_organisation_class(edition)} #{extra_classes.strip}")...
<% extra_class ||= "" extra_classes = if defined?(edition_counter) extra_class + " item-#{edition_counter}" else extra_class end image_size ||= :s300 show_meta ||= false %> <%= content_tag_for(:article, edition, nil, class: extra_classes.strip) do %> <div class="content"> <span cla...
Remove organisation classes from featured news
Remove organisation classes from featured news They don't actually provide any help being there but sometimes cause the colours of the links to get confused if the precidence of the department is in question. https://www.pivotaltracker.com/story/show/38430517
HTML+ERB
mit
robinwhittleton/whitehall,hotvulcan/whitehall,alphagov/whitehall,askl56/whitehall,YOTOV-LIMITED/whitehall,robinwhittleton/whitehall,ggoral/whitehall,YOTOV-LIMITED/whitehall,ggoral/whitehall,hotvulcan/whitehall,ggoral/whitehall,YOTOV-LIMITED/whitehall,robinwhittleton/whitehall,askl56/whitehall,askl56/whitehall,robinwhit...
386e011f4727d986ba0d3e55fb0e9d7e8ae91bc0
base/app/views/subjects/_contacts.html.erb
base/app/views/subjects/_contacts.html.erb
<% if (cs = subject.contact_subjects(:direction => :sent)).present? %> <h4> <%= cs.count %> <%= t('contact', :count => cs.count) %> </h4> <div class ="content"> <div class="contact"> <% cs.each do |contact| %> <%= link_to(image_tag(contact.logo.url(:contact), :alt => contact.name, :title => ...
<% if (cs = subject.contact_subjects(:direction => :sent)).present? %> <h4> <%= cs.count %> <%= t('contact', :count => cs.count) %> </h4> <div class ="content"> <div class="contact"> <% cs.each do |contact| %> <%= link_to(image_tag(contact.logo.url(:small), :alt => contact.name, :title => co...
Fix subject avatars in toolbar
Fix subject avatars in toolbar
HTML+ERB
mit
ging/social_stream,ging/social_stream,ging/social_stream,honorlin/social_stream,honorlin/social_stream,honorlin/social_stream,honorlin/social_stream
92a1d509ab0eed61760582b6b84c13b2a36c4191
app/views/users/show.erb
app/views/users/show.erb
<h1>user: <%=@user.name%></h1> <a href="#">Created Surveys</a> <a href="#">Taken Surveys</a>
<h1>User: <u><%=@user.name%></u></h1> <h4>Created Surveys</h4> <ol> <% @user.surveys.each do |survey| %> <li><a href="/surveys/<%="#{survey.id}"%>"><%=survey.title%></a></li> <% end %> </ol> <a href="#">Taken Surveys</a>
Add user display surveys erb
Add user display surveys erb
HTML+ERB
mit
nyc-rock-doves-2015/survey-werewolf,nyc-rock-doves-2015/survey-werewolf,nyc-rock-doves-2015/survey-werewolf
5bb3ad976fa8728e84dde0ca7d38aaf42ce342a6
app/views/groups/show.html.erb
app/views/groups/show.html.erb
<div>Billcrush: <%= @group.name %></div> Members: <% @group.members.each do |member| %> <%= member.name %> <% end %> <%= form_for [@group, @new_member] do |f| %> <%= f.label(:name) %> <%= f.text_field(:name) %> <%= f.submit %> <% end %>
<div>Billcrush: <%= @group.name %></div> Members: <% @members.each do |member| %> <%= member.name %> <% end %> <% @transactions.each do |transaction| %> <%= transaction.description %> - <%= transaction.amount_cents %> <% end %> <%= form_for [@group, @new_member] do |f| %> <%= f.label(:name) %> <%= f.text_fiel...
Add views to show and add transactions. not actually hooked up yet
Add views to show and add transactions. not actually hooked up yet
HTML+ERB
mit
zbrock/billcrush,zbrock/billcrush