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 |
|---|---|---|---|---|---|---|---|---|---|
aaa326d87a9f5f063ffe65d2aebfcafbfda8bf92 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title><%= content_for(:title) || 'Picture' %></title>
<%= csrf_meta_tags %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbol... | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title><%= content_for(:title) || 'Picture' %></title>
<%= csrf_meta_tags %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbol... | Add canonical link to layout | Add canonical link to layout
| HTML+ERB | mit | vinc/pi.ctu.re,vinc/pi.ctu.re,vinc/pi.ctu.re |
5e84b9557868fe19c45f4da89d448e40b87a1f52 | actioncable/app/assets/javascripts/action_cable.coffee.erb | actioncable/app/assets/javascripts/action_cable.coffee.erb | #= require_self
#= require ./action_cable/consumer
@ActionCable =
INTERNAL: <%= ActionCable::INTERNAL.to_json %>
createConsumer: (url = @getConfig("url")) ->
new ActionCable.Consumer @createWebSocketURL(url)
getConfig: (name) ->
element = document.head.querySelector("meta[name='action-cable-#{name}']")... | #= require_self
#= require ./action_cable/consumer
@ActionCable =
INTERNAL: <%= ActionCable::INTERNAL.to_json %>
createConsumer: (url) ->
url ?= @getConfig("url") ? "/cable"
new ActionCable.Consumer @createWebSocketURL(url)
getConfig: (name) ->
element = document.head.querySelector("meta[name='acti... | Fix location of default mount path value | Fix location of default mount path value
#getConfig was implmented as general utility for reading action-cable-* meta tags (hence the `name` argument). Introduced in 8b69f1eeba753c38364fb88136b2503480f2de1d.
| HTML+ERB | mit | MichaelSp/rails,Edouard-chin/rails,deraru/rails,lucasmazza/rails,utilum/rails,lcreid/rails,tjschuck/rails,tijwelch/rails,rbhitchcock/rails,Spin42/rails,arunagw/rails,mtsmfm/rails,stefanmb/rails,yasslab/railsguides.jp,kaspth/rails,tjschuck/rails,mtsmfm/rails,alecspopa/rails,georgeclaghorn/rails,gfvcastro/rails,jeremy/ra... |
1afa48107613e6d4bdba89b0b85008287d19d8a8 | app/views/devise/mailer/confirmation_instructions.html.erb | app/views/devise/mailer/confirmation_instructions.html.erb | <p>Welcome <%= @email %>!</p>
<p>You can confirm your account email through the link below:</p>
<p><%= link_to 'Confirm my account', confirmation_url(@resource, confirmation_token: @token) %></p>
| <p>Welcome <%= @email %>!</p>
<p>You can confirm your account email through the link below:</p>
<p><%= link_to 'Confirm my account', confirmation_url(@resource, confirmation_token: @token) %></p>
<% unless @resource.approved? %>
<p>
Please note, your account still has to be approved by the site
administrat... | Include a note in confirmation emails about approval | Include a note in confirmation emails about approval
| HTML+ERB | agpl-3.0 | mysociety/remit,mysociety/remit,mysociety/remit,mysociety/remit |
7ddfac1c3e28a54e5256a7aac54e2378b1dd70e1 | app/views/layouts/admin/base.html.erb | app/views/layouts/admin/base.html.erb | <!DOCTYPE html>
<html lang="<%= I18n.locale %>">
<head>
<%= render 'admin/shared/head' %>
</head>
<body class="<%= body_class %>">
<div class="container-fluid">
<div class="navbar">
<div class="navbar-inner">
<div class="container">
<div class="brand"><%= admin_title %></div>
... | <!DOCTYPE html>
<html lang="<%= I18n.locale %>">
<head>
<%= render 'admin/shared/head' %>
</head>
<body class="<%= body_class %>">
<div class="container-fluid">
<div class="navbar">
<div class="navbar-inner">
<div class="container">
<div class="brand"><%= admin_title %></div>
... | Make left sidebar smaller / main area bigger | Make left sidebar smaller / main area bigger
| HTML+ERB | mit | thirdthing/typus,thirdthing/typus,thirdthing/typus,thirdthing/typus |
a66603020484e75d66744b213a47443b1b90bfd5 | app/views/locations/_ros_index.html.erb | app/views/locations/_ros_index.html.erb | <div class="search-bar-and-results-section">
<%= form_tag(search_path(location), method: "get", onsubmit: "return false") do %>
<div class="input-group" >
<%= text_field_tag("search_text2", nil, placeholder: "search a #{location_name} school by school name or by district name (e.g. Albany)", size: 250, class:'form-... | <div class="search-bar-and-results-section">
<%= form_tag(search_path(location), method: "get", onsubmit: "return false") do %>
<div class="input-group" >
<%= text_field_tag("search_text2", nil, placeholder: "search a #{location_name} school by school name or by district name (e.g. Albany)", size: 250, class:'form-... | Remove section with totals for location | Remove section with totals for location
| HTML+ERB | mit | fma2/cfe-money,fma2/cfe-money,fma2/cfe-money |
f10c9dcbd26ab032c9d998fe50e34d76b9b75a2c | app/views/taxons/_email_alerts.html.erb | app/views/taxons/_email_alerts.html.erb | <div class='subscriptions'>
<%=
link_to 'Get email alerts for this topic',
"/email-signup/?topic=#{taxon.base_path}",
class: 'email-alerts'
%>
</div>
| <div class='subscriptions'>
<a href="/email-signup/?topic=<%= taxon.base_path %>" class='email-alerts'>
Get email alerts for this topic
<span class='visuallyhidden'><%= taxon.title %></span>
</a>
</div>
| Add visually hidden taxon titles to email signup links | Add visually hidden taxon titles to email signup links
Makes the type of email alert a bit more obvious to screenreaders.
| HTML+ERB | mit | alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections |
64c7791dd111b5da016eefa0ee0430f0276c6b7a | app/views/admin/profiles/index.html.erb | app/views/admin/profiles/index.html.erb | <div class="pull-right">
<%= form_tag admin_profiles_path, method: :get, class: "search-query form-inline pull-right" do %>
<%= text_field_tag :query, params[:query], class: "input-medium search-query" %>
<%= select_tag :first_program, options_from_collection_for_select(FirstProgram.all, :code, :abbr, params[... | <div class="pull-right">
<%= form_tag admin_profiles_path, method: :get, class: "search-query form-inline pull-right" do %>
<%= text_field_tag :query, params[:query], class: "input-medium search-query" %>
<%= select_tag :first_program, options_from_collection_for_select(FirstProgram.all, :code, :abbr, params[... | Make sure csv/xls downloads include search filters | Make sure csv/xls downloads include search filters
| HTML+ERB | agpl-3.0 | VirginiaFIRST/virginiafirst.org,VirginiaFIRST/virginiafirst.org |
189dc876462cfa51f4c639f298f0566901d301c9 | app/views/business_cards/_form.html.erb | app/views/business_cards/_form.html.erb | <%=
render partial: "myplaceonline/select_or_create", locals: {
f: f,
name: :contact,
existingobj: obj.contact,
heading: t("myplaceonline.business_cards.contact"),
objform: "contacts/form",
existingobjurl: "contact_path",
searchurl: "/contacts.json?perpage=0",
edit: edit,
autofocus... | <%=
render partial: "myplaceonline/select_or_create", locals: {
f: f,
name: :contact,
existingobj: obj.contact,
heading: t("myplaceonline.business_cards.contact"),
objform: "contacts/form",
existingobjurl: "contact_path",
searchurl: "/contacts.json?perpage=0",
edit: edit,
autofocus... | Use full contact form for new business card | Use full contact form for new business card
| HTML+ERB | agpl-3.0 | myplaceonline/myplaceonline_rails,myplaceonline/myplaceonline_rails,myplaceonline/myplaceonline_rails |
2e69cd216dd26ebd9f89bfda1caea83e08b0e636 | app/views/event_partners/_form.html.erb | app/views/event_partners/_form.html.erb | <%= render 'shared/error_messages', :object => f.object %>
<%= f.association :event, :input_html => { :class => "input-xxlarge", :disabled => :true } %>
<%= f.association :entity, :input_html => { :class => "input-xxlarge" } %>
<%= f.input :custom_blurb, :as => :ckeditor %>
<%= f.input :role %>
<div class="form-actio... | <%= render 'shared/error_messages', :object => f.object %>
<%= f.association :event, :input_html => { :class => "input-xxlarge", :disabled => :true } %>
<%= f.association :entity, :input_html => { :class => "input-xxlarge" } %>
<%= f.input :custom_blurb, :as => :ckeditor %>
<%= f.input :role %>
<div class="form-actio... | Add cancel button for Event Partner | Add cancel button for Event Partner
| HTML+ERB | mit | devcon-ph/devcon,devcon-ph/devcon,devcon-ph/devcon |
b0fb70ba98a5d3fdc7d89195291b227413180e2b | app/views/shared/_diff_gemfile.html.erb | app/views/shared/_diff_gemfile.html.erb | <pre class="diff"><code><span class="diff__file">Gemfile</span>
source 'https://rubygems.org'
<span class="diff__added-line diff__added-line--first diff__added-line--last"><b>+</b>gem 'bundler', '>= 1.8.4'</span>
gem 'rails'
gem 'sass-rails'
gem 'uglifier'
gem 'coffee-rails'
<span class="diff__added-line diff__add... | <pre class="diff"><code><span class="diff__file">Gemfile</span>
<span class="diff__added-line diff__added-line--first diff__added-line--last"><b>+</b>gem 'bundler', '>= 1.8.4'</span>
<span class="diff__added-line diff__added-line--first"><b>+</b>source 'https://rubygems.org' do</span>
gem 'rails'
&... | Change Gemfile example to use block for rubygems | Change Gemfile example to use block for rubygems
This is instead of global as there is a security issue
https://github.com/bundler/bundler/issues/5051
| HTML+ERB | mit | tenex/rails-assets,tenex/rails-assets,tenex/rails-assets |
682d925c8849abf53cf7445395d81d4899ed4f4e | templates/debian/varnish-3.default.erb | templates/debian/varnish-3.default.erb | ### This file created by Puppet, modification is probably futile
# The Debian init script expects START, NFILES and MEMLOCK
START=yes
NFILES=131072
MEMLOCK=82000
RELOAD_VCL=1
VARNISH_VCL_CONF=<%= scope['::varnish::vcl_conf'] %>
VARNISH_LISTEN_ADDRESS=<%= scope['::varnish::listen'] %>
VARNISH_LISTEN_PORT=<%= scope['::... | Copy the EL6 Varnish 3 template into a new template for Varnish 3 on Debian family OSs, adding additional env vars required by the Ubuntu init script | Copy the EL6 Varnish 3 template into a new template for Varnish 3 on Debian family OSs, adding additional env vars required by the Ubuntu init script
| HTML+ERB | apache-2.0 | BashtonLtd/puppet-varnish,craigwatson/puppet-varnish,dougneal/puppet-varnish,BashtonLtd/puppet-varnish,Kaplan-Australia/puppet-varnish,Kaplan-Australia/puppet-varnish,craigwatson/puppet-varnish,dougneal/puppet-varnish | |
565fb1fcd3edf97a9dfe047e28261add5236a0fe | app/views/shared/_vote_box.html.erb | app/views/shared/_vote_box.html.erb | <div class="vote_box <%= vote.nil? ? "unvoted" : (vote ? "likes" : "dislikes") %>">
<div class="voter up <%= "loggedin" if loggedin %> <%= "selected" if vote unless vote.nil? %>" data-true="true" data-route="<%= "#{route}" %>-<%= "#{id}" %>">
<i class="fa fa-angle-up"></i>
</div>
<div class="vote_holder ... | <div class="vote_box <%= vote.nil? ? "unvoted" : (vote ? "likes" : "dislikes") %>">
<div class="voter up <%= "loggedin" if loggedin %> <%= "selected" if vote unless vote.nil? %>">
<i class="fa fa-angle-up"></i>
</div>
<div class="vote_holder dislikes">
<%= votes-1 %>
</div>
<div class="vote_holde... | Remove Jquery grabbers for vote info off the DOM in vote box partial | Remove Jquery grabbers for vote info off the DOM in vote box partial
| HTML+ERB | cc0-1.0 | red-spotted-newts-2014/food-overflow,red-spotted-newts-2014/food-overflow |
8f9028b630b65edb0ac9e32933be4b5741d7b23c | app/views/articles.erb | app/views/articles.erb | <% articles.each_slice(3).each do |row| %>
<div class="row tile-row">
<% row.each do |article| %>
<div class="col-md-4">
<div class="tile">
<h4>
<a href="/articles/<%= article.id %>" class="title">
<%= article.title %>
</a>
</h4>
... | <% articles.each_slice(3).each do |row| %>
<div class="row tile-row">
<% row.each do |article| %>
<div class="col-md-4">
<div class="tile">
<h4>
<a href="/articles/<%= article.id %>" class="title">
<%= article.title %>
</a>
</h4>
<... | Make article tile image link to article | Make article tile image link to article
| HTML+ERB | mit | the-tangent/tangent,the-tangent/tangent |
7a5bf3ae65d68dab9e7a4423a80f41a288eaf319 | app/views/payment_reminder/new.html.erb | app/views/payment_reminder/new.html.erb | <h1><%= @event.name %></h1>
<h2>Send Payment Reminder Message</h2>
<p id="notice"><%= notice %></p><p id="notice"><%= notice %></p>
<%= form_for (@event), url: new_event_session_reminder_path do |f| %>
<% if @event.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@event.errors.count,... | <h1><%= @event.name %></h1>
<h2>Send Payment Reminder Message</h2>
<p id="notice"><%= notice %></p><p id="notice"><%= notice %></p>
<%= form_for (@event), url: new_event_payment_reminder_path do |f| %>
<% if @event.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@event.errors.count,... | Change action being posted to | Change action being posted to
| HTML+ERB | mit | 10000-Lakes-Gaming/registration,Acerak2/registration,10000-Lakes-Gaming/registration,10000-Lakes-Gaming/registration,Acerak2/registration,Acerak2/registration,Acerak2/registration,10000-Lakes-Gaming/registration |
9648693329ed83adec55dc859fb7de535464e959 | app/views/spree/admin/states/new.js.erb | app/views/spree/admin/states/new.js.erb | $("#new_state").html("<%= escape_javascript(render :template => 'spree/admin/states/new', :formats => [:html], :handlers => [:erb]) %>");
$("#new_state_link").parent().hide();
| $("#new_state").html("<%= escape_javascript(render :template => 'spree/admin/states/new', :formats => [:html], :handlers => [:haml]) %>");
$("#new_state_link").parent().hide();
| Fix a problem in states/new template where erb instead of haml was referenced | Fix a problem in states/new template where erb instead of haml was referenced
| HTML+ERB | agpl-3.0 | openfoodfoundation/openfoodnetwork,openfoodfoundation/openfoodnetwork,mkllnk/openfoodnetwork,Matt-Yorkley/openfoodnetwork,Matt-Yorkley/openfoodnetwork,mkllnk/openfoodnetwork,lin-d-hop/openfoodnetwork,lin-d-hop/openfoodnetwork,openfoodfoundation/openfoodnetwork,Matt-Yorkley/openfoodnetwork,Matt-Yorkley/openfoodnetwork,m... |
742a66529e953c3c4d68473d3c12c504429c070a | app/views/skills/_skills.html.erb | app/views/skills/_skills.html.erb | <% skills_by_cat.each_slice(3) do |slice| %>
<div class="row">
<% slice.each_with_index do |skill_cat, index| %>
<div class="col-sm-4">
<h4><%= skill_cat.name %></h4>
<ul>
<% skill_cat.skills.each do |skill| %>
<li><%= skill.name %></li>
<% end %>
</ul>
</div>
... | <% skills_by_cat.each_slice(3) do |slice| %>
<div class="row">
<% slice.each_with_index do |skill_cat, index| %>
<%# Nasty bit o' hack to get columns working under PDF %>
<% if request.format == :pdf %>
<div class="col-xs-4">
<% else %>
<div class="col-sm-4">
<% end %>
<h4><%= skill_... | Address some issues with skills in the PDF layout | Address some issues with skills in the PDF layout
Signed-off-by: Max Fierke <0706025b2bbcec1ed8d64822f4eccd96314938d0@maxfierke.com>
| HTML+ERB | apache-2.0 | maxfierke/resumis,maxfierke/resumis,maxfierke/resumis,maxfierke/resumis |
d6d76d042ab3f25aa456394c6adf7b0b302926a5 | app/views/subscription_mailer/comment_notification.text.erb | app/views/subscription_mailer/comment_notification.text.erb | <%= I18n.t('comment_notification.intro', :entity_type => @entity.class.to_s, :entity_name => @entity.full_name) %>:
<%= @comment.comment %>
---
<%= I18n.t('comment_notification.reply_instructions') %>: <%= url_for(@entity) %>
| <%= I18n.t('comment_notification.intro', :entity_type => @entity.class.to_s, :entity_name => @entity.full_name) %>:
<%= @comment.comment %>
---
<%= I18n.t('comment_notification.reply_instructions') %>: <%= polymorphic_url(@entity) %>
| Use polymorphic_url to generate URL with host in mail templates | Use polymorphic_url to generate URL with host in mail templates
| HTML+ERB | mit | reduced-fat-crm/fat_free_crm,ych06/fat_free_crm,asif-meer/demo-crm123,ivanbenko/fat_free_crm,DakotaLMartinez/fat_free_crm,karabitski/fat_crm,yhourdel/fat_free_crm,Rvor/crm,badseeds/fatfreecrm,nazeels/fat_free,turingschool/crm,unboxed/fat_free_crm,Phaya-nmt/ffcm,chickensmitten/workcrm,StudioMelipone/fat_free_crm,sideci-... |
a749fd95a43848f76c30126e8c7df756a723fd5f | openstack-light-stemcells.html.md.erb | openstack-light-stemcells.html.md.erb | ---
title: Using Light Stemcells
---
<p class="note">Note: This feature is available with bosh-openstack-cpi v28+.</p>
<p class="note">Note: This feature is available with bosh-cli v2.0.40+.</p>
You can create your own OpenStack light stemcells to re-use stemcell images already uploaded to your OpenStack image store.... | ---
title: Using Light Stemcells
---
<p class="note">Note: This feature is available with bosh-openstack-cpi v28+.</p>
<p class="note">Note: This feature is available with bosh-cli v2.0.40+.</p>
You can create your own OpenStack light stemcells to re-use stemcell images already uploaded to your OpenStack image store.... | Fix variable usage in light stemcell instructions | Fix variable usage in light stemcell instructions
| HTML+ERB | apache-2.0 | cloudfoundry/docs-bosh |
765202c15725bef3bd6093a0823b348e95ac04a1 | app/views/results/person_event.html.erb | app/views/results/person_event.html.erb | <% @page_title = "Results: #{@person.name}: #{@event.full_name}" %>
<% cache cache_key(@person, @event) do %>
<h2><%= link_to @person.name, person_results_path(@person) %></h2>
<%- @results.sort_by(&:date).reverse.each do |result| -%>
<h3><%= result.numeric_place.ordinalize %> — <%=
link_to result.race_... | <% @page_title = "Results: #{@person.name}: #{@event.full_name}" %>
<% cache cache_key(@person, @event) do %>
<h2><%= link_to @person.name, person_results_path(@person) %></h2>
<%- @results.sort_by(&:date).reverse.each do |result| -%>
<h3><%= result.numeric_place.ordinalize %> — <%=
link_to result.race_... | Fix bad Ironman link on person events results page | Fix bad Ironman link on person events results page
| HTML+ERB | mit | scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails |
b2f9488488aaf6bf9cf25f3d2d03c0ab2ef14e78 | app/views/shared/_trust_banner.html.erb | app/views/shared/_trust_banner.html.erb | <div class="l-constrained">
<div class="trust-banner">
<h1 class="trust-banner__heading"><%= t('home.show.heading') %></h1>
</div>
</div>
| <div class="l-constrained">
<div class="trust-banner">
<h1 class="trust-banner__heading"><%= t('home.show.heading') %></h1>
<div class="trust-banner__image"></div>
</div>
</div>
| Move image to a container div | Move image to a container div
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
ffb81ff8bdcf9d22bda16875430bbe8ce83a4589 | app/views/requests/show.html.erb | app/views/requests/show.html.erb | <%= render @request %>
<% if @request.is_fulfilled %>
<div class="vote-deets"><%= render "votes/vote_form", :object => @user, :vote => @vote %></div>
<% end %>
| <%= render @request %>
<% if @request.is_fulfilled %>
<div class="vote-details">
<%= render partial: "votes/vote_form", locals: {request_obj: @request} %>
</div>
<% end %>
| Rename the local passed into the partial from 'request' to 'request_obj'. | Rename the local passed into the partial from 'request' to
'request_obj'.
'request' must be reserved or keyword in Ruby / Rails because it was
being over-written in the partial.
| HTML+ERB | mit | nyc-mud-turtles-2015/nghborly,kimchanyoung/nghborly,nyc-mud-turtles-2015/nghborly,kimchanyoung/nghborly,nyc-mud-turtles-2015/nghborly,kimchanyoung/nghborly |
1264a8926c889a1d0f8a3dc5c1710d25d0a2fc92 | app/views/shared/_video.html.erb | app/views/shared/_video.html.erb | <%= f.input :video_url,
:label => "Video URL",
:hint => 'Put the YouTube URL in here if it exists',
:input_html => { :class => 'col-md-7' , :disabled => @resource.locked_for_edits? } %>
<%= f.input :video_summary,
:as => :text,
:label => "Video Summary",
... | <div class="row">
<div class="col-md-7">
<%= f.input :video_url,
:label => "Video URL",
:hint => 'Put the YouTube URL in here if it exists',
:input_html => { :disabled => @resource.locked_for_edits? } %>
<%= f.input :video_summary,
:as => :text,
:label => "... | Add bootstrap 3 grid wrappers to video form | Add bootstrap 3 grid wrappers to video form
* Use grid wrappers instead of input classes for video form
| HTML+ERB | mit | telekomatrix/publisher,telekomatrix/publisher,telekomatrix/publisher,telekomatrix/publisher,leftees/publisher,leftees/publisher,leftees/publisher,alphagov/publisher,leftees/publisher,alphagov/publisher,alphagov/publisher |
4187231df0c47fb7c97f1f8ca31133f59a39f3ab | app/views/admin/programmes/_edit.html.erb | app/views/admin/programmes/_edit.html.erb | <%= semantic_nested_form_for @resource, :url => admin_edition_path(@resource), :as => :edition do |f| %>
<%= f.inputs do %>
<%= render :partial => 'admin/shared/title_etc', :locals => {:f => f} %>
<% end %>
<hr>
<div class="row-fluid">
<div class="span8">
<h3>Parts</h3>
<section class="... | <%= semantic_nested_form_for @resource, :url => admin_edition_path(@resource), :as => :edition do |f| %>
<%= f.inputs do %>
<%= render :partial => 'admin/shared/title_etc', :locals => {:f => f} %>
<% end %>
<hr>
<div class="row-fluid">
<div class="span8">
<h3>Parts</h3>
<section class="... | Use scoped ordering for programmes | Use scoped ordering for programmes
| HTML+ERB | mit | theodi/publisher,alphagov/publisher,alphagov/publisher,leftees/publisher,leftees/publisher,theodi/publisher,telekomatrix/publisher,leftees/publisher,theodi/publisher,alphagov/publisher,leftees/publisher,theodi/publisher,telekomatrix/publisher,telekomatrix/publisher,telekomatrix/publisher |
3f1cc2e7aea0398f74cce67b21a68174555e3d21 | app/views/application/_analytics.html.erb | app/views/application/_analytics.html.erb | <script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.j... | <script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.j... | Set anonymize IP for Google Analytics requests | Set anonymize IP for Google Analytics requests
(cherry picked from commit e9998bc7dc04a65a2f89514fc14baef72723cf60)
| HTML+ERB | mit | StatesOfJersey/e-petitions,StatesOfJersey/e-petitions,StatesOfJersey/e-petitions,StatesOfJersey/e-petitions |
b2712a4b3178e2831fcf1a3f8886bb4bf07b5ec5 | app/views/application/_subscribe.html.erb | app/views/application/_subscribe.html.erb | <%= simple_form_for(@new_feed, :html => { :class => "form-inline" }) do |f| %>
<%= f.input :permalink, label: false, :input_html => { placeholder: "Paste RSS link here" } %>
<%= f.input :category, label: false, :input_html => { placeholder: "Category", value: f.object.category.name } %>
<%= f.submit 'Subscribe', ... | <%= simple_form_for(@new_feed, :html => { :class => "form-inline" }) do |f| %>
<%= f.input :url, label: false, :input_html => { placeholder: "Paste RSS link here" } %>
<%= f.input :category, label: false, :input_html => { placeholder: "Category", value: f.object.category.name } %>
<%= f.submit 'Subscribe', :class... | Change permalink to url for views | Change permalink to url for views
| HTML+ERB | mit | fudanchii/shreds,fudanchii/shreds,fudanchii/shreds |
fbdda49122a6f147d0e4233557a0f9aa8378c599 | app/views/articles/_form.html.erb | app/views/articles/_form.html.erb | <%= form_for :article do |f| %>
<% if @article.errors.any? %>
<div id="error_explanation">
<h2>
<%= pluralize(@article.errors.count, "error") %>
prohibited this article from being saved:
</h2>
<ul>
<% @article.errors.full_messages.each do |msg| %>
<li><%= msg %... | <%= form_for @article do |f| %>
<% if @article.errors.any? %>
<div id="error_explanation">
<h2>
<%= pluralize(@article.errors.count, "error") %>
prohibited this article from being saved:
</h2>
<ul>
<% @article.errors.full_messages.each do |msg| %>
<li><%= msg %... | Fix bug in form partial | Fix bug in form partial
| HTML+ERB | mit | ATXkatrina/bloggedyblog,ATXkatrina/bloggedyblog,ATXkatrina/bloggedyblog |
9f0c5ef1ea233aa164b1e7a81edda32c4799be8d | app/views/stories/search.html.erb | app/views/stories/search.html.erb | <div id="search-results">
<h1> SOME SHIT YOU'VE SEARCHED FOR: </h1>
<% @searched_stories.each do |story|%>
<p><%= story.title %></p>
<% end %>
</div>
| Add view for searched stories | Add view for searched stories
| HTML+ERB | mit | mxngyn/StoryVine,SputterPuttRedux/storyvine_clone,pearlshin/StoryVine,pearlshin/StoryVine,mxngyn/StoryVine,mxngyn/StoryVine,pearlshin/StoryVine,SputterPuttRedux/storyvine_clone,SputterPuttRedux/storyvine_clone | |
a7d66f1e01f18b18952aad48aaa61c7ed1ca2b4d | app/views/user/show_follow.js.erb | app/views/user/show_follow.js.erb | $('#users').append('<% @users.each do |user|
%><div class="col"><%= j render 'shared/userbox', user: user, type: @type
%></div><% end %>');
<% if @more_data_available %>
$('#pagination').html('<%= j render 'shared/cursored_pagination_dummy', more_data_available: @more_data_available, last_id: @users_last_id %>');
<... | $('#users').append('<% @users.each do |user|
%><div class="col pb-3"><%= j render 'shared/userbox', user: user, type: @type
%></div><% end %>');
<% if @more_data_available %>
$('#pagination').html('<%= j render 'shared/cursored_pagination_dummy', more_data_available: @more_data_available, last_id: @users_last_id %>... | Add bottom padding to userbox col in show_follow | Add bottom padding to userbox col in show_follow
Fixes #116 | HTML+ERB | agpl-3.0 | Retrospring/retrospring,Retrospring/retrospring,Retrospring/retrospring,Retrospring/retrospring,Retrospring/retrospring |
4691a041380df180a9acf726391524c2acc36672 | jobs/kafka-server/templates/kafka_ctl.erb | jobs/kafka-server/templates/kafka_ctl.erb | #!/bin/bash
export JAVA_HOME=/var/vcap/packages/jre
export LOG_DIR=/var/vcap/sys/log/kafka-server
export KAFKA_HEAP_OPTS="-Xmx5G -Xms5G"
JOB_DIR=/var/vcap/jobs/kafka-server
CONFIG_FILE=${JOB_DIR}/config/server.properties
LOG_PIPE=${JOB_DIR}/kafka.pipe.log
PID_FILE=${JOB_DIR}/kafka.pid
case $1 in
start)
if [ ! ... | #!/bin/bash
export JAVA_HOME=/var/vcap/packages/jre
export LOG_DIR=/var/vcap/sys/log/kafka-server
export KAFKA_HEAP_OPTS="-Xmx5G -Xms5G"
JOB_DIR=/var/vcap/jobs/kafka-server
CONFIG_FILE=${JOB_DIR}/config/server.properties
LOG_PIPE=${JOB_DIR}/kafka.pipe.log
PID_FILE=${JOB_DIR}/kafka.pid
case $1 in
start)
if [ ! ... | Update control script start to get correct PID | Update control script start to get correct PID
[##99551354]
Signed-off-by: Sam Nelson <7f9518b0fc80ae8ec9b933cc7d9f449459d97036@pivotal.io>
| HTML+ERB | apache-2.0 | pivotal-cf-experimental/kafka-release,pivotal-cf-experimental/kafka-release |
fae7746593beb3335cbbaaf0a845ed7abf198328 | templates/etc/default/elasticsearch.erb | templates/etc/default/elasticsearch.erb | ### MANAGED BY PUPPET ###
<% scope.lookupvar('elasticsearch::service_settings').each_pair do |key, value| -%>
<%= key %>=<%= value %>
<% end -%>
| ### MANAGED BY PUPPET ###
<% scope.lookupvar('elasticsearch::service_settings').sort.map do |key, value| -%>
<%= key %>=<%= value %>
<% end -%>
| Move to using a sorted hash in the template to ensure that file's md5sum doesn't randomly change each puppet run. | Move to using a sorted hash in the template to ensure that file's md5sum doesn't randomly change each puppet run.
| HTML+ERB | apache-2.0 | tylerjl/puppet-elasticsearch,tylerjl/puppet-elasticsearch,tylerjl/puppet-elasticsearch |
6e95563072ce379b265f338f2cd0edbe04471658 | conf/nginx.conf.erb | conf/nginx.conf.erb | worker_processes 1;
error_log stderr;
pid nginx.pid;
daemon off;
types_hash_max_size 2048;
events {
worker_connections 768;
}
http {
include mime.types;
server {
listen <%= ENV['PORT'] %>;
server_name _;
root <%= ENV.fetch('root', '/app/www') %>;
index index.html;
}
}
| worker_processes 1;
error_log stderr;
pid nginx.pid;
daemon off;
events {
worker_connections 768;
}
http {
types_hash_max_size 2048;
include mime.types;
server {
listen <%= ENV['PORT'] %>;
server_name _;
root <%= ENV.fetch('root', '/app/www') %>;
index index.html;
}
}
| Move types_hash_max_size to the http context | Move types_hash_max_size to the http context | HTML+ERB | cc0-1.0 | dokku/buildpack-nginx,ademuk/buildpack-nginx,progrium/buildpack-nginx,nimbusti/buildpack-nginx,florianheinemann/buildpack-nginx,vitch/buildpack-nginx,yoyo-san/buildpack-nginx,nimbusti/buildpack-nginx,stianl/buildpack-nginx,vitch/buildpack-nginx,stianl/buildpack-nginx,contextee/buildpack-nginx-bundles,ignlg/buildpack-ng... |
677279b7ff3525087e35c21c4961a3704347bb86 | app/views/devise/mailer/reset_password_instructions.html.erb | app/views/devise/mailer/reset_password_instructions.html.erb | <p>Hello <%= @resource.email %>!</p>
<p>Someone has requested a link to change your password. You can do this through the link below.</p>
<p><%= link_to 'Change my password', edit_password_url(@resource, reset_password_token: @token) %></p>
<p>If you didn't request this, please ignore this email.</p>
<p>Your password w... | <p>Hello <%= @resource.email %>!</p>
<p>Someone has requested a link to change your password. You can do this through the link below. Please note that this link is only valid for six hours from the time this email was sent.</p>
<p><%= link_to 'Change my password', edit_password_url(@resource, reset_password_token: @tok... | Add note about password reset token expiration | Add note about password reset token expiration
| HTML+ERB | apache-2.0 | zooniverse/Panoptes,zooniverse/Panoptes,camallen/Panoptes,zooniverse/Panoptes,camallen/Panoptes,camallen/Panoptes,camallen/Panoptes,zooniverse/Panoptes |
2e85a97eecf8c72bd5d4a125bb8066a3b9e3b8a5 | app/views/blogit/comments/create.js.erb | app/views/blogit/comments/create.js.erb | var $form = $("form#new_blog_comment");
<% if @comment.save %>
$("#comments").append("<%= escape_javascript(render(@comment)) %>");
$form.get(0).reset();
<% else %>
$form.html("<%= escape_javascript(render('form')) %>");
<% end %> | var $form = $("form#new_blog_comment");
<% if @comment.save %>
$("#comments").append("<%= escape_javascript(render(@comment)) %>");
$form.get(0).reset();
<% else %>
$form.html("<%= escape_javascript(render(partial:'form', locals: { post: @comment.post, comment: @comment })) %>");
<% end %>
| Fix error when adding an active_record comment | Fix error when adding an active_record comment
| HTML+ERB | mit | kassi/blogit,Bodacious/blogit-admin,kassi/blogit,Bodacious/blogit,foraker/blogit,sadaf2605/blogit,t-zubyak/blogit,jasonbuehler/blogit,KatanaCode/blogit,tfe/blogit,Bodacious/blogit-admin,KatanaCode/blogit,jasonbuehler/blogit,Bodacious/blogit-admin,jasonbuehler/blogit,kassi/blogit,KatanaCode/blogit,Bodacious/blogit,forak... |
d600be114d865dcd194e38d536edd3209fb0b8c9 | app/views/layouts/_stylesheets.html.erb | app/views/layouts/_stylesheets.html.erb | <%= stylesheet_link_tag "application", media: "all" %>
<% Rails.logger.debug "Views::Layouts _stylesheets" %>
<% if Dir.exist? "lib/registration_engine/app/assets" %>
<% Rails.logger.debug "Views::Layouts _stylesheets lib/registration_engine/app/assets exists" %>
<%= stylesheet_link_tag "registration_engine/application... | <%= stylesheet_link_tag "application", media: "all" %>
<% if Dir.exist? "lib/registration_engine/app/assets" %>
<%= stylesheet_link_tag "registration_engine/application" %>
<% end %>
| Remove debug logging for assets | Remove debug logging for assets
| HTML+ERB | mit | scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails |
5945011171ebe39873e2a4a7e8e76f123d3e279a | app/views/groups/new.html.erb | app/views/groups/new.html.erb |
<h1>Start your own band!</h1>
<%= form_for @group, html: {class: "pure-form pure-form-aligned new-group-form"} do |f|%>
<%= f.label :name, "Your awesome band name:" %><br>
<%= f.text_field :name %><br><br>
<%= f.label :password, "Band Access Key:" %><br>
<%= f.password_field :password %><br>
<br>
<%= f.... | <div class="pure-g">
<div class="pure-u-1-24"></div>
<div class="pure-u-23-24">
<h1>Start your own band!</h1>
<%= form_for @group, html: {class: "pure-form pure-form-aligned new-group-form"} do |f|%>
<%= f.label :name, "Your awesome band name:" %><br>
<%= f.text_field :name %><br><br>
<... | Add margin to create groups page | Add margin to create groups page
| HTML+ERB | mit | pdynowski/best-thing-ever,pdynowski/best-thing-ever,pdynowski/best-thing-ever |
cb2087ea7eae28c4cea9e88a4f8f723863658aad | app/views/shared/_id.html.erb | app/views/shared/_id.html.erb | <div id="id-box"><%= @manifest['group_id'] || @id %></div>
| <div id="id-box"></div>
<script>
'use strict';
$(() => {
const $idBox = $("#id-box");
const manifest = cd.kata.manifest(cd.kata.id);
const id = manifest.group_id || cd.kata.id;
$idBox.html(id);
});
</script>
| Set app-bar id using JS | Set app-bar id using JS
| HTML+ERB | bsd-2-clause | cyber-dojo/web,cyber-dojo/web,cyber-dojo/web,cyber-dojo/web |
769aa8239afd25ab2b2c00d4e495ccf8ee580872 | app/views/users/show.html.erb | app/views/users/show.html.erb | <div class="users-wrapper">
<h2>Your Settings</h2>
<span class="users-data">
<p>
<strong>Name:</strong>
<%= @user.name %>
</p>
<p>
<strong>Email:</strong>
<%= @user.email %>
</p>
<p>
<strong>Influences:</strong>
<%= @user.influences %>
</p>
<p>
<strong>Description:</strong>
<%= @user.description %... | <div class="users-wrapper">
<h2>Your Settings</h2>
<span class="users-data">
<p>
<strong>Name:</strong>
<%= @user.name %>
</p>
<p>
<strong>Email:</strong>
<%= @user.email %>
</p>
<p>
<strong>Influences:</strong>
<%= @user.influences %>
</p>
<p>
<... | Add link to music prefernces page | Add link to music prefernces page
| HTML+ERB | mit | MusiciansToolbox/musician_toolbox,MusiciansToolbox/musician_toolbox,MusiciansToolbox/musician_toolbox |
7b7f6f3838b5a18a52da842f75724821171be8a2 | app/views/admin/resources/index.html.erb | app/views/admin/resources/index.html.erb | <div class="row">
<div class="col-xs-12">
<header class="page-header">
<div class="pull-right">
<a class="btn btn-lg btn-success" ui-sref="new_{{ indexCtrl.resource_class.singular }}">
Create new
</a>
</div>
<h1>All {{ indexCtrl.resource_class.plural }}</h1>
</heade... | <div class="row">
<div class="col-xs-12">
<header class="page-header">
<div class="pull-right">
<a class="btn btn-lg btn-success" ui-sref="new_{{ indexCtrl.resource_class.singular }}">
Create new
</a>
</div>
<h1>All {{ indexCtrl.resource_class.plural }}</h1>
</heade... | Put back delete link in index view | Put back delete link in index view
| HTML+ERB | mit | hyperoslo/hyper_admin,hyperoslo/hyper_admin,hyperoslo/hyper_admin |
d1ce5302c87a64be0da04ff2b8b1c36d809c8e28 | app/views/alchemy/admin/essence_pictures/update.js.erb | app/views/alchemy/admin/essence_pictures/update.js.erb | (function($) {
Alchemy.ImageCropper.destroy();
Alchemy.closeCurrentDialog();
Alchemy.setElementDirty('#element_<%= @content.element.id %>');
<% if @content.ingredient %>
$('.thumbnail_background img', '#<%= @content.dom_id %>').replaceWith('<%= essence_picture_thumbnail(@content) %>');
Alchemy.ImageLoader('#<... | (function($) {
Alchemy.closeCurrentDialog();
Alchemy.setElementDirty('#element_<%= @content.element.id %>');
<% if @content.ingredient %>
$('.thumbnail_background img', '#<%= @content.dom_id %>').replaceWith('<%= essence_picture_thumbnail(@content) %>');
Alchemy.ImageLoader('#<%= @content.dom_id %> .thumbnail_b... | Remove old Image Cropper destroy from essence update | Remove old Image Cropper destroy from essence update
The image croppe rhas been refactoed into a ES6 class
and takes care of destroying itself on dialog close.
| HTML+ERB | bsd-3-clause | AlchemyCMS/alchemy_cms,AlchemyCMS/alchemy_cms,AlchemyCMS/alchemy_cms,robinboening/alchemy_cms,robinboening/alchemy_cms,robinboening/alchemy_cms |
34b9fda17258ecfa3678d3689c383fc95ca74261 | app/views/layouts/_footer-icons.html.erb | app/views/layouts/_footer-icons.html.erb |
<div id="footer-icons">
<a href="/">
<% if current_user %>
<%= link_to current_user.first_name, users_path, id: "current-user"%>
<%= link_to "Sign out", signout_path, id: "sign_out" %>
<% else %>
<%= link_to "Sign in with Google", "/auth/google_oauth2", id: "sign-icon" %>
<% end %>
</a... | <div id="footer-icons">
<% if current_user %>
<%= link_to current_user.first_name, users_path, id: "current-user"%>
<%= link_to "Sign out", signout_path, id: "sign_out" %>
<% else %>
<%= link_to "Sign in with Google", "/auth/google_oauth2", id: "sign-icon" %>
<% end %>
<div class="icon">
<a id... | Clean up footer icons partial | Clean up footer icons partial
| HTML+ERB | mit | TEAM-KAST/City_Gems,TEAM-KAST/City_Gems,TEAM-KAST/City_Gems |
ee5d342834e98e4bc7a4783a55c3bc27af55ffe4 | documents/app/views/documents/_document_focus_search.html.erb | documents/app/views/documents/_document_focus_search.html.erb | <%= render :partial => 'documents/document_with_details',
:locals => {:document => video} %> | <%= render :partial => 'documents/document_with_details',
:locals => {:document => document} %>
| Fix typo in documents search partial | Fix typo in documents search partial
| HTML+ERB | mit | honorlin/social_stream,honorlin/social_stream,honorlin/social_stream,ging/social_stream,ging/social_stream,honorlin/social_stream,ging/social_stream |
0a028686bf1871eccee1e8ee7d56816560fbaabf | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>TransactionMappr</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
<link href='http://fonts.googleapis.com/css?family=Roboto:... | <!DOCTYPE html>
<html>
<head>
<title>TransactionMappr</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
<link href='http://fonts.googleapis.com/css?family=Roboto:... | Add script tags for react and JSX transformer | Add script tags for react and JSX transformer
| HTML+ERB | mit | jeremymcintyre/transaction-mappr,jeremymcintyre/transaction-mappr,jeremymcintyre/transaction-mappr |
e2fc463626b1c6736cccab4b87456b191fcdf76d | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui">
<meta name="fragment" content="!">
<title>EveMonk: EveOnline management suite</title>
... | <!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui">
<meta name="fragment" content="!">
<title>EveMonk: EveOnline management suite</title>
... | Update font. Add material design icons. | Update font. Add material design icons.
| HTML+ERB | mit | biow0lf/evemonk,biow0lf/evemonk,biow0lf/evemonk |
23d82c483c4e725eb8d65c529af558df88ca3f26 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title><%= yield :title %> - GOV.UK</title>
<%= javascript_include_tag "test-dependencies" if Rails.env.test? %>
<%= javascript_include_tag "application" %>
<%= stylesheet_link_tag "application" %>
<%= csrf_meta_tags %>
<%= yield :meta_tags %>
<%= explore_menu_variant.analyti... | <!DOCTYPE html>
<html>
<head>
<title><%= yield :title %> - GOV.UK</title>
<%= javascript_include_tag "test-dependencies" if Rails.env.test? %>
<%= javascript_include_tag "application" %>
<%= stylesheet_link_tag "application" %>
<%= csrf_meta_tags %>
<%= yield :meta_tags %>
<%= explore_menu_variant.analyti... | Remove conditional from A/B test meta tag | Remove conditional from A/B test meta tag
| HTML+ERB | mit | alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections |
ee78f49efb9e2a214b9e2eee4d9ced7483832b10 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>BadgeApp</title>
<meta name=viewport content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<%= favicon_link_tag %>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript... | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>BadgeApp</title>
<%= favicon_link_tag %>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascri... | Tweak order of "meta" in HTML head | Tweak order of "meta" in HTML head
The Bootstrap documentation notes that a specific order must be used
in the meta tags. For more, see:
https://github.com/twbs/bootstrap/issues/15601
Signed-off-by: David A. Wheeler <9ae72d22d8b894b865a7a496af4fab6320e6abb2@dwheeler.com>
| HTML+ERB | mit | taylorcoursey/cii-best-practices-badge,jdossett/cii-best-practices-badge,jdossett/cii-best-practices-badge,wanganyv/cii-best-practices-badge,coreinfrastructure/best-practices-badge,coreinfrastructure/best-practices-badge,wanganyv/cii-best-practices-badge,wanganyv/cii-best-practices-badge,taylorcoursey/cii-best-practice... |
92453af0d13ec8c04b2049e020cd579e0b263f1f | templates/mod/jk/workers.properties.erb | templates/mod/jk/workers.properties.erb | # This file is generated automatically by Puppet - DO NOT EDIT
# Any manual changes will be overwritten
<% @workers_file_content.sort.each do |worker,directives| -%>
<%# Places comment before worker directives -%>
<% if directives.has_key?('comment') -%>
# <%= directives['comment'] %>
<% end -%>
<% directives.sort.eac... | # This file is generated automatically by Puppet - DO NOT EDIT
# Any manual changes will be overwritten
<%# -%>
<%# workers_file_content should be a hash which keys are workers names -%>
<%# and values are new hashes with properties and values -%>
<%# -%>
<%# Example: -%>
<%# # Optional comment -%>
<%# worker.some_name... | Document parameters in mod_jk workers file | Document parameters in mod_jk workers file
| HTML+ERB | apache-2.0 | yakatz/puppetlabs-apache,traylenator/puppetlabs-apache,yakatz/puppetlabs-apache,eputnam/puppetlabs-apache,puppetlabs/puppetlabs-apache,traylenator/puppetlabs-apache,puppetlabs/puppetlabs-apache,eputnam/puppetlabs-apache |
440319a26e9f2874866554afabb694db8ac64ee0 | app/views/positions_helds/_form.html.erb | app/views/positions_helds/_form.html.erb | <%= simple_form_for(@positions_held) do |f| %>
<%= f.error_notification %>
<div class="form-inputs">
<%= f.association :user, :label_method => lambda { |user| display_name(user) } %>
<%= f.association :position %>
<%= f.association :program %>
</div>
<div class="form-actions">
<%= f.button :su... | <%= simple_form_for(@positions_held) do |f| %>
<%= f.error_notification %>
<div class="form-inputs">
<%= f.association :user,
label_method: lambda { |user| display_name(user) },
collection: User.all.order(:last_name, :nickname, :first_name, :email)
%>
<%= f.a... | Add sorting to the association collections on positions_helds form | Add sorting to the association collections on positions_helds form
| HTML+ERB | mit | rubyforgood/doublehranch,rubyforgood/doublehranch,rubyforgood/doublehranch |
f4b26c836017aef3ade709769f5443c50b499a5f | app/assets/stylesheets/application.css.erb | app/assets/stylesheets/application.css.erb | /*
* This is a manifest file that'll be compiled into application.css, which will include all the files
* listed below.
*
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path... | /*
* This is a manifest file that'll be compiled into application.css, which will include all the files
* listed below.
*
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path... | Make initial jumbotron align more with middle hex | Make initial jumbotron align more with middle hex
| HTML+ERB | mit | mhgbrown/website,mhgbrown/website,mhgbrown/website |
ca53dc7a450a5ae8bb3b64251c60f3671c4d3004 | app/views/messages/_message.html.erb | app/views/messages/_message.html.erb | <li class='message <%= "unread" if local_assigns[:broadcast] || message.unread?(current_user) %>' data-message-id='<%= message.id %>'>
<%= image_tag message.user.avatar.url, class: 'avatar' %>
<p class='delete_link'>
<%= link_to message_path(message), method: :delete do %>
<i class="fa fa-trash"></i>
... | <li class='message <%= "unread" if local_assigns[:broadcast] || message.unread?(current_user) %>' data-message-id='<%= message.id %>'>
<%= image_tag message.user.avatar.url, class: 'avatar' %>
<p class='delete_link'>
<%= link_to message_path(message), method: :delete, remote: true do %>
<i class="fa fa-tr... | Fix delete message button to work as ajax | Fix delete message button to work as ajax
| HTML+ERB | mit | ueokande/dabell,ueokande/dabell,ueokande/dabell |
adbd258f52886d01c7ccf253f4bae01f4bf23b4f | app/views/teams/_invitation.html.erb | app/views/teams/_invitation.html.erb | <h4 class = 'invited'><%= @user.inviter_name %> wants you to join <%= @user.inviter_team.name %></h4>
<%= form_tag do |f| %>
<div class="actions">
<%= submit_tag "Accept", name: 'accept', :class => 'button--invited', :id => 'accept' %>
<%= submit_tag "Decline", name: 'decline', :class => 'button--invited', ... | <h4 class = 'invited'><%= @user.inviter_name %> wants you to join <%= @user.inviter_team.name %></h4>
<%= form_tag do |f| %>
<div class="actions">
<%= submit_tag "Accept", name: 'accept', :class => 'button--discrete', :id => 'success' %>
<%= submit_tag "Decline", name: 'decline', :class => 'button--discrete... | Modify invitation partial to use more generalized id's | Modify invitation partial to use more generalized id's
| HTML+ERB | mit | codeforboston/cambridge_energy_app,codeforboston/cambridge_energy_app,codeforboston/cambridge_energy_app |
913381248e2e3402926c46b0b7876db9a5a36e6e | app/views/notifier/welcome_email.html.erb | app/views/notifier/welcome_email.html.erb | <strong>Welcome to H2O!</strong>
<p>Take a look at our User Guide here: <%= link_to "about.opencasebook.org", "https://about.opencasebook.org" %>, and our getting started videos here: <%= link_to "about.opencasebook.org/other-resources", "https://about.opencasebook.org/other-resources" %>.</p>
<p>To jump right into cr... | <strong>Welcome to H2O!</strong>
<p>Take a look at our User Guide here: <%= link_to "about.opencasebook.org", "https://about.opencasebook.org" %>, and our getting started videos here: <%= link_to "about.opencasebook.org/other-resources", "https://about.opencasebook.org/other-resources" %>.</p>
<p>To jump right into cr... | Update link in welcome email. | Update link in welcome email.
| HTML+ERB | agpl-3.0 | harvard-lil/h2o,harvard-lil/h2o,harvard-lil/h2o,harvard-lil/h2o |
1f64b81644109d268a2edd9baeed553925ec97e9 | views/index.html.erb | views/index.html.erb | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset=utf-8 />
<meta name="viewport" content="width=620" />
<title>Geepivo</title>
</head>
<body>
<h1>Geepivo - Pivotal Tracker integration for Google Apps</h1>
<p>Pivotal Tracker™ integration for Google Apps™. Provides a gadget for Gmail which allows you to cre... | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset=utf-8 />
<meta name="viewport" content="width=620" />
<title>Geepivo</title>
</head>
<body>
<h1>Geepivo - Pivotal Tracker integration for Google Apps</h1>
<p>Pivotal Tracker™ integration for Google Apps™. Provides a gadget for Gmail which allows you to cre... | Add github link to website | Add github link to website
| HTML+ERB | mit | OXOS/Geepivo,OXOS/Geepivo |
1904b3c9bed508ff180e05c74eacfc825d41b250 | app/views/smart_answers/_landing.html.erb | app/views/smart_answers/_landing.html.erb | <% if @presenter.has_meta_description? %>
<% content_for :head do %>
<meta name="description" content="<%= @presenter.meta_description %>">
<% end %>
<% end %>
<header class="page-header group">
<hgroup>
<h1>
<span>Quick answer </span>
<%= @presenter.title %>
</h1>
<% if @presenter.ha... | <% if @presenter.has_meta_description? %>
<% content_for :head do %>
<meta name="description" content="<%= @presenter.meta_description %>">
<% end %>
<% end %>
<header class="page-header group">
<hgroup>
<h1>
<span>Quick answer </span>
<%= @presenter.title %>
</h1>
<% if @presenter.ha... | Add rel=nofollow to get started button | Add rel=nofollow to get started button
To reduce the chances of search bots trying to index smart answers
| HTML+ERB | mit | tadast/smart-answers,alphagov/smart-answers,keithiopia/smart-answers,ministryofjustice/smart-answers,alphagov/smart-answers,askl56/smart-answers,lutgendorff/smart-answers,ministryofjustice/smart-answers,ministryofjustice/smart-answers,stwalsh/smart-answers,askl56/smart-answers,stwalsh/smart-answers,alphagov/smart-answe... |
7d10b59c8157e0f1c915aa2d9fcbc24ceba05eae | jobs/mysql/templates/galera_healthcheck_config.yaml.erb | jobs/mysql/templates/galera_healthcheck_config.yaml.erb | ---
Port: <%= p('cf_mysql.mysql.galera_healthcheck.port') %>
PidFile: '/var/vcap/sys/run/galera-healthcheck/galera-healthcheck.pid'
MysqldPath: '/var/vcap/packages/mariadb/bin/mysqld'
DB:
User: 'galera-healthcheck'
Password: '<%= p('cf_mysql.mysql.galera_healthcheck.db_password') %>'
# This is the config that bosh ... | ---
Port: <%= p('cf_mysql.mysql.galera_healthcheck.port') %>
PidFile: '/var/vcap/sys/run/galera-healthcheck/galera-healthcheck.pid'
MysqldPath: '/var/vcap/packages/mariadb/bin/mysqld'
DB:
User: 'galera-healthcheck'
Password: '<%= p('cf_mysql.mysql.galera_healthcheck.db_password') %>'
Port: <%= p('cf_mysql.mysql.p... | Use mysql port in galera healthcheck. | Use mysql port in galera healthcheck.
- otherwise when it is changed galera healthcheck cannot communicate with the database.
[#136590189]
Signed-off-by: Joseph Palermo <e623ceb69d4eba908c7aa121d8a6c4c407e290f1@pivotal.io>
| HTML+ERB | apache-2.0 | cloudfoundry/cf-mysql-release,cloudfoundry/cf-mysql-release,cloudfoundry/cf-mysql-release,cloudfoundry/cf-mysql-release |
e4331a759b0e98c8d8fa6794013f8dc3b3bb8bbc | app/views/dashboard/index.html.erb | app/views/dashboard/index.html.erb | <h1>Dashboard#index</h1>
<p>Find me in app/views/dashboard/index.html.erb</p>
<%= link_to 'Articles', articles_path %>
| <h1>Dashboard#index</h1>
<p>Find me in app/views/dashboard/index.html.erb</p>
<ul>
<li><%= link_to 'Articles', articles_path %></li>
</ul>
| Put links on dashboard to UL-LI | Put links on dashboard to UL-LI
| HTML+ERB | mit | Inza/ror-example-2016,Inza/ror-example-2016,Inza/ror-example-2016 |
51418e063b094ff1df720bcdb20e0909c211ba42 | app/views/layouts/_footer.html.erb | app/views/layouts/_footer.html.erb | <script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.j... | <script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.j... | Add User-ID view to Google Analytics | Add User-ID view to Google Analytics
| HTML+ERB | mit | albertlyu/shot-charts-site,albertlyu/shot-charts-site |
d474a3c1824477835c34f3b7b791de3a2cac82d2 | app/views/devise/devise_authy/verify_authy_installation.html.erb | app/views/devise/devise_authy/verify_authy_installation.html.erb | <div class='hero'>
<div class='container'>
<section class='row m-b-md'>
<div class='col-sm-12'>
<h2><span class='glyphicon glyphicon-lock' aria-hidden='true'></span> Verify <strong>2 Factor Auth</strong></h2>
<%= I18n.t('authy_verify_installation_title', {:scope => 'devise'}) %>
... | <div class='hero'>
<div class='container'>
<section class='row m-b-md'>
<div class='col-sm-12'>
<h2><span class='glyphicon glyphicon-lock' aria-hidden='true'></span> Verify <strong>2 Factor Auth</strong></h2>
<%= I18n.t('authy_verify_installation_title', {scope: 'devise'}) %>
... | Refactor to modern hash syntax. | Refactor to modern hash syntax.
| HTML+ERB | mit | cgcardona/blockchain.bigearth.io,cgcardona/blockchain.bigearth.io |
e3aee2c8cca6e282f3b0c117b0356e0f6c3d1e0c | app/views/layouts/_event.html.erb | app/views/layouts/_event.html.erb | <div class="jumbotron jumbotron-events">
<div class="container">
<h1><%= yield(:title) %></h1>
</div>
</div>
<div class="container-content">
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-6">
<%= image_tag yield(:image),
alt: 'Event poster',
... | <div class="jumbotron jumbotron-events">
<div class="container">
<h1><%= yield(:title) %></h1>
</div>
</div>
<div class="container-content">
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-6">
<%= image_tag yield(:image),
alt: 'Event poster',
... | Increase size of text on Events pages | Increase size of text on Events pages
| HTML+ERB | mit | sethfri/VPAC,sethfri/VPAC |
411fbbd913a8cb57286bd5aae8d66be7d82af261 | app/views/projects/index.html.erb | app/views/projects/index.html.erb | <section class='projects-header'>
<div class='container'>
<div class='page-header'>
<div class='row'>
<h1>Billion Movements
<small>Help Change Columbus for the Better</small>
</h1>
</div>
</div>
</div>
</section>
<section class='projects-body'>
<div class='container'... | Create index page for projects | Create index page for projects
| HTML+ERB | agpl-3.0 | billioneffect/billion-web,billioneffect/billion-web,billioneffect/billion-web,billioneffect/billion-web | |
9d7d9f7cf92a2be0c3d7e67b729a8cc6ffeee93e | app/views/questions/show.html.erb | app/views/questions/show.html.erb | <%= render @question %>
<%= render "votes/vote_count", :object => @question%>
<%= render "votes/vote_form", :object => @question, :vote => @vote %>
<%= link_to "comment", new_question_response_path(@question) %>
<% if @question.responses %>
<%= render :partial => "responses/response", :collection => @question.respons... | <%= render @question %>
<%= render "votes/vote_count", :object => @question%>
<% if !Vote.find_by(voter_id: current_user.id, votable_id: @question.id, votable_type: "Question") && current_user.id != @question.asker.id %>
<%= render "votes/vote_form", :object => @question, :vote => @vote %>
<% end %>
<%= link_to "com... | Implement logic control on question voting. | Implement logic control on question voting.
Add two logic controls: 1) if current user is question asker, voting form is not visible, and 2) if current user has already voted on question, voting form is not visible.
| HTML+ERB | mit | jeder28/stack_overphil,jeder28/stack_overphil,jeder28/stack_overphil |
e90faee4cead02e987ee30c145cc6ea4d80faa2c | app/views/refinery/_head.html.erb | app/views/refinery/_head.html.erb | <meta charset='<%= Rails.application.config.encoding %>' />
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /><![endif]-->
<title><%= browser_title(yield(:title)) %></title>
<%= tag :meta, name: 'viewport', content: 'width=device-width, initial-scale=1.0' %>
<%= tag(:meta, name: 'description',... | Add custom _head with RWD meta viewport | Add custom _head with RWD meta viewport
| HTML+ERB | mit | refinery/website,refinery/website,refinery/website | |
9a15d3ac3e57d6652af3e60ccab00298f7ac3f2c | resque/templates/default/process.conf.erb | resque/templates/default/process.conf.erb | [program:<%= @name %>]
command=<%= @command %>
process_name=<%= @name %>-%(process_num)s
numprocs=<%= @number %>
user=<%= @user %>
autostart=true
autorestart=true
stdout_logfile=/var/log/supervisor/<%= @name %>-%(process_num)s.stdout.log
stdout_logfile_backups=3
stderr_logfile=/var/log/supervisor/<%= @name %>-%(process... | [program:<%= @name %>]
command=<%= @command %>
process_name=<%= @name %>-%(process_num)s
numprocs=<%= @number %>
user=<%= @user %>
autostart=true
autorestart=true
stdout_logfile=/var/log/supervisor/<%= @name %>-%(process_num)s.stdout.log
stdout_logfile_backups=3
stderr_logfile=/var/log/supervisor/<%= @name %>-%(process... | Correct variable name in template | Correct variable name in template
| HTML+ERB | mit | ekreative/symfony-chef,ekreative/symfony-chef |
23e53b70918f1d292ceb9cb165ded115857f5550 | pages/test_analytics/features.md.erb | pages/test_analytics/features.md.erb | # Test Analytics Features
{:toc}
## Find flaky tests
See which tests are most disruptive to continuous deployments, with automatic flaky test identification and analysis over time. Tests that pass on retry are marked as red/fail so you can find and fix them.
## Spot sneaky slow-downs
Find performance degradations,... | # Test Analytics Features
{:toc}
## Find flaky tests
See which tests are most disruptive to continuous deployments via reliability scores and trends on both your entire test suite and individual tests.
<strong>Reliablity</strong> is calculated as follows:
- Test suite reliability = passed_runs / (passed_runs + fai... | Add reliability calc deets and red-green retry deets | Add reliability calc deets and red-green retry deets
| HTML+ERB | mit | buildkite/docs,buildkite/docs,buildkite/docs,buildkite/docs |
24a707422a8896ec11663c831f7d125ab614cf28 | app/views/layouts/_package_list.html.erb | app/views/layouts/_package_list.html.erb | <%
has_per_page = defined? per_page
per_page = WillPaginate.per_page \
unless has_per_page
offset = ( params[:page] || '1' ).to_i - 1
offset *= per_page
%>
<% packages.each_with_index do |package, index| %>
<% offset_index = offset + index %>
<% unless offset_index.zero? %>
<div class="list-gr... | <%
has_per_page = defined? per_page
per_page = WillPaginate.per_page \
unless has_per_page
offset = ( params[:page] || '1' ).to_i - 1
offset *= per_page
%>
<% packages.each_with_index do |package, index| %>
<% offset_index = offset + index %>
<% unless offset_index.zero? %>
<div class="list-gr... | Add updated at to hover tooltip in package list | Add updated at to hover tooltip in package list | HTML+ERB | mit | djsegal/julia_observer,djsegal/julia_observer,djsegal/julia_observer |
a248a9cdd39ba2bd6afc6330a6f9848bb99a267c | app/views/repositories/overview.html.erb | app/views/repositories/overview.html.erb | <h1>Repositories</h1>
<table class="table table-striped">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>URL</th>
</tr>
</thead>
<tbody>
<% @repositories.each do |repository| %>
<tr>
<td><%= repository.name %></td>
<td><%= repository.type %></td>
<td><%= r... | <h1>Repositories</h1>
<table class="table table-striped">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>URL</th>
</tr>
</thead>
<tbody>
<% @repositories.each do |repository| %>
<tr>
<td><%= repository.name %></td>
<td><%= repository.type %></td>
<td><a hr... | Transform repository URL to actual hyperlinks | Transform repository URL to actual hyperlinks
Just added an a-tag to the repository rendering. Also included a regular
expression for removing http/https and www whem displaying the link.
Signed-off-by: Konrad Reiche <4ff0213f56e2082fcd8c882d04c546881c579ce4@gmail.com>
| HTML+ERB | mit | platzhirsch/metadata-census |
fd9b56b3118af467a1e4ebf8d871ad42d93e20d9 | templates/etc/heka/elasticsearch.toml.erb | templates/etc/heka/elasticsearch.toml.erb | [ElasticSearchOutput]
server = "<%= @url -%>"
encoder = "<%= @encoder -%>"
message_matcher = "Logger != 'hekad' && Type != 'heka.statmetric'"
[<%= @encoder -%>]
type_name = "%{Type}"
index = "logs-%{2006.01.02}"
es_index_from_timestamp = true
| # This file is controlled via puppet. Any changes you make in here
# will be clobbered when puppet is next run.
[ElasticSearchOutput]
server = "<%= @url -%>"
encoder = "<%= @encoder -%>"
message_matcher = "Logger != 'hekad' && Type != 'heka.statmetric'"
[<%= @encoder -%>]
type_name = "%{Type}"
index = "logs-%{2006.01.... | Mark config file as being controlled in puppet | Mark config file as being controlled in puppet | HTML+ERB | mit | alphagov/puppet-heka |
e5a7f842beb05703af34bc49e64fb97ac20c4ac6 | 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 – 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... | Add sentence about jekyll-help repo | Add sentence about jekyll-help repo
| HTML+ERB | mit | vidbina/jekyll,PepSalehi/jekyll,pmarsceill/jekyll,gaosboy/jekyll,backendeveloper/jekyll,vcgato29/jekyll,CorainChicago/jekyll,tugberkugurlu/jekyll,LeuisKen/jekyllcn,nasht00/jekyll,fabulousu/jekyll,dansef/jekyll,marrujoalex/jekyll,ramoslin02/jekyll,aarvay/jekyll,goragod/jekyll,tillgrallert/jekyll,xiongjungit/jekyll,CPVPL... |
5a8b31e5252c8b9c7293d9a72a93ae9c975d2735 | services/QuillComprehension/app/views/question_sets/index.html.erb | services/QuillComprehension/app/views/question_sets/index.html.erb | <div class="container">
<p id="notice"><%= notice %></p>
<h1>Question Sets</h1>
<div class="card">
<div class="table-responsive">
<table class="table table-hover table-outline table-vcenter card-table">
<thead>
<tr>
<th>Activity</th>
<th>Prompt</th>
... | <div class="container">
<p id="notice"><%= notice %></p>
<h1>Question Sets</h1>
<div class="card">
<div class="table-responsive">
<table class="table table-hover table-outline table-vcenter card-table">
<thead>
<tr>
<th>Activity</th>
<th>Prompt</th>
... | Add number of questions to question set index | Add number of questions to question set index
| HTML+ERB | agpl-3.0 | empirical-org/Empirical-Core,empirical-org/Empirical-Core,empirical-org/Empirical-Core,empirical-org/Empirical-Core,empirical-org/Empirical-Core,empirical-org/Empirical-Core,empirical-org/Empirical-Core |
a5fb590fde2d0184cf24129ed0e0a85ad5dc3ea3 | app/views/application/_name_record.html.erb | app/views/application/_name_record.html.erb | <tr id="search-result-<%= search_result[:id] %>"
class="search-result <%= 'fresh' if search_result.fresh? %>"
data-get-url="<%= name_path(search_result[:id]) %>"
data-edit-url="<%= name_path(search_result[:id]) %>"
data-base-url="<%= name_path(search_result[:id]) %>"
data-record-id="<%= search_result[:id] %>... | <tr id="search-result-<%= search_result[:id] %>"
class="search-result <%= 'fresh' if search_result.fresh? %>"
data-get-url="<%= name_path(search_result[:id]) %>"
data-edit-url="<%= name_path(search_result[:id]) %>"
data-base-url="<%= name_path(search_result[:id]) %>"
data-record-id="<%= search_result[:id] %>... | Add colspan of 2 to name record so it plays nicely with author records e.g. after new name created when authors in search results. | Add colspan of 2 to name record so it plays nicely with author records e.g. after new name created when authors in search results.
| HTML+ERB | apache-2.0 | bio-org-au/nsl-editor,bio-org-au/nsl-editor,bio-org-au/nsl-editor,bio-org-au/nsl-editor |
164375fd955c6e91f674aff4cb559334be32442b | app/views/devise/registrations/new.html.erb | app/views/devise/registrations/new.html.erb | <div class="container">
<div class="row">
<div class="col-md-6 col-md-offset-3">
<h2>Sign up</h2>
<hr>
<%= devise_error_messages! %>
<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
<div class="form-gro... | <div class="container">
<div class="row">
<div class="col-md-6 col-md-offset-3">
<h2>Sign up</h2>
<hr>
<%= devise_error_messages! %>
<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
<div class="form-gro... | Add missing submit button in sign up form. | Add missing submit button in sign up form.
| HTML+ERB | mit | francisbrito/sarah_rails,francisbrito/sarah_rails |
c22e93854c3cb7914b2b246f904ac501f7924ffc | modules/jenkins/templates/nginx.conf.erb | modules/jenkins/templates/nginx.conf.erb | server {
listen 80;
server_name deploy.<%= @app_domain %>;
location / {
proxy_pass http://localhost:8080;
}
}
server {
listen 80;
server_name puppetdb.<%= @app_domain %>;
location / {
proxy_pass http://puppet-1.management.production/;
}
}
| server {
listen 80;
server_name deploy.*;
location / {
proxy_pass http://localhost:8080;
}
}
server {
listen 80;
server_name puppetdb.*;
location / {
proxy_pass http://puppet-1.management.production/;
}
}
| Use wildcards for the app domain on jenkins | Use wildcards for the app domain on jenkins
This is so that we don't have to fudge around with the @app_domain being
production on all of: preview, staging, and production.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
612ec1db274ee302f00654ad5de10061ee8140ac | templates/default/49-relp.conf.erb | templates/default/49-relp.conf.erb | # Generated by Chef
$ModLoad omrelp
$ActionQueueType LinkedList # use asynchronous processing
$ActionQueueFileName srvrfwd # set file name, also enables disk mode
$ActionResumeRetryCount -1 # infinite retries on insert failure
$ActionQueueSaveOnShutdown on # save in-memory data if rsyslog shuts down
<% @servers.each d... | # Generated by Chef
$ModLoad omrelp
$ActionQueueType LinkedList # use asynchronous processing
$ActionQueueFileName srvrfwd # set file name, also enables disk mode
$ActionResumeRetryCount -1 # infinite retries on insert failure
$ActionQueueSaveOnShutdown on # save in-memory data if rsyslog shuts down
<% @servers.each d... | Fix remote_templates in in the relp template | Fix remote_templates in in the relp template
| HTML+ERB | apache-2.0 | autoclone/rsyslog,autoclone/rsyslog,opscode-cookbooks/rsyslog,chef-cookbooks/rsyslog,voroniys/rsyslog,voroniys/rsyslog,chef-cookbooks/rsyslog,opscode-cookbooks/rsyslog,voroniys/rsyslog,chef-cookbooks/rsyslog,opscode-cookbooks/rsyslog,autoclone/rsyslog |
19064071252bb1e022b9b5cdc4c47ba25ad25115 | app/views/shared/_inbox_navbar.html.erb | app/views/shared/_inbox_navbar.html.erb | <div class="container">
<div class="navbar navbar-tabs">
<ul class="nav nav-tabs nav-tabs-lg pull-left">
<li>
<%= link_to inbox_account_conversations_path(@account), class: "#{'active' if current_page?(inbox_account_conversations_path(@account)) }" do %>
Inbox
<span class="badge"... | <div class="container">
<div class="navbar navbar-tabs">
<ul class="nav nav-tabs nav-tabs-lg pull-left">
<li>
<%= link_to inbox_account_conversations_path(@account), class: "#{'active' if current_page?(inbox_account_conversations_path(@account)) }" do %>
Inbox
<span class="badge"... | Remove recent toggle for now | Remove recent toggle for now
| HTML+ERB | agpl-3.0 | asm-helpful/helpful-web,asm-helpful/helpful-web,asm-helpful/helpful-web,asm-helpful/helpful-web |
e99dc17223cc213962c98597527630fc9ce0fa70 | app/views/admin/editions/new.html.erb | app/views/admin/editions/new.html.erb | <% content_for :page_title, "New #{@edition.type.titleize}" %>
<% 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", class_name: @edition.form... | <% content_for :page_title, "New #{@edition.type.titleize}" %>
<% 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", class_name: @edition.form... | Add secondary nav component to the new editions page | Add secondary nav component to the new editions page
| HTML+ERB | mit | alphagov/whitehall,alphagov/whitehall,alphagov/whitehall,alphagov/whitehall |
de49d851ca8a4f21fea6ddf9e3ab0ee5b1a40ab1 | app/views/shared/_show_photo.html.erb | app/views/shared/_show_photo.html.erb | <div class="<%= item.extra_wide? ? 'span6': 'span3' %> item">
<div class="picture">
<%= link_to image_tag(item.file.url(item.extra_wide ? :full : :small)), item, class: 'image' %>
<div class="description">
<p>
<%= link_to item.footer, item %>
</p>
<p>
© <%= link_to item.... | <div class="<%= item.extra_wide? ? 'span6': 'span3' %> item">
<div class="picture">
<%= link_to image_tag(item.file.url(item.extra_wide ? :full : :small)), item, class: 'image' %>
<div class="description">
<p>
<%= link_to item.footer, item %>
</p>
<p>
<i class="icon-external-... | Change photo copyright icon to arrow | Change photo copyright icon to arrow
| HTML+ERB | agpl-3.0 | civio/quienmanda.es,AsunaYuukio/quienmanda.es,AsunaYuukio/quienmanda.es,civio/quienmanda.es,civio/quienmanda.es,civio/quienmanda.es,AsunaYuukio/quienmanda.es,AsunaYuukio/quienmanda.es |
64886155e00ce4862c234e21facb76f124329920 | app/views/_header.erb | app/views/_header.erb |
<!-- Create Partials for Nav Bar -->
<nav>
<div class="nav-wrapper">
<a href="/profile/<%= auth_current_user.id %>" class="brand-logo right">
<%= auth_current_user.username %>
</a>
<ul id="nav-mobile" class="left hide-on-med-and-down">
<li><a href="/">Home</a></li>
<li><a href="/logi... |
<!-- Create Partials for Nav Bar -->
<nav>
<div class="nav-wrapper">
<ul id="nav-mobile" class="left hide-on-med-and-down">
<li><a href="/">Home</a></li>
<% if auth_logged_in? === false %>
<li><a href="/login">Login</a></li>
<li><a href="/register">Register</a></li>
<% en... | Fix header views using partials for current user logged in | Fix header views using partials for current user logged in
| HTML+ERB | mit | philipyoo/basic-rpg,philipyoo/basic-rpg,philipyoo/basic-rpg |
2b74f730df9c54f39b9211d447220c148b9d0e9c | app/views/collaborators/_delete.erb | app/views/collaborators/_delete.erb | <form action="/events/<%= event.id %>/collaborators/<%= collaborator_id %>" method="post">
<input type="hidden" name="_method" value="delete">
<input type="submit" value="delete">
</form> | <form action="/events/<%= event.id %>/collaborators/<%= collaborator_id %>" method="post">
<input type="hidden" name="_method" value="delete">
<button class="ex"><i class="fa fa-times"></i></button>
</form> | Change submit button to link | Change submit button to link
| HTML+ERB | mit | nyc-fiddler-crabs-2015/Miramar-Yacht-Club,nyc-fiddler-crabs-2015/Miramar-Yacht-Club,nyc-fiddler-crabs-2015/Miramar-Yacht-Club |
c3c242520d8f3b00445e42d5b1adddbe5007aa58 | app/views/events/_search_section.html.erb | app/views/events/_search_section.html.erb | <%#
Locals:
* events => Array of Event objects
* description => String description of events, e.g. "current"
%>
<div id='list_description'>
<h2>Viewing <strong> <%= pluralize events.size, "#{description} event" %></strong>
matching <strong>“<%= @query || @tag %>”</strong>
<%= events_sort_label(params[... | <%#
Locals:
* events => Array of Event objects
* description => String description of events, e.g. "current"
%>
<div id='list_description'>
<h2>Viewing <strong> <%= pluralize events.size, "#{description} event" %></strong>
matching <strong>“<%= @query || @tag %>”</strong>
<%= events_sort_label(params[... | Hide links to sort by relevance for tag searches (or any other theoretical searches that don't have a @query). | Hide links to sort by relevance for tag searches (or any other theoretical searches that don't have a @query). | HTML+ERB | mit | VolunteerOdyssey/calagator,CorainChicago/ActivateHub,bencornelis/calagator,CorainChicago/ActivateHub,reidab/calagator,shawnacscott/calagator,VolunteerOdyssey/calagator,shawnacscott/calagator,jmcduffie32/calagator,bencornelis/calagator,nblackburn87/calagator,alexbeeken/calagator.org,bencornelis/calagator,shawnacscott/ca... |
2a576358fbd7ed6d24739429bf097bfc196b1236 | app/views/meals/meals/_time_cook.html.erb | app/views/meals/meals/_time_cook.html.erb | <div id="time-cook">
<span class="chunk">
<%= icon_tag("calendar") %>
<strong><%= meal.served_at_datetime_no_yr %></strong>
</span>
<% if meal.head_cook.present? %>
<span class="chunk">
<%= image_tag("chef-hat.png") %>
<%= meal.head_cook.decorate.link %>
</span>
<% end %>
</div>
| <div id="time-cook">
<span class="chunk">
<%= icon_tag("calendar") %>
<strong><%= meal.served_at_datetime %></strong>
</span>
<% if meal.head_cook.present? %>
<span class="chunk">
<%= image_tag("chef-hat.png") %>
<%= meal.head_cook.decorate.link %>
</span>
<% end %>
</div>
| Include year in time_cook partial | 233: Include year in time_cook partial
| HTML+ERB | mit | touchstone-cohousing/mess,touchstone-cohousing/mess,touchstone-cohousing/mess |
b34ae3ce65f5b21abf97dc5170d261396edc93c5 | app/views/posts/index.html.erb | app/views/posts/index.html.erb | <div id="container">
<div id="newPostContainer">
<%= form_for(@post, url: posts_path, remote: true) do |f| %>
<div id="newPostText">
New post
</div>
<div id="newPostField">
<%= f.text_area :text %>
</div>
<div id="newPostSubmit">
<%= f.submit %>
</div>
<% end %>
</div>
<div id="pos... | <div id="container">
<div id="newPostContainer">
<%= form_for(@post, url: posts_path, remote: true) do |f| %>
<div id="newPostField">
<%= f.text_area :text %>
</div>
<div id="newPostSubmit">
<%= f.submit "Write post" %>
</div>
<% end %>
</div>
<div id="posts">
<%= render @posts %>
</div>
... | Clean up new post form | Clean up new post form
| HTML+ERB | mit | SyntaxBlitz/bridie,SyntaxBlitz/bridie |
6a48a8241845b67f0819480780c9f5e28a5bdce4 | app/views/shared/_tracking.erb | app/views/shared/_tracking.erb | <%- if MySociety::Config.get("DOMAIN", '127.0.0.1:3000') == 'www.fixmytransport.com' %>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-24232514-1']);
<% if content_for?(:tracking) %>
_gaq.push(['_trackPageview', <%= yield(:tracking) %>]);
<%- else... | <%- if MySociety::Config.get("DOMAIN", '127.0.0.1:3000') == 'www.fixmytransport.com' %>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-24232514-1']);
<% if content_for?(:tracking) %>
_gaq.push(['_trackPageview', <%= yield(:tracking) %>]);
<%- else... | Add _gaq var in non-prod sites. | Add _gaq var in non-prod sites.
| HTML+ERB | agpl-3.0 | mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport |
8f8e4dfc38a83ae872e3deecb2c88290589ae6bc | lib/domgen/sync/templates/master_sync_service_test.java.erb | lib/domgen/sync/templates/master_sync_service_test.java.erb | /* DO NOT EDIT: File is auto-generated */
package <%= to_package(data_module.sync.qualified_master_sync_service_test_name) %>;
@java.lang.SuppressWarnings( { "UnusedDeclaration" } )
@javax.annotation.Generated( "Domgen" )
public abstract class <%= data_module.sync.master_sync_service_test_name %>
extends <%= data_mo... | /* DO NOT EDIT: File is auto-generated */
package <%= to_package(data_module.sync.qualified_master_sync_service_test_name) %>;
@java.lang.SuppressWarnings( { "UnusedDeclaration" } )
@javax.annotation.Generated( "Domgen" )
public abstract class <%= data_module.sync.master_sync_service_test_name %>
extends <%= data_mo... | Make sure the reference to correct SyncTempFactory is used | Make sure the reference to correct SyncTempFactory is used
| HTML+ERB | apache-2.0 | realityforge/domgen,realityforge/domgen,icaughley/domgen,icaughley/domgen |
9c9c39b7bbb6f992e2dc9aa737ebf7b258db5153 | sli/admin-tools/admin-rails/app/views/eulas/finish.html.erb | sli/admin-tools/admin-rails/app/views/eulas/finish.html.erb | <div class="page-header">
<h1>Thank You!</h1>
</div>
<p>You are done registering. Be on the lookout for a confirmation email.</p>
<p><b>Step 3 of 3</b></p>
<p style="color: black">Your request was submitted. You will receive an email asking you to verify your email address, and then provide you with the next st... | <div class="page-header">
<h1>Thank You!</h1>
</div>
<p>You are done registering. Be on the lookout for a confirmation email.</p>
<p><b>Step 3 of 3</b></p>
<p style="color: black">Your request was submitted. You will receive an email asking you to verify your email address, and then provide you with the next st... | Change email address text to match the sender. | DE1061: Change email address text to match the sender.
| HTML+ERB | apache-2.0 | inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service |
933371f4c6e159b176d1101c173d6022229da422 | app/views/documents/_share_links.html.erb | app/views/documents/_share_links.html.erb | <% initialise_script "GOVUK.DocumentShareLinks", el: '.document-share-links' %>
<div class="document-share-links">
<h2>Share this page</h2>
<ul class="social-media-accounts">
<li>
<%= link_to "https://www.facebook.com/sharer/sharer.php?u=#{url_encode(public_document_url(document))}",
target: "_b... | <% initialise_script "GOVUK.DocumentShareLinks", el: '.document-share-links' %>
<div class="document-share-links">
<h2>Share this page</h2>
<ul class="social-media-accounts">
<li>
<%= link_to "https://www.facebook.com/sharer/sharer.php?u=#{url_encode(public_document_url(document))}",
target: "_b... | Add noopener and noreferrer to sharing links | Add noopener and noreferrer to sharing links
| HTML+ERB | mit | alphagov/whitehall,alphagov/whitehall,alphagov/whitehall,alphagov/whitehall |
212b2189725412565f8ad2bd8af3c3903c3335b7 | app/views/restore/product_access.html.erb | app/views/restore/product_access.html.erb | <h1>Get Access To the Product</h1>
<p><strong>Can't access YOUR product?</strong> Please, use <i>secret</i> URL we emailed to you!</p>
| <h1>Get Access To the Product</h1>
<p><strong>Can't access YOUR product?</strong> Please, use <i>secret</i> URL we showed to you!</p>
| Update text for restore view | Update text for restore view
| HTML+ERB | agpl-3.0 | asm-products/bit-commerce,asm-products/bit-commerce,asm-products/bit-commerce |
29260060f04c8e28022345513aa49222865bcaa6 | app/views/spree/admin/pages/_form.html.erb | app/views/spree/admin/pages/_form.html.erb | <%- locals = {:f => f} %>
<div data-hook="admin_page_form_fields">
<%= f.field_container :title do %>
<%= f.label :title, t("title") %><br />
<%= f.text_field :title %>
<%= error_message_on :page, :title %>
<% end %>
<%= f.field_container :meta_keywords do %>
<%= f.label :meta_keywords, t("met... | <%- locals = {:f => f} %>
<div data-hook="admin_page_form_fields">
<%= f.field_container :title do %>
<%= f.label :title, t("title") %><br />
<%= f.text_field :title %>
<%= error_message_on :page, :title %>
<% end %>
<%= f.field_container :meta_keywords do %>
<%= f.label :meta_keywords, t("met... | Set rows in fields: meta and description | Set rows in fields: meta and description
| HTML+ERB | bsd-3-clause | gdsn13/spree_pages,gdsn13/spree_pages,sebastyuiop/spree_pages |
f39f0dea7b6cb66f46e365af70dcc46fb50d8821 | app/views/user_mailer/team_invite.html.erb | app/views/user_mailer/team_invite.html.erb | <h1><%= @inviter.display_name %> has invited you to join the <%= @team.name %> team on Open HQ</h1>
<%= link_to "Join #{@team.name}", edit_team_invite_url(id: @team_invite.invitation_code, subdomain: @team.subdomain) %>
| <h1><strong><%= @inviter.display_name %></strong> has invited you to join the <strong><%= @team.name %></strong> team on Open HQ</h1>
<!-- Action -->
<table class="body-action" align="center" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td align="center">
<div>
<!--[if mso]><v:roundrect xmln... | Work on email styles for team invite mailer | Work on email styles for team invite mailer
| HTML+ERB | mit | openhq/openhq,openhq/openhq,openhq/openhq,openhq/openhq |
51f267728b847cfc31e69a8e8a05808d0eb927c3 | core/app/views/refinery/admin/_head.html.erb | core/app/views/refinery/admin/_head.html.erb | <head>
<meta charset='<%= ::Rails.application.config.encoding %>' />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<%= yield :meta %>
<title><%= Refinery::Core.site_name -%> - Refinery</title>
<%= csrf_meta_tags %>
<%= stylesheet_link_tag 'refinery/refinery' %>
<% visual_editor_styleshe... | <head>
<meta charset='<%= ::Rails.application.config.encoding %>' />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<%= yield :meta %>
<title><%= Refinery::Core.site_name -%> - Refinery</title>
<%= csrf_meta_tags %>
<%= stylesheet_link_tag 'refinery/refinery' %>
<% visual_editor_styleshe... | Remove skip_pipeline option for visual_editor_stylesheets and custom_stylesheets | Remove skip_pipeline option for visual_editor_stylesheets and custom_stylesheets
| HTML+ERB | mit | anitagraham/refinerycms,anitagraham/refinerycms,refinery/refinerycms,refinery/refinerycms,refinery/refinerycms,anitagraham/refinerycms |
42e070db691abbdeafe771742671728445832e49 | izitsm/app/views/shared/_navigation.html.erb | izitsm/app/views/shared/_navigation.html.erb | <nav class="navbar navbar-default" role="navigation">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="/">IziTSM</a>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<%if current_us... | <nav class="navbar navbar-default" role="navigation">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="/">IziTSM</a>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<form class="navbar-form navbar-left" role="search">
<di... | Add search field to navbar. Customize logged in infos | Add search field to navbar. Customize logged in infos
| HTML+ERB | mit | Lowouik/eztsm,Lowouik/eztsm,Lowouik/eztsm,Lowouik/eztsm |
4316d4c1a5441e89de245c51b679ce052713c609 | jobs/proxy/templates/route-registrar_ctl.erb | jobs/proxy/templates/route-registrar_ctl.erb | #!/bin/bash
set -e # exit immediately if a simple command exits with a non-zero status
set -u # report the usage of uninitialized variables
JOB_NAME=route-registrar
RUN_DIR=/var/vcap/sys/run/cf-mysql-broker
LOG_DIR=/var/vcap/sys/log/cf-mysql-broker
PIDFILE=$RUN_DIR/route-registrar.pid
CONFIG_FILE=/var/vcap/jobs/prox... | #!/bin/bash
set -e # exit immediately if a simple command exits with a non-zero status
set -u # report the usage of uninitialized variables
JOB_NAME=route-registrar
RUN_DIR=/var/vcap/sys/run/cf-mysql-broker
LOG_DIR=/var/vcap/sys/log/cf-mysql-broker
PIDFILE=$RUN_DIR/route-registrar.pid
CONFIG_FILE=/var/vcap/jobs/prox... | Make route-registrar run as vcap | Make route-registrar run as vcap
- We removed the export of HOME as it did not appear to be necessary
[#115623381]
Signed-off-by: Andrew Crump <bad96bc28586e95c5d7da81c13d926ea5028b22f@pivotal.io>
| HTML+ERB | apache-2.0 | cloudfoundry/cf-mysql-release,cloudfoundry/cf-mysql-release,cloudfoundry/cf-mysql-release,cloudfoundry/cf-mysql-release |
57a8efc14847195ec3f3fc6b5d12b03d3165cfae | app/views/corrals/show.html.erb | app/views/corrals/show.html.erb | <p id="notice"><%= notice %></p>
<p>
<% if !@corral.images.empty? %>
<% @corral.images.each do |img| %>
<%= image_tag img.image_url %>
<% end %>
<% else %>
<%= image_tag "corral", width: "200" %>
<% end %>
</p>
<p>
<strong>Location:</strong>
<%= @corral.location %>
</p>
<p>
<strong>Racks:</strong>
... | <p id="notice"><%= notice %></p>
<div class="col-md-4">
<% if !@corral.images.empty? %>
<% @corral.images.each do |img| %>
<%= image_tag img.image_url %>
<% end %>
<% else %>
<%= image_tag "corral", width: "200" %>
<% end %>
<p>
<strong>Location:</strong>
<%= @corral.location %>
</... | Add (nonfunctional) checkin button to corral show page | Add (nonfunctional) checkin button to corral show page
| HTML+ERB | mit | DanFerrer/Rackit,DanFerrer/Rackit,DanFerrer/Rackit |
1da2ab1af0f7bdd96674f69b766530b087bf6ae5 | app/views/shared/_user.html.erb | app/views/shared/_user.html.erb | <% avatar_url = if user.thumbnail.exists?
user.thumbnail(:medium)
else
asset_path('staff/staff-default-avatar.png')
end %>
<div class="staff">
<%= link_to staff_path(user) do %>
<div class="staff-pic" style="background-image: url('<%= avatar_url ... | <% avatar_url = if user.thumbnail.present?
user.thumbnail(:medium)
else
asset_path('staff/staff-default-avatar.png')
end %>
<div class="staff">
<%= link_to staff_path(user) do %>
<div class="staff-pic" style="background-image: url('<%= avatar_url... | Use present instead of exists | Use present instead of exists
| HTML+ERB | mit | Vizzuality/grid-arendal,Vizzuality/grid-arendal,Vizzuality/grid-arendal |
928478419516d9c12f7ab2af32a5c75a6ab52f3f | app/views/layouts/resolve.html.erb | app/views/layouts/resolve.html.erb | <!DOCTYPE html>
<html lang="en">
<head>
<title>Getit | <%= @page_title %></title>
<%= render 'common/google_tag_manager_script' %>
<%= meta %>
<%= resolve_stylesheets %>
<%= resolve_javascripts %>
<%= render_umlaut_head_content %>
</head>
<body class="umlaut no-js resolve">
<%= render ... | <!DOCTYPE html>
<html lang="en">
<head>
<title>GetIt | <%= @page_title %></title>
<meta name="onlyfortesting" content="onlyfortesting">
<%= render 'common/google_tag_manager_script' %>
<%= meta %>
<%= resolve_stylesheets %>
<%= resolve_javascripts %>
<%= render_umlaut_head_content %>
</h... | Revert title; add meta tag for testing | Revert title; add meta tag for testing
| HTML+ERB | mit | NYULibraries/getit,NYULibraries/getit,NYULibraries/getit,NYULibraries/getit |
fd765a91e08d85fc5329b69fc773b38cc48f6ae9 | app/views/reviews/_review.html.erb | app/views/reviews/_review.html.erb | <% cache(cache_key_for_reviews(@reviews)) do %>
<% @reviews.each do |review| %>
<% cache(review) do %>
<% if !review.user_id.nil? %>
<div class="review_well">
<p>
<%= review.review %>
</p>
<p>
Rating: <%= review.rating %>
</p>
... | <% cache(cache_key_for_reviews(@reviews)) do %>
<% @reviews.each do |review| %>
<% if !review.user_id.nil? %>
<div class="review_well">
<% cache(review) do %>
<p>
<%= review.review %>
</p>
<p>
Rating: <%= review.rating %>
</p>
... | Move permission-based links outside of inner-cache | Test: Move permission-based links outside of inner-cache
| HTML+ERB | mit | kbarre123/starterkits_rails4,kbarre123/starterkits_rails4,kbarre123/starterkits_rails4 |
2661ae683866b9dab26a6810b5ea6132338516d8 | app/views/scrapbooks/show.html.erb | app/views/scrapbooks/show.html.erb | <% content_for :breadcrumbs do %>
<ol>
<li><a href="<%= new_scrapbook_search_path(current_scrapbook) %>">Search</a></li>
<li>Saved roles</li>
</ol>
<% end %>
<h2 class="heading-xlarge">Your saved roles</h2>
<p>Now, you can use this information to:</p>
<ul class="list list-bullet">
<li>tailor your... | <% content_for :breadcrumbs do %>
<ol>
<li><a href="<%= new_scrapbook_search_path(current_scrapbook) %>">Search</a></li>
<li>Saved roles</li>
</ol>
<% end %>
<h2 class="heading-xlarge">Your saved roles</h2>
<p>Now, you can use this information to:</p>
<ul class="list list-bullet">
<li>tailor your... | Tweak horizontal lines on scrapbook page | Tweak horizontal lines on scrapbook page
| HTML+ERB | apache-2.0 | lm-tools/work-you-could-do,lm-tools/work-you-could-do,lm-tools/work-you-could-do,lm-tools/work-you-could-do |
27a902012690221e42c5cad86e942bdae5e5e861 | app/views/shared/_navmenu.html.erb | app/views/shared/_navmenu.html.erb | <nav id="main-nav-menu" class="fade">
<div class="inner-box">
<%= link_to 'Room', rooms_path %>
<%= link_to 'Notes', notes_path %>
<%= link_to 'Pictures', pictures_path %>
<%= link_to 'Lists', lists_path %>
<%= link_to 'Polls', poll_lists_path %>
<%= link_to 'Bills', lists_path %>
<%= link... | <nav id="main-nav-menu" class="fade">
<div class="inner-box">
<%= link_to 'Room', rooms_path %>
<%= link_to 'Notes', notes_path %>
<%= link_to 'Pictures', pictures_path %>
<%= link_to 'Lists', check_lists_path %>
<%= link_to 'Polls', poll_lists_path %>
<%= link_to 'Bills', bill_lists_path %>
... | Update navmenu for new lists | Update navmenu for new lists
| HTML+ERB | mit | dhahn/r13-team-45,dhahn/r13-team-45 |
1569a34dd123313b1c31be278e299ef01811182a | app/views/vehicles/_table.html.erb | app/views/vehicles/_table.html.erb | <div class="data-table">
<div class="entry row">
<div class="title col-sm-4">
<i class="fa modifier fa-caret-up increase"></i>
<i class="fa fa-fw fa-tachometer"></i>
<span>20.2 MPG</span>
</div>
<div class="detail col-sm-5">
<span>321 miles</span>
</div>
<div class="date co... | <div class="data-table">
<div class="entry row">
<div class="title col-sm-3">
<i class="fa modifier fa-caret-up increase"></i>
<i class="fa fa-fw fa-tachometer"></i>
<span>20.2 MPG</span>
</div>
<div class="detail col-sm-4">
<span>321 miles</span>
</div>
<div class="date co... | Add edit buttons to table | Add edit buttons to table
| HTML+ERB | mit | SonofNun15/react-on-rails,SonofNun15/react-on-rails,SonofNun15/react-on-rails |
424a8a591457f995aa0e3fd0585463463a90cb38 | platforms/wake/sbt/Dockerfile-compile.erb | platforms/wake/sbt/Dockerfile-compile.erb | FROM java:8
RUN mkdir /opt/app && \
mkdir /opt/src
ENV SCALA_VERSION 2.11.7
ENV SBT_VERSION 0.13.8
# Install Scala
RUN \
cd /root && \
curl -o scala-$SCALA_VERSION.tgz http://downloads.typesafe.com/scala/$SCALA_VERSION/scala-$SCALA_VERSION.tgz && \
tar -xf scala-$SCALA_VERSION.tgz && \
rm scala-$SCALA_VER... | FROM java:8
RUN mkdir /opt/app && \
mkdir /opt/src
ENV SCALA_VERSION 2.11.7
ENV SBT_VERSION 0.13.8
# Install Scala
RUN \
cd /root && \
curl -o scala-$SCALA_VERSION.tgz http://downloads.typesafe.com/scala/$SCALA_VERSION/scala-$SCALA_VERSION.tgz && \
tar -xf scala-$SCALA_VERSION.tgz && \
rm scala-$SCALA_VERS... | Remove space from sbt dockerfile | Remove space from sbt dockerfile
| HTML+ERB | mit | wakeful-deployment/wake,wakeful-deployment/wake,wakeful-deployment/wake |
cb0c07436d0e2ae4f0ae2da79392829ea09f977d | modules/icinga/templates/check_mapit.cfg.erb | modules/icinga/templates/check_mapit.cfg.erb | define command {
command_name check_mapit
command_line /usr/lib/nagios/plugins/check_http -H mapit.<%= @app_domain %> -u /postcode/W54XA -w1 -c2 -s 'E14000676'
}
| define command {
command_name check_mapit
command_line /usr/lib/nagios/plugins/check_http -H mapit.<%= @app_domain %> -u /postcode/W54XA -w1 -c2 -s 'E14000676' --ssl
}
| Make Icinga check Mapit over HTTPS | Make Icinga check Mapit over HTTPS
Most requests against Mapit are made over HTTPS, so that's what
Icinga should check.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
0fe334b929af55ac5f6f503a5b1c26efe30c7dfa | app/views/anchor_link_topics/index.html.erb | app/views/anchor_link_topics/index.html.erb | <% provide(:title, 'Anchor Link Help') %>
<% provide(:jumbotron_class, 'jumbotron-resources') %>
<%= render 'layouts/jumbotron' %>
<div class="container-content">
<div class="container">
<div class="row">
<div class="col-xs-12">
<div class="panel-group" id="accordion">
<%= render partial... | <% provide(:title, 'Anchor Link Help') %>
<% provide(:jumbotron_class, 'resources') %>
<%= render 'layouts/jumbotron' %>
<div class="container-content">
<div class="container">
<div class="row">
<div class="col-xs-12">
<div class="panel-group" id="accordion">
<%= render partial: 'layouts... | Fix bug in Anchor Link page's jumbotron partial | Fix bug in Anchor Link page's jumbotron partial
| HTML+ERB | mit | sethfri/VPAC,sethfri/VPAC |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.