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 |
|---|---|---|---|---|---|---|---|---|---|
c7a192159d80cd87809d2c9bcdb8606db19c9dc2 | app/views/historic_appointments/_role_appointment.html.erb | app/views/historic_appointments/_role_appointment.html.erb | <% political_membership = role_appointment.historical_account.try(:political_membership) %>
<%= content_tag_for :div, role_appointment, class: 'govuk-grid-column-one-quarter', role: "listitem" do %>
<%# Content for "theresa-may' does not exist at present, temporary check to remove link %>
<% if historic_appoi... | <% political_membership = role_appointment.historical_account.try(:political_membership) %>
<%= content_tag_for :div, role_appointment, class: 'govuk-grid-column-one-quarter', role: "listitem" do %>
<%# Content for "theresa-may' does not exist at present, temporary check to remove link %>
<% if historic_appoi... | Fix missing Prime Minister on historic PM page | Fix missing Prime Minister on historic PM page
An update to govuk_publishing_components changed the parameter names in
Release 27.0.0. We use the image cards to show rows of previous PMs
here.
The incorrect parameter names caused the image card to not render when
an href was not passed.
By renaming the params, the p... | HTML+ERB | mit | alphagov/whitehall,alphagov/whitehall,alphagov/whitehall,alphagov/whitehall |
bdecc5de0629cfb15d9f764fd52cd1e0d50e375d | app/views/needs/_form.html.erb | app/views/needs/_form.html.erb | <%= semantic_form_for(@need) do |f| %>
<% if @need.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@need.errors.count, "error") %> prohibited this need from being saved:</h2>
<ul>
<% @need.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
<% end %>
</ul... | <%= semantic_form_for(@need) do |f| %>
<% if @need.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@need.errors.count, "error") %> prohibited this need from being saved:</h2>
<ul>
<% @need.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
<% end %>
</ul... | Remove cancel link that broke the form | Remove cancel link that broke the form
| HTML+ERB | mit | gds-attic/need-o-tron,gds-attic/need-o-tron,gds-attic/need-o-tron |
effe19a81fa0abe18392d4f7353c3e7552cede53 | app/views/people/show.html.erb | app/views/people/show.html.erb | <% content_for :title, person.title %>
<%= render "govuk_publishing_components/components/title", {
context: person.current_roles_title,
title: person.title
} %>
<div class="govuk-grid-row">
<div class="govuk-grid-column-one-third">
<%= render "govuk_publishing_components/components/image_card", {
hre... | <% content_for :title, person.title %>
<%= render "govuk_publishing_components/components/title", {
context: person.current_roles_title,
title: person.title
} %>
<div class="govuk-grid-row">
<div class="govuk-grid-column-one-third">
<%= render "govuk_publishing_components/components/image_card", {
hre... | Add link to previous roles in sidebar | Add link to previous roles in sidebar
| HTML+ERB | mit | alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections |
c2d6ee425481528d8c59b1e9deff2fd5fff0c568 | app/views/govuk_component/analytics_meta_tags.raw.html.erb | app/views/govuk_component/analytics_meta_tags.raw.html.erb | <%
links_hash = content_item.with_indifferent_access["links"] || {}
organisations = []
organisations += links_hash["organisations"] || []
organisations += links_hash["lead_organisations"] || []
organisations += links_hash["supporting_organisations"] || []
organisations += links_hash["worldwide_organisation... | <%
links_hash = content_item.to_h[:links] || {}
organisations = []
organisations += links_hash[:organisations] || []
organisations += links_hash[:lead_organisations] || []
organisations += links_hash[:supporting_organisations] || []
organisations += links_hash[:worldwide_organisations] || []
world_loca... | Fix AnalyticsMetadata component in a better way | Fix AnalyticsMetadata component in a better way
Follow up to https://github.com/alphagov/static/pull/668/
With real Content Items, rather than fixtures, the object will be
a `GdsApi::Response` object, which doesn't support `with_indifferent_access`
and would break for an app passing that in.
Instead of trying to mak... | HTML+ERB | mit | kalleth/static,alphagov/static,kalleth/static,alphagov/static,kalleth/static,kalleth/static,alphagov/static |
56b2d2b3a029ef91c5c08b68c8285b64d5b713c3 | app/views/layouts/_nav.html.erb | app/views/layouts/_nav.html.erb | <ul>
<% if current_user %>
Welcome, <%= current_user.github_username %>
<li><%= link_to 'Settings', user_settings_path(current_user) %></li>
<li><%= link_to 'My Snippets', user_snippets_path(current_user) %></li>
<% else %>
<%= link_to "Sign in with Github", user_omniauth_authorize_path(:github) %>
<%= li... | <ul>
<% if current_user %>
Welcome, <%= current_user.github_username %>
<li><%= link_to 'Settings', user_settings_path(current_user) %></li>
<li><%= link_to 'My Snippets', user_snippets_path(current_user) %></li>
<li><%= link_to "Get today's work", user_snippets_path(current_user), method: 'post' %></li>
<% e... | Add link to nav to get today's work | Add link to nav to get today's work
| HTML+ERB | mit | raquelxmoss/NaNoWriMeter,raquelxmoss/NaNoWriMeter,raquelxmoss/NaNoWriMeter |
9f0e2d32c9dcd4d2ca581361b511dc8044230aad | app/views/layouts/_ga.html.erb | app/views/layouts/_ga.html.erb | <script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-26481142-4']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : '... | <script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-19569290-2']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : '... | Switch to HDO analytics account. | Switch to HDO analytics account.
| HTML+ERB | bsd-3-clause | holderdeord/hdo-site,holderdeord/hdo-site,holderdeord/hdo-site,holderdeord/hdo-site |
50d1ae27eb7df7a72cd146576f5f2105173f3828 | app/views/finders/_select_facet.html.erb | app/views/finders/_select_facet.html.erb | <div class="filter checkbox-filter js-openable-filter<%=' closed' unless facet_has_any_selected_values?(select_facet.key) %>" tabindex="0">
<div class="head">
<span class="legend"><%= select_facet.name %></span>
<div class="controls">
<a class="clear-selected<%=' js-hidden' unless facet_has_any_selected... | <div class="filter checkbox-filter js-openable-filter<%=' closed' unless facet_has_any_selected_values?(select_facet.key) %>" tabindex="0">
<div class="head">
<span class="legend"><%= select_facet.name %></span>
<div class="controls">
<a class="clear-selected<%=' js-hidden' unless facet_has_any_selected... | Move inputs to inside labels | Move inputs to inside labels
So that the whole thing is clickable, but the inputs inside the labels.
| HTML+ERB | mit | alphagov/finder-frontend,alphagov/finder-frontend,alphagov/finder-frontend,alphagov/finder-frontend |
f548ee29fdf5a7cb538ea86f5b0aa0ae642caab6 | app/views/pages/about.html.erb | app/views/pages/about.html.erb | <div class='about'>
<h4>Hi there!</h4>
<p>The purpose of this app is to connect skiers and snowboarders by crowdsourcing mountain conditions. Users are able to leave short notes about various trails, and upvote comments.</p>
<p>For an optimal experience, please use mobile devices to interact with the application.</p>... | <div class='about'>
<h4>Hi there!</h4>
<p>The purpose of this app is to connect skiers and snowboarders by crowdsourcing mountain conditions. Users are able to leave short notes about various trails, and upvote comments.</p>
<p>For an optimal experience, please use mobile devices to interact with the application.</p>... | Include email in about page | Include email in about page
| HTML+ERB | mit | zlschatz/Mountain-Chat-Rails-App,zlschatz/Mountain-Chat-Rails-App,zlschatz/Mountain-Chat-Rails-App |
9044a3b67bb2be9f6d81bea1f2885968bfa652e6 | app/views/qualifications/show.html.erb | app/views/qualifications/show.html.erb | <h1><%= @qualification.name %></h1>
<table>
<tr>
<th>Name</th>
<th>Colour</th>
</tr>
<% @subjects.each do |subject| %>
<tr>
<td><%= subject.name %></td>
<td><%= subject.colour %></td>
</tr>
<% end %>
</table>
<%= link_to "Back", qualifications_path %>
| <%= link_to "Qualification Viewer", root_path %>
<h1><%= @qualification.name %></h1>
<!-- Displays subjects sorted alphabetically with associated colour as background. Displays "Not applicable", if none. -->
<ul>
<% if @subjects.empty? %>
<li>Not applicable</li>
<% else %>
<% @subjects.order("name").each ... | Sort and colour subjects in show view | Sort and colour subjects in show view
| HTML+ERB | mit | kirascheibelhut/qualifications-viewer,kirascheibelhut/qualifications-viewer,kirascheibelhut/qualifications-viewer |
e5e0a7e3a29ab148bb608e992181cc591e504e6f | app/views/shared/_user_header.html.erb | app/views/shared/_user_header.html.erb | <div class="jumbotron jumbotron-about visible-sm visible-md visible-lg"
style="background-image: url(<%= user.header_image_url %>);">
<div class="container">
<div class="row">
<div class="col-md-8 col-sm-7">
<h1>
<%= user.first_name %>
... | <div class="jumbotron jumbotron-about visible-sm visible-md visible-lg"
style="background-image: url(<%= user.header_image_url %>);">
<div class="container">
<div class="row">
<div class="col-md-8 col-sm-7">
<h1>
<%= user.first_name %>
... | Use .present? when checking for tagline | Use .present? when checking for tagline
Signed-off-by: Max Fierke <0706025b2bbcec1ed8d64822f4eccd96314938d0@maxfierke.com>
| HTML+ERB | apache-2.0 | maxfierke/resumis,maxfierke/resumis,maxfierke/resumis,maxfierke/resumis |
94a97dd18ea28f55a45acc01107cadf3ffef4e60 | vendor/create_caretaker_instance_keys.php.erb | vendor/create_caretaker_instance_keys.php.erb | <?php
$handle = fopen('<%= fetch(:caretaker_instance_keys_path) %>', 'w');
fwrite($handle, "<?php
\$TYPO3_CONF_VARS['EXT']['extConf']['caretaker_instance'] = serialize(
array_replace_recursive(
unserialize(\$TYPO3_CONF_VARS['EXT']['extConf']['caretaker_instance']),
array (
'crypto.' => ... | <?php
$handle = fopen('<%= fetch(:caretaker_instance_keys_path) %>', 'w');
fwrite($handle, "<?php
\$GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['caretaker_instance'] = serialize(
array_replace_recursive(
unserialize(\$GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['caretaker_instance']),
array (
... | Adjust typo3 variable for TYPO3 8.7 compatibility | Adjust typo3 variable for TYPO3 8.7 compatibility
| HTML+ERB | mit | dkdeploy/dkdeploy-typo3-cms |
d9cfe154091d2ca274cfbbda757e4ccf42ac59d7 | app/views/notifications/championship_match.md.erb | app/views/notifications/championship_match.md.erb | <%= t '.match', tournament: @tournament.name, other: @other.user.name %>
[<%= @tournament.name %> <%= Championship.model_name.human %>](<%= tournament_championship_path(@tournament) %>)
| <%= t '.match', tournament: @tournament.name, other: @other.user.name %>
[<%= @tournament.name %> <%= Championship.model_name.human %>](<%= tournament_championship_url(@tournament) %>)
| Use urls in emails, not paths | Use urls in emails, not paths
| HTML+ERB | mit | proglottis/ladder,proglottis/ladder,Gigaicon/ladder,Gigaicon/ladder,proglottis/ladder,Gigaicon/ladder |
4f43a2656b3b432579aa46e4277cdc731570f7e4 | templates/default/mysqlchk.erb | templates/default/mysqlchk.erb | ################################################################
## Drop by Chef, recipe mysql, template mysqlchk.erb
################################################################
# default: on
# description: mysqlchk
service mysqlchk
{
# this is a config for xinetd, place it in /etc/xinetd.d/
disable =... | Add check from the access point only (haproxy or other) | Add check from the access point only (haproxy or other)
| HTML+ERB | apache-2.0 | shopping-adventure/chef_mysql,shopping-adventure/chef_mysql | |
6c1609eb90a431e0d7cea5cf9525021d39161cc4 | app/views/qualifications/index.html.erb | app/views/qualifications/index.html.erb | <h1>Qualifications</h1>
<table>
<tr>
<th>Name</th>
<th>Country</th>
</tr>
<% @qualifications.each do |qualification| %>
<tr>
<td><%= link_to "#{qualification.name}", qualification_path(qualification) %></td>
<td><%= qualification.country %></td>
</tr>
<% end %>
</table>
| Create index view for qualifications | Create index view for qualifications
| HTML+ERB | mit | kirascheibelhut/qualifications-viewer,kirascheibelhut/qualifications-viewer,kirascheibelhut/qualifications-viewer | |
bd3594afa309825270c4b4e0292ce1029259aec2 | app/views/user_mailer/daily_docs.md.erb | app/views/user_mailer/daily_docs.md.erb | Hi @<%= @user.github %>,
<% if @write_docs.present? %>
## Write Docs
<% @write_docs.sort_by {|d| d.repo.full_name }.each do |doc| %>
**<%= doc.repo.full_name %>** ([source](<%= doc.to_github %>)): [<%= doc.path %>](<%= doc_method_url doc %>)
<% end %>
<% end %>
<% if @read_docs.present? %>
## Read Docs
<% @read_... | Hi @<%= @user.github %>,
<% if @write_docs.present? %>
## Write Docs
<% @write_docs.sort_by {|d| d.repo.full_name }.each do |doc| %>
**<%= doc.repo.full_name %>** ([source](<%= doc.to_github %>)): [<%= doc.path %>](<%= doc_method_url doc %>)
<% end %>
<% end %>
<% if @read_docs.present? %>
## Read Docs
<% @read_... | Remove reference to docsdoctor.org in docs email | Remove reference to docsdoctor.org in docs email
| HTML+ERB | mit | codetriage/codetriage,codetriage/codetriage,codetriage/codetriage |
c6ae3757b4b74cba491880799e8875e2fa933944 | app/views/gobierto_admin/gobierto_plans/plans/edit.html.erb | app/views/gobierto_admin/gobierto_plans/plans/edit.html.erb | <div class="admin_breadcrumb">
<%= link_to t("gobierto_admin.welcome.index.title"), admin_root_path %> »
<%= link_to t("gobierto_admin.gobierto_plans.plans.index.title"), admin_plans_plans_path %> »
<%= link_to @plan.title, admin_plans_plan_categories_path(@plan) %> »
<%= t(".title") %>
</div>
<h1><%= @plan.ti... | <div class="admin_breadcrumb">
<%= link_to t("gobierto_admin.welcome.index.title"), admin_root_path %> »
<%= link_to t("gobierto_admin.gobierto_plans.plans.index.title"), admin_plans_plans_path %> »
<%= link_to @plan.title, admin_plans_plan_categories_path(@plan) %> »
<%= t(".title") %>
</div>
<h1><%= @plan.ti... | Add link to manage custom fields at instance level in plans configuration form | Add link to manage custom fields at instance level in plans configuration form
| HTML+ERB | agpl-3.0 | PopulateTools/gobierto-dev,PopulateTools/gobierto,PopulateTools/gobierto,PopulateTools/gobierto-dev,PopulateTools/gobierto,PopulateTools/gobierto-dev,PopulateTools/gobierto,PopulateTools/gobierto-dev |
bfcef2f2362d2aa86612ccc58b42c6277d72261b | app/views/devise/mailer/two_factor_auth_enabled.html.erb | app/views/devise/mailer/two_factor_auth_enabled.html.erb | <!DOCTYPE html>
<html>
<head>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'>
</head>
<body>
<h1>Hello <%= @user.email %>,</h1>
<p>
You've successfully enabled 2 factor authentication for your blockchain.bigearth.io account!
</p>
<p>
Kudos. You're a smart one&md... | <!DOCTYPE html>
<html>
<head>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'>
</head>
<body>
<h2>Hello <%= @user.email %>,</h2>
<p>
You've successfully enabled 2 factor authentication for your blockchain.bigearth.io account!
</p>
<p>
Kudos. You're a smart one&md... | Change header from h1 to h2 in 2fa email. | Change header from h1 to h2 in 2fa email.
| HTML+ERB | mit | cgcardona/blockchain.bigearth.io,cgcardona/blockchain.bigearth.io |
c0db462be7e4328622e5441180ccf91838b9bff1 | core/app/templates/generic/tour/_bananas.mustache.erb | core/app/templates/generic/tour/_bananas.mustache.erb | {{#bananas}}
<div>
<%= image_tag("banana.png") %>
</div>
{{/bananas}} | {{#bananas}}
<div>
<%= image_tag("banana.png", height: 118) %>
</div>
{{/bananas}} | Add image height to the "bananas" | Add image height to the "bananas"
Prevents jumping around of the page.
Signed-off-by: tomdev <96835dd8bfa718bd6447ccc87af89ae1675daeca@codigy.nl>
| HTML+ERB | mit | Factlink/factlink-core,daukantas/factlink-core,Factlink/factlink-core,daukantas/factlink-core,Factlink/factlink-core,daukantas/factlink-core,daukantas/factlink-core,Factlink/factlink-core |
ab2a7f73a50d65cb8713b3db38f8fcf85f33caca | engines/adva_cms/app/views/admin/themes/show.html.erb | engines/adva_cms/app/views/admin/themes/show.html.erb | <%= render :partial => 'admin/sites/action_nav' %>
<h2 title="stored in <%= @theme.path %>">Edit theme</h2>
<% content_for :sidebar do -%>
<h3>Actions</h3>
<ul>
<li><%= link_to "Create or upload a new file", new_admin_theme_file_path(@site, @theme.id) %></li>
<li><%= link_to 'Download theme', export_admin_theme_p... | <%= render :partial => 'admin/sites/action_nav' %>
<h2 title="stored in <%= @theme.path %>">Edit theme</h2>
<% content_for :sidebar do -%>
<h3>Actions</h3>
<ul>
<li><%= link_to "Create or upload a new file", new_admin_theme_file_path(@site, @theme.id) %></li>
<li><%= link_to 'Download theme', export_admin_theme_p... | Move stuff around so the important content is in the middle area. | Move stuff around so the important content is in the middle area.
| HTML+ERB | mit | telekomatrix/adva_cms,priit/adva_cms,svenfuchs/adva_cms,telekomatrix/adva_cms,priit/adva_cms,telekomatrix/adva_cms,telekomatrix/adva_cms,svenfuchs/adva_cms,botandrose/adva_cms,priit/adva_cms,svenfuchs/adva_cms,botandrose/adva_cms,telekomatrix/adva_cms,svenfuchs/adva_cms,priit/adva_cms,priit/adva_cms,botandrose/adva_cms... |
888249636e2dab46e3f4f6372f92533cf2ecc369 | frontend/app/views/spree/layouts/spree_application.html.erb | frontend/app/views/spree/layouts/spree_application.html.erb | <!doctype html>
<!--[if lt IE 7 ]> <html class="ie ie6" lang="<%= I18n.locale %>"> <![endif]-->
<!--[if IE 7 ]> <html class="ie ie7" lang="<%= I18n.locale %>"> <![endif]-->
<!--[if IE 8 ]> <html class="ie ie8" lang="<%= I18n.locale %>"> <![endif]-->
<!--[if IE 9 ]> <html class="ie ie9" lang="<%= I18n.locale %>... | <!doctype html>
<!--[if lt IE 7 ]> <html class="ie ie6" lang="<%= I18n.locale %>"> <![endif]-->
<!--[if IE 7 ]> <html class="ie ie7" lang="<%= I18n.locale %>"> <![endif]-->
<!--[if IE 8 ]> <html class="ie ie8" lang="<%= I18n.locale %>"> <![endif]-->
<!--[if IE 9 ]> <html class="ie ie9" lang="<%= I18n.locale %>... | Update application layout according to new designs | Update application layout according to new designs
| HTML+ERB | bsd-3-clause | ayb/spree,ayb/spree,imella/spree,ayb/spree,ayb/spree,imella/spree,imella/spree |
5f38bd2d4357288f7d377b817f5eefe2eab7243f | cookbooks/prometheus/templates/default/alertmanager.yml.erb | cookbooks/prometheus/templates/default/alertmanager.yml.erb | # DO NOT EDIT - This file is being maintained by Chef
global:
smtp_smarthost: localhost:25
smtp_from: prometheus@openstreetmap.org
smtp_require_tls: false
templates:
- /etc/prometheus/alertmanager_templates/*.tmpl
route:
group_by:
- alertgroup
group_wait: 30s
group_interval: 5m
repeat_interval: 3... | # DO NOT EDIT - This file is being maintained by Chef
global:
smtp_smarthost: localhost:25
smtp_from: prometheus@openstreetmap.org
smtp_require_tls: false
templates:
- /etc/prometheus/alertmanager_templates/*.tmpl
route:
group_by:
- alertgroup
group_wait: 30s
group_interval: 5m
repeat_interval: 3... | Send notifications of resolved alerts | Send notifications of resolved alerts
| HTML+ERB | apache-2.0 | openstreetmap/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,zerebubu... |
d89172c2c25a7c711559344e0b1191848e67c6e3 | templates/default/mavenrc.erb | templates/default/mavenrc.erb | export M2_HOME=<%= node['maven']['m2_home'] %>
export MAVEN_OPTS="<%= node['maven']['mavenrc']['opts'] %>"
| export M2_HOME=<%= node['maven']['m2_home'] %>
export MAVEN_OPTS="<%= node['maven']['mavenrc']['opts'] %>"
| Remove an extra line in the default file for maven | Remove an extra line in the default file for maven
| HTML+ERB | apache-2.0 | chef-cookbooks/maven,opscode-cookbooks/maven,chef-cookbooks/maven,opscode-cookbooks/maven |
14bddefe0363114d63ec8398eb007ae0fc6b9f92 | app/views/realtime/realtime_support.html.erb | app/views/realtime/realtime_support.html.erb | <script type='text/javascript'>
window.realtime = {};
window.realtime.messageQueue = [];
window.realtime.enabled = false;
</script>
<script src="<%= realtime_server_url %>/socket.io/socket.io.js"></script>
<script type='text/javascript'>
if (typeof io != 'undefined' && io != null) {
window.realtime.token = '... | <script type='text/javascript'>
window.realtime = {};
window.realtime.messageQueue = [];
window.realtime.enabled = false;
</script>
<script src="<%= realtime_server_url %>/socket.io/socket.io.js"></script>
<script type='text/javascript'>
if (typeof io != 'undefined' && io != null) {
window.realtime.token = '... | Fix ERB if statement format | Fix ERB if statement format
| HTML+ERB | mit | mikeatlas/realtime-rails,mikeatlas/realtime-rails |
cf09c8c8c903f50de2d3dc0abc7e359d44d9927e | lib/smart_answer_flows/business-coronavirus-support-finder/business_coronavirus_support_finder.govspeak.erb | lib/smart_answer_flows/business-coronavirus-support-finder/business_coronavirus_support_finder.govspeak.erb | <% content_for :title do %>
Coronavirus Business Support
<% end %>
<% content_for :body do %>
Coronavirus (COVID-19) support is available to businesses.
You can apply for loans, tax relief and cash grants.
Employers can apply for staff to get up to 80% pay if they can’t work.
Self-employed people can rece... | <% content_for :title do %>
Find coronavirus financial support for your business
<% end %>
<% content_for :body do %>
Coronavirus (COVID-19) support is available to businesses.
You can apply for loans, tax relief and cash grants.
Employers can apply for staff to get up to 80% pay if they can’t work.
Self-... | Update title for coronavirus business support | Update title for coronavirus business support
(Weirdly, changing it on the landing page affects all the other pages.)
| HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
c1701e4ee45a151fb0b5d757fdbd7d6f632056e1 | app/views/application/_buttons_update_back.html.erb | app/views/application/_buttons_update_back.html.erb | <div class="row">
<div class="col-md-12">
<%= f.button("#{submit_action ||= "Save"}", { class:"btn btn-default btn-primary btn-block update-button" }) %>
</div>
</div>
<input id="submit-direction" name="submit_direction" type="hidden">
<nav>
<ul class="pager">
<li class="previous submit-previous">
... | <input id="submit-direction" name="submit_direction" type="hidden">
<nav>
<ul class="pager">
<li class="previous submit-previous">
<a href="<%= "#" %>"><span aria-hidden="true">←</span> Save and go back</a>
</li>
<li class="next submit-next">
<a href="#">Save and continue <span aria-hidd... | Remove the big fat Save button | Remove the big fat Save button
For #154 and #157
| HTML+ERB | mit | dmjurg/districthousing,uncompiled/districthousing,MetricMike/districthousing,uncompiled/districthousing,jrunningen/districthousing,codefordc/districthousing,dclegalhackers/districthousing,meiao/districthousing,jrunningen/districthousing,adelevie/districthousing,meiao/districthousing,dmjurg/districthousing,codefordc/dis... |
d1fb6e84287408eb60d8af252c4a5e765416404e | web_apps/game_support/devops/site_cookbooks/local/templates/default/etc/httpd/conf-available/local.conf.erb | web_apps/game_support/devops/site_cookbooks/local/templates/default/etc/httpd/conf-available/local.conf.erb | # ---------------------------------------------------------------------------------------------
# local.conf.erb
#
# The Apache configuration for this web application
#
# Copyright (c) 2015 Kevin Cureton
# ---------------------------------------------------------------------------------------------
LoadModule ssl_mo... | # ---------------------------------------------------------------------------------------------
# local.conf.erb
#
# The Apache configuration for this web application
#
# Copyright (c) 2015 Kevin Cureton
# ---------------------------------------------------------------------------------------------
LoadModule ssl_mo... | Add option to pass authorization header into the WSGI application. | Add option to pass authorization header into the WSGI application.
| HTML+ERB | mit | utonium/examples,utonium/examples,utonium/examples,utonium/examples,utonium/examples |
0baa3cc90f1346bbd93cfeb099bcad139ba70d13 | app/views/blocks/_show.html.erb | app/views/blocks/_show.html.erb | <%= content_tag :div, class: "#{block.model_name.singular.dasherize} block" do %>
<%= render "blocks/#{block.model_name.singular}/show", block: block %>
<% end %>
| <%= content_tag :div, class: "#{block.model_name.singular.dasherize} block #{block.try(:css_class)}" do %>
<%= render "blocks/#{block.model_name.singular}/show", block: block %>
<% end %>
| Enable adding additional css classes to block wrapper | Enable adding additional css classes to block wrapper
| HTML+ERB | mit | dylanfisher/forest,dylanfisher/forest,dylanfisher/forest |
ee32b883bceaaccd8ec015e65b4d8ca3179c424a | app/views/emails/index.html.erb | app/views/emails/index.html.erb | <div class='info'>
<ul>
<% @emails.each do |email| %>
<li>Email:
<%= link_to(email_path(email.id)) do %>
<%= email.subject %>
<br>
<%= truncate(email.text, length: 100) %>
<% end %>
</li>
<br>
<% end %>
<br>
</ul>
<%= link_to 'Edit', edit_user_path(@user... | <div class='info'>
<ul>
<% @emails.each do |email| %>
<li>Subject :
<%= link_to(email_path(email.id)) do %>
<%= email.subject %>
<br>
<%= truncate(email.text, length: 100) %>
<% if email.sentiment == "positive" %>
<p id= 'positive'>Positive</p>
<% else %... | Add sentiment styling with colors for emails index | Add sentiment styling with colors for emails index
| HTML+ERB | apache-2.0 | sarahikeda/TheFeels,sarahikeda/TheFeels,sarahikeda/TheFeels |
b339fe9bafafb0d929584b7a6e6e316c7efa03de | app/views/events/_form.html.erb | app/views/events/_form.html.erb | <%= form_for @event do |f|%>
<fieldset>
<%= f.text_field :name, placeholder: "Event Name" %>
<%= f.date_field :date %>
<%= f.time_field :time %>
<%= f.text_field :location, placeholder: "Event Location" %>
<%= text_area_tag :emails, "", {:placeholder => "Invite guests by entering emails separated ... | <%= form_for @event do |f|%>
<fieldset>
<%= f.text_field :name, placeholder: "Event Name" %>
<%= f.date_field :date, id: 'date' %>
<%= f.time_field :time, id: 'time' %>
<%= f.text_field :location, placeholder: "Event Location" %>
<%= text_area_tag :emails, "", {:placeholder => "Invite guests by en... | Add ids to form fields for feature testing | Add ids to form fields for feature testing
| HTML+ERB | mit | mud-turtles-2014/palate,mud-turtles-2014/palate |
84ac531a89289c1bbbe1886b0b9a0b9b7e115e6d | app/views/projects/new.html.erb | app/views/projects/new.html.erb | <%= display_header title: "New project",
breadcrumbs: [:projects, "New project"] %>
<div class="row">
<div class="col-md-8">
<%= simple_form_for form, url: projects_path do |f| %>
<%= f.input :name, input_html: { class: 'form-control' },
label: 'Name',
hint: 'Nam... | <%= display_header title: "New project",
breadcrumbs: [:projects, "New project"] %>
<div class="row">
<div class="col-md-8">
<%= simple_form_for form, url: projects_path do |f| %>
<%= f.input :name, input_html: { class: 'form-control' },
label: 'Name',
hint: 'Nam... | Improve copy of the new project page spreadsheet input | Improve copy of the new project page spreadsheet input
| HTML+ERB | mit | alphagov/content-tagger,alphagov/content-tagger,alphagov/content-tagger |
a5b6d382a1dfb86fa0ce7e65041075b9e91f8ff3 | app/views/tags/show.html.erb | app/views/tags/show.html.erb | <h1><%= @tag.name %></h1>
<h3>Resources with this topic:</h3>
<ul>
<% @tag.resources.each do |resource| %>
<li><%= link_to resource.title, resource_path(resource) %></li>
<% end %>
</ul>
| <h1><%= @tag.name %></h1>
<h3>Resources with this topic:</h3>
<ul>
<% @tag.resources.each do |resource| %>
<li><%= link_to resource.title, resource_path(resource) %></li>
<% end %>
</ul>
<%= button_to "Delete", tag_path(@tag), method: "delete" %>
| Add delete button to tag page. | Add delete button to tag page.
| HTML+ERB | mit | abonner1/sorter,abonner1/code_learning_resources_manager,abonner1/code_learning_resources_manager,abonner1/sorter,abonner1/sorter,abonner1/code_learning_resources_manager |
ce25780f70f122bd52796b6ce12c5c4decea5b36 | app/views/admin/poll/booth_assignments/manage.html.erb | app/views/admin/poll/booth_assignments/manage.html.erb | <%= link_to booth_assignments_admin_polls_path do %>
<span class="icon-angle-left"></span> <%= t("shared.back") %>
<% end %>
<hr>
<h2 class="inline-block"><%= t("admin.booth_assignments.manage.assignments_list", poll: @poll.name) %></h2>
<% if @booths.empty? %>
<div class="callout primary">
<%= t("admin.booth... | <%= link_to booth_assignments_admin_polls_path do %>
<span class="icon-angle-left"></span> <%= t("shared.back") %>
<% end %>
<hr>
<h2 class="inline-block"><%= t("admin.booth_assignments.manage.assignments_list", poll: @poll.name) %></h2>
<% if @booths.empty? %>
<div class="callout primary">
<%= t("admin.booth... | Use booth assigment partial correctly | Use booth assigment partial correctly
| HTML+ERB | agpl-3.0 | AyuntamientoPuertoReal/decidePuertoReal,consul/consul,AyuntamientoMadrid/participacion,AyuntamientoMadrid/consul,usabi/consul_san_borondon,AjuntamentdeCastello/consul,deivid-rodriguez/participacion,AyuntamientoMadrid/participacion,AyuntamientoMadrid/consul,deivid-rodriguez/participacion,AyuntamientoMadrid/consul,consul... |
4045c8e85df505a69d7bd5aea7585a64c5bb6d1c | app/views/spree/admin/promotions/_image_field.html.erb | app/views/spree/admin/promotions/_image_field.html.erb | <% @promotion.build_image if !@promotion.image %>
<%= f.field_container :image do %>
<%= f.label :image %><br/>
<%= f.fields_for :image, @promotion.image do |image_form| %>
<% if !image_form.object.new_record? %>
<%= image_tag(image_form.object.attachment.url(:mini)) %>
<%= link_to_remove_fields t... | <% @promotion.build_image if !@promotion.image %>
<%# FIXME: disable upload for new records %>
<%- unless @promotion.new_record? %>
<%= f.field_container :image do %>
<%= f.label :image %><br/>
<%= f.fields_for :image, @promotion.image do |image_form| %>
<% if !image_form.object.new_record? %>
<%= imag... | Disable upload for new records | Disable upload for new records
| HTML+ERB | bsd-3-clause | nebirhos/spree_promo_image |
50bc322ca9fd34a28a03feee80a6192982eef264 | lib/omega/generators/templates/project/mongoid.yml.erb | lib/omega/generators/templates/project/mongoid.yml.erb | development:
sessions:
default:
hosts:
- localhost:27017
database: <%= dbname %>-development
options:
allow_dynamic_fields: false
identity_map_enabled: true
include_root_in_json: false
include_type_for_serialization: true
preload_models: false
scope_overwrite_exceptio... | development:
sessions:
default:
hosts:
- localhost:27017
database: <%= dbname %>-development
options:
allow_dynamic_fields: false
identity_map_enabled: false
include_root_in_json: false
include_type_for_serialization: true
preload_models: false
scope_overwrite_excepti... | Disable identity map by default. | Disable identity map by default.
| HTML+ERB | mit | dcu/omega |
1ecc0ebba4bb7fa5f1670007ed6c62c653648fc8 | managing/security/chapter_overview.html.md.erb | managing/security/chapter_overview.html.md.erb | ---
title: Security
---
The security framework permits authentication of connecting components and authorization of operations for all communicating components of the distributed system.
- **[Security Features](../../managing/security/security_intro.html)**
Encryption, SSL secure communication, authentication... | ---
title: Security
---
The security framework permits authentication of connecting components and authorization of operations for all communicating components of the distributed system.
- **[Security Features](../../managing/security/security_intro.html)**
Encryption, SSL secure communication, authentication... | Fix typo in enable_security.html link. | Fix typo in enable_security.html link.
| HTML+ERB | apache-2.0 | davinash/geode,davebarnes97/geode,pdxrunner/geode,davinash/geode,pivotal-amurmann/geode,pivotal-amurmann/geode,mmartell/geode-native,smgoller/geode,prasi-in/geode,mmartell/geode-native,charliemblack/geode,davinash/geode,pivotal-jbarrett/geode-native,shankarh/geode,davinash/geode,pdxrunner/geode,PivotalSarge/geode-nativ... |
862f52e19da6de6ff5c950a311a8cd61293a6024 | lib/commander/help_formatters/terminal_compact/help.erb | lib/commander/help_formatters/terminal_compact/help.erb |
<%= program :name %>
<%= program :description %>
Commands:
<% for name, command in @commands -%>
<% unless alias? name -%>
<%= "%-20s %s" % [command.name, command.summary || command.description] %>
<% end -%>
<% end -%>
<% unless @aliases.empty? %>
Aliases:
<% for alias_name, args in @aliases -%>
<%=... | <%= program :name %>
<%= program :description %>
Commands:
<% for name, command in @commands.sort -%>
<% unless alias? name -%>
<%= "%-20s %s" % [command.name, command.summary || command.description] %>
<% end -%>
<% end -%>
<% unless @aliases.empty? %>
Aliases:
<% for alias_name, args in @aliases.sort -%... | Sort commands and aliases alphabetically. | Sort commands and aliases alphabetically.
Signed-off-by: TJ Holowaychuk <546b05909706652891a87f7bfe385ae147f61f91@vision-media.ca> | HTML+ERB | mit | fastlane/commander,commander-rb/commander,tj/commander,fastlane/commander,andrewvc/commander,andrewvc/commander,tj/commander,commander-rb/commander |
80fc8f515edbd5ba63a67f4d541e4a2e4b9920b4 | app/views/books/_copy.html.erb | app/views/books/_copy.html.erb | <li class="loan_status <%= copy.status.to_s %> <%= copy.current_user == current_user ? "my_copy" : "" %>">
<h2>#<%= copy.book_reference %></h2>
<% if copy.available? %>
<p>Available to borrow <%= link_to "Borrow", borrow_book_copy_path(@book, copy), :class => 'btn', :method => "POST" %></p>
<% else %>
<p>... | <li class="loan_status <%= copy.status.to_s %> <%= copy.current_user == current_user ? "my_copy" : "" %>">
<h2>#<%= copy.book_reference %></h2>
<% if copy.available? %>
<p>Available to borrow <%= link_to "Borrow", borrow_book_copy_path(@book, copy), :class => 'btn', :method => "POST" %></p>
<% else %>
<p>... | Fix strftime for copy borrow date. | Fix strftime for copy borrow date. | HTML+ERB | mit | jabley/anthology,jabley/anthology,jabley/anthology,JordanHatch/anthology,JordanHatch/anthology |
f61f4554004508ba4aed2175086ebbc9dd15eb54 | app/views/groups/show.html.erb | app/views/groups/show.html.erb | <h1><%= @group.name %></h1>
<% @group.users.each do |user| %>
<%= link_to user.username, user_path(user) %>
<% end %>
<ol>
<% @group_artists.each do |artist| %>
<li class="artist-row"><span class="artist-name"><%= artist[0] %></span><span class="artist-score"> <%= artist[1] %> </span></li>
<% end %>
</ol>
| <h1><%= @group.name %></h1>
<div class="pure-g">
<div class="pure-u-1-6">
</div>
<div class="pure-u-1-4">
<h3>Band Members</h3>
<% @group.users.each do |user| %>
<%= link_to user.username, user_path(user) %><br>
<% end %>
</div>
<div class="pure-u-1-6">
</div>
<div class="pure-u-1-4">
... | Add some styling to group pages | Add some styling to group pages
| HTML+ERB | mit | pdynowski/best-thing-ever,pdynowski/best-thing-ever,pdynowski/best-thing-ever |
af3afa2fd39a2723ad6375d8d08c34114447739d | app/views/images/show.html.erb | app/views/images/show.html.erb | <div class="row">
<div class="span10">
<h1><%= link_to @image.gallery.title, @image.gallery %> » <small><%= @image.title %></small></h1>
</div>
</div>
<br />
<div class="row">
<div class="span12">
Full size: <%= link_to "link", @image.picture.url %>
<br />
<%= image_tag @image.picture.url %>
</div>
<... | <div class="row">
<div class="span10">
<h1><%= link_to @image.gallery.title, @image.gallery %> » <small><%= @image.title %></small></h1>
</div>
</div>
<br />
<div class="row">
<div class="span12">
Full size: <%= link_to "link", @image.picture.url, :class => "btn btn-mini" %>
<br />
<%= image_tag @imag... | Add buttons for images' links | Add buttons for images' links
| HTML+ERB | mit | NuxosMinecraft/NuxWS,NuxosMinecraft/NuxWS,NuxosMinecraft/NuxWS,NuxosMinecraft/NuxWS |
b4679146de90a259a03ca723b72c7c86620401a2 | app/views/posts/_post.html.erb | app/views/posts/_post.html.erb | <% @posts.each do |p| %>
<div class="col-sm-4 blog-item">
<div class="thumbnail">
<a href="#">
<img class="img-responsive" src="https://unsplash.it/700/300?random" alt="">
</a>
<h4 class="text-center"><%= link_to truncate(p.title, length: 40), post_path(p) %... | <% @posts.each do |p| %>
<div class="col-sm-4 blog-item">
<div class="thumbnail">
<a href="#">
<img class="img-responsive" src="https://unsplash.it/700/300?random" alt="">
</a>
<h4 class="text-center"><%= link_to truncate(p.title, length: 30), post_path(p) %... | Add truncate method to post title. | Add truncate method to post title.
| HTML+ERB | mit | hebersandoval/blog_portfolio,hebersandoval/blog_portfolio,hebersandoval/blog_portfolio |
1b06ff9d182e592a5f26fac0418a088cfca4bf68 | app/views/stories/new.html.erb | app/views/stories/new.html.erb | <h1> Create a new story </h1>
<%= form_for @story do |f| %>
<%= f.label :title %>
<%= f.text_field :title %><br>
<%= f.label :content %>
<%= f.text_area :content, :class => "redactor"%><br>
<%= f.submit %>
<% end %>
<div class="autosave">
</div>
| <h1> Create a new story </h1>
<%= form_for @story do |f| %>
<%= f.label :title %>
<%= f.text_field :title %><br>
<%= f.label :content %>
<%= f.text_area :content, :class => "redactor"%><br>
<%= f.submit "Save" %>
<% end %>
<div class="autosave">
</div>
| Add 'save' to submit button | Add 'save' to submit button
| HTML+ERB | mit | pearlshin/StoryVine,pearlshin/StoryVine,mxngyn/StoryVine,SputterPuttRedux/storyvine_clone,mxngyn/StoryVine,mxngyn/StoryVine,SputterPuttRedux/storyvine_clone,SputterPuttRedux/storyvine_clone,pearlshin/StoryVine |
c6a298ade761c84dc968489318dae8d9ac77e318 | lib/generators/noodall/component/templates/template.html.erb | lib/generators/noodall/component/templates/template.html.erb | <div id="<%%= slot_code %>" class="component <%= file_name.gsub(/_/ig, '-') %> <%%= 'double' if expand %> <%%= additional_classes %>">
<% unless attributes.empty? %>
<dl>
<% for attribute in attributes -%>
<dt><%= attribute.name.titleize %></dt>
<dd><%%= component.<%= attribute.name %>%></dd>
<% end -... | <div id="<%%= slot_code %>" class="component <%= file_name.gsub(/_/, '-') %> <%%= 'double' if expand %> <%%= additional_classes %>">
<% unless attributes.empty? %>
<dl>
<% for attribute in attributes -%>
<dt><%= attribute.name.titleize %></dt>
<dd><%%= component.<%= attribute.name %>%></dd>
<% end -%>... | Fix to component generator introduced by regex bug | Fix to component generator introduced by regex bug
| HTML+ERB | mit | noodall/noodall-ui,noodall/noodall-ui |
9a0694be5f82c3dcf1207a1008c06f7914c008c6 | lib/ember/middleman/templates/source/layouts/layout.html.erb | lib/ember/middleman/templates/source/layouts/layout.html.erb | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<%= javascript_include_tag :application %>
</head>
<body>
<%= yield %>
</body>
</html>
| <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Welcome to Ember.js!</title>
<%= javascript_include_tag :application %>
</head>
<body>
<%= yield %>
</body>
</html>
| Add `<title>` to page layout for generator | Add `<title>` to page layout for generator
| HTML+ERB | mit | tricknotes/ember-middleman-template,tricknotes/ember-middleman-template,tricknotes/ember-middleman,tricknotes/ember-middleman,tricknotes/ember-middleman,tricknotes/ember-middleman-template |
54fa2ff410340541b1b1280d3cbd8909a8c22b98 | app/views/devise/mailer/reset_password_instructions.html.erb | app/views/devise/mailer/reset_password_instructions.html.erb | <%
# TODO: Link user to blog so we can do @resource.blog
blog = Blog.first
%>
<p>Hello <%= @resource.login %>!</p>
<p>Someone has requested a link to change your password. You can do this
through the link below.</p>
<p><%= link_to 'Change my password', edit_password_url(@resource, reset_password_token: @token, ho... | Make reset password mail work | Make reset password mail work
| HTML+ERB | mit | whithajess/publify,SF-WDI-LABS/publify_debugging_lab,drakontia/publify,sf-wdi-25/publify_debugging_lab,whithajess/publify,seyedrazavi/publify,SF-WDI-LABS/publify_debugging_lab,sf-wdi-25/publify_debugging_lab,solanolabs/publify,publify/publify,seyedrazavi/publify,whithajess/publify,SF-WDI-LABS/publify_debugging_lab,Juur... | |
797058c89722b0247bf05daa036a048cb89164ba | app/views/admin/edition_legacy_associations/edit.html.erb | app/views/admin/edition_legacy_associations/edit.html.erb | <% content_for :context, @edition.title %>
<% content_for :page_title, "Specialist topic tagging" %>
<% content_for :title, "Specialist topic tagging" %>
<% content_for :title_margin_bottom, 6 %>
<% content_for :back_link do %>
<%= render "govuk_publishing_components/components/back_link", {
href: admin_edition_... | <% content_for :context, @edition.title %>
<% content_for :page_title, "Specialist topic tagging" %>
<% content_for :title, "Specialist topic tagging" %>
<% content_for :title_margin_bottom, 6 %>
<div class="govuk-grid-row">
<section class="govuk-grid-column-two-thirds">
<%= form_for @edition, url: admin_edition... | Replace legacy associations back button with cancel button | Replace legacy associations 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 |
a011bfa1681542b15f447e8e44af2ebea563c0c3 | lib/views/backend/spree/layouts/admin/_login_nav.html.erb | lib/views/backend/spree/layouts/admin/_login_nav.html.erb | <% if spree_current_user %>
<ul id="login-nav" class="inline-menu">
<li data-hook="user-logged-in-as"><%= Spree.t(:logged_in_as) %>: <%= spree_current_user.email %></li>
<li data-hook="user-account-link" class='fa fa-user'><%= link_to Spree.t(:account), spree.edit_user_path(spree_current_user) %></li>
<li... | <% if spree_current_user %>
<ul id="login-nav" class="inline-menu">
<li data-hook="user-logged-in-as"><%= Spree.t(:logged_in_as) %>: <%= spree_current_user.email %></li>
<li data-hook="user-account-link" class='fa fa-user'><%= link_to Spree.t(:account), spree.edit_user_path(spree_current_user) %></li>
<li... | Change admin logout path to use the admin namespaced logout path | Change admin logout path to use the admin namespaced logout path
| HTML+ERB | bsd-3-clause | AgilTec/spree_auth_devise,BeDepraved/spree_auth_devise,Boomkat/spree_auth_devise,DarkoP/spree_auth_devise,odk211/spree_auth_devise,Eric-Guo/spree_auth_devise,DarkoP/spree_auth_devise,AngelChaos26/mandrill,arkhitech/spree_auth_devise,AgilTec/spree_auth_devise,GammaHydro/spree_auth_devise,mayankdedhia/solidus_auth_devise... |
6a4d1313fc932018824578d68f55800c6e38feea | app/views/admin/projects/index.html.erb | app/views/admin/projects/index.html.erb | <h1 style="margin: 0 0 40px 0;">Lista de projetos</h1>
<table class="table table-striped">
<tr>
<th>Título</th>
<th></th>
<th>Template</th>
<th></th>
<th>Textos</th>
</tr>
<% if @projects %>
<% @projects.each do |project| %>
<tr>
<td><%= link_to project.book.title, admin_pro... | <h1 style="margin: 0 0 40px 0;">Lista de projetos</h1>
<table class="table table-striped">
<tr>
<th>Título</th>
<th></th>
<th>Template</th>
<th></th>
<th>Textos</th>
</tr>
<% if @projects %>
<% @projects.each do |project| %>
<tr>
<td><%= link_to project.book.title, admin_pro... | Edit organizer credit in project lists | Edit organizer credit in project lists
| HTML+ERB | mit | hedra-digital/livro-da-classe,hedra-digital/livro-da-classe,hedra-digital/livro-da-classe,hedra-digital/livro-da-classe,hedra-digital/livro-da-classe,hedra-digital/livro-da-classe |
0bccc59114e5a640394e6c72ef99892ae113cecb | app/views/organizations/_table.html.erb | app/views/organizations/_table.html.erb | <table class="table table-hover">
<tbody>
<% organizations.each do |organization| %>
<tr>
<td class="span6">
<span class="label"><%= organization.category_text %></span>
<%= link_to organization.name, organization %> ( <%= link_to "review", organization.url, :target => "_bl... | <table class="table table-hover">
<tbody>
<% organizations.each do |organization| %>
<tr>
<td class="span6">
<span class="label"><%= organization.category_text %></span>
<%= link_to organization.name, organization %>
( <%= link_to "edit", edit_organization_path(or... | Remove link to outside review on the organization table | Remove link to outside review on the organization table
| HTML+ERB | mit | cyrusstoller/RevTilt,cyrusstoller/RevTilt,cyrusstoller/RevTilt,cyrusstoller/RevTilt |
05269f7b7db4b96c34c4067a1da409078e7c6d37 | app/views/shared/_table_filter.html.erb | app/views/shared/_table_filter.html.erb | <tr class="table-header if-no-js-hide table-header-secondary">
<th colspan='6'>
<form class='table-filter'>
<input id="table-filter" type="text" class="form-control normal js-filter-table-input" placeholder="Filter table">
</form>
</th>
</tr>
| <tr class="table-header if-no-js-hide table-header-secondary">
<th colspan='7'>
<form class='table-filter'>
<input id="table-filter" type="text" class="form-control normal js-filter-table-input" placeholder="Filter table">
</form>
</th>
</tr>
| Fix layout of table search on tagging spreadsheets | Fix layout of table search on tagging spreadsheets
| HTML+ERB | mit | alphagov/content-tagger,alphagov/content-tagger,alphagov/content-tagger |
92576b75372a7f565bfeddd36b65e90bb18e37df | app/views/choose_a_certified_company/_idp_option.html.erb | app/views/choose_a_certified_company/_idp_option.html.erb | <div class="idp-choice">
<div class="company-logo">
<%= image_tag identity_provider.logo_path, alt: '' %>
<p class="company-about">
<%= link_to(t('hub.choose_a_certified_company.about_idp', name: identity_provider.display_name), choose_a_certified_company_about_path(identity_provider.simple_id)) %>
... | <div class="idp-choice">
<div class="company-logo">
<%= image_tag identity_provider.logo_path, alt: '' %>
<p class="company-about">
<%= link_to(t('hub.choose_a_certified_company.about_idp', name: identity_provider.display_name), choose_a_certified_company_about_path(identity_provider.simple_id)) %>
... | Add role=link to buttons styled as links | bau: Add role=link to buttons styled as links
Solo: da39a3ee5e6b4b0d3255bfef95601890afd80709@richardtowers
| HTML+ERB | mit | alphagov/verify-frontend,alphagov/verify-frontend,alphagov/verify-frontend,alphagov/verify-frontend |
4d6bb2e7c6610dacb6e3dea45cf2244cb63e0203 | lib/views/help/_why_they_should_reply_by_email.html.erb | lib/views/help/_why_they_should_reply_by_email.html.erb | The law, the Ministry of Justice and the Information Commissioner all say that an email is sufficient (<a href="<%= help_page_url %>#full_address">more details</a>).
At the bottom of this page, write a reply to the authority explaining this to them.
| Add example template to indicate that this needs to be customized/translated. | Add example template to indicate that this needs to be customized/translated.
| HTML+ERB | mit | mysociety/asknepal-theme,openaustralia/righttoknow,mysociety/bilmehakki-theme,nzherald/fyi-theme,nzherald/fyi-theme,mimesbronn/alavetelitheme,mysociety/sobanukirwa-theme,TEDICpy/queremosaber-theme,nztu/nztu-theme,slygent/accessinfohktheme,mysociety/asknepal-theme,mysociety/alavetelitheme,mimesbronn/alavetelitheme,nikes... | |
435f92637511a0592153adf9b0fa78f7a290816a | app/views/admin/index.html.erb | app/views/admin/index.html.erb | <h3>Tools</h3>
<p>Someone thought these were useful, at some point. I take no responsibility for whether they actually are or not.</p>
<p>
<ul>
<li><a href="/admin/invalidated">Invalidated Feedback</a></li>
<li><a href="/users">User Data</a></li>
<li><a href="/blacklist">Blacklist</a></li>
<% if curre... | <h3>Tools</h3>
<p>Someone thought these were useful, at some point. I take no responsibility for whether they actually are or not.</p>
<p>
<ul>
<li><a href="/admin/invalidated">Invalidated Feedback</a></li>
<li><a href="/admin/api_feedback">Feedback via API</a></li>
<li><a href="/users">User Data</a></li>... | Add API feedback to index | Add API feedback to index | HTML+ERB | cc0-1.0 | angussidney/metasmoke,Charcoal-SE/metasmoke,SulphurDioxide/metasmoke,Charcoal-SE/metasmoke,angussidney/metasmoke,SulphurDioxide/metasmoke,SulphurDioxide/metasmoke,Charcoal-SE/metasmoke,Charcoal-SE/metasmoke,j-f1/forked-metasmoke,j-f1/forked-metasmoke,j-f1/forked-metasmoke,angussidney/metasmoke,angussidney/metasmoke,j-f... |
d213af185e3278d9724ea84558a0461417730166 | app/views/likes/_form.html.erb | app/views/likes/_form.html.erb | <% if current_user.liked? likeable %>
<%= form_tag unlike_path(likeable_type: likeable.class.to_s, likeable_id: likeable.id), method: :post, remote: true do %>
<% button_tag class: 'btn btn-block liked' do %>
<%= fa_icon 'thumbs-up' %> unlike
<% end %>
<% end %>
<% else %>
<%= form_tag like_path(lik... | <% if current_user.liked? likeable %>
<%= form_tag unlike_path(likeable_type: likeable.class.to_s, likeable_id: likeable.id), method: :post, remote: true do %>
<% button_tag class: 'btn btn-block liked' do %>
<%= fa_icon 'thumbs-down' %> unlike
<% end %>
<% end %>
<% else %>
<%= form_tag like_path(l... | Set thumbs down to unlike | fix: Set thumbs down to unlike
| HTML+ERB | mit | frankolson/BIC_Hub,frankolson/BIC_Hub,frankolson/BIC_Hub |
cb05eece0ca30022cf1eb995dacd6aad22a104e9 | views/form.erb | views/form.erb | <html>
<head>
<meta charset="utf-8" />
<title></title>
<link href="style_form.css" rel="stylesheet" />
<link href='http://fonts.googleapis.com/css?family=Quattrocento+Sans:400,700' rel='stylesheet' type='text/css'>
</head>
<body>
<a href="https://github.com/JohnKellyFerguson/octomaps"><img sty... | <html>
<head>
<meta charset="utf-8" />
<title></title>
<link href="style_form.css" rel="stylesheet" />
<link href='http://fonts.googleapis.com/css?family=Quattrocento+Sans:400,700' rel='stylesheet' type='text/css'>
</head>
<body>
<a href="https://github.com/JohnKellyFerguson/octomaps"><img sty... | Fix ordering of search box names so they correspond correctly to owner or repo name | Fix ordering of search box names so they correspond correctly to owner or repo name
| HTML+ERB | mit | JohnKellyFerguson/octomaps,JohnKellyFerguson/octomaps,JohnKellyFerguson/octomaps |
491256036bef5033f1756e36eb7ce277d5d77e4a | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>NeedOTron</title>
<%= stylesheet_link_tag "application" %>
<%= csrf_meta_tags %>
</head>
<body>
<div id="container">
<div id="app-header">
<h1><%= link_to 'Need-O-Tron 5000', root_path %></h1>
<div role="navigation">
<ul id="a... | <!DOCTYPE html>
<html>
<head>
<title>NeedOTron</title>
<%= stylesheet_link_tag "application" %>
<%= csrf_meta_tags %>
</head>
<body>
<div id="container">
<div id="app-header">
<h1><%= link_to 'Need-O-Tron 5000', root_path %></h1>
<div role="navigation">
<ul id="a... | Remove reference to Ket Lai | Remove reference to Ket Lai
| HTML+ERB | mit | gds-attic/need-o-tron,gds-attic/need-o-tron,gds-attic/need-o-tron |
7d78951d837410f35f1e5fc5977b8b209592fd85 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html lang="en" class="app">
<head>
<meta charset="utf-8" />
<title><%= create_page_title %> Big Earth Blockchain Explorer</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, user-scalable=0">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/... | <!DOCTYPE html>
<html lang="en" class="app">
<head>
<meta charset="utf-8" />
<title><%= create_page_title %> Big Earth Blockchain Explorer</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, user-scalable=0">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/... | Move blocking javascript below the rest of the DOM. | Move blocking javascript below the rest of the DOM.
| HTML+ERB | mit | cgcardona/blockchain.bigearth.io,cgcardona/blockchain.bigearth.io |
1aa29c7b31c134a344957ed1b966efd2f109d0a5 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>SpacialDB</title>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<%= render 'layouts/header' %>
<div class="containe... | <!DOCTYPE html>
<html>
<head>
<title>SpacialDB</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>... | Add meta tag viewport for better visibility in mobile | Add meta tag viewport for better visibility in mobile
| HTML+ERB | mit | nomadlabs/spacialdb,nomadlabs/spacialdb,nomadlabs/spacialdb |
7c71406846e53d22fb22aee5b992184e0590c2c4 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>FARMA-ALG</title>
<%= csrf_meta_tags %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= stylesheet_link_tag "https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" %>
<%= stylesheet_link_ta... | <!DOCTYPE html>
<html>
<head>
<title>FARMA-ALG</title>
<%= csrf_meta_tags %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= stylesheet_link_tag "https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" %>
<%= stylesheet_link_ta... | Remove old reference to show_modal partial | Remove old reference to show_modal partial
| HTML+ERB | mit | rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn |
d959d2d12c8dd664f7016838161c2b2ffcd652a2 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title><%= content_for?(:title) ? yield(:title) : "foundation-rails" %></title>
<%= stylesheet_link_tag "application" %>
<%= javascript_include_tag "vendor... | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title><%= content_for?(:title) ? yield(:title) : "foundation-rails" %></title>
<%= stylesheet_link_tag "application" %>
<%= javascript_include_tag "vendor... | Add Main Header, Main Tag & Footer Layout | Add Main Header, Main Tag & Footer Layout
| HTML+ERB | mit | CivicHaxx/ok_councillr,CivicHaxx/ok_councillr,CivicHaxx/ok_councillr |
e8b59f32a9f9cbe7ebc8996fc055361e6a4337f1 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>QueryComposer</title>
<%= stylesheet_link_tag "application" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
<%= yield :head %>
</head>
<body>
<%= render :partial => 'shared/header', :locals => {:definition => @definition} %>
<div id="container">... | <!DOCTYPE html>
<html>
<head>
<title>QueryComposer</title>
<%= stylesheet_link_tag "application" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<%= yield :head %>
</head>
<body>
... | Add HTML5Shiv for IE8 compatibility | Add HTML5Shiv for IE8 compatibility
| HTML+ERB | apache-2.0 | scoophealth/query-composer,rrusk/scoop-query-composer,rrusk/scoop-query-composer,rrusk/scoop-query-composer,scoophealth/query-composer,rrusk/scoop-query-composer,scoophealth/query-composer,scoophealth/query-composer,scoophealth/query-composer |
9065e336dd269c908e15ed2dc02623d8e68ae6d3 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!doctype html>
<html>
<head>
<title>
<% if @channel %><%= @channel.title %> | <% end %>
Red Cursor
</title>
<%= stylesheet_link_tag "application" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
<%= users_js %>
<% if mobile? %>
<meta name="viewport... | <!doctype html>
<html>
<head>
<title>
<% if @channel %><%= @channel.title %> | <% end %>
Red Cursor
</title>
<%= stylesheet_link_tag "application" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
<%= users_js %>
<% if mobile? %>
<meta name="viewport... | Set proper websocket server url | Set proper websocket server url
| HTML+ERB | mit | mutle/fu2,mutle/fu2,mutle/fu2,mutle/fu2 |
db020c44065a2a68fdc296a223cb17b20c077f82 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title><%= yield :title %> - GOV.UK</title>
<%= stylesheet_link_tag 'application' %>
<%= stylesheet_link_tag 'print', :media => :print %>
<%= yield :head %>
<%= render partial: 'govuk_component/analytics_meta_tags', locals: { content_item: @content_item } %>
<% if... | <!DOCTYPE html>
<html>
<head>
<title><%= yield :title %> - GOV.UK</title>
<%= stylesheet_link_tag 'application' %>
<%= stylesheet_link_tag 'print', :media => :print %>
<%= yield :head %>
<%= render partial: 'govuk_component/analytics_meta_tags', locals: { content_item: @content_item } %>
<% if... | Remove redundant tag for removing breadcrumb | Remove redundant tag for removing breadcrumb
This app uses the GOV.UK Component to render the breadcrumb. The tag
removed in this was previously necessary to instruct Slimmer to hide
the old breadcrumb. We no longer need it because the CSS and HTML have
been completely removed from static in
https://github.com/alphago... | HTML+ERB | mit | alphagov/calendars,alphagov/calendars,alphagov/calendars,alphagov/calendars |
9143d75d1c33663beecf994aa9caf4f40ffbfc75 | app/views/layouts/body/_title.html.erb | app/views/layouts/body/_title.html.erb | <div class="container">
<%= link_to home_path do %>
<h1>
<% if I18n.exists?("general.project_name", locale) %>
<span id="maintitle"><%= t "general.project_name" %></span>
<% end %>
<% if I18n.exists?("general.project_subtitle", locale) %>
<span class="small"><%= t "general.projec... | <div class="container">
<%= link_to home_path do %>
<h1>
<% if I18n.exists?("general.project_name", locale) %>
<span class="site-title"><%= t "general.project_name" %></span>
<% end %>
<% if I18n.exists?("general.project_subtitle", locale) %>
<small class="site-subtitle"><%= t "g... | Update title / subtitle markup | Update title / subtitle markup
Switch main title's selector to a class, as this markup change will
require reviewing before merging with existing sites anyway
Switch subtitle wrapping element to small and add site-subtitle class
- Expect site-subtitle should be more unique to only style this element
| HTML+ERB | mit | CDRH/orchid,CDRH/orchid,CDRH/orchid |
9f0cc357aac0e2e4a30bb158f902722e72563759 | dist/chef/cookbooks/sensu/templates/default/upstart.erb | dist/chef/cookbooks/sensu/templates/default/upstart.erb | # Upstart: /etc/init/sensu-<%= @name || @service %>.conf
# Managed by OpsChef
description "sensu <%= @name || @service %>"
start on (local-filesystems and net-device-up IFACE=eth0)
stop on [!12345]
respawn
<% gems_path = "/usr/bin" %>
<% unless File.readable?("#{gems_path}/sensu-#{@service}") %>
<% Gem.path.each d... | # Upstart: /etc/init/sensu-<%= @name || @service %>.conf
# Managed by OpsChef
description "sensu <%= @name || @service %>"
start on (local-filesystems and net-device-up IFACE=eth0)
stop on [!12345]
respawn
pre-start script
test -x <%= GemBinPath.path(@service) %>/sensu-<%= @service %> || { stop; exit 0; }
end scrip... | Refactor template based logic into a library | Refactor template based logic into a library
| HTML+ERB | mit | m4ce/sensu,javrasya/sensu,rbramwell/sensu,upfluence/sensu,somic/sensu,keymone/sensu,pauloconnor/sensu,bf4/sensu,disqus/sensu,solarkennedy/sensu,disqus/sensu,miyakawataku/sensu,yonglehou/sensu,quodlibetor/sensu,npe9/sensu,cread/sensu,Tapjoy/sensu-mirror,withnale/sensu,sensu/sensu,roobert/sensu,portertech/sensu,crewton/s... |
b21e815425e4e295ff03136e1613c2c0c4707af3 | frontend/app/views/spree/products/_description.html.erb | frontend/app/views/spree/products/_description.html.erb | <h3 class="pt-4 font-weight-bold text-uppercase product-details-subtitle"><%= Spree.t(:description) %></h3>
<div id="product-description-short" class="m-0 text-break product-description" data-hook="description">
<%= sanitize product_description(@product).truncate(450) %>
</div>
<div id="product-description-long" cla... | <h3 class="pt-4 font-weight-bold text-uppercase product-details-subtitle"><%= Spree.t(:description) %></h3>
<div id="product-description-short" class="m-0 text-break product-description" data-hook="description">
<% if Spree::Config[:show_raw_product_description] %>
<%= raw product_description(@product).truncate(4... | Make config :show raw product_description usable in new storefront. | Make config :show raw product_description usable in new storefront.
| HTML+ERB | bsd-3-clause | imella/spree,imella/spree,imella/spree |
12ac49f4a2797cbd6627020ebf350072cc7d4043 | app/views/users/index.html.erb | app/views/users/index.html.erb | <%= render partial: "users/tabs" %>
<%= form_tag("/users", method: :get) do %>
<div class="well">
<table class="table table-hover table-manual-striped data-table" cellspacing="0" width="100%">
<thead>
<tr>
<th>Name</th>
<th>Email</th>
<th>Phone</th>
<th>Addre... | <%= render partial: "users/tabs" %>
<%= form_tag("/users", method: :get) do %>
<div class="well">
<table class="table table-hover table-manual-striped" cellspacing="0" width="100%">
<thead>
<tr>
<th>Name</th>
<th>Email</th>
<th>Phone</th>
<th>Address</th>
... | Use separate rows for additional organizations Unfortunately data-table doesn't work with this, so maybe this isn't ideal | Use separate rows for additional organizations
Unfortunately data-table doesn't work with this, so maybe this isn't ideal
| HTML+ERB | mit | icodeclean/StockAid,on-site/StockAid,on-site/StockAid,icodeclean/StockAid,on-site/StockAid,icodeclean/StockAid |
df3d315651f02e1ebf39764e5b1ab955d153cae8 | modules/govuk_jenkins/templates/jobs/deploy_emergency_banner.yaml.erb | modules/govuk_jenkins/templates/jobs/deploy_emergency_banner.yaml.erb | ---
- job:
name: deploy-emergency-banner
display-name: Deploy the emergency banner
project-type: freestyle
description: "Deploy the emergency banner on GOV.UK."
builders:
# The argument to `-c` is in this case `frontend` but the value is used by both `static` and `frontend` applications
... | ---
- job:
name: deploy-emergency-banner
display-name: Deploy the emergency banner
project-type: freestyle
description: "Deploy the emergency banner on GOV.UK."
builders:
# The argument to `-c` is in this case `frontend` but the value is used by both `static` and `frontend` applications
... | Fix quoting issues for deploy emergency banner task | Fix quoting issues for deploy emergency banner task
Apostrophes in the content should be properly handled.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
3bec7b374b0e746c208465c4be988153be1b6e11 | app/views/blocks/profile_info_actions/_enterprise.html.erb | app/views/blocks/profile_info_actions/_enterprise.html.erb | <ul>
<%if logged_in? %>
<%if !user.favorite_enterprises.include?(profile) %>
<li><%= button(:love, _('Add as favorite'), { :profile => user.identifier, :controller => 'favorite_enterprises', :action => 'add', :id => profile.id }, :title => _('Add enterprise as favorite')) %></li>
<% end %>
<% end %>
... | <ul>
<%if logged_in? %>
<%if !user.favorite_enterprises.include?(profile) %>
<li><%= button(:love, _('Add as favorite'), { :profile => user.identifier, :controller => 'favorite_enterprises', :action => 'add', :id => profile.id }, :title => _('Add enterprise as favorite'), :option => 'success') %></li>
<... | Change favorite button to 'success' style | Change favorite button to 'success' style | HTML+ERB | agpl-3.0 | EcoAlternative/noosfero-ecosol,CIRANDAS/noosfero-ecosol,samasti/noosfero,samasti/noosfero,coletivoEITA/noosfero-ecosol,blogoosfero/noosfero,blogoosfero/noosfero,EcoAlternative/noosfero-ecosol,samasti/noosfero,samasti/noosfero,coletivoEITA/noosfero-ecosol,blogoosfero/noosfero,blogoosfero/noosfero,coletivoEITA/noosfero-e... |
a9d3ca1a7bb59e0fbb3767e9f660adee59784240 | templates/default/config.properties.erb | templates/default/config.properties.erb | imq.instanceconfig.version=300
<%
configs = {}
configs.merge!(@resource.config)
bridges = []
services = []
configs["imq.portmapper.port"] = @resource.port
if @resource.admin_port
services << "admin"
configs["imq.admin.tcp.port"] = @resource.admin_port
end
if @resource.jms_port
services << ... | imq.instanceconfig.version=300
<%
configs = {}
configs["imq.log.timezone"] = node["tz"] || "GMT"
configs.merge!(@resource.config)
bridges = []
services = []
configs["imq.portmapper.port"] = @resource.port
if @resource.admin_port
services << "admin"
configs["imq.admin.tcp.port"] = @resource.admin... | Make sure the imq log timzone is configured as per nodes timezone | Make sure the imq log timzone is configured as per nodes timezone
| HTML+ERB | apache-2.0 | realityforge/chef-glassfish,predictivelogic/chef-glassfish,predictivelogic/chef-glassfish,realityforge/chef-glassfish,predictivelogic/chef-glassfish,realityforge/chef-glassfish,hopshadoop/chef-glassfish,hopshadoop/chef-glassfish,hopshadoop/chef-glassfish |
1a63005edf75f2318df834c2d26d85979f1bda56 | app/views/simple_smart_answers/_current_question.html.erb | app/views/simple_smart_answers/_current_question.html.erb | <%= form_tag smart_answer_path_for_responses(@flow_state.completed_questions, edition: nil), method: "get" do %>
<%= hidden_field_tag :edition, @edition if @edition.present? %>
<%= hidden_field_tag 'response', '' %>
<%
if @flow_state.error?
error_message = t('formats.simple_smart_answer.please_answer'... | <%= form_tag smart_answer_path_for_responses(@flow_state.completed_questions, edition: nil), method: "get" do %>
<%= hidden_field_tag :edition, @edition if @edition.present? %>
<%= hidden_field_tag 'response', '' %>
<%
if @flow_state.error?
error_message = t('formats.simple_smart_answer.please_answer'... | Format question description with Govspeak | Format question description with Govspeak
This will make things look better when markup is used in a question's
description.
| HTML+ERB | mit | alphagov/frontend,alphagov/frontend,alphagov/frontend,alphagov/frontend |
cb2ca842d870efc31494898fd248143656aaa588 | source/_layouts/_blog__meta.erb | source/_layouts/_blog__meta.erb |
<aside class="blog__meta">
<div class="blog__meta__recent-articles">
<h2>Recent Articles</h2>
<ol>
<% blog.articles[0...data.blog.recent_articles].each do |article| %>
<li>
<%= link_to article.title, article %>
<span><%= article.date.strftime('%b %e') %></span>
</li>
<% end %>
</ol>
</div>
... |
<aside class="blog__meta">
<div class="blog__meta__recent-articles">
<h2>Recent Articles</h2>
<ol>
<% blog.articles[0...5].each do |article| %>
<li>
<%= link_to article.title, article %>
<span><%= article.date.strftime('%b %e') %></span>
</li>
<% end %>
</ol>
</div>
<div class="blog__meta... | Fix error in Blog meta partial | Fix error in Blog meta partial
| HTML+ERB | mit | VoxelDavid/voxeldavid-website,vocksel/my-website,vocksel/my-website,VoxelDavid/voxeldavid-website |
628d1c71f0a73e21c35b632cf7602457dbfcfd18 | alert_templates/shared/cf/number_of_routes.json.erb | alert_templates/shared/cf/number_of_routes.json.erb | {
"name": "<%= environment %> CF: Number of routes in the router's routing table is too low",
"no_data_timeframe": 10,
"notify_no_data": false,
"query": "avg(last_10m):min:datadog.nozzle.gorouter.total_routes{deployment:<%= metron_agent_deployment %>} < <%= params.fetch('expected_routes') %>",
"message": ... | {
"created_at": 1450898657000,
"deleted": null,
"message": "## Description:\n The number of routes in the router's routing table is dangerously low. It appears that too few applications are known. <%= cloudops_pagerduty %>. \n\n## Escalation Path:\n Router Team. \n\n## Possible Causes:\n## Potential Solutions:... | Exclude router_iso_z1/z2 from 'routing table is too low' alerts | Exclude router_iso_z1/z2 from 'routing table is too low' alerts
* It's used only internally, which doesn't have customer routes on it.
[#145319551] routers for isolation segments should be sharded
Signed-off-by: Kai Xiang <987005552a526059a0c9b4b70d166beabef8374e@pivotal.io>
| HTML+ERB | apache-2.0 | pivotal-cf-experimental/datadog-config-oss,pivotal-cf-experimental/datadog-config-oss |
965de968bf41665d19adde51e7a6a9804aa02ad8 | app/views/admin/editions/confirm_unpublish.html.erb | app/views/admin/editions/confirm_unpublish.html.erb | <% page_title "Unpublish: #{@edition.title}" %>
<div class="span8">
<section>
<h1>Unpublish <%= @edition.type.titleize %></h1>
<%= form_tag unpublish_admin_edition_path(@edition, lock_version: @edition.lock_version) do %>
<%= fields_for :unpublishing do |unpublish| %>
<%= unpublis... | <% page_title "Unpublish: #{@edition.title}" %>
<div class="span8">
<section>
<h1>Unpublish <%= @edition.type.titleize %></h1>
<%= form_tag unpublish_admin_edition_path(@edition, lock_version: @edition.lock_version) do %>
<%= fields_for :unpublishing do |unpublish| %>
<%= unpublis... | Add a note reminding users that the reason for unpublishing is public | Add a note reminding users that the reason for unpublishing is public
| HTML+ERB | mit | alphagov/whitehall,ggoral/whitehall,robinwhittleton/whitehall,alphagov/whitehall,ggoral/whitehall,askl56/whitehall,hotvulcan/whitehall,YOTOV-LIMITED/whitehall,robinwhittleton/whitehall,askl56/whitehall,askl56/whitehall,hotvulcan/whitehall,alphagov/whitehall,robinwhittleton/whitehall,YOTOV-LIMITED/whitehall,hotvulcan/wh... |
13468016d85ff18765ec72a8e050d3c48eb1bf68 | cookbooks/tile/templates/default/render-lowzoom.erb | cookbooks/tile/templates/default/render-lowzoom.erb | #!/bin/bash
# DO NOT EDIT - This file is being maintained by Chef
# Send output to the log
exec > /var/log/tile/render-lowzoom.log 2>&1
<% node[:tile][:styles].each_key do |style| -%>
# Update tiles from z0 to z12 for style "<%= @style %>"
render_list \
--all --force \
--tile-dir=/srv/tile.openstreetmap.org/tile... | #!/bin/bash
# DO NOT EDIT - This file is being maintained by Chef
# Send output to the log
exec > /var/log/tile/render-lowzoom.log 2>&1
# Get current time
timestamp=$(date +%s)
<% node[:tile][:styles].each_key do |style| -%>
# Define function to update tiles from z0 to z12 for style "<%= style %>"
function update_<... | Make monthly rerendering of low zoom tiles more robust | Make monthly rerendering of low zoom tiles more robust
| HTML+ERB | apache-2.0 | gravitystorm/chef,Firefishy/chef,zerebubuth/openstreetmap-chef,gravitystorm/chef,Firefishy/chef,zerebubuth/openstreetmap-chef,gravitystorm/chef,Firefishy/chef,openstreetmap/chef,openstreetmap/chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,Firefishy/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,op... |
cd812a4a4e0e0c94b1fd66d76bda22ede748b106 | lib/smart_answer_flows/state-pension-age/state_pension_age.govspeak.erb | lib/smart_answer_flows/state-pension-age/state_pension_age.govspeak.erb | <% render_content_for :title do %>
Check your State Pension age
<% end %>
<% render_content_for :meta_description do %>
Work out your State Pension age and Pension Credit qualifying age
<% end %>
<% render_content_for :body do %>
Your State Pension age is the earliest age you can start receiving your State Pensio... | <% render_content_for :title do %>
Check your State Pension age
<% end %>
<% render_content_for :meta_description do %>
Work out your State Pension age and Pension Credit qualifying age
<% end %>
<% render_content_for :body do %>
Your State Pension age is the earliest age you can start receiving your State Pensio... | Update name of state pension calculator | Update name of state pension calculator
Change text linking to the state pension calculator so it reflects the new name of the service (state pension forecast).
From: https://trello.com/c/6rUg7G9U/2967-check-your-state-pension-forecast-rename-links-to-service-content-change-request | HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
46daabaf5cfef3e0f4b8d0d715abb4652e22d63a | app/views/forem/admin/categories/_form.html.erb | app/views/forem/admin/categories/_form.html.erb | <%= simple_form_for [forem, :admin, @category] do |f| %>
<%= f.input :name %>
<%= f.submit %>
<% end %>
| <%= simple_form_for [forem, :admin, @category] do |f| %>
<%= f.input :name %>
<%= f.submit :class => "btn btn-primary" %>
<% end %>
| Add btn-primary classes to categories form button | Add btn-primary classes to categories form button
| HTML+ERB | mit | wuwx/forem,bodrovis/forem,trakt/forem,ajeje/forem,hanspolo/forem,jaybrueder/forem,SamLau95/forem,zhublik/forem,efrence/forem,brooks/forem,hanspolo/forem,rubysherpas/forem,nikolaevav/forem,frankmarineau/forem,radar/forem,radar/forem,efrence/forem,nikolaevav/forem,ajeje/forem,tomrc/forem,rubysherpas/forem,ajeje/forem,fra... |
3312f8137da9d5d0cba3073aa257e5dff1a527e3 | templates/plugin/python/module.conf.erb | templates/plugin/python/module.conf.erb | <%- require 'shellwords' -%>
Import "<%= @_module_import %>"
<%- @config.each do |configuration| -%>
<Module "<%= @module %>">
<%- configuration.sort.each do |key,value| -%>
<%- if value.is_a?(Array) -%>
<%- value.sort.each do |v| -%>
<%= key %> <% if !!v == v %><%= v %><% else %>"<%= Shellwords.spl... | <%- require 'shellwords' -%>
Import "<%= @_module_import %>"
<%- @config.each do |configuration| -%>
<Module "<%= @module %>">
<%- configuration.sort.each do |key,value| -%>
<%- if value.is_a?(Array) -%>
<%- value.each do |v| -%>
<%= key %> <% if !!v == v %><%= v %><% else %>"<%= Shellwords.split(v)... | Remove array sorting in python module template | Remove array sorting in python module template
| HTML+ERB | apache-2.0 | voxpupuli/puppet-collectd,archii/puppet-collectd,archii/puppet-collectd,voxpupuli/puppet-collectd,voxpupuli/puppet-collectd,archii/puppet-collectd |
d8ef23c651349ca3d97063be30669ca27ebb794b | app/views/dashboards/_quick_link.html.erb | app/views/dashboards/_quick_link.html.erb | <%= link_to action_path, :class => "btn btn-primary btn-lg btn-quick-link" do %>
<span class="<%= action_icon %> fa-fw fa-2x"></span><br/><%= action_title %>
<% end %>
| <%= link_to action_path, :class => "btn btn-default btn-lg btn-quick-link" do %>
<span class="<%= action_icon %> fa-fw fa-2x"></span><br/><%= action_title %>
<% end %>
| Change quicklink to use default button styles | Change quicklink to use default button styles
| HTML+ERB | mit | nycdot/transam_core,camsys/transam_core,nycdot/transam_core,nycdot/transam_core,camsys/transam_core,camsys/transam_core,camsys/transam_core |
ba350dc5dd4f10d3081f355a47c03cb0bcd03fad | app/views/admin/editions/_specialist_sector_fields.html.erb | app/views/admin/editions/_specialist_sector_fields.html.erb | <%= specialist_sector_fields do |sectors| %>
<fieldset class="edition-specialist-sector-fields">
<legend>
<strong>ALPHA:</strong> Specialist sectors (this is an evolving feature,
<a href="https://insidegovuk.blog.gov.uk/2014/02/20/new-specialist-sector-option-in-publisher/">read more in our blog post<... | <%= specialist_sector_fields do |sectors| %>
<fieldset class="edition-specialist-sector-fields">
<legend>
<strong>ALPHA:</strong> Specialist sectors (this is an evolving feature,
<a href="https://insidegovuk.blog.gov.uk/2014/02/20/new-specialist-sector-option-in-publisher/">read more in our blog post<... | Allow no selection of a primary specialist sector. | Allow no selection of a primary specialist sector. | HTML+ERB | mit | hotvulcan/whitehall,askl56/whitehall,hotvulcan/whitehall,YOTOV-LIMITED/whitehall,ggoral/whitehall,YOTOV-LIMITED/whitehall,robinwhittleton/whitehall,YOTOV-LIMITED/whitehall,alphagov/whitehall,askl56/whitehall,ggoral/whitehall,robinwhittleton/whitehall,askl56/whitehall,ggoral/whitehall,YOTOV-LIMITED/whitehall,alphagov/wh... |
6b8fc6f5bcc42dcf618cad131f0343af0cdf7790 | modules/puppet/templates/etc/puppet/puppet.conf.erb | modules/puppet/templates/etc/puppet/puppet.conf.erb | [main]
preferred_serialization_format = yaml
pluginsync = true
lastrunfile = $statedir/last_run_summary.yaml { mode = 644 }
<%- if govuk_platform == 'development' -%>
modulepath = /var/govuk/puppet/modules
manifestdir = /var/govuk/puppet/manifests
<%- end -%>
[master]
reports = store
storeconfigs = true
storeconfigs_b... | [main]
preferred_serialization_format = yaml
pluginsync = true
lastrunfile = $statedir/last_run_summary.yaml { mode = 644 }
<%- if govuk_platform == 'development' -%>
modulepath = /var/govuk/puppet/modules:/var/govuk/puppet/vendor/modules
manifestdir = /var/govuk/puppet/manifests
<%- end -%>
[master]
reports = store
s... | Add vendor/modules to Puppet module path | Add vendor/modules to Puppet module path
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
56ca47ee3270678e0b668dfc4c6520a94d8fc48c | app/views/teachers/show.html.erb | app/views/teachers/show.html.erb | <h1><%= @teacher.name %> Students</h1>
<% if @teacher.students.length == nil %>
<div>
<p>Welcome, <%= @teacher.name %>! You currently have no students.</p>
<p>Click <%= link_to 'here', students_path %>to start adding students.</p>
</div>
<% else %>
<table>
<% counter = 1 %>
<tr>
<th>Stude... | <h1><%= @teacher.name %> Students</h1>
<% if @teacher.students.length == 0 %>
<div>
<p>Welcome, <%= @teacher.name %>! You currently have no students.</p>
<p>Click <%= link_to 'here', students_path %>to start adding students.</p>
</div>
<% else %>
<table>
<% counter = 1 %>
<tr>
<th>Student... | Add teacher profile student list | Add teacher profile student list
| HTML+ERB | mit | Aslonski/Study-Buddy,Aslonski/Study-Buddy,Aslonski/Study-Buddy |
61ccde43051b9d3a5fc3ab6504cca52a240481ae | app/views/events/_form.html.erb | app/views/events/_form.html.erb | <%= form_for(@event) do |f| %>
<% if @event.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@event.errors.count, "error") %> prohibited this event from being saved:</h2>
<ul>
<% @event.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
<% end %>
</ul>
... | <%= form_for(@event) do |f| %>
<% if @event.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@event.errors.count, "error") %> prohibited this event from being saved:</h2>
<ul>
<% @event.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
<% end %>
</ul>
... | Add seconds to the form fields. | Add seconds to the form fields.
| HTML+ERB | mit | malprax/try_timer,malprax/try_timer,malprax/try_timer |
58ad6efe0876a6800c3288235c857384ac74e876 | app/views/members/show.html.erb | app/views/members/show.html.erb | <%= react_component 'app.MemberShow', {id: params[:id]} %> | <%= react_component 'app.MemberShow', {member: @member, languages: @languages} %>
<div class="container p-b-100">
<div class="members-show">
<div class="members-show members--small sm-pull-reset">
<%= react_component 'app.Search', {action: '/members'} %>
</div>
</div>
</div> | Move search component to view | Move search component to view
| HTML+ERB | artistic-2.0 | gauravtiwari/hireables,gauravtiwari/techhire,gauravtiwari/techhire,Hireables/hireables,Hireables/hireables,gauravtiwari/hireables,gauravtiwari/techhire,gauravtiwari/hireables,Hireables/hireables |
aebfc7768984092b660c484e82b42770f0b15c82 | app/views/quotes/_form.html.erb | app/views/quotes/_form.html.erb | <%= form_for @quote, remote: true, html: { id: "quote-#{@quote.id}" } do |f| %>
<div>
<%= f.text_area :raw_quote, rows: 10, cols: 70 %>
</div>
<div>
<%= f.label :description, 'Optional description:' %>
<%= f.text_area :description, rows: 2, cols: 70 %>
</div>
<div>
<%= f.submit 'Save' %>
<%= button_to_functio... | <%= form_for @quote, remote: true, html: { id: "quote-#{@quote.id}" } do |f| %>
<div>
<%= f.text_area :raw_quote, rows: 10, cols: 70 %>
</div>
<div>
<%= f.label :description, 'Optional description:' %>
<%= f.text_area :description, rows: 2, cols: 70 %>
</div>
<div>
<%= f.submit 'Save' %>
<% if @quote.id %>
... | Fix cancel button for new unsaved forms | Fix cancel button for new unsaved forms
| HTML+ERB | mit | skyshaper/satq,skyshaper/satq,skyshaper/satq,skyshaper/satq |
8c3d8c330d9cd6fa1f746458c3c96ae1d5081faa | app/views/sessions/new.html.erb | app/views/sessions/new.html.erb | <%= render 'shared/page_title', title: 'Log in to BuffetCar' %>
<%= form_for :session, html: { class: 'form-horizontal', role: 'form' }, url: login_path do |f| %>
<div class="form-group">
<%= f.label :email, 'Email Address', class: 'col-sm-2 col-sm-offset-3 control-label' %>
<div class="col-sm-4">
<%= ... | <%= render 'shared/page_title', title: 'Log in to BuffetCar' %>
<%= form_for :session, html: { class: 'form-horizontal', role: 'form' }, url: login_path do |f| %>
<div class="form-group">
<%= f.label :email, 'Email Address', class: 'col-sm-2 col-sm-offset-3 control-label' %>
<div class="col-sm-4">
<%= ... | Add link to signup from login page. | Add link to signup from login page.
| HTML+ERB | mit | JulianNicholls/BuffetCar-5,JulianNicholls/BuffetCar-5,JulianNicholls/BuffetCar-5 |
de991a77604635980c9c61bc03ce18f1d353b185 | deployment/puppet/haproxy/templates/haproxy_balancermember.erb | deployment/puppet/haproxy/templates/haproxy_balancermember.erb | <% for @host in @balancers.keys.sort %>server <%= @host %> <%= @balancers[@host] %>:<%= balancer_port %> <%
items = balancermember_options
items = [items] unless balancermember_options.instance_of? Array
items.each do |item| %> <% if @define_cookies == true %> cookie <%= @host %> <% end %> <%= item %> <%... | <% for @host in @balancers.keys.sort %>server <%= @host %> <%= @balancers[@host] %>:<%= balancer_port %> <%
items = balancermember_options
items = [items] unless balancermember_options.instance_of? Array
items.each do |item| %> <% if @define_cookies == true %> cookie <%= @host %> <% end %> <%= item %> <%... | Exclude first balancer from backup | Exclude first balancer from backup
| HTML+ERB | apache-2.0 | zhaochao/fuel-library,SmartInfrastructures/fuel-library-dev,eayunstack/fuel-library,ddepaoli3/fuel-library-dev,zhaochao/fuel-library,SmartInfrastructures/fuel-library-dev,Metaswitch/fuel-library,huntxu/fuel-library,SmartInfrastructures/fuel-library-dev,zhaochao/fuel-library,slystopad/fuel-lib,stackforge/fuel-library,st... |
48797cdce6071fb21994c8d60d4015804b674b2d | app/views/catalog/index.html.erb | app/views/catalog/index.html.erb | <% title "Catalog" %>
<div id = 'models_available'>
<% if @eq_models_by_category.empty? %>
<%= render partial: 'no_equipment' %>
<% else %>
<div class="row">
<div id="pagination_line" class="col-md-12">
<%# for kaminari pagination %>
<%= paginate @page_eq_models_by_category,
p... | <% title 'Catalog' %>
<div id="models_available">
<% if @eq_models_by_category.empty? %>
<%= render partial: 'no_equipment' %>
<% else %>
<div class="row">
<div id="pagination_line" class="col-md-12">
<%# for kaminari pagination %>
<%= paginate @page_eq_models_by_category,
... | Fix items_per_page form on catalog | Fix items_per_page form on catalog [ci skip]
| HTML+ERB | mit | YaleOutdoors/reservations,YaleSTC/reservations,YaleOutdoors/reservations,YaleOutdoors/reservations,Amalanag/reservations,YaleSTC/reservations,YaleSTC/reservations,Amalanag/reservations,Amalanag/reservations |
4adb9e74e26f01e26a09cc6e81716e5b7416c03e | app/views/events/_month.html.erb | app/views/events/_month.html.erb | <tr>
<% calendar.first(7).each do |day,event| %>
<th><%= show_day_of_week(day, abbreviated) %></th>
<% end %>
</tr>
<% calendar.in_groups_of(7).each do |week| %>
<tr>
<% week.each do |date, has_events, this_month| %>
<td class='calendar-day <%= this_month || "calendar-day-out" %> <... | <tr>
<% calendar.first(7).each do |day,event| %>
<th><%= show_day_of_week(day, abbreviated) %></th>
<% end %>
</tr>
<% calendar.in_groups_of(7).each do |week| %>
<tr>
<% week.each do |date, has_events, this_month| %>
<td class='calendar-day <%= this_month || "calendar-day-out" %> <... | Fix agenda links for days that has events | Fix agenda links for days that has events
| HTML+ERB | agpl-3.0 | LuisBelo/tccnoosfero,evandrojr/noosferogov,evandrojr/noosferogov,CIRANDAS/noosfero-ecosol,coletivoEITA/noosfero-ecosol,tallysmartins/noosfero,vfcosta/noosfero,evandrojr/noosfero,hebertdougl/noosfero,evandrojr/noosferogov,alexandreab/noosfero,coletivoEITA/noosfero-ecosol,marcosronaldo/noosfero,coletivoEITA/noosfero,arth... |
99b4bc0f632ce8a91464bf929d88feb5993cd007 | app/views/layouts/admin.html.erb | app/views/layouts/admin.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Scribe Admin</title>
<%= stylesheet_link_tag "admin/all", media: "all" %>
<%= javascript_include_tag "admin/all" %>
<%= csrf_meta_tags %>
</head>
<body>
<% if current_user && current_user.can_view_admin? %>
<%= render 'admin/partials/head.html.erb' %>
<% end %>
<div i... | <!DOCTYPE html>
<html>
<head>
<title>Scribe Admin</title>
<%= stylesheet_link_tag "admin/all", media: "all" %>
<%= javascript_include_tag "admin/all" %>
<%= csrf_meta_tags %>
</head>
<body>
<%= render 'admin/partials/head.html.erb' %>
<div id="admin-content">
<%= yield %>
</div>
</body>
</html>
| Remove auth check in admin header too | Remove auth check in admin header too
| HTML+ERB | mit | UCDavisLibrary/scribeAPI,UCDavisLibrary/scribeAPI,UCDavisLibrary/scribeAPI,UCDavisLibrary/scribeAPI,UCDavisLibrary/scribeAPI |
85635eb7a7319790e0315ac577d98621fcf4af2f | app/views/questions/new.html.erb | app/views/questions/new.html.erb | <h1>Create a New Question!</h1>
<%= form_for @question do |f| %>
<%= f.label :title %>
<%= f.text_field :title %>
<br>
<%= f.label :description %>
<%= f.text_area :description, size: "40x5" %>
<%= f.submit %>
<% end %> | Add form to create new question | Add form to create new question
| HTML+ERB | mit | melissawimberly/MustacheYouAQuestion,melissawimberly/MustacheYouAQuestion,melissawimberly/MustacheYouAQuestion | |
df5f1bf393238b421f23ae4d55739e6b82009974 | app/assets/stylesheets/spree/frontend/spree_cwilt_theme.css.erb | app/assets/stylesheets/spree/frontend/spree_cwilt_theme.css.erb | html {
height: 100%;
}
a {
color: #808080;
}
body {
height: 100%;
background-repeat: repeat;
background-image: url(<%= asset_path 'spree/frontend/bg.png' %>);
}
.container {
height: 100%;
box-sizing: border-box;
border-top: 6px solid #bbb;
background-color: #fff;
-moz-box-shadow: 0px 0px 10px... | html {
height: 100%;
}
a {
color: #808080;
}
body {
height: 100%;
background-repeat: repeat;
background-image: url(<%= asset_path 'spree/frontend/bg.png' %>);
}
.container {
height: 100%;
box-sizing: border-box;
border-top: 6px solid #bbb;
background-color: #fff;
-moz-box-shadow: 0px 0px 10px... | Add dashed border to nav. | Add dashed border to nav.
| HTML+ERB | bsd-3-clause | clomax/spree_cwilt_theme,clomax/spree_cwilt_theme,clomax/spree_cwilt_theme |
7283d0cc77f2715f9f432e8f2008d067e66d8dee | app/views/admin/_admin.html.erb | app/views/admin/_admin.html.erb | <section class="admin_page">
<h1>Admin</h1>
<h2>Articles</h2>
<%= render "shared/tables/articles_table" %>
<h2>Products</h2>
<%= render "shared/tables/products_table" %>
<h2>Photos</h2>
<%= render "shared/tables/photos_table" %>
<% if @is_root %>
<h2>Users</h2>
<%= render "shared/tables/users_table" %>
<% else %... | <section class="admin_page">
<h1>Admin</h1>
<h2>Articles</h2>
<%= render "shared/tables/articles_table" %>
<h2>Products</h2>
<%= render "shared/tables/products_table" %>
<h2>Photos</h2>
<%= render "shared/tables/photos_table" %>
<% if @is_root %>
<h2>Users</h2>
<%= render "shared/tables/users_table" %>
<% else %... | Remove logout button in Admin page | Remove logout button in Admin page
This button is removed because there is already a logout link in the navbar.
| HTML+ERB | apache-2.0 | NigoroJr/nigorojr.com,NigoroJr/nigorojr.com |
d03dacfc61f3f7dc84d01a3b3b64273b99ff8abb | app/views/articles/new.html.erb | app/views/articles/new.html.erb | <h1>New Article</h1>
<%= form_for :article, url: articles_path do |f| %>
<p>
<%= f.label :title %><br>
<%= f.text_field :title %>
</p>
<p>
<%= f.label :text %><br>
<%= f.text_area :text %>
</p>
<p>
<%= f.submit %>
</p>
<% end %>
| <h1>New Article</h1>
<%= form_for :article, url: articles_path do |f| %>
<p>
<%= f.label :title %><br>
<%= f.text_field :title %>
</p>
<p>
<%= f.label :text %><br>
<%= f.text_area :text %>
</p>
<p>
<%= f.submit %>
</p>
<% end %>
<%= link_to 'Back', articles_path %>
| Add link to go back to index page. | Add link to go back to index page.
| HTML+ERB | mit | eyohansa/railog,eyohansa/railog,eyohansa/railog |
6593d5d3caec39cbb6448ffc1714283e8b380050 | app/views/orders/index.html.erb | app/views/orders/index.html.erb | <table class="table">
<tr>
<th>Trade id</th>
<th>Created at</th>
<th>Instrument</th>
<th>Side</th>
<th>Units</th>
<th>Actions</th>
</tr>
<% @orders.each do |order| %>
<tr>
<td><%= order.trade_id %></td>
<td><%= order.created_at %></td>
<td><%= order.instrument %></td>... | <table class="table">
<tr>
<th>Trade id</th>
<th>Created at</th>
<th>Instrument</th>
<th>Side</th>
<th>Units</th>
<th>Actions</th>
</tr>
<% @orders.each do |order| %>
<tr>
<td><%= order.trade_id %></td>
<td><%= order.created_at %></td>
<td><%= order.instrument %></td>... | Remove type from index table | Remove type from index table
| HTML+ERB | mit | 0r4cl3/rails-trader,0r4cl3/rails-trader,0r4cl3/rails-trader |
0dcec8ae86156e082f3c4c11efcd892dc0f617d5 | app/views/management/steps_shared/_finish_footer.html.erb | app/views/management/steps_shared/_finish_footer.html.erb | <div class="c-action-bar">
<div class="wrapper">
<%= link_to 'Back to Pages', management_site_site_pages_path(@site.slug), class: 'c-button -outline -dark-text' %>
<div>
<%= f.button (@page.enabled ? 'Unpublish' : 'Publish'), value: Management::PageStepsController::PUBLISH, type: 'submit', class: 'c-but... | <div class="c-action-bar">
<div class="wrapper">
<%= link_to 'Back to Pages', management_site_site_pages_path(@site.slug), class: 'c-button -outline -dark-text' %>
<div>
<%= f.button (@page.enabled ? 'Unpublish' : 'Publish'), value: Management::PageStepsController::PUBLISH, type: 'submit', class: 'c-but... | Add go to page button on site edit | Add go to page button on site edit
| HTML+ERB | mit | Vizzuality/forest-atlas-landscape-cms,Vizzuality/forest-atlas-landscape-cms,Vizzuality/forest-atlas-landscape-cms,Vizzuality/forest-atlas-landscape-cms |
a159e68966adb7baf6399c1e0fe887d590595903 | deployment/puppet/fuel/templates/nailgun/uwsgi_nailgun.yaml.erb | deployment/puppet/fuel/templates/nailgun/uwsgi_nailgun.yaml.erb | uwsgi:
enable-threads: 1
threads: 1
workers: <%= (@physicalprocessorcount) %>
master: 1
socket: :8001
plugin: python
chown-socket: nginx:nginx
pythonpath: /usr/lib/python2.7/site-packages/nailgun
touch-reload: /var/lib/nailgun-uwsgi
virtualenv: /usr
module: nailgun.wsgi
buffer-size: 49180
list... | uwsgi:
enable-threads: 1
threads: 1
workers: <%= (@physicalprocessorcount) %>
master: 1
socket: :8001
plugin: python
chown-socket: nginx:nginx
pythonpath: /usr/lib/python2.7/site-packages/nailgun
touch-reload: /var/lib/nailgun-uwsgi
virtualenv: /usr
module: nailgun.wsgi
buffer-size: 49180
list... | Stop uwsgi service if nailgun app can not be loaded | Stop uwsgi service if nailgun app can not be loaded
'need-app' option makes uwsgi exit if no app can be loaded
Change-Id: Ie54987d4d04b3a8dc533fb5589b65a00a879924a
Closes-bug: 1555003
| HTML+ERB | apache-2.0 | stackforge/fuel-library,stackforge/fuel-library,stackforge/fuel-library,stackforge/fuel-library |
ee90d1cb95333ae277a08dae273896a4a2585331 | TurbolinksDemo/server/lib/turbolinks_demo/views/index.erb | TurbolinksDemo/server/lib/turbolinks_demo/views/index.erb | <p><strong>Hello from Turbolinks!</strong> This demo app will help you get acquainted with the framework.</p>
<ul>
<li><a href="/one">Open a new view controller</a> by following a regular link.</li>
<li><a href="/slow">See the loading indicator</a> and test Turbolinks’ preview cache with this slow-loading page.</l... | <p><strong>Hello from Turbolinks!</strong> This demo app will help you get acquainted with the framework.</p>
<ul>
<li><a href="/one">Open a new view controller</a> by following a regular link.</li>
<li><a href="/slow">See the loading indicator</a> and test Turbolinks’ preview cache with this slow-loading page.</l... | Remove duplicate closing <a> tags | Remove duplicate closing <a> tags
| HTML+ERB | mit | turbolinks/turbolinks-ios,turbolinks/turbolinks-ios,turbolinks/turbolinks-ios,turbolinks/turbolinks-ios,turbolinks/turbolinks-ios |
23a597bcfb8afe5ec353dec234c39b04bfe44969 | app/views/brexit_checker_mailer/change_notification.text.erb | app/views/brexit_checker_mailer/change_notification.text.erb | <%= t("brexit_checker_mailer.change_notification.#{@notification.type}") %>
<% if @action.title_url.present? %>
[<%= @action.title %>](<%= notification_email_link(@action.title_url, @notification) %>)
<% else %>
<%= @action.title %>
<% end %>
<% if @action.consequence.present? %><%= @action.consequence %><% end %>
<... | <%= t("brexit_checker_mailer.change_notification.#{@notification.type}") %>
<% if @action.title_url.present? %>
[<%= @action.title %>](<%= notification_email_link(@action.title_url, @notification) %>)
<% else %>
<%= @action.title %>
<% end %>
<% if @action.consequence.present? %><%= @action.consequence %><% end %>
<... | Add colons to better indicate structure of content | Add colons to better indicate structure of content
This is consistent with the other emails we send [1].
[1]: https://github.com/alphagov/email-alert-api/blob/f55bf44281b282054ff5065f60a93b1819e88e27/config/locales/en.yml#L19
| HTML+ERB | mit | alphagov/finder-frontend,alphagov/finder-frontend,alphagov/finder-frontend,alphagov/finder-frontend |
eae083507165df0e50f44e8564d7e59019533938 | app/views/project_request_mailer/project_request.text.erb | app/views/project_request_mailer/project_request.text.erb | Hi <%= @owner %>
Thanks for requesting your project, <%= @name %>: <%= @url %>, be reviewed for <%= @type %>.
Someone on our team will review your project and be in touch with you in the next few weeks about the next steps.
Best,
The Zooniverse Team
| Hi <%= @owner %>
Thanks for requesting your project, <%= @name %>: <%= @url %>, be reviewed for <%= @type %>.
Someone on our team will review your project and be in touch with you in the next few weeks about the next steps. To learn more about the project review process, timeline, and best practices, please visit <%=... | Add doc link in second template | Add doc link in second template | HTML+ERB | apache-2.0 | zooniverse/Panoptes,zooniverse/Panoptes,zooniverse/Panoptes,zooniverse/Panoptes |
e79234d2a346c21bd1da1ca076fac87e2961264b | app/views/comments/new.html.erb | app/views/comments/new.html.erb |
<%= form_for @comment do |f| %>
<%= f.text_field :title %>
<%= f.text_area :content, size: "60x12" %>
<%= f.submit "Create" %>
<% end %>
| Add view new comment not complete | Add view new comment not complete
| HTML+ERB | mit | JacobCrofts/wintergarten,JacobCrofts/wintergarten,JacobCrofts/wintergarten |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.