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 |
|---|---|---|---|---|---|---|---|---|---|
5d72b956e52f8cebecd34879d960404c86750c5e | app/views/admin/form_inputs/_status.html.erb | app/views/admin/form_inputs/_status.html.erb | <% if record.statusable? %>
<div class="status-scheduler">
<%= f.input :status, as: :select, collection: record.class.statuses_for_select.collect { |k, v| [k.titleize, k] }, include_blank: false %>
<% if record.respond_to?(:published_date) %>
<%= f.input :published_date,
as: :datepicke... | <% if record.statusable? %>
<% date_label = local_assigns.fetch(:date_label, 'Published date') %>
<div class="status-scheduler">
<%= f.input :status, as: :select, collection: record.class.statuses_for_select.collect { |k, v| [k.titleize, k] }, include_blank: false %>
<% if record.respond_to?(:published_date... | Enable changing the schedulable date label | Enable changing the schedulable date label
| HTML+ERB | mit | dylanfisher/forest,dylanfisher/forest,dylanfisher/forest |
87f3341887dfdd9cf284be9dac38661103395c83 | templates/etc-default-openvpn.erb | templates/etc-default-openvpn.erb | # This is the configuration file for /etc/init.d/openvpn
#
# Start only these VPNs automatically via init script.
# Allowed values are "all", "none" or space separated list of
# names of the VPNs. If empty, "all" is assumed.
#
#AUTOSTART="all"
#AUTOSTART="none"
#AUTOSTART="home office"
#
# Refresh interval (in seconds... | # This is the configuration file for /etc/init.d/openvpn
#
# Start only these VPNs automatically via init script.
# Allowed values are "all", "none" or space separated list of
# names of the VPNs. If empty, "all" is assumed.
#
#AUTOSTART="all"
#AUTOSTART="none"
#AUTOSTART="home office"
#
# Refresh interval (in seconds... | Add autostart_all check in default template | Add autostart_all check in default template
| HTML+ERB | apache-2.0 | rchicoli/puppet-openvpn,dennisdegreef/puppet-openvpn,to-kn/puppet-openvpn,mayflower/puppet-openvpn,rchicoli/puppet-openvpn,rfletcher/puppet-openvpn,luxflux/puppet-openvpn,wywygmbh/puppet-openvpn,luxflux/puppet-openvpn,jkroepke/puppet-openvpn,luxflux/puppet-openvpn,jlambert121/luxflux-openvpn,mayflower/puppet-openvpn,ea... |
d606c39691ada3ce3c3b4c2a9b74a9970bf719c2 | themes/shower/index.erb | themes/shower/index.erb | <!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=1274, user-scalable=no">
<title><%= meta.title %></title>
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/pygments/colorful.css">
</head>
<body class="list">
<header cl... | <!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=1274, user-scalable=no">
<title><%= meta.title %></title>
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/pygments/colorful.css">
<% meta.css.each do |css| %>
<link rel... | Put some css in the folder. | Put some css in the folder.
| HTML+ERB | mit | DSIW/slideoff,nono/slide-em-up,DSIW/slideoff,DSIW/slideoff,nono/slide-em-up |
75331e5eeb481dc60f180cc0b59c6d29828c1144 | jobs/smoke_tests/templates/config.json.erb | jobs/smoke_tests/templates/config.json.erb | <%
require 'json'
config = {
addresses: p("acceptance_tests.addresses"),
api: p("acceptance_tests.cloud_controller.api"),
apps_domain: Array(p("acceptance_tests.cloud_controller.apps_domain")).first,
admin_user: p("acceptance_tests.cloud_controller.admin_user"),
admin_password: p("acceptance_tests.cloud_co... | <%
require 'json'
config = {
addresses: p("acceptance_tests.addresses"),
api: p("acceptance_tests.cloud_controller.api"),
apps_domain: Array(p("acceptance_tests.cloud_controller.apps_domain")).first,
admin_user: p("acceptance_tests.cloud_controller.admin_user"),
admin_password: p("acceptance_tests.cloud_co... | Add higher timeout for smoke tests | Add higher timeout for smoke tests
| HTML+ERB | apache-2.0 | cloudfoundry-incubator/cf-routing-release,cloudfoundry-incubator/cf-routing-release,cloudfoundry-incubator/cf-routing-release |
1503f840e0bfba82c4c6b92eaecabc27f259e73b | plugins/fb_app/views/fb_app_plugin_page_tab/product.html.erb | plugins/fb_app/views/fb_app_plugin_page_tab/product.html.erb | <% extend ManageProductsHelper %>
<h1><%= @page_tab.title %></h1>
<% if (!@page_tab.subtitle.empty?) %>
<div id="page-tab-subtitle"><%= @page_tab.subtitle %></div>
<% end %>
<%= button :back, t('fb_app_plugin.views.page_tab.back_to_catalog'), params.except(:product_id), target: '' %>
<%= render file: "#{Rails.root... | <% extend ManageProductsHelper %>
<%= render 'title_and_subtitle' %>
<%= button :back, t('fb_app_plugin.views.page_tab.back_to_catalog'), params.except(:product_id), target: '' %>
<%= render file: "#{Rails.root}/app/views/manage_products/show.html.erb", :locals=>{:show_supplier => true} %>
<%= button :back, t('fb_a... | Add title, subtitle and footer partials | Add title, subtitle and footer partials | HTML+ERB | agpl-3.0 | EcoAlternative/noosfero-ecosol,samasti/noosfero,blogoosfero/noosfero,blogoosfero/noosfero,coletivoEITA/noosfero-ecosol,blogoosfero/noosfero,CIRANDAS/noosfero-ecosol,coletivoEITA/noosfero-ecosol,blogoosfero/noosfero,EcoAlternative/noosfero-ecosol,CIRANDAS/noosfero-ecosol,coletivoEITA/noosfero-ecosol,coletivoEITA/noosfer... |
c8721c10ecf384c58bf6fac42da443cfe5a168dd | app/views/categories/_content_items.html.erb | app/views/categories/_content_items.html.erb | <div class="l-1col">
<ol class="category-detail__list contents">
<% contents.each do |item| %>
<li class="category-detail__list-item">
<span class="icon <%= item.icon_class %>"></span>
<span class="visually-hidden"><%= item.label %></span>
<%= link_to item.title, item.path %>
<... | <div class="l-1col">
<ol class="category-detail__list contents">
<% contents.each do |item| %>
<li class="category-detail__list-item">
<span class="visually-hidden"><%= item.label %></span>
<%= link_to item.title, item.path %>
</li>
<% end %>
</ol>
</div>
| Remove icons from grand child category page | Remove icons from grand child category page
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
68b7528bab4f7a44967c01a1bae988d684050482 | app/views/admin/poll/booth_assignments/_booth_assignment.html.erb | app/views/admin/poll/booth_assignments/_booth_assignment.html.erb | <tr id="booth_<%= booth.id %>" class="booth">
<td>
<%= link_to booth.name, admin_booth_path(booth) %>
</td>
<td>
<%= t("admin.booth_assignments.status.assigned") %>
<%= t("admin.booth_assignments.status.unassigned") %>
</td>
<td class="text-right">
<%= link_to t("admin.booth_assignments.mana... | <td>
<%= link_to booth.name, admin_booth_path(booth) %>
</td>
<% if booth_assignment.present? %>
<td>
<span class="verified"><%= t("admin.booth_assignments.status.assigned") %></span>
</td>
<td class="text-right">
<%= link_to t("admin.booth_assignments.manage.actions.unassign"),
admin_po... | Complete booth assigment partial with assign/unassign buttons and status | Complete booth assigment partial with assign/unassign buttons and status
| HTML+ERB | agpl-3.0 | deivid-rodriguez/participacion,AyuntamientoMadrid/consul,deivid-rodriguez/participacion,AyuntamientoMadrid/participacion,AyuntamientoMadrid/participacion,consul/consul,deivid-rodriguez/participacion,lalibertad/consul,CDJ11/CDJ,AyuntamientoPuertoReal/decidePuertoReal,AyuntamientoMadrid/consul,usabi/consul_san_borondon,l... |
e216ff40c70e2b9dbb28b84b3d531a959018592f | app/views/tasks/taskables/image/requests/_request.html.erb | app/views/tasks/taskables/image/requests/_request.html.erb | <div class="text"><%= request.text %></div>
<% if request.completed_by? current_author %>
<%= t 'tasks.taskables.images.responses.already_uploaded' %>
<div class="answer">
<% request.responses.by(current_user).each do |response| %>
<%= image_tag response.image %>
<% end %>
</div>
<% else %>
<div ... | <div class="text"><%= request.text %></div>
<% if request.completed_by? current_author %>
<%= t 'tasks.taskables.images.responses.already_uploaded' %>
<div class="response">
<% request.responses.by(current_user).each do |response| %>
<%= image_tag response.image %>
<% end %>
</div>
<% else %>
<di... | Revise class names for image requests | Revise class names for image requests
| HTML+ERB | mit | hyperoslo/tasuku,hyperoslo/tasuku,hyperoslo/tasuku |
21b4e1c8969352331259fa14c76211f4a79fa71e | core/app/views/spree/admin/tax_settings/edit.html.erb | core/app/views/spree/admin/tax_settings/edit.html.erb | <%= render :partial => 'spree/admin/shared/configuration_menu' %>
<% content_for :page_title do %>
<%= t(:tax_settings) %>
<% end %>
<%= form_tag admin_tax_settings_path, :method => :put do %>
<div data-hook="shipment_vat" class="field align-center">
<%= check_box_tag 'preferences[shipment_inc_vat]', '1', Sp... | <%= render :partial => 'spree/admin/shared/configuration_menu' %>
<% content_for :page_title do %>
<%= t(:tax_settings) %>
<% end %>
<%= form_tag admin_tax_settings_path, :method => :put do %>
<div data-hook="shipment_vat" class="field align-center">
<%= hidden_field_tag 'preferences[shipment_inc_vat]', '0' %... | Fix The action 'show' could not be found for Spree::Admin::TaxSettingsController | Fix The action 'show' could not be found for Spree::Admin::TaxSettingsController
Fixes #2368
| HTML+ERB | bsd-3-clause | lzcabrera/spree-1-3-stable,lzcabrera/spree-1-3-stable,lzcabrera/spree-1-3-stable |
9d2773f8f7b739c9c4020d8a4f158636b18e36a1 | plugins/orders_cycle/views/orders_cycle_plugin_order/edit.html.erb | plugins/orders_cycle/views/orders_cycle_plugin_order/edit.html.erb | <div id="order-page" class="orders page cycle-view">
<%= render 'orders_cycle_plugin_cycle/view_header', :cycle => @cycle %>
<%= render 'orders_cycle_plugin_cycle/view_products', :cycle => @cycle, :order => @order %>
<div id="order-column">
<%= render 'consumer_orders' %>
</div>
<%= javascript_include... | <div id="order-page" class="orders page cycle-view">
<%= render 'orders_cycle_plugin_cycle/view_header', :cycle => @cycle %>
<%= render 'orders_cycle_plugin_cycle/view_products', :cycle => @cycle, :order => @order %>
<div id="order-column">
<%= render 'consumer_orders' %>
</div>
<%= javascript_include... | Add offset with height of topbar to waypoint on orders | Add offset with height of topbar to waypoint on orders
| HTML+ERB | agpl-3.0 | CIRANDAS/noosfero-ecosol,EcoAlternative/noosfero-ecosol,blogoosfero/noosfero,samasti/noosfero,blogoosfero/noosfero,blogoosfero/noosfero,coletivoEITA/noosfero-ecosol,coletivoEITA/noosfero-ecosol,coletivoEITA/noosfero-ecosol,samasti/noosfero,coletivoEITA/noosfero-ecosol,blogoosfero/noosfero,EcoAlternative/noosfero-ecosol... |
300bf970b03044697af01d40d524995a1445c5b2 | 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... |
# Controlling permissions with Teams
Enabling Teams for your organisations gives you fine grained control over the permissions for each of your pipelines.
- must be in a team to create a pipeline (everyone starts in the everyone team)
- default teams for new users (the 'automatically add users to this team' checlb... | Add more detail and FAQs | Add more detail and FAQs
| HTML+ERB | mit | buildkite/docs,buildkite/docs,buildkite/docs,buildkite/docs |
ca4e82d99486a45f4f4d5df8c5c163b6fbe06e15 | templates/logrotate-vhosts.erb | templates/logrotate-vhosts.erb | ### File managed with puppet ###
<% if scope.lookupvar('::servername') -%>
# Served by: '<%= scope.lookupvar('::servername') %>'
<% end -%>
# Module: '<%= @module_name %>'
# Template source: 'MODULES<%= template_source.gsub(Regexp.new("^#{Puppet::Node::Environment.current[:modulepath].gsub(':','|')}")... | ### File managed with puppet ###
<% if scope.lookupvar('::servername') -%>
# Served by: '<%= scope.lookupvar('::servername') %>'
<% end -%>
# Module: '<%= @module_name %>'
# Template source: 'MODULES<%= template_source.gsub(Regexp.new("^#{Puppet::Node::Environment.current[:modulepath].gsub(':','|')}")... | Make reload command optional in logrotate template | Make reload command optional in logrotate template
| HTML+ERB | apache-2.0 | Inuits/puppet-apache,vStone/puppet-apache |
a5bd8c4c57666b25c19059d60c1345c8d113065b | modules/govuk/templates/app_upstart.conf.erb | modules/govuk/templates/app_upstart.conf.erb | description "GOV.UK application: <%= title %>"
# ideally we'd use the "manual" stanza to disable job startup in
# development, but this stanza was only added in upstart 0.6.7 and
# lucid runs upstart 0.6.5.
<%- if @enable_service -%>
start on runlevel [2345]
<%- end -%>
stop on runlevel [!2345]
respawn
# If the app ... | description "GOV.UK application: <%= title %>"
# ideally we'd use the "manual" stanza to disable job startup in
# development, but this stanza was only added in upstart 0.6.7 and
# lucid runs upstart 0.6.5.
<%- if @enable_service -%>
start on runlevel [2345]
<%- end -%>
stop on runlevel [!2345]
respawn
# If the app ... | Make sure UNICORNHERDER is set | Make sure UNICORNHERDER is set
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
92c9ad4e1b698b05581c302471d3e9dd489fc7c4 | app/views/layouts/_admin_header.html.erb | app/views/layouts/_admin_header.html.erb | <header class="header">
<div class="top-links">
<div class="expanded row">
<%= render 'shared/locale_switcher' %>
</div>
</div>
<div class="expanded row">
<div class="top-bar">
<span data-responsive-toggle="responsive_menu" data-hide-for="medium" class="float-right">
<span class=... | <header class="header">
<div class="top-links">
<div class="expanded row">
<%= render 'shared/locale_switcher' %>
</div>
</div>
<div class="expanded row">
<div class="top-bar">
<span data-responsive-toggle="responsive_menu" data-hide-for="medium" class="float-right">
<span class=... | Add Notifications partial to admin menu | Add Notifications partial to admin menu
| HTML+ERB | agpl-3.0 | AjuntamentdeCastello/consul,consul/consul,AjuntamentdeCastello/consul,CDJ11/CDJ,lalibertad/consul,AjuntamentdeCastello/consul,deivid-rodriguez/participacion,consul/consul,AyuntamientoMadrid/participacion,usabi/consul_san_borondon,consul/consul,AyuntamientoPuertoReal/decidePuertoReal,AyuntamientoMadrid/consul,consul/con... |
ca20735a1f6740a219cae9424ebdc2eb6fb2f209 | app/views/schools/alerts/_alert.html.erb | app/views/schools/alerts/_alert.html.erb | <div class="alert text-white <%= class_for_alert_rating(alert.data['rating']) %>" role="alert">
<div class="row justify-content-between">
<div class="col-11">
<h4><%= fa_icon alert_icon(alert) %> <%= alert.summary %></h4>
</div>
<div class="col-1">
<%= link_to 'Find out more', school_alert_pat... | <div class="alert text-white <%= class_for_alert_rating(alert.data['rating']) %>" role="alert">
<div class="row justify-content-between">
<div class="col-10">
<h4><%= fa_icon alert_icon(alert) %> <%= alert.summary %></h4>
</div>
<div class="col-2">
<%= link_to 'Find out more', school_alert_pat... | Fix rendering for broken alerts | Fix rendering for broken alerts
| HTML+ERB | mit | BathHacked/energy-sparks,BathHacked/energy-sparks,BathHacked/energy-sparks,BathHacked/energy-sparks |
bfcb1193ab3aa31a56196d5165bbc69b2ad8e517 | app/views/api/playground.html.erb | app/views/api/playground.html.erb | <h1>API Playground</h1>
<script>
var endpoints = <%=
endpoints.map do |endpoint|
app = endpoint.options[:app].to_s
unless app.blank?
endpoint.routes.map do |route|
{
method: route.route_method,
path: route.route_path.gsub(':version', route.route_version).split('(').first
}
end
... | <h1>API Playground</h1>
<script>
var endpoints = <%=
endpoints.map do |endpoint|
app = endpoint.options[:app].to_s
unless app.blank?
endpoint.routes.map do |route|
{
method: route.route_method,
path: route.route_path.gsub(':version', route.route_version).split('(').first
}
end
... | Sort API endpoints for playground | Sort API endpoints for playground
| HTML+ERB | agpl-3.0 | samasti/noosfero,vfcosta/noosfero,hebertdougl/noosfero,hebertdougl/noosfero,macartur/noosfero,alexandreab/noosfero,alexandreab/noosfero,larissa/noosfero,arthurmde/noosfero,blogoosfero/noosfero,evandrojr/noosfero,LuisBelo/tccnoosfero,EcoAlternative/noosfero-ecosol,marcosronaldo/noosfero,evandrojr/noosferogov,LuisBelo/tc... |
eceb16ec04b92497b511d35c5bdd2936971bb131 | app/views/questions/show.html.erb | app/views/questions/show.html.erb | <div class='container'>
<p class = "type_titles" >Question :</p>
<div class = "question_main" >
<%= render partial: "questions/show.html.erb", locals: {question: @question} %>
<%= render template: "comments/show.html.erb", locals: { comments: @question.comments } %>
<% if logged_in? %>
... | <div class='container'>
<p class = "type_titles" >Question :</p>
<div class = "question_main" >
<%= render partial: "questions/show.html.erb", locals: {question: @question} %>
<%= render template: "comments/show.html.erb", locals: { comments: @question.comments } %>
<% if logged_in? %>
... | Remove unnecesssary div from questions show view. | Remove unnecesssary div from questions show view.
| HTML+ERB | mit | kahdojay/dbc-overflow,PeterJahnes/dbc-overflow,kahdojay/dbc-overflow,kahdojay/dbc-overflow,PeterJahnes/dbc-overflow,PeterJahnes/dbc-overflow |
d310f9ee5b9278a7ed11385dca53cef54a49a74f | app/views/spree/products/_wishlist_form.html.erb | app/views/spree/products/_wishlist_form.html.erb | <% if current_user %>
<div id="wishlist-form">
<%= form_for Spree::WishedProduct.new do |f| %>
<%= f.hidden_field :variant_id, :value => @product.master.id %>
<button type="submit" class="large primary">
<%= image_tag(asset_path 'icons/add-to-cart.png') + t(:add_to_wishlist) %>
</button>... | <% if current_user %>
<div id="wishlist-form">
<%= form_for Spree::WishedProduct.new do |f| %>
<%= f.hidden_field :variant_id, :value => @product.master.id %>
<button type="submit" class="large primary">
<%= t(:add_to_wishlist) %>
</button>
<% end %>
</div>
<% end %>
| Remove add to cart icon from wishlist button. | Remove add to cart icon from wishlist button.
| HTML+ERB | bsd-3-clause | bibisreebi/spree_wishlist,nishant-cyro/spree_wishlist,anthonyto/spree_wishlist,mcsweeneys/solidus_wishlist,nishant-cyro/spree_wishlist,mcsweeneys/solidus_wishlist,deseretbook/solidus_wishlist,deseretbook/solidus_wishlist,spree-contrib/spree_wishlist,mcsweeneys/solidus_wishlist,bibisreebi/spree_wishlist,nishant-cyro/spr... |
40310056e48dac21a6ac87de37cd10a1bdb9740f | app/views/topics/new.erb | app/views/topics/new.erb | <h1><%= I18n.t("forums.new_topic") %></h1>
<% unless @topic.errors.empty? %>
<div class="flash alert">
<p><%= I18n.t("general.errors_occured") %></p>
<ul>
<% @topic.errors.messages.each do |key, msg| %>
<li><%= key %>: <%= msg %></li>
<% end %>
</ul>
</div>
<% end %>
<% form_for @topic, url(:topic... | <h1><%= I18n.t("forums.new_topic") %></h1>
<% unless @topic.errors.empty? %>
<div class="flash alert">
<p><%= I18n.t("general.errors_occured") %></p>
<ul>
<% @topic.errors.messages.each do |key, msg| %>
<li><%= key %>: <%= msg %></li>
<% end %>
</ul>
</div>
<% end %>
<% form_for @topic, url(:topic... | Allow selection of markup language on posting | Allow selection of markup language on posting
| HTML+ERB | agpl-3.0 | Quintus/chessboard,Quintus/chessboard,Quintus/chessboard,Quintus/chessboard |
f73c0a700a3a3cd5d5088a1d8439fe66720cb1f2 | app/views/shared/_social_media_meta_tags.html.erb | app/views/shared/_social_media_meta_tags.html.erb | <!-- Twitter -->
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@consul_dev" />
<meta name="twitter:title" content="<%= social_title %>" />
<meta name="twitter:description" content="<%= social_description %>" />
<meta name="twitter:image" content="<%= image_url image_path_for('social-... | <!-- Twitter -->
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@consul_dev" />
<meta name="twitter:title" content="<%= social_title %>" />
<meta name="twitter:description" content="<%= social_description %>" />
<meta name="twitter:image" content="<%= image_url local_assigns[:twitter_... | Allow social image tags to be overwritten with partial params | Allow social image tags to be overwritten with partial params
| HTML+ERB | agpl-3.0 | AjuntamentdeCastello/consul,deivid-rodriguez/participacion,AyuntamientoMadrid/consul,usabi/consul_san_borondon,votedevin/consul,AyuntamientoMadrid/participacion,artofhuman/consul,AyuntamientoMadrid/consul,AjuntamentdeCastello/consul,deivid-rodriguez/participacion,artofhuman/consul,AyuntamientoMadrid/participacion,consu... |
2973cd989fde9f4d77869a50be255978ada9f2fb | app/views/ads/_no_results.html.erb | app/views/ads/_no_results.html.erb | <div class="no_results">
<h2><%= t('nlt.no_results.title') %></h2>
<h3><%= t('nlt.no_results.subtitle') %></h3>
<p>
<%= t('nlt.no_results.first_to_publish_html',
publish: link_to(t('nlt.no_results.publish_ad'), new_ad_path)) %>
</p>
<p>
<%= t('nlt.no_results.switch_to_bigger_city') %>
</... | <div class="no_results">
<h2><%= t('nlt.no_results.title') %></h2>
<h3><%= t('nlt.no_results.subtitle') %></h3>
<p>
<%= t('nlt.no_results.first_to_publish_html',
publish: link_to(t('nlt.no_results.publish_ad'), new_ad_path)) %>
</p>
<p>
<%= t('nlt.no_results.switch_to_bigger_city') %>
</... | Fix change location link in no results page | Fix change location link in no results page
And only show it when there's a suggestion.
| HTML+ERB | agpl-3.0 | alabs/nolotiro.org,alabs/nolotiro.org,alabs/nolotiro.org,alabs/nolotiro.org |
3f2ffde70db757386875e05a133512158f724723 | 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>Related Items</th>
<th>Relatedness Done?</th>
<th>Publisher</th>
<th>Slug</th>
</tr>
</thead>
<tbody>
<% @artefacts.each do |artefact| %>
<tr>
... | <h2>Everything We Have</h2>
<table id="solution-list" border="2">
<thead>
<tr>
<th>Title</th>
<th>Section</th>
<th>Related Items</th>
<th>Relatedness Done?</th>
<th>App</th>
<th>Slug</th>
</tr>
</thead>
<tbody>
<% @artefacts.each do |artefact| %>
<tr>
<td><... | Change the yes/no column to show the owning app | Change the yes/no column to show the owning app
| HTML+ERB | mit | theodi/panopticon,alphagov/panopticon,alphagov/panopticon,alphagov/panopticon,theodi/panopticon,alphagov/panopticon,theodi/panopticon,theodi/panopticon |
632cb12926f6ca4132ca4e918d785e8f1977cd91 | app/views/collection/show.html.erb | app/views/collection/show.html.erb | <h1>Buy or Not?</h1>
<section class="whoami">
You are signed in as <%= current_user.username %>. <%= link_to "Sign out", signout_path, method: :delete %>
</section>
<section class="collection-sync">
<span class="sync-stats">You have not synced your discogs collection.</span>
<button id='sync-collection'>Sync now<... | <h1>Buy or Not?</h1>
<section class="whoami">
You are signed in as <%= current_user.username %>. <%= link_to "Sign out", signout_path, method: :delete %>
</section>
<section class="collection-sync">
<span class="sync-stats">You have not synced your discogs collection.</span>
<button id='sync-collection'>Sync now<... | Add a search box (that does nothing yet) | Add a search box (that does nothing yet)
| HTML+ERB | mit | carols10cents/buy-or-not,carols10cents/buy-or-not,carols10cents/buy-or-not |
f70c6b36ed4bdd8070228995f1a93530d722dd05 | app/views/shared/_contact.html.erb | app/views/shared/_contact.html.erb | <div class="contact">
<div class="l-constrained">
<section class="contact__container">
<h2 class="contact__heading"><%= t('home.show.contact.title') %></h2>
<p class="contact__text"><%= t('home.show.contact.introduction') %></p>
</section>
<section class="contact__container contact__container... | <div class="contact">
<div class="l-constrained">
<div class="contact__container">
<h2 class="contact__heading"><%= t('home.show.contact.title') %></h2>
<p class="contact__text"><%= t('home.show.contact.introduction') %></p>
</div>
<div class="contact__container contact__container--bubble">
... | Add call_us yml key to HTML | Add call_us yml key to HTML
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
6bd2464377bea9122f49033be032da8bf19841d7 | templates/custom_packages.erb | templates/custom_packages.erb | <% if @build == 'master' -%>
https://s3-us-west-2.amazonaws.com/education-packages/gitea-1.0-1.x86_64.rpm
<% end -%>
https://s3-us-west-2.amazonaws.com/education-packages/google-droid-sans-mono-1.0-1.x86_64.rpm | <% if @build == 'master' -%>
https://s3-us-west-2.amazonaws.com/education-packages/gitea-1.1.3-0.x86_64.rpm
<% end -%>
https://s3-us-west-2.amazonaws.com/education-packages/google-droid-sans-mono-1.0-1.x86_64.rpm
| Update to new gitea package name | Update to new gitea package name
| HTML+ERB | apache-2.0 | binford2k/pltraining-bootstrap,kjhenner/pltraining-bootstrap,binford2k/pltraining-bootstrap,kjhenner/pltraining-bootstrap,binford2k/pltraining-bootstrap,puppetlabs/pltraining-bootstrap,puppetlabs/pltraining-bootstrap,puppetlabs/pltraining-bootstrap,kjhenner/pltraining-bootstrap |
64b3c92f884b42836a37e215fefc809aa7f0db3d | templates/keepalived.vrrp.erb | templates/keepalived.vrrp.erb | #
# VRRP configuration file for keepalived
#
vrrp_instance <%= @instance %> {
interface <%= @interface %> # multicast communication link
<% if @mcastsrc != '' -%>
mcast_src_ip <%= @mcastsrc %> # multicast source ip address
<% end -%>
state <%= @state %> # MASTER or BACKUP
virtual_router_id <%= @routerid %>
<% if ... | #
# VRRP configuration file for keepalived
#
vrrp_instance <%= @instance %> {
interface <%= @interface %> # multicast communication link
<% if @mcastsrc != '' -%>
mcast_src_ip <%= @mcastsrc %> # multicast source ip address
<% end -%>
state <%= @state %> # MASTER or BACKUP
virtual_router_id <%= @routerid %>
<% if ... | Truncate long passwords to stay within the eight character limit. | Truncate long passwords to stay within the eight character limit.
| HTML+ERB | agpl-3.0 | purpleidea/puppet-keepalived,purpleidea/puppet-keepalived,purpleidea/puppet-keepalived |
f49eb56ef23a89456ea5dc1acfd93a2e04a3ce51 | app/views/taxons/index.html.erb | app/views/taxons/index.html.erb | <%= header "Alpha 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>Slug</th>
<th></th>
<th></th>
</tr>
<% @taxons.each do |taxon| %>
<tr>
<td><%= taxon['title'] %></td>
<t... | <%= header "Alpha 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>Slug</th>
<th></th>
<th></th>
</tr>
<% @taxons.each do |taxon| %>
<tr>
<td><%= taxon['title'] %></td>
<t... | Add a working hyperlink to the taxon index | Add a working hyperlink to the taxon index
| HTML+ERB | mit | alphagov/content-tagger,alphagov/content-tagger,alphagov/content-tagger |
9b01f56477eac00f461b2be8b09e0389a20417d2 | app/views/tracks/_form.html.erb | app/views/tracks/_form.html.erb | <%= currently_at 'Projects' %>
<%= form_for([@project, @track]) do |f| %>
<%= render partial: 'shared/errors', locals: { attribute: @track } %>
<fieldset>
<ol>
<li>
<%= f.label :title %>
<%= f.text_field :title %>
</li>
<li>
<%= f.label :description %>
<%= f.te... | <%= currently_at 'Projects' %>
<%= form_for([@project, @track]) do |f| %>
<%= render partial: 'shared/errors', locals: { attribute: @track } %>
<fieldset>
<ol>
<li>
<%= f.label :title %>
<%= f.text_field :title %>
</li>
<li>
<%= f.label :description %>
<%= f.te... | Set default values for track category (feature) and status (open) when creating new track | Set default values for track category (feature) and status (open) when creating new track
| HTML+ERB | mit | sugaryourcoffee/apptrack,sugaryourcoffee/apptrack,sugaryourcoffee/apptrack |
c9cce0ab017b2fab70a4b08f3be1d3b5d8179948 | lib/smart_answer_flows/calculate-agricultural-holiday-entitlement/questions/how_many_total_days.govspeak.erb | lib/smart_answer_flows/calculate-agricultural-holiday-entitlement/questions/how_many_total_days.govspeak.erb | <% content_for :title do %>
How many days will you have worked between 1 October (the start of the leave year) and the start of your holiday?
<% end %>
<% content_for :hint do %>
This includes any days that you worked basic hours, took annual leave or were off sick (whether paid or not).
<% end %>
<% content_for... | <% content_for :title do %>
How many days will you have worked between 1 October (the start of the leave year) and the start of your holiday?
<% end %>
<% content_for :hint do %>
This includes any days that you worked basic hours, took annual leave or were off sick (whether paid or not).
<% end %>
<% content_for... | Use ERB tag to interpolate value in template | Use ERB tag to interpolate value in template
This was not dealt with automatically by the conversion script.
| HTML+ERB | mit | stwalsh/smart-answers,alphagov/smart-answers,alphagov/smart-answers,stwalsh/smart-answers,aledelcueto/smart-answers,stwalsh/smart-answers,aledelcueto/smart-answers,stwalsh/smart-answers,aledelcueto/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
3bf91efd2d467a8758b24f6c441292e21921bd33 | app/views/admin/speeches/_delivered_by_fields.html.erb | app/views/admin/speeches/_delivered_by_fields.html.erb | <div class="role_appointment">
<%= form.label :role_appointment_id, 'Speaker' %>
<%= form.select :role_appointment_id, options_from_collection_for_select(role_appointment_options, :first, :last, edition.role_appointment_id), { include_blank: true }, class: 'chzn-select', data: { placeholder: "Choose a person..." } ... | <div class="role_appointment">
<%= form.label :role_appointment_id, 'Speaker' %>
<%= form.select :role_appointment_id, options_from_collection_for_select(role_appointment_options, :first, :last, edition.role_appointment_id), { include_blank: true }, class: 'chzn-select', data: { placeholder: "Choose a person..." } ... | Update speaker copy to read - Speaker does not have a profile on GOV.UK (eg the Queen) | Update speaker copy to read -
Speaker does not have a profile on GOV.UK (eg the Queen)
https://www.pivotaltracker.com/story/show/61274508
| HTML+ERB | mit | YOTOV-LIMITED/whitehall,robinwhittleton/whitehall,alphagov/whitehall,askl56/whitehall,ggoral/whitehall,askl56/whitehall,hotvulcan/whitehall,YOTOV-LIMITED/whitehall,ggoral/whitehall,ggoral/whitehall,ggoral/whitehall,askl56/whitehall,alphagov/whitehall,hotvulcan/whitehall,robinwhittleton/whitehall,robinwhittleton/whiteha... |
fa201ff4ccfabe739a50e2f74a0b84e4da2995ba | app/views/static_pages/galleries/pax-prime-2010/_p3.html.erb | app/views/static_pages/galleries/pax-prime-2010/_p3.html.erb | <h2>Seattle</h2>
<p>I also spent some time outside of the convention center, exploring Seattle.</p>
<%= project_image("photos/pax-prime-2010/426.JPG") %>
<%= project_image("photos/pax-prime-2010/461.JPG") %>
<%= project_image("photos/pax-prime-2010/462.JPG") %>
<%= project_image("photos/pax-prime-2010/468.JPG") %>
<%... | <h2>Seattle</h2>
<p>I also spent some time outside of the convention center, exploring Seattle.</p>
<%= project_image("photos/pax-prime-2010/426.JPG") %>
<%= project_image("photos/pax-prime-2010/461.JPG") %>
<%= project_image("photos/pax-prime-2010/462.JPG", caption: "Seattle Public Library (Central)") %>
<%= project... | Add captions to some PAX Prime 2010 photos | Add captions to some PAX Prime 2010 photos
| HTML+ERB | mit | bogardpd/portfolio,bogardpd/portfolio,bogardpd/portfolio |
c40900c8f2e9c903c5f24d68abdc3a505a2fb90b | app/views/virtual_conferences/show.html.erb | app/views/virtual_conferences/show.html.erb | <% content_for :title, "2020 Virtual Confernece" %>
<div id="content-wrapper">
<div id="single-column-wrapper">
<div id="content">
<div id="module-title">
<div id="module-title-wrapper">
<h1>College STAR Virtual Conference</h1>
<h2>Preparing students who learn differently for col... | <% content_for :title, "2020 Virtual Confernece" %>
<div id="content-wrapper">
<div id="single-column-wrapper">
<div id="content">
<div id="module-title">
<div id="module-title-wrapper">
<h1>College STAR Virtual Conference</h1>
<h2>Preparing students who learn differently for col... | Remove registration from conference show page | Remove registration from conference show page
| HTML+ERB | mit | CollegeSTAR/collegestar_org,CollegeSTAR/collegestar_org,CollegeSTAR/collegestar_org |
de10ed88f0a23f42ff8d727f398f2019501f8051 | app/views/repos/_repo.html.erb | app/views/repos/_repo.html.erb | <li>
<span class="badge badge-info" data-toggle="tooltip" title="<%= repo.issues_count %> Issues"><%= repo.issues_count %></span>
<h4>
<%= link_to repo.name, repo %>
<%= " <small>(#{repo.full_name})</small> ".html_safe if repo.full_name.present? %>
</h4>
<p><%= raw repo.description %></p>
</li>
| <li>
<span class="label label-info" data-toggle="tooltip" title="<%= repo.issues_count %> Issues"><%= repo.issues_count %></span>
<h4>
<%= link_to repo.name, repo %>
<%= " <small>(#{repo.full_name})</small> ".html_safe if repo.full_name.present? %>
</h4>
<p><%= raw repo.description %></p>
</li>
| Change badges to labels on repo issue counts | Change badges to labels on repo issue counts
Bootstrap badges don't support counts over 999 and we're starting to see counts
higher than that. This commit makes sure we're using labels instead which has
all the support we need.
| HTML+ERB | mit | hone/codetriage,cheerfulstoic/codetriage,cheerfulstoic/codetriage,hone/codetriage,VishvajitP/codetriage,emilyforst/codetriage,rvasqz86/codetriage,avirajkhare00/codetriage,maclover7/codetriage,rvasqz86/codetriage,codetriage/codetriage,ferdinandrosario/codetriage,ven0226/codetriage,ngpestelos/codetriage,igas/codetriage,o... |
25c3191ed87d61da11beed6fe2b5d03e125da44c | app/views/users/index.html.erb | app/views/users/index.html.erb | <h1>All users</h1>
<%= will_paginate %>
<ul class="users">
<%= render @users %>
<% if current_user.admin? %>
| <%= link_to "delete", @user, :method => :delete, :confirm => "Are you sure?",
:title => "Delete #{@user.name}" %>
<% end %>
</ul>
<%= will_paginate %> | <h1>All users</h1>
<%= will_paginate %>
<ul class="users">
<%= render @users %>
<% if current_user.admin? && !current_user?(user) %>
| <%= link_to "delete", user, method: :delete,
data: { confirm: "Are you sure?", title: "Delete #{user.name}" } %>
<% end %>
</ul>
<%= will_paginate %> | Fix delete bouton in index user | Fix delete bouton in index user
| HTML+ERB | mit | rubyonrails-tutorial/minblog,rubyonrails-tutorial/minblog,rubyonrails-tutorial/minblog |
0936f2141402d142519e884a9a7fc902f59298e9 | app/views/votes/_vote.html.erb | app/views/votes/_vote.html.erb | <div class="vote-count row-centered">
<% if post.has_voted?(current_user) %>
<div class="warning">
<span class="glyphicon glyphicon-chevron-up"></span><br/>
<span><%= post.votes.count %></span><br>
<span class="small">votes</span>
</div>
<% else %>
<%= link_to vote_post_path(post), met... | <div class="vote-count row-centered">
<% if current_user %>
<% if post.has_voted?(current_user) %>
<div class="warning">
<span class="glyphicon glyphicon-chevron-up"></span><br/>
<span><%= post.votes.count %></span><br>
<span class="small">votes</span>
</div>
<% else %>
... | Fix votes when user is not logged in | Fix votes when user is not logged in
| HTML+ERB | mit | PowerCodeGirls/RubyGameDev.com,ruby-rcade/RubyGameDev.com,PowerCodeGirls/RubyGameDev.com,RailsGEnthusiasts/RubyGameDev.com,PowerCodeGirls/RubyGameDev.com,ruby-rcade/RubyGameDev.com,RailsGEnthusiasts/RubyGameDev.com,ruby-rcade/RubyGameDev.com,RailsGEnthusiasts/RubyGameDev.com |
47d8b6355008cb99c17e187a2ac680e0737d1933 | app/views/events/_form_field_scripts.html.erb | app/views/events/_form_field_scripts.html.erb | <script type="application/javascript">
$(document).ready(function () {
var inPersonField = $("#in_person")
// check value - if checked then
if (inPersonField.is(":checked")) {
$("#attendance_policy_div").show();
$("#tee_shirt_online").hide();
} else {
... | <script type="application/javascript">
$(document).ready(function () {
var inPersonField = $("#event_in_person")
// check value - if checked then
if (inPersonField.is(":checked")) {
$("#attendance_policy_div").show();
$("#tee_shirt_online").hide();
} else {
... | Fix id on the in person | Fix id on the in person
| HTML+ERB | mit | 10000-Lakes-Gaming/registration,10000-Lakes-Gaming/registration,10000-Lakes-Gaming/registration,10000-Lakes-Gaming/registration |
d0275267c6b1f1f2fcb79e1b5fdc8161371eaf0b | vagrant_base/travis_build_environment/templates/default/etc/hosts.erb | vagrant_base/travis_build_environment/templates/default/etc/hosts.erb | 127.0.0.1 localhost
127.0.1.1 lucid32
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
# put Varnish in front of rubygems.org
<% node.travis_build_environment.hosts.each do |... | <%
hostname_to_set = case [node[:platform], node[:platform_version]]
when ["ubuntu", "10.04"] then
"lucid32"
when ["ubuntu", "11.04"] then
"natty32"
end
%>
127.0.0.1 localhost
127.0.1.1 <%= hostname_to_set %>
# T... | Choose hostname based on distro version used | Choose hostname based on distro version used
| HTML+ERB | mit | DanielG/travis-cookbooks,tianon/travis-cookbooks,Zarthus/travis-cookbooks,travis-ci/travis-cookbooks,DanielG/travis-cookbooks,chef/travis-cookbooks,DanielG/travis-cookbooks,ardock/travis-cookbooks,alex/travis-cookbooks,dracos/travis-cookbooks,Acidburn0zzz/travis-cookbooks,0xCCD/travis-cookbooks,Distelli/travis-cookbook... |
f18e267b2b7b906fcf419a691fa3ecb884817f5f | jobs/postgresql/templates/postgresql.conf.erb | jobs/postgresql/templates/postgresql.conf.erb | listen_addresses = '<%= p("postgresql.listen_host") %>'
port = <%= p("postgresql.listen_port") %>
max_connections = <%= p("postgresql.max_connections") %>
external_pid_file = '/var/vcap/sys/run/postgresql/postgresql.pid'
authentication_timeout = 1min
shared_buffers = 128MB
temp_buffers = 8MB
max_files_per_process = 1... | listen_addresses = '<%= p("postgresql.listen_host") %>'
port = <%= p("postgresql.listen_port") %>
max_connections = <%= p("postgresql.max_connections") %>
external_pid_file = '/var/vcap/sys/run/postgresql/postgresql.pid'
authentication_timeout = 1min
shared_buffers = 128MB
temp_buffers = 8MB
max_files_per_process = 1... | Remove pretty printing of postgres logs | Remove pretty printing of postgres logs
| HTML+ERB | apache-2.0 | CloudCredo/concourse,sedouard/concourse,concourse/concourse,jbayer/concourse,Amit-PivotalLabs/concourse,holgero/concourse,concourse/concourse,concourse/concourse,holgero/concourse,cjcjameson/concourse,CloudCredo/concourse,sedouard/concourse,zachgersh/concourse,beni55/concourse,Amit-PivotalLabs/concourse,zachgersh/conco... |
4e64f526e7f30caf5ad6f382f8ac4d7d6a0944f9 | app/views/domains/show.html.erb | app/views/domains/show.html.erb | <div class="row">
<div class="col-md-6">
<h1><%= link_to(@domain.name, "http://#{@domain.name}", target: '_blank') %></h1>
<h2>Traffic Rank: <span class="theme-color"><%= number_with_delimiter(@domain.last_rank.traffic_rank, delimiter: ',') %></span></h2>
<%= form_tag(domains_path, method: 'post', class: ... | <div class="row">
<div class="col-md-6">
<h1><%= link_to(@domain.name, "http://#{@domain.name}", target: '_blank') %></h1>
<h2>Traffic Rank: <span class="theme-color"><%= number_with_delimiter(@domain.last_rank.traffic_rank, delimiter: ',') %></span></h2>
<%= form_tag(domains_path, method: 'post', class: ... | Change traffic rank data to display in reverse chronilogical order. | Change traffic rank data to display in reverse chronilogical order.
| HTML+ERB | mit | Kyle-Dornblaser/Historical-Alexa,Kyle-Dornblaser/Historical-Alexa,Kyle-Dornblaser/Historical-Alexa |
7bdd16bea12d3917890564461cd9bd2981020a2f | app/views/events/_form.html.erb | app/views/events/_form.html.erb | <%= simple_form_for(@event) do |f| %>
<%= render 'shared/error_messages', :object => f.object %>
<%= f.input :name %>
<% unless @event.new_record? %>
<%= f.input :slug %>
<% end %>
<%= f.association :parent %>
<%= f.input :summary, :input_html => { class: 'input-xxlarge editor-html', size: "500x6" } %>... | <%= simple_form_for(@event) do |f| %>
<%= render 'shared/error_messages', :object => f.object %>
<%= f.input :name %>
<% unless @event.new_record? %>
<%= f.input :slug %>
<% end %>
<%= f.association :parent %>
<%= f.input :logo, :as => :file %>
<%= f.input :summary, :input_html => { class: 'input-xxl... | Allow upload of logo (thumbnail for Events) | Allow upload of logo (thumbnail for Events)
| HTML+ERB | mit | devcon-ph/devcon,devcon-ph/devcon,devcon-ph/devcon |
d1779ee29eaa2cde032525ead9404e7a201abb63 | app/views/sessions/new.html.erb | app/views/sessions/new.html.erb | <div class="row">
<div class="col-xs-12">
<div class="jumbotron">
<h1>Campus Codefest Sign in</h1>
<p>Campus Codefest U is an unconference for U of M designers, developers, sysadmins and other interested parties in the University of Minnesota community who want to come together to code for a couple ... | <div class="row">
<div class="col-xs-12">
<div class="jumbotron">
<h1><%= APP_CONFIG["brand"]["site_name"] %> Sign in</h1>
<p><%= APP_CONFIG["brand"]["site_name"] %> is an unconference for designers, developers, sysadmins, analysts, and other interested parties who want to come together to build coo... | Generalize the text in the sign-in jumbotron | Generalize the text in the sign-in jumbotron
Signed-off-by: Max Fierke <0706025b2bbcec1ed8d64822f4eccd96314938d0@maxfierke.com>
| HTML+ERB | mit | campuscodefest/ccf,campuscodefest/ccf,coeventer/ccf,chadfennell/ccf,coeventer/ccf,campuscodefest/ccf,chadfennell/ccf,coeventer/ccf |
849b9188616a2a90023ea4dce287cd4278c0ba4e | app/views/tolk/locales/all.html.erb | app/views/tolk/locales/all.html.erb | <% content_for :locale do %><span class="locale"><%= @locale.name %></span>
<% end %>
<h3><%= link_to 'Missing translations', @locale %> | Existing translations</h3>
<% if @phrases.any? %>
<table class="translations">
<tr>
<th class="key"><%= Tolk::Locale.primary_language_name -%></th>
<th class="tr... | <% content_for :locale do %><span class="locale"><%= @locale.name %></span>
<% end %>
<h3><%= link_to 'Missing translations', @locale %> | Existing translations</h3>
<% if @phrases.any? %>
<table class="translations">
<tr>
<th class="key"><%= Tolk::Locale.primary_language_name -%></th>
<th class="hi... | Fix the markup on /all page | Fix the markup on /all page
| HTML+ERB | mit | beni55/tolk,MyMedsAndMe/tolk,munirent/tolk,MyMedsAndMe/tolk,dhh/tolk,dhh/tolk,joe-bader/tolk,tmp8/tolk,joe-bader/tolk,MyMedsAndMe/tolk,rdunlop/tolk,rdunlop/tolk,10to1/tolk,tmp8/tolk,munirent/tolk,tolk/tolk,10to1/tolk,beni55/tolk,rdunlop/tolk,tolk/tolk,tolk/tolk,beni55/tolk |
fefbdc6e5e030c2a31d52bf8c310199b43ad2b92 | app/views/films/index.html.erb | app/views/films/index.html.erb | <h1>Films</h1>
<% @films.each do |film| %>
<div class="film-container">
<div class="film-data">
<p><%= film.title %></p>
<p><%= film.year %></p>
<p><%= film.director %></p>
<p><%= film.runtime %></p>
<p><%= film.description %></p>
</div>
<div class="film-nav">
<p><%= link_to 'Show', film_path(... | <h1>Films</h1>
<% @films.each do |film| %>
<div class="film-container">
<div class="film-data">
<p><%= film.title %></p>
<p><strong>Year: </strong><%= @film.year %></p>
<p><strong>Directed by:</strong> <%= @film.director %></p>
<p><strong>Runtime:</strong> <%= @film.runtime %></p>
<p><strong>Descript... | Add lables to to film data on films/index view | Add lables to to film data on films/index view
| HTML+ERB | mit | JacobCrofts/wintergarten,JacobCrofts/wintergarten,JacobCrofts/wintergarten |
b90e1e0f4eeb9a2718a9ffa94a93c5f970e81aba | app/views/links/_link.html.erb | app/views/links/_link.html.erb | <li class="link">
<div class="pull-left">
<div class="like">
<%= render partial: 'like_status', locals: { link: link } %>
</div>
<div class="name-and-url">
<div class="name">
<%= link_to link.display_name, link %>
</div>
<div class="url">
<%= link_to link.url, link.... | <li class="link">
<div class="pull-left">
<div class="like">
<%= render partial: 'links/like_status', locals: { link: link } %>
</div>
<div class="name-and-url">
<div class="name">
<%= link_to link.display_name, link %>
</div>
<div class="url">
<%= link_to link.url,... | Add path to like_status partial | Add path to like_status partial
Otherwise, rendering from users#show breaks.
| HTML+ERB | agpl-3.0 | Rootstrikers/vdash,Rootstrikers/vdash |
50e02841f7a37a0b2387107a917f0d5cee098f57 | app/views/shifts/update.js.erb | app/views/shifts/update.js.erb | $('#tooltip').remove();
$('#<%= @shift.start.strftime("%Y-%m-%d") %>').html(
'<%= escape_javascript render partial:
(params[:calendar] ? "calendars/schedule/day" : "shifts/schedule/day"),
object: @shift.start.to_date %>');
// TODO: Figure out how to make this work in jQuery
// page["#shift#{@shift.id}"].visual_ef... | $('#tooltip').remove();
$('#<%= @shift.start.strftime("%Y-%m-%d") %>').html(
'<%= escape_javascript render partial:
(params[:calendar] ? "calendars/schedule/day" : "shifts/schedule/day"),
object: @shift.start.to_date %>');
// TODO: Figure out how to make this work in jQuery
// page["#shift#{@shift.id}"].visual_ef... | Fix enabling tooltip after editing | Fix enabling tooltip after editing
| HTML+ERB | mit | YaleSTC/shifts,YaleSTC/shifts,YaleSTC/shifts |
aa01b0a5eb6eb26ac7d35f760ab00c51ef1081c0 | app/views/users/_form.html.erb | app/views/users/_form.html.erb |
<div class="clearfix">
<%= f.label :email, t("activerecord.attributes.user.email", :default => "Email"), :class => :label %>
<div class="input">
<%= f.text_field :email, :class => 'text_field' %>
</div>
</div>
<div class="clearfix">
<%= f.label :zip, t("activerecord.attributes.user.zip", :default => "Zi... |
<div class="clearfix">
<%= f.label :email, t("activerecord.attributes.user.email", :default => "Email"), :class => :label %>
<div class="input">
<%= f.text_field :email, :class => 'text_field' %>
</div>
</div>
<div class="form-actions">
<button class="btn primary" type="submit">Save</button> or
<%= link... | Remove ZIP from user form, we don't need this information | Remove ZIP from user form, we don't need this information
| HTML+ERB | mit | schneems/codetriage-ko1-test-app,ojengwa/codewarrior,colinrubbert/codetriage,ojengwa/codewarrior,ngpestelos/codetriage,igas/codetriage,avirajkhare00/codetriage,codetriage/codetriage,ojengwa/codewarrior,ven0226/codetriage,avirajkhare00/codetriage,rvasqz86/codetriage,codetriage/codetriage,emilyforst/codetriage,CjayBillon... |
fc0006f392eee0c35d1ce9d4264fd88e5a460b20 | app/views/people/show.html.erb | app/views/people/show.html.erb | <p id="notice"><%= notice %></p>
<p>
<strong>Geburtstag:</strong>
<%= @person.birthday %>
</p>
<%= link_to 'Neuer Eintrag', root_path %>
| <p>
<strong>Geburtstag:</strong>
<%= @person.birthday %>
</p>
<%= link_to 'Neuer Eintrag', root_path %>
| Remove duplicate notice from people/show | Remove duplicate notice from people/show
The view contained a duplicate entry for notices.
| HTML+ERB | mit | stphnrdmr/birthday_paradox,stphnrdmr/birthday_paradox,stphnrdmr/birthday_paradox |
41e0aeb6dadb7025c08b3af9d757eb544b412185 | app/views/repos/_repo.html.erb | app/views/repos/_repo.html.erb | <span class="badge badge-info"><%= repo.issues_count %></span>
<h4>
<%= link_to repo.name, repo %>
<%= " <small>(#{repo.full_name})</small> ".html_safe if repo.full_name.present? %>
</h4>
<p><%= raw repo.description %></p> | <span class="badge badge-info" title="<%= repo.issues_count %> Issues"><%= repo.issues_count %></span>
<h4>
<%= link_to repo.name, repo %>
<%= " <small>(#{repo.full_name})</small> ".html_safe if repo.full_name.present? %>
</h4>
<p><%= raw repo.description %></p> | Add a title to issues counter in repo list | Add a title to issues counter in repo list
A simple number in a bubble is not always easy to know what
is it trying to say. Adding a title could give a tip.
| HTML+ERB | mit | cheerfulstoic/codetriage,ojengwa/codewarrior,rvasqz86/codetriage,ven0226/codetriage,ven0226/codetriage,emilyforst/codetriage,cheerfulstoic/codetriage,ngpestelos/codetriage,colinrubbert/codetriage,codetriage/codetriage,hone/codetriage,colinrubbert/codetriage,CjayBillones/codetriage,avirajkhare00/codetriage,emilyforst/co... |
14635aceee1dce9c03ef9e55161002625926b64f | app/views/users/index.html.erb | app/views/users/index.html.erb | <section id="subheader">
<div class="container">
<div class='row-fluid'>
<div class='span12'>
<h1>People</h1>
<h2>A collection of creative talent from P.R.</h2>
</div>
</div>
</div>
</section>
<section id='content'>
<div class='container'>
<div class='row-fluid'>
... | <section id="subheader">
<div class="container">
<div class='row-fluid'>
<div class='span12'>
<h1>People</h1>
<h2>A collection of creative talent from P.R.</h2>
</div>
</div>
</div>
</section>
<section id='content'>
<div class='container'>
<div class='row-fluid'>
... | Move usercard area to a new partial | Move usercard area to a new partial
| HTML+ERB | mit | SoPR/sopr-platform,SoPR/sopr-platform |
98e95bf783d3d5045a802330f3b7f2f8d6016645 | app/views/languages/show.erb | app/views/languages/show.erb | <h1><%= @language.name %></h1>
<h4><%= @language.code %></h4>
<br>
<% if auth_logged_in? %>
<h6>Other Learners</h6>
<ul>
<% @language.users.each do |learner| %>
<% unless learner == auth_current_user %>
<% if has_language?(@language) %>
<li><a href="/pair/<%= learner.id %>?lang_id=<%= @language.... | <h1><%= @language.name %></h1>
<h4><%= @language.code %></h4>
<br>
<% if auth_logged_in? %>
<h6 class="outlined-text">Other Learners</h6>
<ul>
<% @language.users.each do |learner| %>
<% unless learner == auth_current_user %>
<% if has_language?(@language) %>
<li><a href="/pair/<%= learner.id %>?... | Add outline to Other Learners | Add outline to Other Learners
| HTML+ERB | mit | jbomotti/lp,jbomotti/lp,jbomotti/lp |
923e94eb1477957eac6a41985bc697b310a9c8db | modules/spamassassin/templates/local.cf.erb | modules/spamassassin/templates/local.cf.erb | # This file is being maintained by Puppet.
# DO NOT EDIT
#
###########################################################################
# Save spam messages as a message/rfc822 MIME attachment instead of
# modifying the original message (0: off, 2: use text/plain instead)
#
report_safe <%= @report_safe %>
# S... | # This file is being maintained by Puppet.
# DO NOT EDIT
#
###########################################################################
# Save spam messages as a message/rfc822 MIME attachment instead of
# modifying the original message (0: off, 2: use text/plain instead)
#
report_safe <%= @report_safe %>
# S... | Add some if logic to prevent barfing on empty strings in a loop | Add some if logic to prevent barfing on empty strings in a loop
| HTML+ERB | apache-2.0 | stumped2/infrastructure-puppet,apache/infrastructure-puppet,stumped2/infrastructure-puppet,apache/infrastructure-puppet,bdube/infrastructure-puppet,apache/infrastructure-puppet,stumped2/infrastructure-puppet,apache/infrastructure-puppet,stumped2/infrastructure-puppet,chtyim/infrastructure-puppet,apache/infrastructure-p... |
a8aaea97eecc29e8d663a1f5203a62f9e774ac5f | source/notes/software-tools.md.erb | source/notes/software-tools.md.erb | ---
pageable: true
per_page: 10
layout: layout_book
tags:
tools:
-
name: Nylas N1 Mac e-mail reader
link: https://invite.nylas.com/download/
---
# Software tools
<% current_page.data.tools.each do |item| %>
<a target="_blank" href="<%= item.link %>"><%= item.name %></a><br>
<% end %>
| ---
pageable: true
per_page: 10
layout: layout_book
tags:
tools:
-
name: Nylas N1 Mac e-mail reader
link: https://invite.nylas.com/download/
-
name: MacOSX GUI to `scanimage`
link: https://github.com/fredrikw/Snac
---
# Software tools
<% current_page.data.tools.each do |item| %>
<a target="_blank"... | Add Snac to the list of software tools. | Add Snac to the list of software tools.
| HTML+ERB | bsd-2-clause | wkoszek/me,wkoszek/me,wkoszek/me |
bf14fbaf495ff6aa406ad95aa39ac81fd00549e5 | cookbooks/tile/templates/default/expire-tiles.erb | cookbooks/tile/templates/default/expire-tiles.erb | #!/usr/bin/ruby
# DO NOT EDIT - This file is being maintained by Chef
require 'expire'
tile_dirs = [
<% node[:tile][:styles].each do |name,details| -%>
"/srv/tile.openstreetmap.org/tiles/<%= name %>",
<% end -%>
]
max_zoom = <%= node[:tile][:styles].collect { |n,d| d[:max_zoom] }.max %>
Dir.glob("/var/lib/replic... | #!/usr/bin/ruby
# DO NOT EDIT - This file is being maintained by Chef
require 'expire'
tile_dirs = [
<% node[:tile][:styles].each do |name,details| -%>
"/srv/tile.openstreetmap.org/tiles/<%= name %>",
<% end -%>
]
max_zoom = <%= node[:tile][:styles].collect { |n,d| d[:max_zoom] }.max %>
Dir.glob("/var/lib/replic... | Expire tiles from both osm.gz and osc.gz files | Expire tiles from both osm.gz and osc.gz files | HTML+ERB | apache-2.0 | openstreetmap/chef,openstreetmap/chef,tomhughes/openstreetmap-chef,Firefishy/chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,Firefishy/chef,tomhughes/openstreetmap-chef,Firefishy/chef,Firefishy/chef,tomhughes/openstreetmap-ch... |
8acf3fb42b2948900639aff5a385660718ba0e31 | modules/govuk_jenkins/templates/jobs/dfid_transition_import.yaml.erb | modules/govuk_jenkins/templates/jobs/dfid_transition_import.yaml.erb | ---
- scm:
name: dfid-transition-import
scm:
- git:
url: git@github.com:alphagov/dfid-transition.git
branches:
- master
- job:
name: dfid-transition-import
display-name: DFID Transition Import
project-type: freestyle
description: "This job loads res... | ---
- scm:
name: dfid-transition-import
scm:
- git:
url: git@github.com:alphagov/dfid-transition.git
branches:
- master
- job:
name: dfid-transition-import
display-name: DFID Transition Import
project-type: freestyle
description: "This job loads res... | Move wrapper inject into job properties | Move wrapper inject into job properties
Wasn't working in previous documented position, follow prior art from
.pp's in same dir
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
d40110074615c806cdf16f4cce6b3e8d162ac148 | app/views/answers/new.html.erb | app/views/answers/new.html.erb | <% provide(:url, answers_path(@question)) %>
<% breadcrumb :new_answer, @team, @question %>
<div class="col-md-6" style="border-right: 1px solid black">
<%= render "shared/answer_form" %>
<br></br>
<div id="test-results"></div>
</div>
<div class="col-md-6">
<div class="box box-solid">
<div class="box-hea... | <% provide(:url, url_for(:action => 'create', :controller => 'answers')) %>
<% breadcrumb :new_answer, @team, @question %>
<div class="col-md-6" style="border-right: 1px solid black">
<%= render "shared/answer_form" %>
<br></br>
<div id="test-results"></div>
</div>
<div class="col-md-6">
<div class="box box-... | Fix bug in new answer view | Fix bug in new answer view
| HTML+ERB | mit | rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn |
5eb645a42f6f356dddef5dd5f2df4454c53f2faa | app/views/root/_beta_label.erb | app/views/root/_beta_label.erb | <div class="beta-label">
<span class="beta">beta</span> This part of GOV.UK is being rebuilt - <a href="/help/beta"> find out what this means</a>
</div>
| <div class="beta-label">
<span class="beta">beta</span> This part of GOV.UK is being rebuilt – <a href="/help/beta"> find out what this means</a>
</div>
| Use an en dash in the beta label. | Use an en dash in the beta label.
For consistency with the component from static
<https://github.com/alphagov/static/commit/c8e240491497>.
This is a quick fix, since I don’t have a lot of context around this
partial as compared to the component, so I don't know whether these are
intentionally separate implementations... | HTML+ERB | mit | alphagov/frontend,alphagov/frontend,alphagov/frontend,alphagov/frontend |
ad39e57856b3ec0814dd4be0001e55e0c1b752d2 | app/views/admin/attachments/reorder.html.erb | app/views/admin/attachments/reorder.html.erb | <% content_for :context, attachable.title %>
<% content_for :page_title, "Reorder attachments" %>
<% content_for :title, "Reorder attachments" %>
<% content_for :title_margin_bottom, 6 %>
<% content_for :back_link do %>
<%= render "govuk_publishing_components/components/back_link", {
href: attachable_attachments_... | <% content_for :context, attachable.title %>
<% content_for :page_title, "Reorder attachments" %>
<% content_for :title, "Reorder attachments" %>
<% content_for :title_margin_bottom, 6 %>
<div class="govuk-grid-row">
<section class="govuk-grid-column-two-thirds">
<%= form_tag [:order, :admin, typecast_for_attach... | Replace attachment reorder back button with cancel button | Replace attachment reorder back button with cancel button
In our like for like approach we're using cancel buttons instead of back buttons in the new design system pages
| HTML+ERB | mit | alphagov/whitehall,alphagov/whitehall,alphagov/whitehall,alphagov/whitehall |
abfcf0ad1c03f3bf7506ce9d3a7ecd3b0583ddac | app/views/github_events/_push_event.html.erb | app/views/github_events/_push_event.html.erb | <p class="event-push">
Pushed to <var><%= github_event.payload.ref %></var> on <var><%= github_event.repo.name %></var>
</p>
<% github_event.payload.commits.each do |commit| %>
<blockquote>
<p>
<%= commit.message %>
</p>
</blockquote>
<% end %>
| <p class="event-push">
Pushed to <var><%= github_event.payload.ref %></var> on <var><%= github_event.repo.name %></var>
</p>
<ul>
<% github_event.payload.commits.each do |commit| %>
<li>
<%= commit.message %>
</li>
<% end %>
</ul>
| Use list instead of blockquotes for better spacing | Use list instead of blockquotes for better spacing
| HTML+ERB | mit | ajsharma/monologue,ajsharma/monologue,ajsharma/monologue,ajsharma/monologue |
ff489796c41d858830449fdda123df3366882f68 | app/views/marine/sections/_national.html.erb | app/views/marine/sections/_national.html.erb | <h2 class="header--h2-insights">MPAs within national waters</h2>
<p class="template--marine__section__introduction">
Marine Protected Areas (MPAs) can be created for a variety of purposes in different areas within the global ocean. There is a higher percentage of MPAs established within national waters than in ABNJ ... | <h2 class="header--h2-insights">MPAs within national waters</h2>
<p class="template--marine__section__introduction">
Marine Protected Areas (MPAs) can be created for a variety of purposes in different areas within the global ocean. There is a higher percentage of MPAs established within national waters than in ABNJ ... | Use path helper to link to countries | Use path helper to link to countries
| HTML+ERB | bsd-3-clause | unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet |
a16c688aac3fb3e72cb9aa810b82c3b7c9ae9bdb | app/views/styleguide/shared/_static.html.erb | app/views/styleguide/shared/_static.html.erb | <h3>Caroline Rookes (Chief Executive) </h3>
<p>
<img alt="Caroline_Rookes"
src="https://www.moneyadviceservice.org.uk/images/carolinerookes-ceo-of-the-money-advice-service_130226_120x100.jpg">
Caroline was appointed as Chief Executive of the Money Advice Service on 1
February 2013. During a distinguished c... | Create static partial for article demo | Create static partial for article demo | HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend | |
cc4be63282a49dfea20428527f601cd7c5613b19 | app/views/orders/index.html.erb | app/views/orders/index.html.erb | <!-- This code isn't final. I need to add logic for an order having multiple items, name, etc -->
<% if !current_user.orders.blank? %>
<% current_user.orders.each do |order| %>
<!-- Here you should apply code that will Display the name of the order, clickable link for order details etc -->
order.use... | <!-- This code isn't final. I need to add logic for an order having multiple items, name, etc -->
<% current_user %>
<% if !current_user.orders.blank? %>
<% current_user.orders.each do |order| %>
<!-- Here you should apply code that will Display the name of the order, clickable link for order details et... | Change order show page so it displays the correct information | Change order show page so it displays the correct information
| HTML+ERB | mit | benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop |
a5d149efc3cdcf4af79f10a113862aaaceac3f6a | app/views/sessions/new.html.erb | app/views/sessions/new.html.erb | <% if signed_in? %>
<p>
You currently follow <strong><%= pluralize(@user.friends_count, 'person') %></strong>. Here are some beautiful pictures of your recent friends:
</p>
<ul>
<% @friends.each do |friend| %>
<li><%= image_tag("http://img.tweetimag.es/i/#{friend.screen_name}_m", :alt => friend.name).ht... | <% if signed_in? %>
<p>
You currently follow <strong><%= pluralize(@user.friends_count, 'person') %></strong>. Here are some beautiful pictures of your recent friends:
</p>
<ul>
<% @friends.each do |friend| %>
<li><%= image_tag("http://img.tweetimag.es/i/#{friend.screen_name}_m", :alt => friend.name).ht... | Change list to @codeforamerica/team (i.e. fellows-2011 ∪ staff) | Change list to @codeforamerica/team (i.e. fellows-2011 ∪ staff)
| HTML+ERB | bsd-3-clause | BryanH/follow-all,codeforamerica/follow-all,codeforamerica/follow-all,jasnow/follow-all,jasnow/follow-all,codeforamerica/follow-all,jasnow/follow-all,BryanH/follow-all,BryanH/follow-all |
e6ecb7a0c3e72a20d007585e67a320c3c2a30101 | app/views/spree/shared/_collections.html.erb | app/views/spree/shared/_collections.html.erb | <% if collections.any? %>
<ul id="products" class="inline product-listing" data-hook>
<% collections.each do |collection| %>
<% url = "t/fabric/collection/#{collection.name}" %>
<li id="product_<%= collection.id %>" class="columns three <%= cycle("alpha", "secondary", "", "omega secondary", :name => "classes"... | <% if collections.any? %>
<ul id="products" class="inline product-listing" data-hook>
<% collections.each do |collection| %>
<% url = "t/fabric/collection/#{collection.name}" %>
<li id="product_<%= collection.id %>" class="columns three <%= cycle("alpha", "secondary", "", "omega secondary", :name => "classes"... | Add collections controller and view. | Add collections controller and view.
| HTML+ERB | bsd-3-clause | clomax/spree_cwilt_theme,clomax/spree_cwilt_theme,clomax/spree_cwilt_theme |
4f5015bb38eb9480ae57688d7a2a3b8a74bc0fa1 | lib/views/mail.erb | lib/views/mail.erb | <style>
<%= sass :stylesheet %>
</style>
<link rel="stylesheet" type="text/css" href="stylesheets/github.css" />
<div id="container">
<header>
<h1>Code Review</h1>
</header>
<div class="commit">
<p class="message">
<%= format_commit_message commit["message"] %>
</p>
<div class="meta"... | <style>
<%= sass :stylesheet %>
</style>
<link rel="stylesheet" type="text/css" href="stylesheets/github.css" />
<div id="container">
<header>
<h1>Code Review</h1>
</header>
<div class="commit">
<p class="message"><%= format_commit_message commit["message"] %></p>
<div class="meta">
<div... | Fix a bug that caused excessive whtiespace | Fix a bug that caused excessive whtiespace
| HTML+ERB | mit | hyperoslo/code-review,hyperoslo/code-review |
abbc23fe7040b2a437f7d1569463a0b7f8132beb | app/views/_header.erb | app/views/_header.erb | <nav>
<h1>Ask DBC</h1>
<% if session[:current_user] %>
<a href="/<%= session[:current_user] %>"> Profile</a>
<a href='/signout'>Sign Out</a>
<% else %>
<a href='/auth'>Log in With Google</a>
<% end %>
</nav> | Add Header With Link to Log In with Google | Add Header With Link to Log In with Google
| HTML+ERB | mit | n-zeplo/AskDBC,n-zeplo/AskDBC | |
9f7934905fee4a0771913b70a0f52dd0417d3728 | source/partials/_resources.erb | source/partials/_resources.erb | <ul class="nav nav-stacked">
<li class="nav-header">Resources</li>
<li class="nav-item">
<a href='http://groups.google.com/group/robolectric'>Mailing List</a>
</li>
<li class="nav-item">
<a href='/javadoc/2.4/index.html'>Robolectric 2.4 Javadocs</a>
</li>
<li class="nav-item">
... | <ul class="nav nav-stacked">
<li class="nav-header">Resources</li>
<li class="nav-item">
<a href='http://groups.google.com/group/robolectric'>Mailing List</a>
</li>
<li class="nav-item">
<a href='http://robolectric.blogspot.com/'>Blog</a>
</li>
<li class="nav-item">
<a hr... | Add blob and twitter back to docs. | Add blob and twitter back to docs.
| HTML+ERB | mit | robolectric/robolectric.github.io,robolectric/robolectric.github.io,robolectric/robolectric.github.io,robolectric/robolectric.github.io |
822ca9813c0c84fba283a2e40b5ce9e7e9e3061d | 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"] %>
<%= render "govuk_publishing_components/components/heading", {
text: sub_section["title"],
heading_level: 4,
font_size: "s",
margin_bottom: 4,
} %>
<% end %>
<ul class="covid__list covid__list--accord... | <% section["sub_sections"].each do |sub_section| %>
<% if sub_section["title"] %>
<%= render "govuk_publishing_components/components/heading", {
text: sub_section["title"],
heading_level: 4,
font_size: "s",
margin_bottom: 4,
} %>
<% end %>
<ul class="covid__list covid__list--accord... | Add tracking for accordion links | Add tracking for accordion links
The data-module="track-click" is already applied on the parent therefore is not required here.
| HTML+ERB | mit | alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections |
097862209f5f6ebfedd913df81d71f67db650e21 | source/_comment.html.erb | source/_comment.html.erb | <div class="comment">
<div class="comment-image">
<img src="https://raw.github.com/Magnus-G/Random/master/placeholder_logo_1.png" alt="">
</div>
<div class="comment-content">
<h1>First Comment Title or Author</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Optio, aspernatur, quia mod... | <div class="comment">
<div class="comment-image">
<img src="https://raw.github.com/Magnus-G/Random/master/placeholder_logo_1.png" alt="">
</div>
<div class="comment-content">
<h1>First Comment Title or Author</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Optio, aspernatur, quia mod... | Change closing h2 tag to p tag on comment detail | Change closing h2 tag to p tag on comment detail
This commit changes the closing h2 tag to a closing p tag on the comment
detail section of the comment source.
| HTML+ERB | mit | smithdamen/refills,greyhwndz/refills,DropsOfSerenity/refills,DropsOfSerenity/refills,thoughtbot/refills,greyhwndz/refills,cllns/refills,cllns/refills,greyhwndz/refills,mehdroid/refills,dydx/refills,tranc99/refills,hlogmans/refills,mehdroid/refills,tranc99/refills,smithdamen/refills,smithdamen/refills,dydx/refills,mehdr... |
3c92b6b6342d899823c316a19feda6a2b01b9f9b | lib/adhearsion/generators/app/templates/Gemfile.erb | lib/adhearsion/generators/app/templates/Gemfile.erb | source 'https://rubygems.org'
gem 'adhearsion', '~> <%= Adhearsion::VERSION.split('.')[0,2].join('.') %>'
# Adhearsion depends on the Punchblock library, but here you can specify the major version your application depends on.
# Exercise care when updating the major version, since you might encounter API compatability... | source 'https://rubygems.org'
gem 'adhearsion', '~> <%= Adhearsion::VERSION.split('.')[0,2].join('.') %>'
# Exercise care when updating the Punchblock major version, since Adhearsion
# apps sometimes make use of underlying features from the Punchblock API.
# Occasionally an update of Adhearsion will necessitate an up... | Simplify advice and fit within 80 chars | Simplify advice and fit within 80 chars
| HTML+ERB | mit | kares/adhearsion,adhearsion/adhearsion,adhearsion/adhearsion,renemendoza/adhearsion,cloudvox/adhearsion,adhearsion/adhearsion,adhearsion/adhearsion,cloudvox/adhearsion,kares/adhearsion,renemendoza/adhearsion,cloudvox/adhearsion,renemendoza/adhearsion,cloudvox/adhearsion |
23716791875b1de122ee5c01c5ac716e56b63491 | modules/govuk_cdnlogs/templates/etc/logrotate.cdn_logs_hourly.conf.erb | modules/govuk_cdnlogs/templates/etc/logrotate.cdn_logs_hourly.conf.erb | <%
to_rotate_hourly = @service_port_map.keys
unless to_rotate_hourly.empty?
%>
<%=
to_rotate_hourly.map { |name| "#{ @log_dir }/cdn-#{ name }.log" }.join("\n")
-%>
{
su root deploy
rotate 3
dateext
dateformat -%Y%m%d-%s
compress
size 1
missingok
postrotate
invoke-rc.d rsyslog reload >/dev/null 2>&1... | <%
to_rotate_hourly = @service_port_map.keys
unless to_rotate_hourly.empty?
%>
<%=
to_rotate_hourly.map { |name| "#{ @log_dir }/cdn-#{ name }.log" }.join("\n")
-%>
{
su root deploy
rotate 3
dateext
dateformat -%Y%m%d-%s
compress
size 1
copytruncate
missingok
}
<% end %>
| Use copytruncate to rotate CDN logs | Use copytruncate to rotate CDN logs
cf9fd75 moved CDN logs from the `logs-cdn` machine class to
`monitoring`, and also changed the frequency of log rotation from
daily to hourly.
On staging, traffic on the govuk CDN is so slow that frequently an
hour passes with no traffic. In consequence, the logs are frequently
ro... | HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
dbae05e6092482d5b648c8135888483f980bcfc9 | app/views/performances/new.html.erb | app/views/performances/new.html.erb | <% provide(:title, "Anmeldung zum #{current_contest_title}") %>
<p class="alert alert-error">Für den <strong>Landeswettbewerb in Moskau</strong> braucht <strong>keine</strong> erneute Anmeldung ausgefüllt werden! Alle weitergeleiteten Teilnehmer erhalten Ende Januar eine E-Mail mit weiteren Informationen.</p>
<p>Hier... | <% provide(:title, "Anmeldung zum #{current_contest_title}") %>
<p class="alert alert-info">Für den <strong>Landeswettbewerb</strong> braucht übrigens keine erneute Anmeldung ausgefüllt werden. Alle weitergeleiteten Teilnehmer erhalten rechtzeitig eine E-Mail mit weiteren Informationen.</p>
<p>Hier kannst du dein Vor... | Make info text about single signup on signup page less alarmist and year-agnostic | Make info text about single signup on signup page less alarmist and year-agnostic
| HTML+ERB | mit | richeterre/jumubase-rails,richeterre/jumubase-rails,richeterre/jumubase-rails |
ff7435239367ece9d9cea913b1a3fd1b1fdd2634 | app/views/scrapbooks/show.html.erb | app/views/scrapbooks/show.html.erb | <% content_for :breadcrumbs do %>
<ol>
<li><a href="<%= new_scrapbook_search_path(current_scrapbook) %>">Search</a></li>
<li>Saved roles</li>
</ol>
<% end %>
<h2 class="heading-xlarge">Your work search activities</h2>
</header>
<% current_scrapbook.occupations.each do |occupation| %>
<section id="<%=o... | <% content_for :breadcrumbs do %>
<ol>
<li><a href="<%= new_scrapbook_search_path(current_scrapbook) %>">Search</a></li>
<li>Saved roles</li>
</ol>
<% end %>
<h2 class="heading-xlarge">Your work search activities</h2>
</header>
<% current_scrapbook.occupations.each do |occupation| %>
<section id="<%=o... | Add non-functional "Remove from list" link | Add non-functional "Remove from list" link
| HTML+ERB | apache-2.0 | lm-tools/work-you-could-do,lm-tools/work-you-could-do,lm-tools/work-you-could-do,lm-tools/work-you-could-do |
e0683384888c238bd123d482e2e0141a39264d13 | app/views/petitions/search/result_items/_petition_result_for_facet_all.html.erb | app/views/petitions/search/result_items/_petition_result_for_facet_all.html.erb | <h3><%= link_to petition.action, petition_path(petition) %></h3>
<p><%= signature_count(:default, petition.signature_count) %></p>
| <h3><%= link_to petition.action, petition_path(petition) %></h3>
<% case petition.state %>
<% when "open" %>
<p><%= signature_count(:default, petition.signature_count) %></p>
<% when "closed" %>
<p><%= signature_count(:default, petition.signature_count) %>, now closed</p>
<% when "rejected" %>
<p>Rejected</p>
<% ... | Handle petition states on 'All petitions' list | Handle petition states on 'All petitions' list
| HTML+ERB | mit | telekomatrix/e-petitions,unboxed/e-petitions,telekomatrix/e-petitions,oskarpearson/e-petitions,unboxed/e-petitions,telekomatrix/e-petitions,alphagov/e-petitions,alphagov/e-petitions,oskarpearson/e-petitions,StatesOfJersey/e-petitions,joelanman/e-petitions,StatesOfJersey/e-petitions,unboxed/e-petitions,alphagov/e-petiti... |
68a6d4ffd076eaf9395ff2c12f2faace09793f19 | app/views/shared/_default_client_settings.html.erb | app/views/shared/_default_client_settings.html.erb | <%-
settings = {
apiUrl: application_base_url,
csrfToken: form_authenticity_token
}
if signed_in?
settings[:userId] = current_user.id
settings[:email] = current_user.email
settings[:displayName] = current_user.display_name
settings[:oauth_consumer_key] = params[:oauth_consumer_key]
end
%... | <%-
settings = {
apiUrl: application_base_url,
csrfToken: form_authenticity_token
}
if signed_in?
settings[:userId] = current_user.id
settings[:email] = current_user.email
settings[:displayName] = current_user.display_name
settings[:oauthConsumerKey] = params[:oauth_consumer_key]
end
%>
... | Use consistent case for settings | Use consistent case for settings
| HTML+ERB | mit | atomicjolt/adhesion,atomicjolt/lti_starter_app,atomicjolt/adhesion,atomicjolt/lti_starter_app,atomicjolt/adhesion,atomicjolt/adhesion,atomicjolt/lti_starter_app,atomicjolt/lti_starter_app |
5f05991912eab839f47a7e3f424cff520b0ebb3a | templates/recovery.conf.erb | templates/recovery.conf.erb | # Stream replication recovery configuration
# Specifies whether to start the server as a standby. In streaming replication,
# this parameter must to be set to on.
standby_mode = 'on'
# Specifies a connection string which is used for the standby server to connect
# with the primary.
primary_conninfo = 'h... | # Stream replication recovery configuration
# Specifies whether to start the server as a standby. In streaming replication,
# this parameter must to be set to on.
standby_mode = 'on'
# Specifies a connection string which is used for the standby server to connect
# with the primary.
primary_conninfo = 'h... | Put trigger file in the main cluster. | Put trigger file in the main cluster.
| HTML+ERB | isc | tech-angels/puppet-postgres |
c786fbecac6649cbf2e3d03c16c439e86034ca42 | modules/govuk/templates/app_upstart.conf.erb | modules/govuk/templates/app_upstart.conf.erb | description "GOV.UK application: <%= @title %>"
# ideally we'd use the "manual" stanza to disable job startup in
# development, but this stanza was only added in upstart 0.6.7 and
# lucid runs upstart 0.6.5.
<%- if @enable_service -%>
<%- if @depends_on_nfs -%>
start on stopped mountall-net
<%- else -%>
start on runle... | description "GOV.UK application: <%= @title %>"
<%- if !@enable_service -%>
manual
<%- end -%>
<%- if @depends_on_nfs -%>
start on stopped mountall-net
<%- else -%>
start on runlevel [2345]
<%- end -%>
stop on runlevel [!2345]
respawn
# If the app respawns more than 5 times in 20 seconds, it has deeper problems
# a... | Use the manual stanza to disable services | Use the manual stanza to disable services
- We no longer use Lucid, so `manual` is supported.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
877db82e9b3cb8000c46dc3fe56c3a1d8f77a328 | modules/logrotate/templates/logrotate.conf.erb | modules/logrotate/templates/logrotate.conf.erb | <%= @matches %> {
<%- if @user && @group -%>
su <%= @user -%> <%= @group %>
<%- end -%>
daily
missingok
rotate <%= @days_to_keep %>
compress
<%- if @delaycompress -%>
delaycompress
<%- end -%>
<%- if @rotate_if_empty -%>
ifempty
<%- else -%>
notifempty
<%- end -%>
<%- if @copytruncate -%... | <%= @matches %> {
<%- if @user && @group -%>
su <%= @user -%> <%= @group %>
<%- end -%>
daily
missingok
rotate <%= @days_to_keep %>
compress
<%- if @delaycompress -%>
delaycompress
<%- end -%>
<%- if @rotate_if_empty -%>
ifempty
<%- else -%>
notifempty
<%- end -%>
<%- if @copytruncate -%... | Remove empty .1 log files before rotating | Remove empty .1 log files before rotating
There seems to be a problem with logrotate whereby it will refuse
to rotate the log files if an empty .1 log file exists. This leads to
increase disk space being used by log files and can cause the disk to
fill up.
This fix should mean that all empty .1 log files are deleted ... | HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
1abef972409e2d4969b2ab9ad868f9347ccf49a1 | app/views/_controls.html.erb | app/views/_controls.html.erb | <nav class="navbar navbar-default navbar-static-top" role="navigation">
<div class="container-fluid">
<div class="row">
<ul class="nav navbar-nav col-sm-5 col-md-6">
<li <%= 'class=active' if current_page?(hyrax.root_path) %>>
<%= link_to t(:'hyrax.controls.home'), hyrax.root_path %></li>
... | <nav class="navbar navbar-default navbar-static-top" role="navigation">
<div class="container-fluid">
<div class="row">
<ul class="nav navbar-nav col-sm-5 col-md-6">
<li <%= 'class=active' if current_page?(hyrax.root_path) %>>
<%= link_to t(:'hyrax.controls.home'), hyrax.root_path, aria: c... | Add aria-current=page attribute to static page links in navigation for improved accessibility | Add aria-current=page attribute to static page links in navigation for improved accessibility
| HTML+ERB | apache-2.0 | samvera/hyrax,samvera/hyrax,samvera/hyrax,samvera/hyrax |
e722f8446163905a5e2e49060c0a74970930eb08 | app/views/home/home.html.erb | app/views/home/home.html.erb | <h1 class="front-title">We help events reach a <em class="em--yellow">more diverse</em> audience. And we help you to <em class="em--yellow">find these events.</em></h1>
<h2 class="front-title">Because <em class="em--red">diversity</em> is what <em class="em--red">makes communities whole.</em></h2>
<div class="front-ct... | <h1 class="front-title">We help events reach a <em class="em--yellow">more diverse</em> audience. And we help you to <em class="em--yellow">find these events</em>.</h1>
<h2 class="front-title">Because <em class="em--red">diversity</em> is what <em class="em--red">makes communities whole</em>.</h2>
<div class="front-ct... | Revert "fixed lonely dots on frontpage" | Revert "fixed lonely dots on frontpage"
This reverts commit 82e0499b29d142adf0a7d921ac675397aaf9c0f6.
| HTML+ERB | mit | rubymonsters/diversity_ticketing,rubymonsters/diversity_ticketing,rubymonsters/diversity_ticketing |
4d78018ab5052fc369240540d65178224ee06bdd | app/views/words/new.html.erb | app/views/words/new.html.erb | <h1>New Word</h1>
<%= render 'form' %>
<%= link_to 'Back', word_list_path(@word_list) %>
| <h1><%= t(:New_thing, thing: Word.model_name.human) %></h1>
<%= render 'form' %>
<%= link_to t(:Back), word_list_path(@word_list) %>
| Add locale for new words | Add locale for new words
| HTML+ERB | mit | hughdavenport/powershop_devtrain_hangman_rails,hughdavenport/powershop_devtrain_hangman_rails,hughdavenport/powershop_devtrain_hangman_rails |
52c8077201a34ca5b29462ffd60d91bd01c4c8d7 | site-modules/profile/templates/puppet/swh-puppet-master-clean-certificate.sh.erb | site-modules/profile/templates/puppet/swh-puppet-master-clean-certificate.sh.erb | #!/usr/bin/env bash
# Use:
# $0 CERTNAME
# Example:
# $0 storage0.internal.staging.swh.network
set -x
CERTNAME=$1
puppet node deactivate $CERTNAME
puppet cert clean $CERTNAME
systemctl restart apache2
| #!/usr/bin/env bash
# Use:
# $0 CERTNAME ...
# Example:
# $0 storage0.internal.staging.swh.network db0.internal.staging.swh.network
set -x
puppet node clean $@
puppet cert clean $@
systemctl restart apache2
| Improve puppet clean script to clean up exported resources as well | Improve puppet clean script to clean up exported resources as well
And make the script multi input parametric
| HTML+ERB | apache-2.0 | SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site |
7e4d37fab7708766a94f880682ed4250b4172c43 | app/views/shared/_footer_social_links.html.erb | app/views/shared/_footer_social_links.html.erb | <div class="footer-social-links">
<div class="l-constrained">
<div class="l-split-start">
<a href="#">
<span class="mas-logo-small"></span>
<span class="visually-hidden">Money Advice Service</span>
</a>
</div>
<div class="l-split-end">
<%= render 'shared/social_links' %>... | <div class="footer-social-links">
<div class="l-constrained">
<div class="l-split-start">
<a href="#">
<span class="icon icon--logo"></span>
<span class="visually-hidden">Money Advice Service</span>
</a>
</div>
<div class="l-split-end">
<%= render 'shared/social_links' %... | Convert small mas logo to icon | Convert small mas logo to icon
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
e2839534fe4efdbaa9446d1ac598629a3094973b | app/views/vehicle-licensing/_failures.html.erb | app/views/vehicle-licensing/_failures.html.erb | <% id ||= "failures" %>
<% title ||= "Error codes (web)" %>
<section id="<%= id %>" class="failures">
<h1><%= title %></h1>
<ul class="module-actions">
<li class="info">
<div>
<p>Data source: <abbr title="Driver and Vehicle Licensing Agency">DVLA</abbr> database</p>
<p>Shows errors that ha... | <% id ||= "failures" %>
<% title ||= "Error codes (web)" %>
<section id="<%= id %>" class="failures">
<h1><%= title %></h1>
<ul class="module-actions">
<li class="info">
<div>
<p>Data source: <abbr title="Driver and Vehicle Licensing Agency">DVLA</abbr> database</p>
<p>Shows errors that ha... | Split text across two lines | Split text across two lines
| HTML+ERB | mit | gds-attic/limelight,gds-attic/limelight,gds-attic/limelight |
3ab4edb233c34d2899bc024acb5b4e04b71f04ae | app/views/games/new.html.erb | app/views/games/new.html.erb | <%= page_heading :h1, 'Submit a Game' %>
<%= render 'form' %>
| <%= page_heading :h1, 'Submit a Game' %>
<div class="row">
<div class="alert alert-info col-sm-10 col-sm-offset-1">
Wondering about Winnitron game requirements?
<a href="https://github.com/winnitron/WinnitronLauncher/wiki/Requirements-for-Winnitron-Games">
<strong>Check out our wiki.</strong>
</a>
... | Add link to requirements on games/new | Add link to requirements on games/new
| HTML+ERB | mit | winnitron/winnitron_reborn,winnitron/winnitron_reborn,winnitron/winnitron_reborn |
e5b961fda343c8a7485357477e13ece1a2500f05 | app/views/stacks/index.html.erb | app/views/stacks/index.html.erb | <div class="wrapper">
<section>
<header class="section-header">
<input class="stack-search" placeholder="Search <%= @stacks.size %> stacks" />
</header>
<ul class="stack-table-header">
<li class="col">Name</li>
<li class="col">Environment</li>
<li class="col">Deploy URL</li>
</... | <div class="wrapper">
<section>
<header class="section-header">
<input class="stack-search" placeholder="Search <%= @stacks.size %> stacks" />
</header>
<ul class="stack-table-header">
<li class="col">Name</li>
<li class="col">Environment</li>
<li class="col">Deploy URL</li>
</... | Add stack ids in stacks index for debugging purpose | Add stack ids in stacks index for debugging purpose
| HTML+ERB | mit | ershad/shipit-engine,perobertson/shipit-engine,Shopify/shipit-engine,ershad/shipit-engine,Shopify/shipit-engine,ershad/shipit-engine,Shopify/shipit-engine,perobertson/shipit-engine,Shopify/shipit-engine,perobertson/shipit-engine,Shopify/shipit-engine,perobertson/shipit-engine,perobertson/shipit-engine,ershad/shipit-eng... |
ffd9b14cc7f7e051b3301464ac0b1b64a0736e6d | lib/smart_answer_flows/find-coronavirus-support/find_coronavirus_support.erb | lib/smart_answer_flows/find-coronavirus-support/find_coronavirus_support.erb | <% text_for :title do %>
Find out what support you can get if you’re affected by coronavirus
<% end %>
<% text_for :meta_description do %>
Find advice and support about redundancy and your rights, being out of work, paying rent or bills, and mental health.
<% end %>
<% govspeak_for :body do %>
Use this service ... | <% text_for :title do %>
Find out what support you can get if you’re affected by coronavirus
<% end %>
<% text_for :meta_description do %>
Find advice and support about redundancy and your rights, being out of work, paying rent or bills, and mental health.
<% end %>
<% govspeak_for :body do %>
Use this service ... | Add self isolating as separate bullet | Add self isolating as separate bullet
To make it clear you can get support with that here and match the way we are separating out the questions | HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
592a0ba9507ecdfb88a7b7eb44d04c46311d056b | lib/generators/cmsimple/install/templates/default.html.erb | lib/generators/cmsimple/install/templates/default.html.erb | <h2 data-mercury='simple'>
<%= render_region :header do -%>
Header
<% end -%>
</h2>
<section class="container">
<%= render_region :content, tag: :article do %>
Add content here
<% end %>
</section>
| <h2 id='header' data-mercury='simple'>
<%= render_region :header do -%>
Header
<% end -%>
</h2>
<section id='content' class="container">
<%= render_region :content, tag: :article do %>
Add content here
<% end %>
</section>
| Add ids to default template in install generator | Add ids to default template in install generator | HTML+ERB | mit | modeset/cmsimple,modeset/cmsimple,modeset/cmsimple |
d3120cb8392d6b83ef3168b2bcb700eb01dc5e9c | templates/layout.html.slim.erb | templates/layout.html.slim.erb | doctype html
html
head
title= page_title
meta charset="utf-8"
= stylesheet_link_tag :application, :media => 'all'
= csrf_meta_tags
body class=body_class
= render 'flashes'
= yield
= javascript_include_tag :application
= yield :javascript
| doctype html
html
head
title= page_title
meta charset="utf-8"
= stylesheet_link_tag :application, :media => 'all'
= csrf_meta_tags
body class=body_class
= render 'application/flashes'
= yield
= javascript_include_tag :application
= yield :javascript
| Fix flash partial in application layout | Fix flash partial in application layout
| HTML+ERB | mit | blueberryapps/blueberry_rails,m43nu/m43nu_rails,m43nu/m43nu_rails,blueberryapps/blueberry_rails,m43nu/m43nu_rails |
aaf15419224fb52e567c75b27720e40b80d4a2c6 | pages/agent/install/_aws.md.erb | pages/agent/install/_aws.md.erb | The [Buildkite Elastic CI Stack](https://github.com/buildkite/elastic-ci-stack-for-aws)
gives you a private, autoscaling Buildkite Agent cluster. Use it to parallelize
legacy tests across hundreds of nodes, run tests and deployments for all your
Linux-based services and apps, or run AWS ops tasks.
The latest build of ... | The [Buildkite Elastic CI Stack](https://github.com/buildkite/elastic-ci-stack-for-aws)
gives you a private, autoscaling Buildkite Agent cluster. Use it to parallelize
legacy tests across hundreds of nodes, run tests and deployments for all your
Linux-based services and apps, or run AWS ops tasks.
The latest build of ... | Make it open in a new windows | Make it open in a new windows
| HTML+ERB | mit | buildkite/docs,buildkite/docs,buildkite/docs,buildkite/docs |
459d62b80323831d8b2759128a579f468f7feb36 | app/views/admin/supporting_pages/_form.html.erb | app/views/admin/supporting_pages/_form.html.erb | <%= form_for supporting_page, url: supporting_page.persisted? ? admin_edition_supporting_page_path(@edition, supporting_page.id) : admin_edition_supporting_pages_path(@edition), as: disabled ? :disabled_supporting_page : :supporting_page do |form| %>
<%= form.errors %>
<%= form.hidden_field :lock_version %>
<%= f... | <%= form_for supporting_page, url: supporting_page.persisted? ? admin_edition_supporting_page_path(@edition, supporting_page.id) : admin_edition_supporting_pages_path(@edition), as: disabled ? :disabled_supporting_page : :supporting_page do |form| %>
<%= form.errors %>
<%= form.hidden_field :lock_version %>
<%= f... | Fix typo in form partial | Fix typo in form partial
| HTML+ERB | mit | YOTOV-LIMITED/whitehall,robinwhittleton/whitehall,hotvulcan/whitehall,robinwhittleton/whitehall,ggoral/whitehall,ggoral/whitehall,YOTOV-LIMITED/whitehall,robinwhittleton/whitehall,ggoral/whitehall,hotvulcan/whitehall,alphagov/whitehall,YOTOV-LIMITED/whitehall,ggoral/whitehall,robinwhittleton/whitehall,alphagov/whitehal... |
7a70d1f9a8ae2b37bf75a8db19154f434c595be7 | site/views/interviews.erb | site/views/interviews.erb | <h2>Interviews</h2>
<% if @counts %>
<article class="dates">
<h3>By year</h3>
<ul id="years">
<% for row in @counts %>
<li>
<a href="/interviews/in/<%= row['year'] %>" title="View all the interviews from <%= row['year'] %>."><%= row['year'] %></a> <span class="summary">(<%= row['count'] %> interview<% if row['... | <h2>Interviews</h2>
<p>There are currently <%= @counts['total'] %> interviews on the site.</p>
<article class="dates">
<h3>By year</h3>
<ul id="years">
<% for year, count in @counts['years'] %>
<li>
<a href="/interviews/in/<%= year %>" title="View all the interviews from <%= year %>."><%= year %></a> <span cla... | Use the new count variables, and show a total count. | Use the new count variables, and show a total count.
| HTML+ERB | mit | orta/usesthis,MjAbuz/usesthis,ivuk/usesthis,MjAbuz/usesthis,holman/usesthis,waferbaby/usesthis,orta/usesthis,waferbaby/usesthis,MjAbuz/usesthis,holman/usesthis,ivuk/usesthis |
945fe50a31c9d40e2681cb0ecb693a0df43ca64c | app/views/articles/new.html.erb | app/views/articles/new.html.erb | <div class="col-xs-12">
<h2><%= t('new_article.subject') %></h2>
<%= form_for :article, url: '/articles' do |f| %>
<% if @article && @article.errors.any? %>
<p>
<ul>
<% @article.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
<% end %>
</ul>
</p>
<% end %>
<p>
<%= f... | <div class="col-xs-12">
<h2><%= t('new_article.subject') %></h2>
<%= form_for :article, url: '/articles' do |f| %>
<% if @article && @article.errors.any? %>
<p>
<ul>
<% @article.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
<% end %>
</ul>
</p>
<% end %>
<p>
<%= f... | Change submit button text on new article page | Change submit button text on new article page
| HTML+ERB | mit | Kraykin/Blog-sample,Kraykin/Blog-sample,Kraykin/Blog-sample |
cef4cebe40127d756c6f9840f661d5e16a0619b6 | app/views/layouts/home.html.erb | app/views/layouts/home.html.erb | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title><%= content_for?(:title) ? yield(:title) : "Wine" %></title>
<%= stylesheet_link_tag "application" %>
<%= javascript_include_tag "vendor/modernizr" ... | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title><%= content_for?(:title) ? yield(:title) : "Wine" %></title>
<%= stylesheet_link_tag "application" %>
<%= javascript_include_tag "vendor/modernizr" ... | Add tutorial link to home layout page | Add tutorial link to home layout page
| HTML+ERB | mit | mud-turtles-2014/palate,mud-turtles-2014/palate |
15a9f86db98c6a2125df7ce23aab7392c996ee06 | app/views/coronavirus_landing_page/components/landing_page/_live_stream_section.html.erb | app/views/coronavirus_landing_page/components/landing_page/_live_stream_section.html.erb | <% if details.show_live_stream? %>
<%= render partial: 'coronavirus_landing_page/components/landing_page/live_stream', locals: {
details: details.live_stream
} %>
<% else %>
<div class="govuk-grid-row covid__video">
<div class="govuk-grid-column-two-thirds">
<%= render "govuk_publishing_components/c... | <% if details.show_live_stream? %>
<%= render partial: 'coronavirus_landing_page/components/landing_page/live_stream', locals: {
details: details.live_stream
} %>
<% else %>
<div class="govuk-grid-row covid__video">
<div class="govuk-grid-column-two-thirds">
<%= render "govuk_publishing_components/c... | Add previous video text from content item | Add previous video text from content item
| HTML+ERB | mit | alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections |
f2c0e57581eb513d19f7f7ab8268c1804870a85c | railties/lib/rails/generators/erb/scaffold/templates/index.html.erb | railties/lib/rails/generators/erb/scaffold/templates/index.html.erb | <h1>Listing <%= plural_table_name %></h1>
<table>
<thead>
<tr>
<% attributes.each do |attribute| -%>
<th><%= attribute.human_name %></th>
<% end -%>
<th></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<%%= content_tag_for(:tr, @<%= plural_table_name %>) do |<%= singular_... | <h1>Listing <%= plural_table_name %></h1>
<table>
<thead>
<tr>
<% attributes.each do |attribute| -%>
<th><%= attribute.human_name %></th>
<% end -%>
<th></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<%%= content_tag_for(:tr, @<%= plural_table_name %>) do |<%= singular_... | Fix indention issue in generated template | Fix indention issue in generated template
| HTML+ERB | mit | tjschuck/rails,amoody2108/TechForJustice,pschambacher/rails,lcreid/rails,prathamesh-sonpatki/rails,alecspopa/rails,repinel/rails,yhirano55/rails,flanger001/rails,alecspopa/rails,joonyou/rails,jeremy/rails,MichaelSp/rails,travisofthenorth/rails,marklocklear/rails,pschambacher/rails,schuetzm/rails,brchristian/rails,derar... |
f8855e11ee4b6f54e3a012a4f612ca2c5a774767 | app/views/_doll.erb | app/views/_doll.erb | <div class="doll-block" id="<%= doll.id %>">
<h2 class="doll-name"><%= doll.name %></h2>
<button class="pin-it">pin it</button>
<button class="story">story</button>
<img src="/images/voodoo-doll.png">
<span class="message">OWW!</span>
<h1> <%= doll.pins %> </h1>
<p class="story_text"><%= doll.story %></p>
<butt... | <div class="doll-block" id="<%= doll.id %>">
<h2 class="doll-name"><%= doll.name %></h2>
<button class="pin-it">pin it</button>
<!-- <button class="story">story</button> -->
<img src="/images/voodoo-doll.png">
<span class="message">OWW!</span>
<h1> <%= doll.pins %> </h1>
<p class="story_text"><%= doll.story %></... | Remove story button from doll block | Remove story button from doll block
| HTML+ERB | mit | aferragano/Voo_Doo_Dolls,aferragano/Voo_Doo_Dolls |
95cac813e177c34735ab8a7d6d55700b8e05c05f | app/views/static_pages/accessibility.html.erb | app/views/static_pages/accessibility.html.erb | <% set_meta_tags(title: 'Accessibility Statement') %>
<% content_for(:editorial) do %>
<% if Feature.active?(:accessibility_statement) %>
<h1>Accessibility Statement</h1>
<% end %>
<% end %>
<%= render template: '/static_pages/show' %>
| Add EN template and feature toggle for accessibility statement | Add EN template and feature toggle for accessibility statement
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend | |
49caf5650f6e58486b98b88865808579f16f143a | app/views/application/_navigation.html.erb | app/views/application/_navigation.html.erb | <div class="sidebar-nav-fixed well widget-transparent">
<%= render 'subscribe' %>
<div class="nav-container">
<ul class="nav nav-list">
<% @categories.each do |cat| %>
<li class="nav-header"><span><%= cat.name.camelize %>
<div class="dropdown pull-right">
<a class="dropdown-toggle" id="cat... | <div class="sidebar-nav-fixed well widget-transparent">
<%= render 'subscribe' %>
<div class="nav-container">
<ul class="nav nav-list">
<li class="nav-header">
<span><span class="glyphicon glyphicon-th-list"></span> <%= link_to '/' do %><strong>Latest Entries</strong><% end %></span>
</li>
<% @categ... | Add link to index page. | Add link to index page.
| HTML+ERB | mit | fudanchii/shreds,fudanchii/shreds,fudanchii/shreds |
ef0a0d3f374b48929172a8ea7a4935be2dbd0119 | app/views/quotes/_quote.html.erb | app/views/quotes/_quote.html.erb | <div class="quote">
<h1 class="number"><%= link_to "\##{quote.id}", quote %></h1>
<% if quote.description? %>
<p class="description"><%= quote.description %></p>
<% end %>
<table class="lines">
<% quote.lines.each do |line| %>
<% if line.action? %>
<tr class="action">
<% els... | <div class="quote">
<h1 class="number"><%= link_to "\##{quote.id}", quote %></h1>
<% if quote.description? %>
<p class="description"><%= auto_link(quote.description) %></p>
<% end %>
<table class="lines">
<% quote.lines.each do |line| %>
<% if line.action? %>
<tr class="action">
... | Use auto_link for quote description | Use auto_link for quote description
| HTML+ERB | mit | skyshaper/satq,skyshaper/satq,skyshaper/satq,skyshaper/satq |
de956eb08a7639f829257f003a7d93a10c6dd8f0 | lib/smart_answer_flows/check-uk-visa/outcomes/outcome_marriage_visa_nat_datv.erb | lib/smart_answer_flows/check-uk-visa/outcomes/outcome_marriage_visa_nat_datv.erb | <% text_for :title do %>
You’ll need a visa to come to the UK
<% end %>
<% govspeak_for :body do %>
<%= render partial: 'stateless_or_refugee', locals: {calculator: calculator} %>
<%= render partial: 'estonia_or_latvia', locals: {calculator: calculator} %>
Apply for a [Marriage Visitor visa](/marriage-visa) ... | <% text_for :title do %>
You’ll need a visa to come to the UK
<% end %>
<% govspeak_for :body do %>
<%= render partial: 'stateless_or_refugee', locals: {calculator: calculator} %>
<%= render partial: 'estonia_or_latvia', locals: {calculator: calculator} %>
Apply for a [Marriage Visitor visa](/marriage-visa) ... | Update outcome for visa national marriage outcome | Update outcome for visa national marriage outcome
| HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.