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 |
|---|---|---|---|---|---|---|---|---|---|
9b2abddf2004a1424175886a6e853304717cb0fe | cookbooks/letsencrypt/templates/default/check-certificates.erb | cookbooks/letsencrypt/templates/default/check-certificates.erb | #!/bin/sh
<% @certificates.each_value do |certificate| -%>
<% certificate[:nodes].each do |host| -%>
/srv/acme.openstreetmap.org/bin/check-certificate <%= host[:name] %> <%= host[:address] %> <%= certificate[:domains].join(" ") %>
<% end -%>
<% end -%>
| #!/bin/sh
<% @certificates.values.sort_by { |c| c[:domains].first }.each do |certificate| -%>
<% certificate[:nodes].sort_by { |h| h[:name] }.each do |host| -%>
/srv/acme.openstreetmap.org/bin/check-certificate <%= host[:name] %> <%= host[:address] %> <%= certificate[:domains].join(" ") %>
<% end -%>
<% end -%>
| Sort certificates in a stable order | Sort certificates in a stable order
| HTML+ERB | apache-2.0 | Firefishy/chef,Firefishy/chef,Firefishy/chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,openstreetmap/chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,Firefishy/chef,Firefishy/chef,tomhughes/o... |
de31795706886dda2b2a274bb9b6967459d6dbc5 | app/views/featured/index.html.erb | app/views/featured/index.html.erb | <div class="container-fluid">
<div class="row-fluid">
<div class="span12">
<h1>Featured Petitions</h1>
<ul>
<% @featured.each do |f| %>
<% featured = WeThePeople::Resources::Petition.find(f.wtp_id) %>
<li><%= link_to featured.title, petitions_path(f.wtp_id) %></li>
<%... | <div class="container-fluid">
<div class="row-fluid">
<div class="span12">
<h1>Featured Petitions</h1>
<ul>
<% @featured.each do |f| %>
<% featured = WeThePeople::Resources::Petition.find(f.wtp_id) %>
<li><%= link_to featured.title, petition_path(f.wtp_id) %></li>
<% ... | Fix the featured petitions path | Fix the featured petitions path
| HTML+ERB | mit | ryanatwork/petitionkicker,ryanatwork/petitionkicker |
26d057a958aae4ea7f2a09508752b81a23c5832a | app/views/search/_result.html.erb | app/views/search/_result.html.erb | <dl>
<dt>
<h5>
<%= link_to land_parcel.title_reference,
url_for(:controller => 'land_parcel_records',
:action => 'show',
:id => land_parcel.title_reference) %>
<h5/>
</dt>
<dd>
<% unless land_parcel.common_property? %>
<% information = land_parcel.address_inform... | <dl>
<dt>
<h5>
<%= link_to land_parcel.title_reference,
url_for(:controller => 'land_parcel_records',
:action => 'show',
:id => land_parcel.title_reference) %>
<h5/>
</dt>
<dd>
<% unless land_parcel.common_property? %>
<% information = land_parcel.address_inform... | Fix unavailable street address bug | Fix unavailable street address bug
| HTML+ERB | apache-2.0 | NSWPlanning/data-verification-tool,NSWPlanning/data-verification-tool,NSWPlanning/data-verification-tool |
aaee28b6ebd457f68b7466cfc3347cfedbfba66c | templates/default/timeperiods.cfg.erb | templates/default/timeperiods.cfg.erb | # Time period definitions
# Automatically generated by Chef
define timeperiod {
timeperiod_name 24x7
alias 24 Hours A Day, 7 Days A Week
sunday 00:00-24:00
monday 00:00-24:00
tuesday 00:00-24:00
wednesday 00:00-24:00
thursday 00:00-24:00
friday ... | # Time period definitions
# Automatically generated by Chef
define timeperiod {
timeperiod_name 24x7
alias 24 Hours A Day, 7 Days A Week
sunday 00:00-24:00
monday 00:00-24:00
tuesday 00:00-24:00
wednesday 00:00-24:00
thursday 00:00-24:00
friday ... | Fix indentation in the time periods config that resulted in empty lines | Fix indentation in the time periods config that resulted in empty lines
| HTML+ERB | apache-2.0 | JulianNL/nagios,Piousbox-cookbooks/nagios,mrlamroger/nagios,OpenGov/nagios,JulianNL/nagios,Piousbox-cookbooks/nagios,aaronkvanmeerten/nagios,firebase/nagios,ovaistariq/nagios,firebase/nagios,aaronkvanmeerten/nagios,bitmonk/chef-nagios,polamjag/nagios,Piousbox-cookbooks/nagios,ovaistariq/nagios,schubergphilis/nagios,bit... |
378d5b4e3c1ae5a33f07d6c0eb2e21cc62af4819 | app/views/backend/tags/_tag_usages.html.erb | app/views/backend/tags/_tag_usages.html.erb | <div class="modal fade" id="tag-usages-<%= tag.id %>" tabindex="-1" role="dialog" aria-labelledby="tag-usages-title" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="tag-usages-title"><%= tag.name %></h5... | <div class="modal fade" id="tag-usages-<%= tag.id %>" tabindex="-1" role="dialog" aria-labelledby="tag-usages-title" aria-hidden="true">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="tag-usages-title"><%= tag.na... | Make the tag popup bigger. | Make the tag popup bigger.
| HTML+ERB | mit | udongo/udongo,udongo/udongo,udongo/udongo |
1a5b6d640af36c0d473d8c19b123184f8903f20b | app/views/sessions/new.html.erb | app/views/sessions/new.html.erb | <h3>Log In</h3>
<%= form_tag sessions_path do %>
<div class="control-group">
<%= label_tag :username %>
<div class="controls">
<%= text_field_tag :username, params[:username] %>
</div>
</div>
<div class="control-group">
<%= label_tag :password %>
<div class="controls">
<%= passwor... | <div class="container">
<div class="row">
<div class="col-sm-6 col-md-4 col-md-offset-4">
<h2 class="text-center">Log In</h2>
<%= form_tag sessions_path, :class => "login" do %>
<input type="text" id="username" class="form-control" placeholder="Email" required autofocus>
<input type=... | Improve styling on login page | Improve styling on login page
| HTML+ERB | mit | mmhayase/beacon,mmhayase/beacon,mmhayase/beacon |
5c69f53c4930ff6dbc2136211481e86d0022db7a | app/views/taxons/index.html.erb | app/views/taxons/index.html.erb | <%= display_header title: 'Taxons', breadcrumbs: ['Taxons'] do %>
<%= link_to 'Add a taxon', new_taxon_path, class: 'btn btn-lg btn-default' %>
<% end %>
<table class="tags-list">
<tr>
<th>Title</th>
<th></th>
<th></th>
</tr>
<% taxons.each do |taxon| %>
<tr>
<td><%= taxon['title'] %></td>
<td><%= li... | <%= display_header title: 'Taxons', breadcrumbs: ['Taxons'] do %>
<%= link_to 'Add a taxon', new_taxon_path, class: 'btn btn-lg btn-default' %>
<% end %>
<table class="tags-list">
<tr>
<th>Title</th>
<th></th>
<th></th>
</tr>
<% taxons.each do |taxon| %>
<tr>
<td><%= taxon['title'] %></td>
<td><%= li... | Fix copy for "View tagged" from taxons | Fix copy for "View tagged" from taxons
I think this might be clearer.
| HTML+ERB | mit | alphagov/content-tagger,alphagov/content-tagger,alphagov/content-tagger |
b3ad14ae2320461c465891ef4d28760bb667b34b | srv/logstash/config/filter.d/ci_ip_diagnostics.filter.conf.erb | srv/logstash/config/filter.d/ci_ip_diagnostics.filter.conf.erb | # Filter type => "ci_ip_diagnostics"
csv {
type => "ci_ip_diagnostics"
columns => [
"instruction_id",
"level",
"instruction_description",
"arrival_time",
"duration_ms",
"percentage_of_total",
"quotes_orders_affected"
]
}
csv {
type => "ci_ip_diag... | # Filter type => "ci_ip_diagnostics"
csv {
type => "ci_ip_diagnostics"
columns => [
"instruction_id",
"level",
"instruction_description",
"arrival_time",
"duration_ms",
"percentage_of_total",
"quotes_orders_affected"
]
}
csv {
type => "ci_ip_diag... | Create a full timestamp by combining the current date with the arrival_time field | Create a full timestamp by combining the current date with the arrival_time field
| HTML+ERB | apache-2.0 | cityindex-attic/logsearch,cityindex-attic/logsearch,cityindex-attic/logsearch,cityindex-attic/logsearch |
57f33b5cd1d46a30b8d2ba0e02c1e27d63c8a77d | modules/govuk_jenkins/templates/jobs/run_rake_task.yaml.erb | modules/govuk_jenkins/templates/jobs/run_rake_task.yaml.erb | ---
- job:
name: run-rake-task
display-name: Run rake task
project-type: freestyle
description: "Run a rake task on an application."
builders:
- shell: ssh deploy@$MACHINE "cd /var/apps/$TARGET_APPLICATION && govuk_setenv $TARGET_APPLICATION bundle exec rake $RAKE_TASK"
wrappers:
- a... | ---
- job:
name: run-rake-task
display-name: Run rake task
project-type: freestyle
description: "Run a rake task on an application."
builders:
- shell: ssh deploy@$(govuk_node_list -c $MACHINE_CLASS --single-node) "cd /var/apps/$TARGET_APPLICATION && govuk_setenv $TARGET_APPLICATION bundle exe... | Use a random node for running rake tasks | Use a random node for running rake tasks
This will help us avoid single points of failure and flush out
configuration problems.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
3d6d5a8258d8b6584683df05009134efbfaca5f1 | app/views/refinery/solr/admin/_search.html.erb | app/views/refinery/solr/admin/_search.html.erb | <form method='GET' action='<%= url %>' class='search_form'>
<%= text_field :search, nil, :id => 'search', :type => 'search', :name => 'search', :value => params[:search], :title => t('search_input_notice', :scope => 'refinery.admin.search') %>
<%= hidden_field :wymeditor, nil, :name => 'wymeditor', :id => nil, :val... | <form method='GET' action='<%= url %>' class='search_form'>
<%= text_field :search, nil, :id => 'search', :type => 'text', :name => 'search', :value => params[:search], :title => t('search_input_notice', :scope => 'refinery.admin.search') %>
<%= hidden_field :wymeditor, nil, :name => 'wymeditor', :id => nil, :value... | Change the search input for a text input (unstylable in Safari) | Change the search input for a text input (unstylable in Safari) | HTML+ERB | mit | ixmedia/refinerycms-solr |
974d9b5adab999dfdc0671f5c55ebb80c891ce57 | app/views/respect/rails/schemas/index.html.erb | app/views/respect/rails/schemas/index.html.erb | <h1><%= @info.app.name.titleize %> REST API Reference documentation</h1>
<h2>Routes index</h2>
<ul>
<% @info.routes.sort.each do |route| %>
<li><%= route.spec %></li>
<% end %>
</ul>
<h2>Table of content</h2>
<ul>
<% @info.toc.keys.sort.each do |controller_name| %>
<li>
<%= controller_name.titleize %>
<... | <h1><%= @info.app.name.titleize %> REST API Reference documentation</h1>
<h2>Routes index</h2>
<ul>
<% @info.routes.sort.each do |route| %>
<li><%= route.spec %></li>
<% end %>
</ul>
<h2>Table of content</h2>
<ul>
<% @info.toc.keys.sort.each do |controller_name| %>
<li>
<%= controller_name.titleize %>
<... | Document request schema for each route. | Document request schema for each route.
| HTML+ERB | mit | nicolasdespres/respect-rails,nicolasdespres/respect-rails,nicolasdespres/respect-rails |
bb939fc1d3b231ac6681cd7070bf3591ed0351aa | source/partials/_index-list-contentful-image.erb | source/partials/_index-list-contentful-image.erb | <div class='soundcloud-player-small'>
<figure class="image-block__figure"><img src="//images.contentful.com/<%= article.data.contentful_id %>" sizes="(min-width: 1160px) 1160px, 96vw" alt="" class="image-block__figure-image"></figure>
</div>
| <div class='slick-container'>
<figure class="image-block__figure">
<img src="//images.contentful.com/<%= article.data.contentful_index_pic %>" sizes="(min-width: 1160px) 1160px, 96vw" alt="" class="image-block__figure-image">
</figure>
</div>
| Rename contentful player class name | Rename contentful player class name
| HTML+ERB | mit | vis-kid/bytepushers,vis-kid/bytepushers,vis-kid/bytepushers |
8e87accbf326a61679cebb3cad247a2c246ea7e4 | app/views/blorgh/articles/index.html.erb | app/views/blorgh/articles/index.html.erb | <p id="notice"><%= notice %></p>
<h1>Listing Articles</h1>
<table>
<thead>
<tr>
<th>Title</th>
<th>Text</th>
<th colspan="3"></th>
</tr>
</thead>
<tbody>
<% @articles.each do |article| %>
<tr>
<td><%= article.title %></td>
<td><%= article.text %></td>
... | <p id="notice"><%= notice %></p>
<h1>Listing Articles</h1>
<table>
<thead>
<tr>
<th>Title</th>
<th>Text</th>
<th colspan="3"></th>
</tr>
</thead>
<tbody>
<% @articles.each do |article| %>
<tr>
<td><%= article.title %></td>
<td><%= article.text %></td>
... | Update delete link_to to button_to re: wrong HTTP request being submitted -- still need to research more as to why this would happen | Update delete link_to to button_to re: wrong HTTP request being submitted -- still need to research more as to why this would happen
| HTML+ERB | mit | amlydu/blorgh_engine,amlydu/blorgh_engine,amlydu/blorgh_engine |
fa623484b37c24cfa9caf8dd1edc227d5b340f47 | app/views/devise/passwords/edit.html.erb | app/views/devise/passwords/edit.html.erb | <h2>Change your password</h2>
<p><%= t("helpers.label.user.password_guidance") %></p>
<%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put }) do |f| %>
<%= devise_error_messages! %>
<%= f.hidden_field :reset_password_token %>
<div><%= f.label :password, ... | <h2>Change your password</h2>
<div class="well">
<p><%= t("helpers.label.user.password_guidance") %></p>
<br>
<%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put }) do |f| %>
<%= devise_error_messages! %>
<%= f.hidden_field :reset_password_token %... | Improve the presentation of the change password UI | Improve the presentation of the change password UI
This is used when you have requested a password reset and have followed the
link.
| HTML+ERB | mit | alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2 |
4561978d6f4de2ba9fbc2ff59484a6af57003a63 | app/views/root/_contact_details.html.erb | app/views/root/_contact_details.html.erb | <p class="contact-intro">If you wish to speak to someone about this information, please <span class="call-to-action">contact:</span></p>
<div class="contact">
<dl>
<% if (name = contact.name).present? %>
<dt>Name:</dt>
<dd><%= name %></dd>
<% end %>
<% if (postal_address = contact.postal_addr... | <p class="contact-intro">If you wish to speak to someone about this information, please <span class="call-to-action">contact:</span></p>
<div class="contact">
<dl>
<% if (name = contact.name).present? %>
<dt>Name:</dt>
<dd><%= name %></dd>
<% end %>
<% if (postal_address = contact.postal_addr... | Use JavaScript to hide contact details and show in lightbox on click | Use JavaScript to hide contact details and show in lightbox on click
| HTML+ERB | mit | alphagov/frontend,alphagov/frontend,alphagov/frontend,alphagov/frontend |
545c979dc4dd67d5dc8739079e41e976c50408e3 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>MultipartFrontend</title>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= csrf_meta_tags %>
</head>
<body>
<%= yield %>
</body>
</html>
| <!DOCTYPE html>
<html>
<head>
<title><%= yield(:title) %> - GOVUK</title>
<!--[if gt IE 8]><!--><%= stylesheet_link_tag "application" %><!--<![endif]-->
<!--[if IE 6]><%= stylesheet_link_tag "application-ie6" %><![endif]-->
<!--[if IE 7]><%= stylesheet_link_tag "application-ie7" %><![endif]-->
<!-... | Add a basic GOVUK layout | Add a basic GOVUK layout
| HTML+ERB | mit | alphagov/multipage-frontend,alphagov/multipage-frontend,alphagov/multipage-frontend |
2ccdbdbe7326af1ab28bbf5f43c20edf08916176 | app/views/stories/_story_list.html.erb | app/views/stories/_story_list.html.erb | <% stories.each do |story| %>
<div>
<%= link_to story.title, story %>
<%= story.description %>
</div>
<% end %>
| <% stories.each do |story| %>
<div>
<%= link_to story.name, story %>
<%= story.description %>
</div>
<% end %>
| Fix a mistake in story list | Fix a mistake in story list
| HTML+ERB | agpl-3.0 | noidedmedia/Fiction-Dock,noidedmedia/Fiction-Dock,noidedmedia/Fiction-Dock |
28b7f88edb313b854d248e0f0cd3925f301705e6 | app/views/devise/registrations/_new_form.html.erb | app/views/devise/registrations/_new_form.html.erb | <%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
<%= devise_error_messages! %>
<div class="field">
<%= f.label :email %><br />
<%= f.email_field :email, autofocus: true, class: "form-control" %>
</div>
<div class="field">
<%= f.label "Digite sua senha" %>
... | Add form file for sign up view | [Template] Add form file for sign up view
| HTML+ERB | mit | marceloboeira/spread_blood,marceloboeira/spread_blood,SpreadBlood/core,SpreadBlood/core,SpreadBlood/core,marceloboeira/spread_blood | |
c19a4c46abc4571c115095fd45fadcde35d0e8b0 | app/views/newsletter_subscriptions/_form.html.erb | app/views/newsletter_subscriptions/_form.html.erb | <%= form_tag(newsletter_subscription_path, class: 'newsletter', remote: true) do %>
<%= hidden_field_tag :authenticity_token, form_authenticity_token -%>
<h3 class="newsletter__heading"><%= t('newsletter_subscriptions.heading') %></h3>
<ul class="list-benefits list-benefits--s">
<% t('newsletter_subscriptions... | <%= form_tag(newsletter_subscription_path, class: 'newsletter', remote: true) do %>
<%= hidden_field_tag :authenticity_token, form_authenticity_token -%>
<h2 class="newsletter__heading"><%= t('newsletter_subscriptions.heading') %></h2>
<ul class="list-benefits list-benefits--s">
<% t('newsletter_subscriptions... | Update newsletter subscription heading to H2 | Update newsletter subscription heading to H2
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
daf25e17df408352c5dbb51f54df30ec7a6d2feb | app/views/project_mailer/new_application.text.erb | app/views/project_mailer/new_application.text.erb | Hi <%= @project.name %>!
We wanted to send you this (automated) email to let you know that we have
received your Awesome Foundation application. Your application will be
considered at the specified chapter’s next deliberation meeting.
Unfortunately, we are not able to personally respond to all of our
applicants, but b... | Hi <%= @project.name %>!
We wanted to send you this (automated) email to let you know that we have
received your Awesome Foundation application. Your application will be
considered at the specified chapter’s next deliberation meeting.
Unfortunately, we are not able to personally respond to all of our
applicants, but b... | Add a copy of the project to the application email | Add a copy of the project to the application email
| HTML+ERB | agpl-3.0 | awesomefoundation/awesomebits,Xelgen/awesomebits,emdaniels/awesomebits,emdaniels/awesomebits,Xelgen/awesomebits,awesomefoundation/awesomebits,tibbon/awesomebits,Xelgen/awesomebits,emdaniels/awesomebits,avicaplan/awesomebits,Xelgen/awesomebits,emdaniels/awesomebits,emdaniels/awesomebits,avicaplan/awesomebits,awesomefoun... |
76a510db2d2e22ca3a17a2028050bea69f055920 | app/views/admin/docs/index.html.erb | app/views/admin/docs/index.html.erb | <% content_for :sidebar do %>
<%= render "sidebar" %>
<% end %>
<%= markdown(@document) %>
| <% content_for :sidebar do %>
<%= render "sidebar" %>
<% end %>
<%= simple_format(@document) %>
| Use simple_format instead of markdown. | Use simple_format instead of markdown.
| HTML+ERB | mit | baban/typus,chiragshah/typus,thirdthing/typus,brainsome-de/typus,readyfor/typus,typus/typus,wollzelle/typus,wollzelle/typus,readyfor/typus,typus/typus,oruen/typus,readyfor/typus,burn-notice/typus,wollzelle/typus,typus/typus,oruen/typus,brainsome-de/typus,chiragshah/typus,readyfor/typus,burn-notice/typus,brainsome-de/ty... |
a4625c132a23f38f34744a2c314952ebe4e3398d | app/views/answers/_vote_up.html.erb | app/views/answers/_vote_up.html.erb | <%= link_to("Up Vote", '/', class: "up-vote-answer", data: { direction: "up", url: "/questions/#{@question.id}/answers/#{answer.id}/votes", answer_id: answer.id, question_id: @question.id, votable_type: "Answer" }) %> | <%= link_to image_tag('thumbs-up.jpg', class: "up-vote-answer thumbs", data: { direction: "up", url: "/questions/#{@question.id}/answers/#{answer.id}/votes", answer_id: answer.id, question_id: @question.id, votable_type: "Answer" }), "/" %>
| Add thumb image for ajax call | Add thumb image for ajax call
| HTML+ERB | mit | daviddeneroff/shaq-overflow,daviddeneroff/shaq-overflow,daviddeneroff/shaq-overflow |
2c91b5fb9bc50f71081ec65dbe1c2e4598b82908 | app/views/layouts/_sidebar.html.erb | app/views/layouts/_sidebar.html.erb | <div id="side" class="noprint">
<% unless Rails.env == 'production' %>
<p style="margin: 1em 0; font-size: large; color: white;"><%= Rails.env.upcase %></p>
<% end %>
<h3><%=t 'navigation' %></h3>
<% if logged_in? %>
<%= render partial: 'layouts/navigation_for_members' %>
<% else %>
<ul>
<%... | <div id="side" class="noprint">
<% unless Rails.env == 'production' %>
<p style="margin: 1em 0; font-size: large; color: white;"><%= Rails.env.upcase %></p>
<% end %>
<h3><%=t 'navigation' %></h3>
<% if logged_in? %>
<%= render partial: 'layouts/navigation_for_members' %>
<% else %>
<ul>
<%... | Replace broken link to weather forecast | Replace broken link to weather forecast
| HTML+ERB | bsd-3-clause | kreba/badifraubrunnen,kreba/badifraubrunnen,kreba/badifraubrunnen |
7685553db4de9f727dd66115b5549a8ad91f49da | app/views/stripe/_elements.html.erb | app/views/stripe/_elements.html.erb | <% if options[:default_css] %>
<%= render partial: "stripe/elements_css" %>
<% end %>
<%= form_tag submit_path do %>
<div class="form-row">
<%= label_tag :card_element, options[:label_text] %>
<div id="card-element"><!-- A Stripe Element will be inserted here. --></div>
<%= submit_tag options[:submit_b... | <% if options[:default_css] %>
<%= render partial: "stripe/elements_css" %>
<% end %>
<div id="stripe-form">
<%= form_tag submit_path do %>
<%= label_tag :card_element, options[:label_text] %>
<div id="card-element"><!-- A Stripe Element will be inserted here. --></div>
<%= submit_tag options[:submit_b... | Add wrapper div with id | Add wrapper div with id
| HTML+ERB | mit | thefrontside/stripe-rails,Everapps/stripe-rails,thefrontside/stripe-rails,Everapps/stripe-rails,thefrontside/stripe-rails,Everapps/stripe-rails |
9e6f83870fd1eca700c358ac65d3631fce0c203f | pages/tutorials/permissions.md.erb | pages/tutorials/permissions.md.erb |
# Controlling permissions with Teams
Enabling Teams for your organisations gives you fine grained control over the permissions for each of your pipelines.
- default teams for new users
- can invite people to a team
- everyone in a team has the same permissions (except the maintainer), to do more fine grained, add m... | Add first draft of teams info doc | Add first draft of teams info doc
| HTML+ERB | mit | buildkite/docs,buildkite/docs,buildkite/docs,buildkite/docs | |
0763c7dae5179be54ed6733bb30642a7cab8f5aa | templates/Gemfile_custom.erb | templates/Gemfile_custom.erb | source 'https://rubygems.org'
gem 'coffee-rails', '~> 4.0.0'
<% if options[:devise] -%>
gem 'devise'
<% end -%>
gem 'dotenv-rails'
gem 'flutie'
gem 'jquery-rails'
gem 'pg'
gem 'rails', '~> 4.0.0'
gem 'sass-rails', '~> 4.0.0'
gem 'simple_form'
gem 'slim-rails'
gem 'uglifier', '>= 1.3.0'
group :development do
gem 'be... | source 'https://rubygems.org'
gem 'airbrake'
gem 'coffee-rails', '~> 4.0.0'
<% if options[:devise] -%>
gem 'devise'
<% end -%>
gem 'dotenv-rails'
gem 'flutie'
gem 'jquery-rails'
gem 'pg'
gem 'rails', '~> 4.0.0'
gem 'sass-rails', '~> 4.0.0'
gem 'simple_form'
gem 'slim-rails'
gem 'uglifier', '>= 1.3.0'
group :developme... | Add airbrake gem default Gemfile | Add airbrake gem default Gemfile
| HTML+ERB | mit | m43nu/m43nu_rails,m43nu/m43nu_rails,blueberryapps/blueberry_rails,blueberryapps/blueberry_rails,m43nu/m43nu_rails |
602a25beae5c5f648c50d063e20f329cf6c8d3e9 | app/views/users/show.html.erb | app/views/users/show.html.erb | <h3>I'm a user! See my stuff!</h3>
<p><%= image_tag @user.picture_url %></p>
<p><%= @user.first_name %></p>
<p><%= @user.bio %></p>
<p>I like to mentor on...</p>
<ul>
<% @user.topics.each do |topic| %>
<li><p> <%= topic %></p></li>
<% end %>
</ul>
<div class="left">
<p>Upcoming mentoring slots</p>
<% @user.mentor... | <h3>I'm a user! See my stuff!</h3>
<%= link_to "Edit Profile", edit_user_path(@user) %>
<p class="pic"><%= image_tag @user.picture_url %></p>
<p class="name"><%= @user.first_name %> <%= @user.last_name %></p>
<p class="bio"><%= @user.bio %></p>
<div class="like_to_mentor">
<p>I like to mentor on...</p>
<ul>
<% @user... | Copy changes from another branch | Copy changes from another branch
| HTML+ERB | mit | osbornegabriel/Pair-Board,osbornegabriel/Pair-Board,osbornegabriel/Pair-Board |
bc2129daa23e47fb80bfbbb2093b93ba6b3d769f | app/views/petitions/_threshold_details.html.erb | app/views/petitions/_threshold_details.html.erb | <article class="about-petitions <%= local_assigns[:variation] %>">
<%-
order = ['response_threshold', 'debate_threshold']
order.reverse! if petition.debate_outcome.present?
-%>
<% order.each do |partial_name| -%>
<%= render "petitions/#{partial_name}", petition: petition %>
<% end -%>
</article>
| <div class="about-petitions <%= local_assigns[:variation] %>">
<%-
order = ['response_threshold', 'debate_threshold']
order.reverse! if petition.debate_outcome.present?
-%>
<% order.each do |partial_name| -%>
<%= render "petitions/#{partial_name}", petition: petition %>
<% end -%>
</div>
| Use <div> instead of <article> element | Use <div> instead of <article> element
The GDS recommendation is to only use <article> for syndicated content
like a blog post or news story so change it for a <div> element.
| HTML+ERB | mit | ansonK/e-petitions,ansonK/e-petitions,oskarpearson/e-petitions,telekomatrix/e-petitions,oskarpearson/e-petitions,unboxed/e-petitions,alphagov/e-petitions,joelanman/e-petitions,telekomatrix/e-petitions,unboxed/e-petitions,alphagov/e-petitions,StatesOfJersey/e-petitions,unboxed/e-petitions,joelanman/e-petitions,alphagov/... |
121b2361a2c63085feaa36d7051ae2e286387a09 | app/assets/javascripts/analytics/init.js.erb | app/assets/javascripts/analytics/init.js.erb | (function() {
"use strict";
// Load Google Analytics libraries
GOVUK.StaticAnalytics.load();
// Use document.domain in dev, preview and staging so that tracking works
// Otherwise explicitly set the domain as www.gov.uk (and not gov.uk).
var cookieDomain = (document.domain == 'www.gov.uk') ? '.www.gov.uk'... | (function(global) {
"use strict";
// Load Google Analytics libraries
GOVUK.StaticAnalytics.load();
// Use document.domain in dev, preview and staging so that tracking works
// Otherwise explicitly set the domain as www.gov.uk (and not gov.uk).
var cookieDomain = (document.domain == 'www.gov.uk') ? '.www.g... | Add linked domain tracking to Plan For Britain campaign | Add linked domain tracking to Plan For Britain campaign
Adds linked tracking without creating a new tracker, as per
https://developers.google.com/analytics/devguides/collection/analyticsjs
/linker. As this is a temporary measure, we’re calling `ga` directly
rather than adding the functionality to
`GOVUK.GoogleAnalytic... | HTML+ERB | mit | alphagov/static,alphagov/static,alphagov/static |
b2f1078ec367b1389596b4846e6a79279ac80853 | app/views/discussion_topics/_new_and_total_badge.html.erb | app/views/discussion_topics/_new_and_total_badge.html.erb | <div class="new-and-total-badge">
<span class="new-items"
data-tooltip
data-bind='{"title":"unreadText", "text":"unreadCount"}'
title="<%= t('unread_count_tooltip', {
:zero => 'No unread replies',
:one => '1 unread reply',
:other ... | <div class="new-and-total-badge">
<span class="new-items"
aria-hidden="true"
data-tooltip
data-bind='{"title":"unreadText", "text":"unreadCount"}'
title="<%= t('unread_count_tooltip', {
:zero => 'No unread replies.',
:one => '1 unread reply.',... | Make Screen Readers read the number of replies and unread replies | Discussions: Make Screen Readers read the number of replies and unread replies
Fixes CNVS-11719
Test plan:
* Using a screen reader, visit a discussion page, with and without replies,
and with and without unread replies.
* Verify that the number of replies and number of unread replies are read,
with context (I.E. ... | HTML+ERB | agpl-3.0 | grahamb/canvas-lms,whalejasmine/canvas-lms,arrivu/arrivu-lms,greyhwndz/canvas-lms,greyhwndz/canvas-lms,narigone/canvas,Jyaasa/canvas-lms,utkarshx/canvas-lms,antoniuslin/canvas-lms,samuels410/greatlakes-lms,utkarshx/canvas-lms,juoni/canvas-lms,djbender/canvas-lms,Rvor/canvas-lms,gbleydon/canvas-lms,matematikk-mooc/canva... |
117317244eca0b6f20815f030651cfaf6496d1d6 | app/views/shared/_partner_return_to.html.erb | app/views/shared/_partner_return_to.html.erb | <%- info = session[:referring_partner_info] %>
<%- if info %>
<%- target_url = info[:return_url] || info[:url] %>
<%- link_content = info[:name] %>
<%- if info[:logo] %>
<%- link_content = image_tag(info[:logo], class: "partner-logo", alt: info[:name]) %>
<%- end %>
<div class="partner-return-to">
re... | <%- info = session[:referring_partner_info] %>
<%- if info %>
<%- target_url = info[:return_url] || info[:url] %>
<%- link_content = info[:name] %>
<%- if info[:logo] %>
<%- link_content = raw("<img src=\"#{info[:logo]}\" class=\"partner-logo\" alt=\"#{info[:name]}\">") %>
<%- end %>
<div class="partner-... | Fix asset compile complains from image_tag | Fix asset compile complains from image_tag
Switch to img tag html directly for remote logo image.
Supports opengovernment/product#96
| HTML+ERB | agpl-3.0 | mapineda/askthem,mapineda/askthem,opengovernment/askthem,opengovernment/askthem,mapineda/askthem,mapineda/askthem,opengovernment/askthem,opengovernment/askthem |
a3e0ccee6d9617950577ea64243bcd7f23a424f8 | source/layouts/api_layout.html.erb | source/layouts/api_layout.html.erb | <% content_for :sidebar do %>
<ul>
<li><%= sidebar_link 'Search API', '/apis/search-api.html' %></li>
<li>
<%= sidebar_link 'Publishing API', '/apis/publishing-api.html' %>
<ul>
<% publishing_api_pages.each do |page| %>
<li><%= sidebar_link page.title, "/apis/publishing-api/#{pag... | <% content_for :sidebar do %>
<ul>
<li><%= sidebar_link 'Search API', '/apis/search-api.html' %></li>
<li>
<%= sidebar_link 'Publishing API', '/apis/publishing-api.html' %>
<ul>
<% publishing_api_pages.each do |page| %>
<li><%= sidebar_link page.title, "/apis/publishing-api/#{pag... | Add Link Checker API to API Layout | Add Link Checker API to API Layout
| HTML+ERB | mit | alphagov/govuk-developer-docs,alphagov/govuk-developer-docs,alphagov/govuk-developer-docs,alphagov/govuk-developer-docs |
6f0086d61fc60ff65d6a5fd0c2d7dfd2084a16fe | views/sprint_review_form.erb | views/sprint_review_form.erb | <h2>Sprint Review Doc</h2>
<form action="/sprint-review" method="post">
<div class="form-group">
<label for="configuration[project]">
<span class="glyphicon glyphicon-asterisk" aria-hidden="true"></span>
Pivotal Project ID
</label>
<input type="text" name="configuration[project]" class="form-c... | <h2>Sprint Review Doc</h2>
<form action="/sprint-review" method="post">
<div class="form-group">
<label for="configuration[project]">
<span class="glyphicon glyphicon-asterisk" aria-hidden="true"></span>
Pivotal Project ID
</label>
<input type="text" name="configuration[project]" class="form-c... | Stop marking Access token as a required field | Stop marking Access token as a required field
| HTML+ERB | mit | guiman/pivotaltracker_sprint_report,guiman/pivotaltracker_sprint_report |
61c6b7cc07b3ff37491fba6a1c13368de75e8c26 | templates/default/zabbix_nginx.erb | templates/default/zabbix_nginx.erb | server {
listen <%= @web_port %>;
index index.php;
root <%= @web_dir %>;
server_name "";
access_log /var/log/nginx/zabbix.access.log;
location / {
rewrite ^(.*)$ /index.php last;
}
location ~ .*\.php$ {
include /etc/nginx/fastcgi_params;
fastcgi_read_timeout 60000;
... | server {
listen <%= @web_port %>;
index index.php;
root <%= @web_dir %>;
server_name "";
access_log /var/log/nginx/zabbix.access.log;
location ~ .*\.php$ {
include /etc/nginx/fastcgi_params;
fastcgi_read_timeout 60000;
fastcgi_buffers 512 16k;
fastcgi_pass 127.0.0.1:... | Fix zabbix nginx site template so that css/js are rendered properly | Fix zabbix nginx site template so that css/js are rendered properly
| HTML+ERB | apache-2.0 | cmoad/zabbix,nilroy/zabbix,gueux/zabbix,jollyrojer/zabbix,paybyphone/zabbix-agent,laradji/zabbix,ftclausen/zabbix,yakara-ltd/zabbix,Feanor184/zabbix,nilroy/zabbix,bfraser/zabbix,TD-4242/cookbook-libzabbix,Youscribe/zabbix,gueux/zabbix,apcera/chef-zabbix,Feanor184/zabbix,cmoad/zabbix,Youscribe/zabbix,ftclausen/zabbix,ni... |
9907f42b772214864baec58cea3661fb1cf42c46 | app/views/campaigns/index.html.erb | app/views/campaigns/index.html.erb | <h1>Certification Campaigns</h1>
<ul>
<% @campaigns.each do |campaign| %>
<li>
<%= link_to campaign.name, campaign_path(campaign) %>
</li>
<% end %>
</ul> | <% content_for :header_title, "Certification Campaigns" %>
<ul>
<% @campaigns.each do |campaign| %>
<li>
<%= link_to campaign.name, campaign_path(campaign) %>
</li>
<% end %>
</ul>
| Add header to header_title portion | Add header to header_title portion
| HTML+ERB | mit | Motejl/open-data-certificate,Motejl/open-data-certificate,theodi/open-data-certificate,zoul/open-data-certificate,zoul/open-data-certificate,ahmadassaf/open-data-certificate,istvan-antal/open-data-certificate,istvan-antal/open-data-certificate,ahmadassaf/open-data-certificate,zoul/open-data-certificate,istvan-antal/ope... |
3d8bcfbd1f49c53fe57c8ed2cfa9fa7070c8d980 | app/views/materials/index.html.erb | app/views/materials/index.html.erb | <%- model_class = MaterialFolder -%>
<div class="page-header">
<h1>Materials: <%= @folder.name %></h1>
<%
current = @folder
parents = []
while current do
parents << current
current = current.parent_folder
end
parents.reverse_each { |folder|
%>
/ <%= link_to folder.name, course_material_folder... | <%- model_class = MaterialFolder -%>
<div class="page-header">
<h1>Materials: <%= @folder.name %></h1>
<%
current = @folder
parents = []
while current do
parents << current
current = current.parent_folder
end
parents.reverse_each { |folder|
%>/<%= link_to folder.name, course_material_folders_pa... | Remove spaces between /s in breadcrumb trail. | Remove spaces between /s in breadcrumb trail.
| HTML+ERB | mit | nusedutech/coursemology.org,Coursemology/coursemology.org,Coursemology/coursemology.org,nnamon/coursemology.org,dariusf/coursemology.org,allenwq/coursemology.org,nusedutech/coursemology.org,Coursemology/coursemology.org,nusedutech/coursemology.org,dariusf/coursemology.org,allenwq/coursemology.org,nnamon/coursemology.or... |
3922c4b0123db8d8b57ec4797514f3f131b5ca2a | app/views/books/show.html.erb | app/views/books/show.html.erb | <section class="single_book wrap">
<div class="cover"><%= book_cover_tag @book, :size => "S" %></div>
<div class="title">
<h1><%= @book.title %></h1>
<h2>by <%= @book.author %></h2>
</div>
<p><%= pluralize @book.copies.count, "copy" %></p>
<ul class="copies">
<%= render :partial => "copy", :col... | <section class="single_book wrap">
<div class="cover"><%= book_cover_tag @book, :size => "S" %></div>
<div class="title">
<h1><%= @book.title %></h1>
<h2>by <%= @book.author %></h2>
</div>
<p><%= pluralize @book.copies.count, "copy" %></p>
<ul class="copies">
<%= render :partial => "copy", :col... | Add link to revision history in book actions list | Add link to revision history in book actions list | HTML+ERB | mit | jabley/anthology,jabley/anthology,JordanHatch/anthology,JordanHatch/anthology,jabley/anthology |
8ddb828a0d33c857400c333306a4f88d62b93b8c | app/views/ideas/show.html.erb | app/views/ideas/show.html.erb | <!-- show one idea and all its comments, can upvote main idea and comments, can click to reply to idea or comment, can click on square to see author of idea or comment -->
<%= button_to("↑", votes_path, {:class => "idea-vote-button"}) %> <!-- ajax will grab this and create a vote -->
<h1><%= @idea.title %></h1>
<p id=... | <!-- show one idea and all its comments, can upvote main idea and comments, can click to reply to idea or comment, can click on square to see author of idea or comment -->
<% if current_user %>
<%= button_to("↑", votes_path, {:class => "idea-vote-button"}) %> <!-- ajax will grab this and create a vote -->
<% end %>
<... | Add logic to prevent voting and commenting if not logged in | Add logic to prevent voting and commenting if not logged in
| HTML+ERB | mit | chi-fiddler-crabs-2015/yesand,chi-fiddler-crabs-2015/yesand,chi-fiddler-crabs-2015/yesand |
eed4628513d108bc512529c91bd15fe3634b3bb7 | app/views/notes/create.js.erb | app/views/notes/create.js.erb | $("#new_note").before('<div id="flash_notice"><%= escape_javascript(flash.discard(:notice)) %></div>');
$("#notes").append("<%= escape_javascript(render(:partial => @note)) %>");
$("#new_note")[0].reset();
| $("#notes").prepend("<%= escape_javascript(render(:partial => @note)) %>");
$("#new_note")[0].reset();
| Add new note to the top of the list in view. | Add new note to the top of the list in view.
| HTML+ERB | mit | lanzanasto/hash_notes,lanzanasto/hash_notes,lanzanasto/hash_notes |
0b3dacca355324509825ca1c897620d68486fd07 | app/views/appointment_summaries/summarise_via_tap.html.erb | app/views/appointment_summaries/summarise_via_tap.html.erb | <div class="page-header">
<h1>Summarise via the Telephone Appointment Planner</h1>
</div>
<p class="help-block">Appointments must be summarised via the Telephone
Appointment Planner, once the appointment's status is updated.</p>
| <div class="page-header">
<h1>Create appointment summary in planner</h1>
</div>
<p class="help-block">After the appointment status is updated use the Telephone
Appointment Planner to create the summary.</p>
| Add copy from content team | Add copy from content team
Improves the content based on updates from the content folks.
| HTML+ERB | mit | guidance-guarantee-programme/output,guidance-guarantee-programme/output,guidance-guarantee-programme/output |
9bfccc03b682f999791e210e86a14bd61f6b6316 | app/views/historic_appointments/_role_appointment.html.erb | app/views/historic_appointments/_role_appointment.html.erb | <% political_membership = role_appointment.historical_account.try(:political_membership) %>
<%= content_tag_for :div, role_appointment, class: 'govuk-grid-column-one-quarter', role: "listitem" do %>
<% if role_appointment.has_historical_account? %>
<%= render "govuk_publishing_components/components/image_card", {... | <% political_membership = role_appointment.historical_account.try(:political_membership) %>
<%= content_tag_for :div, role_appointment, class: 'govuk-grid-column-one-quarter', role: "listitem" do %>
<% if role_appointment.has_historical_account? %>
<%= render "govuk_publishing_components/components/image_card", {... | Fix past prime minister href | Fix past prime minister href
| HTML+ERB | mit | alphagov/whitehall,alphagov/whitehall,alphagov/whitehall,alphagov/whitehall |
19cea4fe7cc5dc4ccfb5eeb2b88262e092f78db1 | templates/default/postgresql.service.erb | templates/default/postgresql.service.erb | [Service]
Environment=
Environment=PGPORT=<%= node['postgresql']['config']['port'] %>
Environment=PGDATA=<%= node['postgresql']['config']['data_directory'] %>
| .include /usr/lib/systemd/system/postgresql.service
[Service]
Environment=
Environment=PGPORT=<%= node['postgresql']['config']['port'] %>
Environment=PGDATA=<%= node['postgresql']['config']['data_directory'] %>
| Include the original unit file in the override otherwise systemd complains about missing variables | Include the original unit file in the override otherwise systemd complains about missing variables
| HTML+ERB | apache-2.0 | Unholster/postgresql,sous-chefs/postgresql,sous-chefs/postgresql,yakara-ltd/postgresql,yakara-ltd/postgresql,Unholster/postgresql,hw-cookbooks/postgresql,patcon/postgresql,hw-cookbooks/postgresql,patcon/postgresql |
d1172c7ddc595cdc46a926f03701bb73237c406c | app/views/artefacts/index.html.erb | app/views/artefacts/index.html.erb | <h2>Everything We Have</h2>
<table id="solution-list" border="2">
<thead>
<tr>
<th>Title</th>
<th>Section</th>
<th>Number of Related Items</th>
</tr>
</thead>
<tbody>
<% @artefacts.each do |artefact| %>
<tr>
<td><%= link_to artefact.name, edit_artefact_path(artefact.id) %></... | <h2>Everything We Have</h2>
<table id="solution-list" border="2">
<thead>
<tr>
<th>Title</th>
<th>Section</th>
<th>Related Items</th>
</tr>
</thead>
<tbody>
<% @artefacts.each do |artefact| %>
<tr>
<td><%= link_to artefact.name, edit_artefact_path(artefact.id) %></td>
... | Use tablesorter on panopticon index | Use tablesorter on panopticon index
| HTML+ERB | mit | alphagov/panopticon,alphagov/panopticon,alphagov/panopticon,alphagov/panopticon,theodi/panopticon,theodi/panopticon,theodi/panopticon,theodi/panopticon |
13ff035e0a7bae4f32cf0583b4038b62d6df4ebd | app/views/events/previous.html.erb | app/views/events/previous.html.erb | <% title 'Previous Events' %>
<% description "Know about our past events!" %>
<% set_meta_tags :open_graph => {
:title => "Previous Events | #{ENV['title']}",
:description => "Know about our past events!",
:type => :article,
:url => events_url,
:image => opengraph_thumb_url
} %>
<h1>Previous Events</h1>
<... | <% title 'Previous Events' %>
<% description "Know about our past events!" %>
<% set_meta_tags :open_graph => {
:title => "Previous Events | #{ENV['title']}",
:description => "Know about our past events!",
:type => :article,
:url => previous_events_url,
:image => opengraph_thumb_url
} %>
<h1>Previous Event... | Fix opengraph url for event archive | Fix opengraph url for event archive
| HTML+ERB | mit | devcon-ph/devcon,devcon-ph/devcon,devcon-ph/devcon |
6a4c71cdc05ec3a7198a0f84312655be314a37da | moduleroot/spec/acceptance/nodesets/docker/ubuntu-16.04.yml.erb | moduleroot/spec/acceptance/nodesets/docker/ubuntu-16.04.yml.erb | ---
# This file is managed via modulesync
# https://github.com/voxpupuli/modulesync
# https://github.com/voxpupuli/modulesync_config
HOSTS:
ubuntu-1604-x64:
platform: ubuntu-16.04-amd64
hypervisor: docker
image: ubuntu:16.04
docker_preserve_image: true
docker_cmd: '["/sbin/init"]'
docker_image... | ---
# This file is managed via modulesync
# https://github.com/voxpupuli/modulesync
# https://github.com/voxpupuli/modulesync_config
HOSTS:
ubuntu-1604-x64:
platform: ubuntu-16.04-amd64
hypervisor: docker
image: ubuntu:16.04
docker_preserve_image: true
docker_cmd: '["/sbin/init"]'
docker_image... | Revert "Python doesn't exist on the Ubuntu 16.04 base Docker node" | Revert "Python doesn't exist on the Ubuntu 16.04 base Docker node"
| HTML+ERB | apache-2.0 | dhoppe/modulesync_config,voxpupuli/modulesync_config,dhoppe/modulesync_config,dhoppe/modulesync_config,voxpupuli/modulesync_config,puppet-community/modulesync_config,voxpupuli/modulesync_config,voxpupuli/modulesync_config,dhoppe/modulesync_config |
3020a18b99a174ac97ca1c20ccd9210f9a951f8f | app/views/shared/_activity.html.erb | app/views/shared/_activity.html.erb | <%# The activity shouldn't be nil, but we're wearing a belt and suspenders. %>
<%- unless activity.item.nil? -%>
<li>
<div class="profile-image">
<%= image_link activity.person, :image => :thumbnail %>
<%= feed_icon activity %>
</div>
<p><%= feed_message activity %></p>
<p class="meta published">
<%... | <%# The activity shouldn't be nil, but we're wearing a belt and suspenders. %>
<%- unless activity.item.nil? -%>
<li>
<div class="profile-image">
<%= image_link activity.person, :image => :thumbnail %>
<%= feed_icon activity %>
</div>
<p>
<%= feed_message activity %>
<%- if current_person?(activ... | Put activity delete icon in a better place | Put activity delete icon in a better place
| HTML+ERB | mit | insoshi/insoshi,jsollano/insoshi,npy179/insoshi,karant/Barkhood,cgorringe/oscurrency,npy179/insoshi,npy179/insoshi,karant/Barkhood,rubytalk/insoshi,fiveohg/insoshi,owl975/insoshi,rahulbahuguna/insoshi,austintimeexchange/oscurrency,npy179/insoshi,austintimeexchange/oscurrency,trentono/insoshi,cgorringe/oscurrency,RobDoa... |
056772da8240949e816b71600519c506274e8b16 | app/views/admin/suspensions/edit.html.erb | app/views/admin/suspensions/edit.html.erb | <h1>Suspend user “<%= @user.name %>”</h1>
<%= form_tag admin_suspension_path(@user), method: "put", :class => 'well' do %>
<p>
<label class="checkbox">
Suspended?
<%= check_box_tag "user[suspended]", "1", @user.suspended?, class: "checkbox" %>
</label>
</p>
<p>
<label for="use... | <h1>Suspend user “<%= @user.name %>”</h1>
<%= form_tag admin_suspension_path(@user), method: "put", :class => 'well' do %>
<p>
<label class="checkbox">
Suspended?
<%= check_box_tag "user[suspended]", "1", @user.suspended?, class: "checkbox" %>
</label>
</p>
<p>
<label for="use... | Use browserside validation for suspension reason | Use browserside validation for suspension reason
Also means that it's styled like a required field.
| HTML+ERB | mit | alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2 |
c947ee92a3e59f491424b921fa9ce03417ffb575 | app/views/organisations/policies.html.erb | app/views/organisations/policies.html.erb | <% page_title "#{@organisation.name} Policies" %>
<div class="g3f organisation">
<%= render 'header', organisation: @organisation, title: "#{@organisation.name} Policies" %>
<div class="g3 page_detail">
<% if @policies.any? %>
<section id="policies">
<ul>
<% @policies.each do |policy| %... | <% page_title "#{@organisation.name} Policies" %>
<div class="g3f organisation">
<%= render 'header', organisation: @organisation, title: "#{@organisation.name} Policies" %>
<div class="g3 page_detail">
<% if @policies.any? %>
<section id="policies">
<ul>
<% @policies.each do |policy| %... | Fix policy links on organisation policies page | Fix policy links on organisation policies page
| HTML+ERB | mit | alphagov/whitehall,robinwhittleton/whitehall,hotvulcan/whitehall,askl56/whitehall,YOTOV-LIMITED/whitehall,ggoral/whitehall,askl56/whitehall,hotvulcan/whitehall,YOTOV-LIMITED/whitehall,ggoral/whitehall,askl56/whitehall,ggoral/whitehall,ggoral/whitehall,askl56/whitehall,robinwhittleton/whitehall,alphagov/whitehall,hotvul... |
66753d10a42ce2dbb1dcbf2a629b0f21f2a65192 | 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... | Change 'Get started' to 'Start now' on the start button, because we felt it is a better call to action | Change 'Get started' to 'Start now' on the start button, because we felt it is a better call to action
| HTML+ERB | mit | tadast/smart-answers,keithiopia/smart-answers,askl56/smart-answers,askl56/smart-answers,lutgendorff/smart-answers,lutgendorff/smart-answers,alphagov/smart-answers,keithiopia/smart-answers,stwalsh/smart-answers,alphagov/smart-answers,alphagov/smart-answers,tadast/smart-answers,stwalsh/smart-answers,lutgendorff/smart-ans... |
484296f82e540db1b418783af129634e52e571a9 | app/views/spree/admin/products/stock.html.erb | app/views/spree/admin/products/stock.html.erb | <%= render :partial => 'spree/admin/shared/product_sub_menu' %>
<div class="toolbar" data-hook="toolbar">
<ul class="actions">
<li id="new_product_link">
<%= button_link_to t(:new_product), new_object_url, {:remote => true, :icon => 'add', :id => 'admin_new_product'} %>
</li>
</ul>
<br class="clear... | <%= render :partial => 'spree/admin/shared/product_sub_menu' %>
<div class="toolbar" data-hook="toolbar">
<ul class="actions">
<li id="new_product_link">
<%= button_link_to t(:new_product), new_object_url, {:remote => true, :icon => 'add', :id => 'admin_new_product'} %>
</li>
</ul>
<br class="clear... | Fix the mistake in the view title | Fix the mistake in the view title
| HTML+ERB | bsd-3-clause | olivierbuffon/spree-stock-manager,jnettome/spree-stock-manager,jnettome/spree-stock-manager,olivierbuffon/spree-stock-manager |
db5f2e69030c2705fd0f0e3e622f6991da16e6ce | app/views/thredded/messageboards/new.html.erb | app/views/thredded/messageboards/new.html.erb | <% content_for :thredded_page_title, 'Create a New Messageboard' %>
<% content_for :thredded_page_id, 'thredded--messageboards-new' %>
<%= thredded_page do %>
<%= form_for @messageboard, html: { class: 'thredded--form' } do |f| %>
<ul class="thredded--form-list">
<li>
<%= f.label :name %>
<%... | <% content_for :thredded_page_title, 'Create a New Messageboard' %>
<% content_for :thredded_page_id, 'thredded--messageboards-new' %>
<%= thredded_page do %>
<%= form_for @messageboard, html: { class: 'thredded--form' } do |f| %>
<ul class="thredded--form-list">
<li>
<%= f.label :name %>
<%... | Add required: true to messageboard form name | Add required: true to messageboard form name
| HTML+ERB | mit | thredded/thredded,thredded/thredded,jayroh/thredded,jayroh/thredded,jvoss/thredded,jvoss/thredded,jayroh/thredded,jayroh/thredded,thredded/thredded,jvoss/thredded,jvoss/thredded,thredded/thredded |
ee286b7994f9236a344fab68d55f6a61e75ce4c2 | app/views/shared/_featured.html.erb | app/views/shared/_featured.html.erb | <%
extra_class ||= ""
extra_classes =
if defined?(edition_counter)
extra_class + " item-#{edition_counter}"
else
extra_class
end
extra_classes << " feature"
image_size ||= :s300
show_meta ||= false
%>
<%= content_tag_for(:article, feature, nil, class: extra_classes.strip) do %>
<div ... | <%
extra_class ||= ""
extra_classes =
if defined?(feature_counter)
extra_class + " item-#{feature_counter}"
else
extra_class
end
image_size ||= :s300
show_meta ||= false
%>
<%= content_tag_for(:article, feature, nil, class: extra_classes.strip) do %>
<div class="content">
<span cla... | Fix CSS issue with extra_classes not being set properly | Fix CSS issue with extra_classes not being set properly
| HTML+ERB | mit | robinwhittleton/whitehall,askl56/whitehall,alphagov/whitehall,hotvulcan/whitehall,alphagov/whitehall,ggoral/whitehall,hotvulcan/whitehall,alphagov/whitehall,robinwhittleton/whitehall,hotvulcan/whitehall,askl56/whitehall,YOTOV-LIMITED/whitehall,alphagov/whitehall,askl56/whitehall,ggoral/whitehall,askl56/whitehall,robinw... |
784fc6296c056ded75e3cb74b7740e7f25774c66 | app/views/countries/index.html.erb | app/views/countries/index.html.erb | <div class="g3">
<h1>Countries</h1>
<%= render partial: "grouped_list", locals: {countries: @countries} %>
</div> | <div class="g3">
<h1>UK in the World</h1>
<%= render partial: "grouped_list", locals: {countries: @countries} %>
</div> | Change countries page title to be UK in the World | Change countries page title to be UK in the World
| HTML+ERB | mit | alphagov/whitehall,askl56/whitehall,askl56/whitehall,askl56/whitehall,ggoral/whitehall,alphagov/whitehall,YOTOV-LIMITED/whitehall,robinwhittleton/whitehall,alphagov/whitehall,ggoral/whitehall,YOTOV-LIMITED/whitehall,robinwhittleton/whitehall,robinwhittleton/whitehall,ggoral/whitehall,ggoral/whitehall,alphagov/whitehall... |
a4cd0b6e479af83bdace085ccda7ffbfded3f09f | app/views/devise/shared/_links.erb | app/views/devise/shared/_links.erb | <%- if controller_name != 'sessions' %>
<%= link_to "Sign in", new_session_path(resource_name) %><br />
<% end -%>
<%- if devise_mapping.registerable? && controller_name != 'registrations' %>
<%= link_to "Sign up", new_account_path %><br />
<% end -%>
<%- if devise_mapping.recoverable? && controller_name != 'pass... | <%- if controller_name != 'sessions' %>
<%= link_to "Sign in", new_session_path(resource_name) %><br />
<% end -%>
<%- if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations' %>
<%= link_to "Forgot your password?", new_password_path(resource_name) %><br />
<% end -%>
... | Remove signup link, moved to top of signin page. | Remove signup link, moved to top of signin page.
| HTML+ERB | agpl-3.0 | asm-helpful/helpful-web,nikhilmat/helpful-web,nikhilmat/helpful-web,asm-helpful/helpful-web,asm-helpful/helpful-web,asm-helpful/helpful-web,nikhilmat/helpful-web |
629130d0fa6ec33c8a1de0d9f5e7d0718ae939c6 | app/views/home/_news_item.html.erb | app/views/home/_news_item.html.erb | <div class="post clearfix">
<h2 class="post-title"><%= link_to news_item.title, news_item_path(news_item) %></h2>
<p class="meta">
Posted <%= time_ago_in_words(news_item.published_at) %> ago
</p>
<div class="post-body">
<%= render_markdown_as_html news_item.body %>
</div>
</div>
| Add news_item partial for consistency | Add news_item partial for consistency
| HTML+ERB | mit | AleksandrKudashkin/Montreal.rb,montrealrb/Montreal.rb,montrealrb/Montreal.rb,montrealrb/Montreal.rb,AleksandrKudashkin/Montreal.rb,AleksandrKudashkin/Montreal.rb | |
294b0a5b03fb701d87d4d004408350827f8a3032 | app/views/layouts/_header.html.erb | app/views/layouts/_header.html.erb | <h1>
commit-m.io
</h1>
<p>Search commit messages of pupular GitHub repositories.</p>
| <h1>commit-m.io</h1>
<p>Search for commit message examples of Github</p>
| Change discription in the header | Change discription in the header
| HTML+ERB | mit | minamijoyo/commit-m,minamijoyo/commit-m,minamijoyo/commit-m |
44b2e6ee569c472863f5022ba35428cbcb5db163 | app/views/advancements/show.html.erb | app/views/advancements/show.html.erb | <div class="container">
<div class="row">
<p id="notice"><%= notice %></p>
</div>
<div class="row">
<div class="col-xs-12 text-center">
<h3><%= @advancement.user.name %>'s Advancements</h3>
</div>
</div>
<hr>
<div class="row">
<div class="col-xs-12 col-sm-10 col-sm-offset-1 col-md-8 co... | <div class="container">
<div class="row">
<p id="notice"><%= notice %></p>
</div>
<div class="row">
<div class="col-xs-12 text-center">
<h3><%= @advancement.user.name %>'s Advancements</h3>
</div>
</div>
<hr>
<div class="row">
<div class="col-xs-12 col-sm-10 col-sm-offset-1 col-md-8 co... | Update ranks nav in adv show | Update ranks nav in adv show
| HTML+ERB | mit | dnguyensr/advancements,dnguyensr/advancements,dnguyensr/advancements |
2c52c0da88ad1d6d0e9bdae6fa059f2468fbbcea | app/views/shared/_nav.html.erb | app/views/shared/_nav.html.erb | <!-- Main navbar -->
<div class="navbar navbar-inverse">
<div class="navbar-header">
<a class="navbar-brand" href="/"><img src="/assets/images/theresboard-W-lowercase_close_crop.png"></a>
<ul class="nav navbar-nav pull-right visible-xs-block">
<li><a data-toggle="collapse" data-target="#navbar-mobile">... | <!-- Main navbar -->
<div class="navbar navbar-inverse">
<div class="navbar-header">
<a class="navbar-brand" href="/"><img src="/assets/images/theresboard-W-lowercase_close_crop.png"></a>
<ul class="nav navbar-nav pull-right visible-xs-block">
<li><a data-toggle="collapse" data-target="#navbar-mobile">... | Add calendar buttton that takes you back to calendar | Add calendar buttton that takes you back to calendar
| HTML+ERB | mit | theresaboard/theres-a-board,theresaboard/theres-a-board,theresaboard/theres-a-board |
f87fe5e9779467c3e245478544c7ac0dec4e0b64 | app/views/stats/index.html.erb | app/views/stats/index.html.erb | <% @title = "Stats" %>
<% @subtitle = "Since 2009" %>
<div class="stats">
<h2 class="stat" data-icon="⟡">
Total Gems
<span class="stat__count"><%= @number_of_gems %></span>
</h2>
<h2 class="stat" data-icon="☺">
Total Users
<span class="stat__count"><%= @number_of_users %></span>
</h2>
<h2 cla... | <% @title = "Stats" %>
<% @subtitle = "Since 2009" %>
<div class="stats">
<h2 class="stat" data-icon="⟡">
Total Gems
<span class="stat__count"><%= number_with_delimiter @number_of_gems %></span>
</h2>
<h2 class="stat" data-icon="☺">
Total Users
<span class="stat__count"><%= number_with_delimiter ... | Use number_with_delimiter when printing stats | Use number_with_delimiter when printing stats
This commit improves the view:

making it look like:

| HTML+ERB | mit | knappe/rubygems.org,polamjag/rubygems.org,maclover7/rubygems.org,hrs113355/rubygems.org,sonalkr132/rubygems.org,farukaydin/rubygems.org,spk/rubygems.org,knappe/rubygems.org,hrs113355/rubygems.org,davydovanton/rubygems.org,maclover7/rubygems.org,hrs113355/rubygems.org,fotanus/rubygems.org,sonalkr132/rubygems.org,kbrock/... |
ad3e617d3099b5ee4fc9bce767c4b486e214bd8d | lib/generators/ember_konacha/templates/specs/model_spec.js.coffee.erb | lib/generators/ember_konacha/templates/specs/model_spec.js.coffee.erb | #= require spec_helper
describe "<%= model_name %>", ->
beforeEach( ->
Test.store = TestUtil.lookupStore()
)
it "is a DS.Model", ->
assert.ok <%= model_name %>
assert.ok DS.Model.detect(<%= model_name %>)
describe "attribute: name", ->
it "can be created with valid value", ->
Ember.run(... | #= require spec_helper
describe "<%= model_name %>", ->
beforeEach( ->
Test.store = TestUtil.lookupStore()
)
it "is a DS.Model", ->
assert.ok <%= model_name %>
assert.ok DS.Model.detect(<%= model_name %>)
describe "attribute: name", ->
it "can be created with valid value", ->
Ember.run(... | Change model generator for latest Ember data syntax | Change model generator for latest Ember data syntax | HTML+ERB | mit | kristianmandrup/ember-konacha-rails,kristianmandrup/ember-konacha-rails |
9cb2341ed1301d9c6178b5f32dca4e3560bcb996 | data/ore/templates/rspec/spec/spec_helper.rb.erb | data/ore/templates/rspec/spec/spec_helper.rb.erb | <%- unless bundler? -%>
gem 'rspec', '<%= @rspec_dependency %>'
<%- end -%>
require 'rspec'
require '<%= @namespace_path %>/version'
include <%= @namespace %>
<%= includes :spec_helper -%>
| <%- unless bundler? -%>
gem 'rspec', '<%= @rspec_dependency %>'
<%- end -%>
require 'rspec'
require '<%= @namespace_path %>/version'
include <%= @namespace %>
| Remove the _spec_helper include, we don't need it right now. | Remove the _spec_helper include, we don't need it right now.
| HTML+ERB | mit | philoserf/ore,ruby-ore/ore,dldinternet/ore,dldinternet/ore,ruby-ore/ore,philoserf/ore |
9aa048212541abd99464a581b3e5280a6fefe6b8 | app/views/name_tag_names/_form.html.erb | app/views/name_tag_names/_form.html.erb | <% name_tag_name = name.name_tag_names.new %>
<%= form_for(name_tag_name, remote: true) do |f| %>
<%= f.hidden_field(:name_id, value: name_tag_name.name_id) %>
<div class="form-group">
<label for="name_tag_name_tag_id">Tag*</label>
<%= f.select :tag_id, (NameTag.all - name.name_tags).collect{|name_tag| [na... | <% name_tag_name = name.name_tag_names.new %>
<%= form_for(name_tag_name, remote: true) do |f| %>
<%= f.hidden_field(:name_id, value: name_tag_name.name_id) %>
<div class="form-group">
<label for="name_tag_name_tag_id">Tag*</label>
<%= f.select :tag_id,
(NameTag.all - name.name_tags).colle... | Add title to Name Tag select. | Add title to Name Tag select.
| 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 |
ce71cceac98b5ef322d40adf7349ba1efa266882 | app/views/events/show_quiz.html.erb | app/views/events/show_quiz.html.erb | <h2><%= @wine_bringer %>'s Wine</h2>
<%= form_for @tasting do |f| %>
<% if @wine.color == 'red' %>
<%= render 'red_wine' %>
<% else %>
<%= render 'white_wine' %>
<% end %>
<%= hidden_field_tag :event_wine_id, @event_wine.id %>
<%= f.submit "Continue", :class => "button" %>
<% end %>
| <h1><%= @wine_bringer %>'s Wine</h1>
<%= form_for @tasting do |f| %>
<% if @wine.color == 'red' %>
<%= render 'red_wine' %>
<% else %>
<%= render 'white_wine' %>
<% end %>
<%= hidden_field_tag :event_wine_id, @event_wine.id %>
<%= f.submit "Continue", :class => "button" %>
<% end %>
| Increase header size to differentiate from quiz text | Increase header size to differentiate from quiz text
| HTML+ERB | mit | mud-turtles-2014/palate,mud-turtles-2014/palate |
146ed84fb9c3cc5e676b7e96d74d01845b7e1cae | app/views/properties/index.html.erb | app/views/properties/index.html.erb | <% provide(:title, @user.username) %>
<section>
<div class="row">
<div class="menubar"><%= render_navigation( expand_all: true) %></div>
<div class="user_info pull-right">
<h1>
<%= gravatar_for @user %>
<%= @user.username %>
</h1>
</div>
</div>
<div class="row">
<aside ... | <% provide(:title, @user.username) %>
<section>
<div class="row">
<div class="menubar"><%= render_navigation( expand_all: true) %></div>
<div class="user_info pull-right">
<h1>
<%= gravatar_for @user %>
<%= @user.username %>
</h1>
</div>
</div>
<div class="row">
<aside ... | Add preview image of each property ubication. | Add preview image of each property ubication.
| HTML+ERB | apache-2.0 | gtrujillop/RealEstateWeb,gtrujillop/RealEstateWeb,gtrujillop/RealEstateWeb |
d3df41f0fe59ce4e9de70a6ab7cdd538dd12ef3e | app/views/refinery/_header.html.erb | app/views/refinery/_header.html.erb | <header id="header" role="banenr">
<div class="wrapper">
<div id="logo" rel="home">
<%= link_to refinery.root_path do %>
<%= image_tag 'refinery-cms-logo.png' , alt: Refinery::Core.site_name %>
<% end %>
</div>
<div id="menus">
<div id="main-menu">
<%= main_menu.to_html ... | <header id="header" role="banner">
<div class="wrapper">
<div id="logo" rel="home">
<%= link_to refinery.root_path do %>
<%= image_tag 'refinery-cms-logo.png' , alt: Refinery::Core.site_name %>
<% end %>
</div>
<div id="menus">
<div id="main-menu">
<%= main_menu.to_html ... | Fix typo in header role attribute | Fix typo in header role attribute
Thanks @dominiquecote | HTML+ERB | mit | refinery/website,refinery/website,refinery/website |
0615ae3baaaee987863ba55d644a05c75232d379 | app/views/main/anoninfo.html.erb | app/views/main/anoninfo.html.erb | <div class="card">
<h3 class="card-heading simple"><%= t .heading %></h3>
<div class="card-body">
<p><%= t .paragraph_1_html %></p>
<p><%= t .paragraph_2_html %></p>
<p><%= t .paragraph_3_html %></p>
<p><%= t .paragraph_4_html %></p>
</div>
<div class="card-comments"></div>
</div>
<div class="card">
<%= ... | <div class="card">
<h3 class="card-heading simple"><%= t '.heading' %></h3>
<div class="card-body">
<p><%= t '.paragraph_1_html' %></p>
<p><%= t '.paragraph_2_html' %></p>
<p><%= t '.paragraph_3_html' %></p>
<p><%= t '.paragraph_4_html' %></p>
</div>
<div class="card-comments"></div>
</div>
<div class="car... | Fix reference to abbreviated i18n keys | Fix reference to abbreviated i18n keys
| HTML+ERB | mit | indentlabs/notebook,indentlabs/notebook,indentlabs/notebook |
22f7843fb12a2751eadfecc53dd972c655a0215b | app/views/pages/verktyg.html.erb | app/views/pages/verktyg.html.erb | <div class="page-content-header pure-g">
<div class="pure-u">
<h1 class="page-content-title">Verktyg</h1>
</div>
</div>
<div class="page-content-body">
<p>På den här sidan finns några verktyg som kan vara användbart när du brygger.</p>
<h2>No Sparge calculat... | <div class="page-content-header pure-g">
<div class="pure-u">
<h1 class="page-content-title">Verktyg</h1>
</div>
</div>
<div class="page-content-body">
<p>På den här sidan finns några verktyg som kan vara användbart när du brygger.</p>
<h2>No Sparge calculat... | Add link to specific gravity calculator on tool page | Add link to specific gravity calculator on tool page
| HTML+ERB | mit | ollej/brewnit,ollej/brewnit,ollej/brewnit,ollej/brewnit |
dd03aee3be19a0665c723aea66711a9d7eefad38 | app/views/shipments/new.html.erb | app/views/shipments/new.html.erb | <% content_for :title, "New Shipment" %>
<% content_for :content do %>
<%= form_for @shipment do |f| %>
<div class="form-group">
<%= f.label :shipping_carrier %>
<%= f.select :shipping_carrier, Shipment::VALID_CARRIERS, { include_blank: "Please choose ..." }, class: "form-control" %>
</div>
<... | <% content_for :title, "New Shipment" %>
<% content_for :content do %>
<%= form_for @shipment do |f| %>
<div class="form-group">
<%= f.label :shipping_carrier %>
<%= f.select :shipping_carrier, Shipment.shipping_carriers, { include_blank: "Please choose ..." }, class: "form-control" %>
</div>
... | Use the shipping carrier enum for the form | Use the shipping carrier enum for the form
| HTML+ERB | mit | on-site/StockAid,icodeclean/StockAid,icodeclean/StockAid,on-site/StockAid,on-site/StockAid,icodeclean/StockAid |
02221344acbd37754d12c0f319e2cf366203a5d0 | app/views/welcome/index.html.erb | app/views/welcome/index.html.erb | <h1>Welcome!</h1>
<div class="panel">
<h3>We’re stoked you want to try Foundation! </h3>
<p>
Translate Community is a web platform designed to help developers to translate each others' applications.
</p>
<p>
TODO : description ++
</p>
<p>
Tired to see approximative translations ?
</p>
<p>
So join... | <div class="panel">
<h3>Translate Community is a web platform designed to help developers to translate each others' applications.</h3>
<p>
TODO : description ++
</p>
<p>
Tired to see approximative translations ?
</p>
<p>
So join the community and help us to translate the world !
</p>
<div class="row">
... | Add content to welcome page | Add content to welcome page
| HTML+ERB | mit | thedarkmammouth/translate_community,thedarkmammouth/translate_community,awph/translate_community,awph/translate_community |
974f5fe275a11092694ee8cdd7ef3e09ef3e62a4 | templates/default/glassfish-init.d-script.erb | templates/default/glassfish-init.d-script.erb | #!/bin/bash
#
# glassfish: Startup script for Glassfish Application Server.
<% glassfish_home = "#{node[:glassfish][:base_dir]}/glassfish" %>
export AS_JAVA=<%= node["java"]["java_home"] %>
start() {
echo -n "Starting Glassfish: "
echo "Starting Glassfish at `date`" >> <%= glassfish_home %>/... | #!/bin/bash
#
# glassfish: Startup script for Glassfish Application Server.
<% glassfish_home = "#{node[:glassfish][:base_dir]}/glassfish" %>
export AS_JAVA=<%= node["java"]["java_home"] %>
start() {
echo -n "Starting Glassfish Domains: "
<% domain_name = "domain1" %>
<% log_file = "... | Refactor th einit script in preparation for multiple domains | Refactor th einit script in preparation for multiple domains
| HTML+ERB | apache-2.0 | predictivelogic/chef-glassfish,predictivelogic/chef-glassfish,realityforge/chef-glassfish,predictivelogic/chef-glassfish,hopshadoop/chef-glassfish,hopshadoop/chef-glassfish,hopshadoop/chef-glassfish,realityforge/chef-glassfish,realityforge/chef-glassfish |
7571d20cafa30109a908a271d2dec1e86f6a6120 | app/views/welcome_mailer/signup_email.html.erb | app/views/welcome_mailer/signup_email.html.erb | <h1>Welcome to Open Door</h1>
<hr>
<p><strong>Hey <%= @user.first_name %>,</strong></p>
<p>Thank you for signing up! Our application is designed to find the gaps in employment reviews and make the entire process inclusive of all aspects of culture, social identity, and opportunities.</p>
<!-- insert href here for li... | <h1>Welcome to Open Door</h1>
<hr>
<p><strong>Hey <%= @user.first_name %>,</strong></p>
<p>Thank you for signing up! Our application is designed to find the gaps in employment reviews and make the entire process inclusive of all aspects of culture, social identity, and opportunities.</p>
<!-- insert href here for li... | Add company search link to the main page in the email | Add company search link to the main page in the email
| HTML+ERB | mit | husseinmaad/open-div,husseinmaad/open-div,husseinmaad/open-div |
c26eeb0cd399eef444bf3474e010f066b386583a | core/app/views/accounts/trigger_event.html.erb | core/app/views/accounts/trigger_event.html.erb | <% content_for :specific_javascript do %>
<script>
var eventName = <%= event[:name].to_json.html_safe %>;
var eventDetails = <%= event[:details].to_json.to_json.html_safe %>;
var origin = <%= request.env['omniauth.origin'].to_json.html_safe %>;
if(window.opener) {
var evt = window.opener.docume... | <% content_for :specific_javascript do %>
<script>
var eventName = <%= event[:name].to_json.html_safe %>;
var eventDetails = <%= event[:details].to_json.to_json.html_safe
# Note: double-json-ing result in json-string.
# Sending a string to another window works more reliably than sending and object d... | Add comment explaining weird code | Add comment explaining weird code
| HTML+ERB | mit | daukantas/factlink-core,daukantas/factlink-core,daukantas/factlink-core,Factlink/factlink-core,Factlink/factlink-core,Factlink/factlink-core,Factlink/factlink-core,daukantas/factlink-core |
540f8fd4337b46744cf4593635b23c12fb7f6615 | app/views/manuals/_manual_section.html.erb | app/views/manuals/_manual_section.html.erb | <div class='manual-body' id="content">
<article aria-labelledby="section-title">
<h1 id="section-title" class='section-title'><%= presented_document.title %></h1>
<% if presented_document.summary %><p class='summary'><%= presented_document.summary %></p><% end %>
<% if presented_manual.hmrc? %>
<% i... | <div class='manual-body' id="content">
<article aria-labelledby="section-title">
<h1 id="section-title" class='section-title'><%= presented_document.title %></h1>
<% if presented_document.summary %><p class='summary'><%= presented_document.summary %></p><% end %>
<% if presented_manual.hmrc? %>
<% i... | Fix duplicated body text in manual section | Fix duplicated body text in manual section
Removing a extra render of the body text in the manual section.
| HTML+ERB | mit | alphagov/manuals-frontend,alphagov/manuals-frontend,alphagov/manuals-frontend,alphagov/manuals-frontend |
7016e6fb0db7e0211a967579d4227f2794f74e3c | app/views/static_pages/home.html.erb | app/views/static_pages/home.html.erb | <div id="home-page">
<div class="hero gradient">
<header>
<h1 class="accent hero__main-heading"> Your Career in Web Development Starts Here </h1>
<p class="secondary hero__sub-heading"> Our full stack curriculum is free and supported by a passionate open source community.</p>
<%= link_to 'View... | <div id="home-page">
<div class="hero gradient">
<header>
<h1 class="accent hero__main-heading"> Your Career in Web Development Starts Here </h1>
<p class="secondary hero__sub-heading"> Our full stack curriculum is free and supported by a passionate open source community.</p>
<%= link_to 'View... | Edit home page so that curriculum button shows track options | Edit home page so that curriculum button shows track options
The button on the homepage to View Full Curriculum currently still only
goes to the default RoR track. It should now go to the tracks path to
mirror the behaviour of the Curriculum link in the navigation menu
| HTML+ERB | mit | TheOdinProject/theodinproject,TheOdinProject/theodinproject,TheOdinProject/theodinproject,TheOdinProject/theodinproject |
fcbfef397eed2c82ab75378d501d1e87f52d3aef | app/views/elements/_navbar.html.erb | app/views/elements/_navbar.html.erb | <nav class="navbar navbar-default" role="navigation">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span ... | <nav class="navbar navbar-default" role="navigation">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span ... | Change title from My Application to Release Date | Change title from My Application to Release Date
| HTML+ERB | mit | Green-Squad/Release-DB,Green-Squad/Release-DB,Green-Squad/Release-DB |
0044d1d07e6fdb2734ab139a0bca14ee28c61f80 | app/views/users/_user_card.html.erb | app/views/users/_user_card.html.erb | <div class='span4 usercard'>
<div class="ribbon-wrapper">
<div class="ribbon-wrapper-green">
<%= content_tag(:p, ('Hire Me' if user.available_for_hire)) %>
</div>
</div>
<div class='userimage'>
<%= image_tag gravatar_for(user), class: "user-image imagecard #{user.role}" %>
</div>
<div... | <div class='span4 usercard'>
<% if user.available_for_hire %>
<%= content_tag(:div, '', class: 'ribbon-wrapper') do %>
<%= content_tag(:div, '', class: 'ribbon-wrapper-green') do %>
<%= content_tag(:p, 'Hire Me') %>
<% end %>
<% end %>
<% end %>
<div class='userimage'>
<%= image_... | Update user_card partial with conditional and correct div nesting | Update user_card partial with conditional and correct div nesting
| HTML+ERB | mit | SoPR/sopr-platform,SoPR/sopr-platform |
90559dd5d3ea2f38ec8a2a533171943970ae647f | made_with_dough/app/views/_header.html.erb | made_with_dough/app/views/_header.html.erb | <header class="l-header">
<div class="l-constrained">
<div class="l-constrained__padded">
<h1>Made with Dough</h1>
</div>
</div>
</header>
| <header class="l-header">
<div class="l-constrained">
<div class="l-constrained__padded">
<h1>Made with Dough</h1>
<p class="strapline">You kneed it. Literally.</p>
<p><a href="">Download</a> our component library, leave to rise in a warm place for twenty minutes, then use.</p>
</div>
</... | Add more demo content to header | Add more demo content to header
| HTML+ERB | mit | moneyadviceservice/dough,moneyadviceservice/dough,moneyadviceservice/dough,moneyadviceservice/dough |
e2d0ba8912beaa6957f2a61e0dd0997921a1d823 | lib/generators/vitrage/templates/views/item_form_generator.html.erb | lib/generators/vitrage/templates/views/item_form_generator.html.erb | <%= semantic_form_for item, url: form_url, method: form_method, remote: true do |f| %>
<%= f.inputs %>
<%# Add inputs of your piece item model here %>
<%# f.input :text, input_html: { rows: 2 } # as example %>
<% end -%>
<%= hidden_field_tag :kind, item.class.name.demodulize, id: nil %>
<%= hidden_field... | <%= semantic_form_for item, url: form_url, method: form_method, remote: true do |f| %>
<%= f.inputs do %>
<%# Add inputs of your piece item model here %>
<%# f.input :text, input_html: { rows: 2 } # as example %>
<% end -%>
<%= hidden_field_tag :kind, item.class.name.demodulize, id: nil %>
<%= hidden_fi... | Fix bug in the view generator template | Fix bug in the view generator template
| HTML+ERB | mit | dymio/vitrage,dymio/vitrage,dymio/vitrage |
5950235625393146d43495000ccb8fa6b84312b2 | modules/govuk_jenkins/templates/jobs/gds_production_backup.yaml.erb | modules/govuk_jenkins/templates/jobs/gds_production_backup.yaml.erb | ---
- scm:
name: alphagov-deployment_GDS_Production_Backup
scm:
- git:
url: git@github.gds:gds/alphagov-deployment.git
branches:
- release
- job:
name: GDS_Production_Backup
display-name: GDS_Production_Backup
disabled: false
project-type: freestyle... | ---
- scm:
name: govuk-app-deployment_GDS_Production_Backup
scm:
- git:
url: git@github.com:alphagov/govuk-app-deployment.git
branches:
- release
- job:
name: GDS_Production_Backup
display-name: GDS_Production_Backup
disabled: false
project-type: fr... | Use new deployment repo for post-deploy repo backup job | Use new deployment repo for post-deploy repo backup job
All of the shared deployment code from alphagov-deployment, including the
sync_to_ghe.sh script which this job uses, is already in the new repo:
https://github.com/alphagov/govuk-app-deployment/blob/master/sync_to_ghe.sh
The Deploy_App job uses the new repo alre... | HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
3938f37f1f1b4a162fc7e7f3124db20a966eefd6 | app/views/items/index.html.erb | app/views/items/index.html.erb | <% if logged_in?%>
YOU'RE LOGGED IN
<% else %>
<%= link_to "REGISTER", new_user_path%> | <%= link_to "LOGIN", login_path %>
<% end %>
<p>This is where all of the available items will be visible. If you'd like to create a new item, <%= link_to "click here", new_item_path %>.</p>
<% @items.each do |item| %>
<p>... | <% if logged_in?%>
<%= link_to "PROFILE", current_user %> | <%= link_to "LOGOUT", logout %>
<% else %>
<%= link_to "REGISTER", new_user_path %> | <%= link_to "LOGIN", login_path %>
<% end %>
<p>This is where all of the available items will be visible. If you'd like to create a new item, <%= link_to "click here", ... | Edit links visible to user if / if not logged in | Edit links visible to user if / if not logged in
| HTML+ERB | mit | benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop |
c8a3547a6ea945fbd2dd2407a482af42358efb00 | app/views/articles/archives.html.erb | app/views/articles/archives.html.erb | <% if @articles.empty? %>
<div class="post">
<p><%= t(".no_articles_found")%></p>
</div>
<% else
currentmonth = 0
currentyear = 0
for article in @articles
if (article.published_at.month != currentmonth || article.published_at.year != currentyear)
currentmonth = article.published_at.month
currentyear... | <% if @articles.empty? %>
<div class="post">
<p><%= t(".no_articles_found")%></p>
</div>
<% else
currentmonth = 0
currentyear = 0
for article in @articles
if (article.published_at.month != currentmonth || article.published_at.year != currentyear)
currentmonth = article.published_at.month
currentyear... | Remove spurious plus sign from archives page | Remove spurious plus sign from archives page
| HTML+ERB | mit | publify/publify_core,publify/publify_core,publify/publify_core |
e893cac280e373b474c04842345d42a0d3228083 | app/views/projects/_project.html.erb | app/views/projects/_project.html.erb | <div class="project <%= parameterize_language(project.main_language) %>" data-id="<%= project.id %>">
<% if defined?(show_avatar) && show_avatar %>
<%= link_to image_tag(avatar_url(project), :width => 80, :height => 80), project.github_url, :rel => 'tooltip', :data => { :original_title => project.name }, :class =... | <div class="project <%= parameterize_language(project.main_language) %>" data-id="<%= project.id %>">
<% if defined?(show_avatar) && show_avatar %>
<%= link_to image_tag(avatar_url(project), :width => 80, :height => 80), project.github_url, :rel => 'tooltip', :data => { :original_title => project.name }, :class =... | Make contribulator score match general label styles | Make contribulator score match general label styles
| HTML+ERB | mit | tegon/24pullrequests,tegon/24pullrequests,tegon/24pullrequests,jasnow/24pullrequests,24pullrequests/24pullrequests,arumoy-shome/24pullrequests,arumoy-shome/24pullrequests,jasnow/24pullrequests5,24pullrequests/24pullrequests,arumoy-shome/24pullrequests,jasnow/24pullrequests,jasnow/24pullrequests5,jasnow/24pullrequests5,... |
b3eaef3544217a81290195aa993a439f54f6a302 | plugins/open_graph/views/open_graph_plugin/myprofile/_track_community.html.erb | plugins/open_graph/views/open_graph_plugin/myprofile/_track_community.html.erb | <div class="panel-heading">
<a href="#track-<%=track%>" data-toggle="collapse" aria-controls="collapseTwo" onclick='open_graph.track.config.toggle(this, event)'>
<%= render 'heading', f: f, track: track, context: context, klass: klass %>
</a>
</div>
<div id="track-<%=track%>" class="panel-body collapse">
<%=... | <div class="panel-heading">
<%= button_to_function 'menu-ctrl-panel', t('open_graph_plugin.views.track.config.activity.configure'), 'open_graph.track.config.open(this)',
href: "#track-#{track}", class: 'community-config', option: 'success', size: 'xs', 'data-toggle' => 'collapse', 'aria-controls' => 'collapseTwo' %>
... | Add button configure to community activity settings | Add button configure to community activity settings | HTML+ERB | agpl-3.0 | CIRANDAS/noosfero-ecosol,coletivoEITA/noosfero-ecosol,CIRANDAS/noosfero-ecosol,EcoAlternative/noosfero-ecosol,EcoAlternative/noosfero-ecosol,blogoosfero/noosfero,coletivoEITA/noosfero-ecosol,EcoAlternative/noosfero-ecosol,CIRANDAS/noosfero-ecosol,blogoosfero/noosfero,blogoosfero/noosfero,coletivoEITA/noosfero-ecosol,CI... |
85ac8cb9d8dc0af090393d4d2e3e8d28a3184dce | app/views/protected_areas/networks/_stats.html.erb | app/views/protected_areas/networks/_stats.html.erb | <% @networks.each_with_index do |network, i| %>
<% countryCount = network.countries.count %>
<% protectedAreaCount = network.protected_areas.count %>
<div
data-id="tab-<%= i+1 %>-content"
class="flex-row-wrap tab__content js-tab-content <%= "u-hide" unless i.zero? %>">
<div class="flex-1-third ... | <% @networks.each_with_index do |network, i| %>
<% countryCount = network.countries.count %>
<% protectedAreaCount = network.protected_areas.count %>
<div
data-id="tab-<%= i+1 %>-content"
class="flex-row-wrap tab__content js-tab-content <%= "u-hide" unless i.zero? %>">
<div class="flex-1-third ... | Update class in stats section of protected area page that was preventing the stats from wrapping onto two lines | Update class in stats section of protected area page that was preventing the stats from wrapping onto two lines
| HTML+ERB | bsd-3-clause | unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet |
0f27e6175c44853eb519417e933a78b59d5c1ccf | app/views/excursions/_excursion.html.erb | app/views/excursions/_excursion.html.erb | <%= div_for excursion, :class => 'content_size' do %>
<ul class="thumbnails">
<li class="span3">
<%= link_to excursion_thumb_for(excursion, 130), excursion, :class => "container" %>
<div class='number_pages'><%= excursion.slide_count %></div>
</li>
<li class="span9">
<div class="title"... | <%= div_for excursion, :class => 'content_size' do %>
<ul class="thumbnails">
<li class="span3">
<%= link_to excursion_thumb_for(excursion, 130), excursion, :class => "container" %>
<div class='number_pages'><%= excursion.slide_count %></div>
</li>
<li class="span9">
<div class="title"... | Remove duplicate star for excursion | Remove duplicate star for excursion
| HTML+ERB | agpl-3.0 | rogervaas/vish,ging/vish_orange,rogervaas/vish,agordillo/vish,suec78/vish_storyrobin,ging/vish,nathanV38/vishTst,ging/vish_orange,nathanV38/vishTst,ging/vish,agordillo/vish,ging/vish_orange,suec78/vish_storyrobin,ging/vish,suec78/vish_storyrobin,agordillo/vish,ging/vish_orange,ging/vish,agordillo/vish,ging/vish,rogerva... |
9841a93159297ae1adb6897e6ee7f93f863fcfaa | app/views/people/_current_roles.html.erb | app/views/people/_current_roles.html.erb | <% if person.currently_in_a_role? %>
<section id="current-roles">
<% person.current_roles.each do |role| %>
<section class="role_appointment role govuk-!-padding-bottom-8">
<%= render "govuk_publishing_components/components/heading", {
text: person.current_roles_title,
id: pe... | <% if person.currently_in_a_role? %>
<section id="current-roles">
<% person.current_roles.each do |role| %>
<section class="role_appointment role govuk-!-padding-bottom-8">
<%= render "govuk_publishing_components/components/heading", {
text: person.current_roles_title,
id: pe... | Add govuk-body and govuk-link classes to organisations | Add govuk-body and govuk-link classes to organisations
This is necessary to get the right GOV.UK styles.
| HTML+ERB | mit | alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections |
1620462eee131ff8b4c69883ff94fc063b0a6207 | app/views/spree/admin/products/_stores.html.erb | app/views/spree/admin/products/_stores.html.erb | <p>
<%= f.label :stores, Spree.t(:stores)%><br />
<% Spree::Store.all.each do |store| %>
<%= check_box_tag "product[store_ids][]", store.id, @product.stores.include?(store) %> <%= store.name %>
<% end %>
</p>
| <p data-hook="admin_product_form_stores" class="omega two columns">
<%= f.label :stores, Spree.t(:stores)%><br />
<% Spree::Store.all.each do |store| %>
<%= check_box_tag "product[store_ids][]", store.id, @product.stores.include?(store) %> <%= store.name %>
<% end %>
</p>
| Add data hook for stores to admin product form | Add data hook for stores to admin product form
This will let to customize with deface
| HTML+ERB | bsd-3-clause | solidusio/solidus_multi_domain,solidusio/solidus_multi_domain,solidusio/solidus_multi_domain |
6d105f058f18c05065768dbc48f1aa2e9358d23b | app/views/transactions/index.html.erb | app/views/transactions/index.html.erb | <ul class='transactions'>
<% @transactions.each do |transaction| %>
<li><%= render 'transaction.html.erb', transaction: transaction %></li>
<% end %>
</ul> | <ul class='transactions'>
<div class='row'>
<% @transactions.each do |transaction| %>
<li><%= render 'transaction.html.erb', transaction: transaction %></li>
</div>
<% end %>
</ul> | Set up classes for transactions | Set up classes for transactions
| HTML+ERB | mit | nyc-mud-turtles-2015/nghborly,nyc-mud-turtles-2015/nghborly,kimchanyoung/nghborly,kimchanyoung/nghborly,kimchanyoung/nghborly,nyc-mud-turtles-2015/nghborly |
1991e415c9d1e79dc5e2be21167710140acc14cb | templates/default/sv-jenkins-slave-run.erb | templates/default/sv-jenkins-slave-run.erb | #!/bin/sh
exec 2>&1
cd <%= node['jenkins']['node']['home'] %>
exec chpst -u <%= node['jenkins']['node']['user'] %> \
java -jar <%= node['jenkins']['node']['home'] %>/slave.jar \
<% if node['jenkins']['node']['no_certificate_check'] -%>
-noCertificateCheck \
<% end -%>
-jnlpUrl <%= node['jenkins']['server']['url']... | #!/bin/sh
exec 2>&1
cd <%= node['jenkins']['node']['home'] %>
exec chpst -u <%= node['jenkins']['node']['user'] %> \
env HOME=<%= node['jenkins']['node']['home'] %> \
java -jar <%= node['jenkins']['node']['home'] %>/slave.jar \
<% if node['jenkins']['node']['no_certificate_check'] -%>
-noCertificateCheck \
<% end... | Add a HOME variable for nodes started with JNLP | Add a HOME variable for nodes started with JNLP
Runit's chpst clears environment variables so we need to set this
explicitly. Not having a HOME variable can cause a problem with some
jobs. For example Ruby's expand_path method will fail.
[COOK-3841]
| HTML+ERB | apache-2.0 | rapid7-cookbooks/jenkins,rapid7-cookbooks/jenkins,rapid7-cookbooks/jenkins |
de1f5bda0d89c320af88ba0d7767061242874e24 | app/views/comments/_comment.html.erb | app/views/comments/_comment.html.erb | <li class="media">
<img class="d-flex mr-3 avatar-xs" src="<%= comment.user.avatar.thumb.url %>">
<div class="media-body">
<%= comment.content %><br>
<small class="text-muted">
By <%= comment.user.name %> - <%= time_ago_in_words(comment.created_at) %> ago
<% if can? :destr... | <li class="media">
<img class="d-flex mr-3 avatar-xs" src="<%= comment.user.avatar.thumb.url %>">
<div class="media-body">
<%= comment.content %><br>
<small class="text-muted">
<%= link_to comment.user.name, user_path(comment.user) %> - <%= time_ago_in_words(comment.created_at) %> ago
... | Add user profile link to comments | Add user profile link to comments
| HTML+ERB | mit | Cecily2/writing-project-tracker,Cecily2/writing-project-tracker,Cecily2/writing-project-tracker |
763f756499256b1890a2a6aed45e12d43d0dfe2f | app/views/src_sets/_src_set.html.erb | app/views/src_sets/_src_set.html.erb | <%= link_to :controller => :src_sets, :action => :show, :id => src_set.name do %>
<% if src_set.thumbnail %>
<%= image_tag(url_for(src_set.thumbnail), :size => "#{src_set.thumb_width}x#{src_set.thumb_height}") %>
<% else %>
<div class="empty-set">∅</div>
<% end %>
<% end %>
<p class... | <%= link_to :controller => :src_sets, :action => :show, :id => src_set.name do %>
<% if src_set.thumbnail %>
<%= image_tag(url_for(src_set.thumbnail), :size => "#{src_set.thumb_width}x#{src_set.thumb_height}") %>
<% else %>
<div class="empty-set">∅</div>
<% end %>
<% end %>
<p class... | Use count instead of size for source set sizes. | Use count instead of size for source set sizes.
| HTML+ERB | mit | mmb/meme_captain_web,patrickmcguire/meme,patrickmcguire/meme,mmb/meme_captain_web,mmb/meme_captain_web,mmb/meme_captain_web |
11e28029d92c552e7d1587908dbb4d0e1404b7f5 | cookbooks/ad-auth/templates/default/lsassd.reg.erb | cookbooks/ad-auth/templates/default/lsassd.reg.erb | [HKEY_THIS_MACHINE\Services\lsass\Parameters]
"SpaceReplacement"="-"
[HKEY_THIS_MACHINE\Services\lsass\Parameters\Providers\ActiveDirectory]
"HomeDirTemplate"="%H/%D/%U"
"SpaceReplacement"="-"
"AssumeDefaultDomain"=dword:00000001
"NssGroupMembersQueryCacheOnly"=dword:00000001
"RequireMembershipOf"=sza:"<%= @ad_members... | [HKEY_THIS_MACHINE\Services\lsass\Parameters]
"SpaceReplacement"="-"
[HKEY_THIS_MACHINE\Services\lsass\Parameters\Providers\ActiveDirectory]
"HomeDirTemplate"="%H/%D/%U"
"SpaceReplacement"="-"
"AssumeDefaultDomain"=dword:00000001
"NssGroupMembersQueryCacheOnly"=dword:00000001
"RequireMembershipOf"=sza:"<%= @ad_members... | Set bash as the default shell for likewise | Set bash as the default shell for likewise
Former-commit-id: 7353cecd23db90de1740a18bc3f988b43185cbfe [formerly 5e646bec732e013f32aed93a2c578e36c76e14c1] [formerly beb919e79c9b5b4eac75ba96429b8efc7933dd04 [formerly c24675d90bf2fe05b1637dbf4dbae06786777d7d]]
Former-commit-id: d5c6fc8666681f779275c5dc18c5c34767634b71 [... | HTML+ERB | apache-2.0 | ARentz07/rundeck,edwlarkey/rundeck,marthag8/rundeck,ronabop/rundeck,edwlarkey/rundeck,ronabop/rundeck,tas50/rundeck,ronabop/rundeck,ARentz07/rundeck,marthag8/rundeck,tas50/rundeck,marthag8/rundeck,tas50/rundeck,ARentz07/rundeck,edwlarkey/rundeck |
ac41eb9c4bf2fdc71f1d781c1680177e658e433e | bosh/jobs/bosh-bot/templates/ctl.erb | bosh/jobs/bosh-bot/templates/ctl.erb | #!/bin/bash
set -eu
run_dir=/var/vcap/sys/run/bosh-bot
log_dir=/var/vcap/sys/log/bosh-bot
PID_FILE="${run_dir}/bosh-bot.pid"
mkdir -p "${run_dir}"
chown -R vcap:vcap "${run_dir}"
mkdir -p "${log_dir}"
chown -R vcap:vcap "${log_dir}"
exec >> "${log_dir}/bosh-bot-ctl.log" 2>&1
package_dir="/var/vcap/jobs/bosh-bot/... | #!/bin/bash
set -eu
run_dir=/var/vcap/sys/run/bosh-bot
log_dir=/var/vcap/sys/log/bosh-bot
PID_FILE="${run_dir}/bosh-bot.pid"
mkdir -p "${run_dir}"
chown -R vcap:vcap "${run_dir}"
mkdir -p "${log_dir}"
chown -R vcap:vcap "${log_dir}"
exec >> "${log_dir}/bosh-bot-ctl.log" 2>&1
package_dir="/var/vcap/jobs/bosh-bot/... | Add git to path for bosh-bot job | Add git to path for bosh-bot job
| HTML+ERB | mit | ljfranklin/bosh-bot,ljfranklin/bosh-bot,ljfranklin/bosh-bot |
9322b1e02b1b6aa82bbfcdb876c7644da48bf9b7 | app/views/coronavirus_landing_page/components/shared/_section.html.erb | app/views/coronavirus_landing_page/components/shared/_section.html.erb | <% section["sub_sections"].each do |sub_section| %>
<% if sub_section["title"] %>
<h3 class="govuk-heading-s covid__accordion-heading"><%= sub_section["title"] %></h3>
<% end %>
<ul class="covid__list covid__list--accordion">
<% sub_section["list"].each do | item | %>
<li class="covid__list-item">
... | <% section["sub_sections"].each do |sub_section| %>
<% if sub_section["title"] %>
<h3 class="govuk-heading-s covid__accordion-heading"><%= sub_section["title"] %></h3>
<% end %>
<ul class="covid__list covid__list--accordion">
<% sub_section["list"].each do | item | %>
<li class="covid__list-item">
... | Add support for accordion featured links | Add support for accordion featured links
These links are rendered as bold with an arrow
| HTML+ERB | mit | alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections |
2aa97def1799d3dab2ea0c811a0502ad4377fcd2 | modules/govuk_jenkins/templates/jobs/network_config_deploy_dryrun.yaml.erb | modules/govuk_jenkins/templates/jobs/network_config_deploy_dryrun.yaml.erb | ---
- scm:
name: govuk-provisioning_Network_Config_Deploy_DryRun
scm:
- git:
url: git@github.gds:gds/govuk-provisioning.git
branches:
- master
- job:
name: Network_Config_Deploy_DryRun
display-name: Network_Config_Deploy_DryRun
project-type: freestyle
... | ---
- scm:
name: govuk-provisioning_Network_Config_Deploy_DryRun
scm:
- git:
url: git@github.gds:gds/govuk-provisioning.git
branches:
- master
- job:
name: Network_Config_Deploy_DryRun
display-name: Network_Config_Deploy_DryRun
project-type: freestyle
... | Fix network deploy dryrun job | Fix network deploy dryrun job
This had the incorrect environment variable set which meant the bash
script would fail when you tried to use this infinitely useful
prerequisite for firewall changes.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
90b75798d0096d23f538ccb8ce38d0ce16f7cb9d | app/views/leaderboard/index.html.erb | app/views/leaderboard/index.html.erb | <% content_for(:page_title, 'Leaderboard') %>
<table class="table table-striped table-bordered">
<thead class="table-header">
<th rowspan="2">Organisation</th>
<th rowspan="2">Sites</th>
<th colspan="3">Mappings
<tr>
<th>Total</th>
<th>Unresolved</th>
<th>Errors ↓</th>
... | <% content_for(:page_title, 'Leaderboard') %>
<div class="page-title">
<h1>Department leaderboard<br />
<small>
Which departments have the highest numbers of erroring mappings?
</small>
</h1>
</div>
<table class="table table-striped table-bordered">
<thead class="table-header">
<th rowspan="2"... | Add a title and a description to the leaderboard page | Add a title and a description to the leaderboard page
- This needs some copy work, probably.
| HTML+ERB | mit | alphagov/transition,alphagov/transition,alphagov/transition |
eec3d6feca0535b03d29a3199b2f12e6d34c6268 | templates/default/49-remote.conf.erb | templates/default/49-remote.conf.erb | # Autogenerated by Chef for <%= node['fqdn'] %>
$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
<% @ser... | # Autogenerated by Chef for <%= node['fqdn'] %>
$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
$Action... | Set a 1 GB limit for the ActionQueue. | Set a 1 GB limit for the ActionQueue.
| HTML+ERB | apache-2.0 | phusion/rsyslog,phusion/rsyslog |
ef1ad946e8d764f731a3f16564d67994ce458069 | core/app/views/shared/_head.html.erb | core/app/views/shared/_head.html.erb | <title><%= title %></title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<%= raw stylesheet_tags %>
<%= csrf_meta_tag %>
<%= javascript_include_tag 'jquery-1.4.2.min', 'jquery.validate.min.js', 'rails', 'application', :cache => 'jquery-core' %>
<% unless I18n.locale.to_s[0..1] == 'en' %>
<%= j... | <title><%= title %></title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<%== meta_data_tags %>
<%== stylesheet_tags %>
<%= csrf_meta_tag %>
<%= javascript_include_tag 'jquery-1.4.2.min', 'jquery.validate.min.js', 'rails', 'application', :cache => 'jquery-core' %>
<% unless I18n.locale.to_s[0..1... | Move meta tags to one place | Move meta tags to one place
| HTML+ERB | bsd-3-clause | miyazawatomoka/spree,Mayvenn/spree,beni55/spree,pulkit21/spree,pjmj777/spree,StemboltHQ/spree,mleglise/spree,camelmasa/spree,miyazawatomoka/spree,CiscoCloud/spree,gregoryrikson/spree-sample,thogg4/spree,jordan-brough/spree,shekibobo/spree,grzlus/spree,RatioClothing/spree,bricesanchez/spree,patdec/spree,Machpowersystems... |
57787a674e5b6f5d57ae459d5520001aba39a7e3 | app/views/items/_past_vote.html.erb | app/views/items/_past_vote.html.erb | <div class="past-vote <%=@past_vote.downcase %>-vote">
<div class="row">
<div>
<h4>You already voted '<%= @past_vote %>' for this agenda item</h4>
</div>
</div>
</div>
| <div class="past-vote <%=@past_vote.downcase %>-vote">
<div class="row">
<div class="columns medium-4">
<h4>Your vote for this item: <%= @past_vote %></h4>
</div>
<div class="columns medium-4">
<h4>Next Item <%=link_to '<i class=" fa fa-arrow-circle-right fa-2x"></i>'.html_safe, item_path(find_next_item(... | Update past vote partial; add next item button | Update past vote partial; add next item button
| HTML+ERB | mit | CivicHaxx/ok_councillr,CivicHaxx/ok_councillr,CivicHaxx/ok_councillr |
8ecc71b2d6cba851db81a7c6ed3a5c12cb85ec07 | app/views/layouts/slideshow.html.erb | app/views/layouts/slideshow.html.erb | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<link rel="shortcut icon" href="<%= image_path(theme_favicon) %>" type="image/x-icon" />
<title><%=
(@page ? @page.name + ' - ' : '') +
(@profile ? @profile.na... | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<link rel="shortcut icon" href="<%= image_path(theme_favicon) %>" type="image/x-icon" />
<title><%=
(@page ? @page.name + ' - ' : '') +
(@profile ? @profile.na... | Replace old call to jquery | Replace old call to jquery
| HTML+ERB | agpl-3.0 | hebertdougl/noosfero,arthurmde/noosfero,tallysmartins/noosfero,marcosronaldo/noosfero,tallysmartins/noosfero,macartur/noosfero,AlessandroCaetano/noosfero,coletivoEITA/noosfero,coletivoEITA/noosfero,blogoosfero/noosfero,tallysmartins/noosfero,vfcosta/noosfero,marcosronaldo/noosfero,coletivoEITA/noosfero-ecosol,evandrojr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.