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 |
|---|---|---|---|---|---|---|---|---|---|
13c8616cfdbe61a644812acf4163a975f24b9401 | cookbooks/networking/templates/default/wireguard.network.erb | cookbooks/networking/templates/default/wireguard.network.erb | [Match]
Name=wg0
[Network]
Address=<%= node[:networking][:wireguard][:address] %>/128
[Route]
Destination=fd43:e709:ea6d:1::/64
| [Match]
Name=wg0
[Network]
Address=<%= node[:networking][:wireguard][:address] %>/128
[Route]
Destination=fd43:e709:ea6d:1::/64
<% node[:networking][:wireguard][:peers].each do |peer| -%>
<% Array(peer[:allowed_ips]).sort.each do |ip| -%>
<% unless ip =~ /^fd43:e709:ea6d:1::/ -%>
[Route]
Destination=<%= ip %>
<% end... | Add routes to wireguard peers | Add routes to wireguard peers
| HTML+ERB | apache-2.0 | openstreetmap/chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,zerebubu... |
fb873a924bf1cba2a2fed0c08097995a753ffb46 | share/wake/azure/setup/dnsmasq.conf.erb | share/wake/azure/setup/dnsmasq.conf.erb | address=/.local/127.0.0.1
server=/consul/127.0.0.1#8600
no-resolv
no-poll
<% ns_server_ips.each do |ip| %>
server=<%= ip %>
<% end %>
server=8.8.8.8
| no-resolv
no-poll
<% ns_server_ips.each do |ip| %>
server=<%= ip %>
<% end %>
server=8.8.8.8
| Remove extra dns matching for now | Remove extra dns matching for now
| HTML+ERB | mit | wakeful-deployment/wake,wakeful-deployment/wake,wakeful-deployment/wake |
a1f6ef7e028ccf5cb61ab2daf2a1d055582b7c95 | app/views/picks/new.html.erb | app/views/picks/new.html.erb | <div class="form-content">
<%= form_tag(picks_path, method: "post") do %>
<% if !session[:user_id] %>
<%= email_field_tag 'pick[email]',nil, placeholder: 'email' %>
<% end %>
<%= text_field_tag 'pick[game]',nil, placeholder: 'game' %>
<%= number_field_tag 'pick[number1]',nil, placeholder:'0' %>
<%... | <div class="form-content">
<%= form_tag(picks_path, method: "post") do %>
<% if !session[:user_id] %>
<%= email_field_tag 'pick[email]',nil, placeholder: 'email' %>
<% end %>
<div class="row">
<%= text_field_tag 'pick[game]',nil, placeholder: 'game' %>
<div class="row collapse prefix-radius">
... | Put all pick number entriees on 1 row. | Put all pick number entriees on 1 row.
| HTML+ERB | mit | drodriguez56/lotifyMe,drodriguez56/lotifyMe,drodriguez56/lotifyMe |
6e21c792feff8143c7b0f67041a39c1acdcd7aae | app/views/appointment_reports/new.html.erb | app/views/appointment_reports/new.html.erb | <ol class="breadcrumb">
<li><a href="<%= root_path %>">Home</a></li>
<li class="active">Generate an appointment report</li>
</ol>
<h1>Generate an appointment report</h1>
<%= form_for @appointment_report, method: 'GET', target: '_blank', 'data-disable-with': nil, layout: :basic do |f| %>
<%=
f.select(
... | <ol class="breadcrumb">
<li><a href="<%= root_path %>">Home</a></li>
<li class="active">Generate an appointment report</li>
</ol>
<h1>Generate an appointment report</h1>
<%= form_for @appointment_report, method: 'GET', target: '_blank', 'data-disable-with': nil, layout: :basic do |f| %>
<%=
f.select(
... | Remove clear button on report dropdown which is not needed | Remove clear button on report dropdown which is not needed
| HTML+ERB | mit | guidance-guarantee-programme/telephone_appointment_planner,guidance-guarantee-programme/telephone_appointment_planner,guidance-guarantee-programme/telephone_appointment_planner |
bc0cf5952188fce212be7941a790e61a4813531b | app/views/layouts/_delete_confirm.html.erb | app/views/layouts/_delete_confirm.html.erb | <span class="delete-confirm-control-group">
<a class='btn btn-danger delete-button'>
<i class="icon-trash"></i>
</a>
<%= link_to path_to_item,
:method => :delete,
class: 'btn btn-danger delete-confirm-button', style: 'display: none;' do %>
Confirm
<% end %>
</span> | <span class="delete-confirm-control-group">
<%= link_to '#', class: 'btn btn-danger delete-button' do %>
<% if defined?(display_label) %>
<%= display_label %>
<% else %>
<i class="icon-trash"></i>
<% end %>
<% end %>
<%= link_to path_to_item, method: :delete, class: 'btn btn-danger delete... | Make the code slightly more consistent. | Make the code slightly more consistent.
| HTML+ERB | mit | dariusf/coursemology.org,nnamon/coursemology.org,nusedutech/coursemology.org,nusedutech/coursemology.org,nnamon/coursemology.org,nusedutech/coursemology.org,nnamon/coursemology.org,allenwq/coursemology.org,nnamon/coursemology.org,Coursemology/coursemology.org,dariusf/coursemology.org,nusedutech/coursemology.org,dariusf... |
b757b5db8e894d737bffcbd4dead850ba485f741 | lib/hyperloop/generators/site/application.html.erb | lib/hyperloop/generators/site/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title><%= name.capitalize %></title>
</head>
<body>
<h1>Welcome to <%= name.capitalize %>!</h1>
<%%= yield %>
</body>
</html>
| <!DOCTYPE html>
<html>
<head>
<title><%= name.capitalize %></title>
</head>
<body>
<h1>Welcome to <%= name.capitalize %>!</h1>
<nav>
<ul>
<li><a href="/">Home</a></li>
<li><a href="/about">About</a></li>
</ul>
</nav>
<%%= yield %>
</body>
</html>
| Add nav to generator template | Add nav to generator template
| HTML+ERB | mit | jakeboxer/hyperloop,jakeboxer/hyperloop |
5cc400d8712c8459d1c4d4bc953db3de736341d2 | app/views/patients/_sidebar.html.erb | app/views/patients/_sidebar.html.erb | <div class="filters">
<%= form_with(url: patients_path, local: true, method: 'get', skip_enforcing_utf8: true) do %>
<%= search_field_tag :search, params[:search],
size: 23,
results: 5,
autosave: "search_#{current_user.username}",
autocorrect: 'off',
placeholder: t('.search_patients'... | <div class="filters">
<%= form_with(url: patients_path, local: true, method: 'get') do %>
<%= search_field_tag :search, params[:search],
size: 23,
results: 5,
autosave: "search_#{current_user.username}",
autocorrect: 'off',
placeholder: t('.search_patients') %>
<% end %>
</div>
<%... | Revert "Disable utf-8 enforcer, as we do not support IE<8" | Revert "Disable utf-8 enforcer, as we do not support IE<8"
This reverts commit 3d4f64492146840e5ab8ee6b10a44af55707ff69.
| HTML+ERB | mit | Labtec/OpenLIS,Labtec/OpenLIS,Labtec/OpenLIS |
16729dc6c1b0e9b9e1179479270632512c303004 | alert_templates/shared/cf/routes_not_being_registered.json.erb | alert_templates/shared/cf/routes_not_being_registered.json.erb | {
"notify_no_data": false,
"query": "max(last_5m):avg:datadog.nozzle.gorouter.ms_since_last_registry_update{deployment:<%= metron_agent_deployment %>} by {ip} > 30000",
"message": "## Description:\n It's been at least 30 seconds since a router received a \"router.register\" message from an app. <%= cloudops_pa... | {
"created_at": 1450898657000,
"deleted": null,
"message": "## Description:\n It's been at least 30 seconds since a router received a \"router.register\" message from an app.. \n\n## Escalation Path:\n DIEGO Team. \n\n## Possible Causes:\n## Potential Solutions:\n\n##Feedback:\n Have feedback for this alert? [F... | Send this alert to Slack instead of PagerDuty | Send this alert to Slack instead of PagerDuty
[#148471023]
Signed-off-by: Nicholas Calugar <3c1e5caf264206c462dfd677807c430d59fb30df@pivotal.io>
| HTML+ERB | apache-2.0 | pivotal-cf-experimental/datadog-config-oss,pivotal-cf-experimental/datadog-config-oss |
9e47a59c0c2dc1786de6b45cc59deae36b4eca49 | app/views/advanced/_advanced_search_facets_as_select.html.erb | app/views/advanced/_advanced_search_facets_as_select.html.erb | <%# alternate version of facets on form that renders using multi-select.
Has to copy and paste more code from blacklight than default, making
it somewhat more fragile.
Logic taken from facets_helper_behavior.rb, #render_facet_partials and
#render_facet_limit.
%>
<% facets_from_request(facet_field_nam... | <%# alternate version of facets on form that renders using multi-select.
Has to copy and paste more code from blacklight than default, making
it somewhat more fragile.
Logic taken from facets_helper_behavior.rb, #render_facet_partials and
#render_facet_limit.
%>
<% facets_from_request(facet_field_nam... | Fix advanced search facet width | Fix advanced search facet width
| HTML+ERB | mit | trln/trln_argon,trln/trln_argon,trln/trln_argon,trln/trln_argon |
8b1149db4e26575bd8efe65ffe28bf51a9ce8680 | source/blog/index.html.erb | source/blog/index.html.erb | ---
pageable: true
per_page: 10
---
<% if paginate && num_pages > 1 %>
<p>Page <%= page_number %> of <%= num_pages %></p>
<% if prev_page %>
<p><%= link_to 'Previous page', prev_page %></p>
<% end %>
<% end %>
<% page_articles.each_with_index do |article, i| %>
<h2><%= link_to article.title, article %> <s... | ---
title : Blog
pageable : true
---
<% # View the Blog layout for full context %>
| Move content from Blog index to blog__home layout partial | Move content from Blog index to blog__home layout partial
| HTML+ERB | mit | vocksel/my-website,VoxelDavid/voxeldavid-website,vocksel/my-website,VoxelDavid/voxeldavid-website |
5ac2fbb6be7873d0ab86843e42fca7be8f6aec55 | cookbooks/calico/templates/default/compute/felix.cfg.erb | cookbooks/calico/templates/default/compute/felix.cfg.erb | [global]
# Time between retries for failed endpoint operations.
#EndpointRetryTimeMillis = 500
# Time between complete resyncs
#ResyncIntervalSecs = 1800
# Plugin and ACL manager addresses
PluginAddress = <%= @controller %>
ACLAddress = <%= @controller %>
# Metadata IP (or host) and port. If no metadata configuratio... | [global]
# Time between retries for failed endpoint operations.
#EndpointRetryTimeMillis = 500
# Time between complete resyncs
#ResyncIntervalSecs = 1800
# Hostname to use in messages - defaults to server hostname
#FelixHostname = hostname
# Plugin and ACL manager addresses
PluginAddress = <%= @controller %>
ACLAddress... | Update config file with correct fields. | Update config file with correct fields.
| HTML+ERB | apache-2.0 | Metaswitch/calico-chef,projectcalico/calico-chef,Metaswitch/calico-chef,projectcalico/calico-chef,Metaswitch/calico-chef,projectcalico/calico-chef |
e2d2c13ad5bcf7aabc1764b3cb3ab3990cc9d8ca | app/views/admin/control.html.erb | app/views/admin/control.html.erb | <h1>Control Panel</h1>
<div class="dashboard">
<table class="table">
<thead>
<tr>
<th>Metric</th>
<th>Status</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<% @metrics.each do |metric| %>
<tr>
<td rowspan="2"><%= metric.to_s.titlecase %></td>
... | <h1>Control Panel</h1>
<div class="dashboard">
<table class="table">
<thead>
<tr>
<th>Metric</th>
<th>Status</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<% @metrics.each do |metric| %>
<tr>
<td rowspan="2"><%= metric.to_s.titlecase %></td>
... | Use icons for the buttons | Use icons for the buttons
Just added an icon as button label.
Signed-off-by: Konrad Reiche <4ff0213f56e2082fcd8c882d04c546881c579ce4@gmail.com>
| HTML+ERB | mit | platzhirsch/metadata-census |
8bf2b719b6ea18b4f0d8e832f4689549d125bc4f | conf/nginx/symfony2.conf.erb | conf/nginx/symfony2.conf.erb | <% if ENV.has_key? "DOCUMENT_ROOT" and ENV['DOCUMENT_ROOT'] != nil %>
root <%= ENV['DOCUMENT_ROOT'] %>;
<% else %>
root /app/web;
<% end %>
location / {
# try to serve file directly, fallback to rewrite
try_files $uri @rewriteapp;
}
location @rewriteapp {
# rewrite all to app.php
rewrite ^(.*)$ /app.p... | <% if ENV.has_key? "DOCUMENT_ROOT" and ENV['DOCUMENT_ROOT'].to_s != "" %>
root <%= ENV['DOCUMENT_ROOT'] %>;
<% else %>
root /app/web;
<% end %>
location / {
# try to serve file directly, fallback to rewrite
try_files $uri @rewriteapp;
}
location @rewriteapp {
# rewrite all to app.php
rewrite ^(.*)$ /a... | Use != '' instead of != nil | Use != '' instead of != nil
| HTML+ERB | mit | stof/heroku-buildpack-php,jstacoder/heroku-buildpack-php-1,Scalingo/php-buildpack,OKAMca/heroku-buildpack-php,penciu/apache,OKAMca/heroku-buildpack-php,Jonatasmz/php-buildpack,CHH/heroku-buildpack-php,OKAMca/heroku-buildpack-php,ryosuzuki/php-buildpack,ryosuzuki/php-buildpack,Scalingo/php-buildpack,AlphaStaxLLC/heroku-... |
0aabb664f4b3929dad042c77a80e030730e9bb94 | app/views/partials/_navbar_top.html.erb | app/views/partials/_navbar_top.html.erb | <!-- Navigation -->
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle n... | <!-- Navigation -->
<nav class="navbar navbar-default navbar-fixed-top">
<h1 class="sr-only">Main Navigation</h1>
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navb... | Add heading tag for screen reader table of contents | Add heading tag for screen reader table of contents
| HTML+ERB | mit | downeyd27/personal_website,downeyd27/personal_website,downeyd27/personal_website |
0dff7cc5919e9d88bb44e0dde7662df9ee885068 | app/views/specialist_guides/_document_contextual.html.erb | app/views/specialist_guides/_document_contextual.html.erb | <section class="contextual_info">
<h1>Chapters</h1>
<nav class="specialist_guide_parts" role="navigation">
<% if govspeak_headers(edition.body).any? %>
<ol id="document_sections">
<% govspeak_headers(edition.body).each do |header| %>
<li><%= link_to header.text, public_document_path(edit... | <section class="contextual_info">
<% if govspeak_headers(edition.body).any? %>
<h1>Chapters</h1>
<nav class="specialist_guide_parts" role="navigation">
<ol id="document_sections">
<% govspeak_headers(edition.body).each do |header| %>
<li><%= link_to header.text, public_document_path(ed... | Hide Chapter heading if no chapters exist | Hide Chapter heading if no chapters exist
| HTML+ERB | mit | askl56/whitehall,ggoral/whitehall,ggoral/whitehall,robinwhittleton/whitehall,robinwhittleton/whitehall,askl56/whitehall,robinwhittleton/whitehall,hotvulcan/whitehall,askl56/whitehall,YOTOV-LIMITED/whitehall,YOTOV-LIMITED/whitehall,YOTOV-LIMITED/whitehall,alphagov/whitehall,alphagov/whitehall,askl56/whitehall,robinwhitt... |
9ebfed596119af9effd577b82a217f81071cbe94 | app/views/spree/shared/_recently_viewed_products.html.erb | app/views/spree/shared/_recently_viewed_products.html.erb | <% if cached_recently_viewed_products.any? %>
<div id="recently_viewed" data-hook>
<h6 class="product-section-title"><%= Spree.t(:recently_viewed_products) %></h6>
<ul id="recently_viewed_products">
<% cached_recently_viewed_products.each do |product| %>
<li><%= link_to product.name, product %><... | <% if cached_recently_viewed_products.any? %>
<div id="recently_viewed" data-hook>
<h3 class="product-section-title"><%= Spree.t(:recently_viewed_products) %></h3>
<ul id="recently_viewed_products" class="list-group">
<% cached_recently_viewed_products.each do |product| %>
<li class="list-group-... | Change frontend layout to use list-group class. | Change frontend layout to use list-group class.
| HTML+ERB | bsd-3-clause | spree-contrib/spree_recently_viewed,sunny2601/spree_recently_viewed,priyank-gupta/spree_recently_viewed,spree-contrib/spree_recently_viewed,isabellaSantos/spree_recently_viewed,isabellaSantos/spree_recently_viewed,priyank-gupta/spree_recently_viewed,priyank-gupta/spree_recently_viewed,isabellaSantos/spree_recently_view... |
110d438e2452ee00030ba1359e3481969ebc257c | app/views/spree/admin/payments/source_forms/_paypalec.html.erb | app/views/spree/admin/payments/source_forms/_paypalec.html.erb | <% content_for :head do %>
<script type="text/javascript">
jQuery(document).ready(function(){
$("label:contains('<%= payment_method.name %>')").hide();
$("label:contains('<%= payment_method.name %>') input").disable();
});
</script>
<% end %>
| Add backend source-form partial for paypalec. | Add backend source-form partial for paypalec.
This fixes #9
| HTML+ERB | bsd-3-clause | berkes/spree_billing_sisow,berkes/spree_billing_sisow | |
3e407d607d39f72e01dc6c466cc1e023bc967858 | app/views/admin/attachments/_reference_fields.html.erb | app/views/admin/attachments/_reference_fields.html.erb | <% if attachable.respond_to?(:translated_locales) && attachable.translated_locales.many? %>
<%= form.label :locale, 'This attachment displays in' %>
<%= form.select :locale, options_for_locales(attachable.translated_locales), include_blank: 'All languages' %>
<% end %>
<%= form.text_field :isbn, label_text: 'ISBN' ... | <% if attachable.respond_to?(:translated_locales) && attachable.translated_locales.many? %>
<%= form.label :locale, 'Display language' %>
<p class="help-block">This determines the translations of the publication that the attachment will appear in.</p>
<%= form.select :locale, options_for_locales(attachable.transl... | Update locale label on attachment edit form | Update locale label on attachment edit form
To clarify the purpose of the language field.
| HTML+ERB | mit | askl56/whitehall,ggoral/whitehall,alphagov/whitehall,robinwhittleton/whitehall,YOTOV-LIMITED/whitehall,hotvulcan/whitehall,YOTOV-LIMITED/whitehall,askl56/whitehall,hotvulcan/whitehall,alphagov/whitehall,askl56/whitehall,hotvulcan/whitehall,hotvulcan/whitehall,ggoral/whitehall,YOTOV-LIMITED/whitehall,askl56/whitehall,ro... |
5c7f100b148b90d450abbf244617b316223051b7 | app/views/bookings/_form.html.erb | app/views/bookings/_form.html.erb | <%= semantic_form_for @booking do |f| %>
<%= error_messages_for 'booking' %>
<%= f.inputs do %>
<%= f.input :value_date %>
<%= f.input :amount, :input_html => {:size => 12, :style => 'text-align: right'} %>
<%= f.input :title %>
<%= f.input :credit_account %>
<%= f.input :debit_account %>
<... | <%= semantic_form_for @booking do |f| %>
<%= f.semantic_errors %>
<%= f.inputs do %>
<%= f.input :value_date %>
<%= f.input :amount, :input_html => {:size => 12, :style => 'text-align: right'} %>
<%= f.input :title %>
<%= f.input :credit_account %>
<%= f.input :debit_account %>
<%= f.input ... | Use semantic_errors in bookings form. | Use semantic_errors in bookings form.
| HTML+ERB | agpl-3.0 | silvermind/bookyt,xuewenfei/bookyt,xuewenfei/bookyt,hauledev/bookyt,silvermind/bookyt,gaapt/bookyt,wtag/bookyt,huerlisi/bookyt,silvermind/bookyt,gaapt/bookyt,gaapt/bookyt,silvermind/bookyt,huerlisi/bookyt,hauledev/bookyt,xuewenfei/bookyt,hauledev/bookyt,wtag/bookyt,wtag/bookyt,gaapt/bookyt,huerlisi/bookyt,hauledev/book... |
ae0227d1492eb129ea027d0758bfaf9b845162a4 | app/views/layouts/report.html.erb | app/views/layouts/report.html.erb | <!DOCTYPE HTML>
<!--[if lt IE 8]><html class="no-js oldIE" lang="en-US"><![endif]-->
<!--[if IE 8]><html class="no-js lt-ie9" lang="en-US"><![endif]-->
<!--[if IE 9]><html class="no-js ie9" lang="en-US"><![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--><html id="cypress3" lang="en-US" class="no-js not-ie"><!--<![endif]-->
<he... | <!DOCTYPE HTML>
<!--[if lt IE 8]><html class="no-js oldIE" lang="en-US"><![endif]-->
<!--[if IE 8]><html class="no-js lt-ie9" lang="en-US"><![endif]-->
<!--[if IE 9]><html class="no-js ie9" lang="en-US"><![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--><html id="cypress3" lang="en-US" class="no-js not-ie"><!--<![endif]-->
<he... | Fix the report layout so it can find the application.css asset in dev and prod | Fix the report layout so it can find the application.css asset in dev and prod
| HTML+ERB | apache-2.0 | projectcypress/cypress,projectcypress/cypress,projectcypress/cypress,projectcypress/cypress |
25b6b0313cbcf83b40e0f7955d92f186c2fc33e4 | app/views/styleguide/shared/_category_filter.html.erb | app/views/styleguide/shared/_category_filter.html.erb | <nav>
<ul class="category-filter l-category-filter">
<li class="category-filter__list-item is-selected"><a href="">All</a></li>
<li class="category-filter__list-item"><a href="">Teenage voices on first financial decisions</a></li>
<li class="category-filter__list-item"><a href="">Staying on in education</... | <nav role="navigation" aria-label="category">
<ul class="category-filter l-category-filter">
<li class="category-filter__list-item is-selected"><a href="">All</a></li>
<li class="category-filter__list-item"><a href="">Teenage voices on first financial decisions</a></li>
<li class="category-filter__list-it... | Add aria roles to nav filter | Add aria roles to nav filter
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
ba772517b2223851492d075a440b5b2d61ee466e | backend/app/views/spree/admin/shared/_product_sub_menu.html.erb | backend/app/views/spree/admin/shared/_product_sub_menu.html.erb | <ul class="admin-subnav" data-hook="admin_product_sub_tabs">
<% if can? :admin, Spree::Product %>
<%= tab :products, match_path: '/products' %>
<% end %>
<% if can? :admin, Spree::OptionType %>
<%= tab :option_types, match_path: '/option_types' %>
<% end %>
<% if can? :admin, Spree::Property %>
<%... | <ul class="admin-subnav" data-hook="admin_product_sub_tabs">
<% if can? :admin, Spree::Product %>
<%= tab :products, match_path: '/products' %>
<% end %>
<% if can? :admin, Spree::OptionType %>
<%= tab :option_types, match_path: '/option_types' %>
<% end %>
<% if can? :admin, Spree::Property %>
<%... | Allow other admins to see the taxonomies | Allow other admins to see the taxonomies
The taxonomy index already has precautions against letting users edit
and delete taxonomies. There are cases where it will be valuable for
admins without permission to edit or delete taxonomies to see what
taxonomies exist.
This may be a change we should be making in other are... | HTML+ERB | bsd-3-clause | pervino/solidus,jordan-brough/solidus,Arpsara/solidus,jordan-brough/solidus,Arpsara/solidus,pervino/solidus,jordan-brough/solidus,pervino/solidus,Arpsara/solidus,jordan-brough/solidus,pervino/solidus,Arpsara/solidus |
7b9bf6ef0f3f579947bb613da9ae648327fd7923 | cookbooks/taginfo/templates/default/update-planet.erb | cookbooks/taginfo/templates/default/update-planet.erb | #!/bin/sh
# DO NOT EDIT - This file is being maintained by Chef
# setup
PLANETDIR="<%= @directory %>/planet"
LOGDIR="${PLANETDIR}/log"
PLANETPREV="${PLANETDIR}/planet-previous.pbf"
PLANETCURR="${PLANETDIR}/planet.pbf"
PLANETNEW="${PLANETDIR}/planet-new.pbf"
# start logging
exec > "${LOGDIR}/$(date +%Y%m%d-%H%M).lo... | #!/bin/sh
# DO NOT EDIT - This file is being maintained by Chef
# setup
PLANETDIR="<%= @directory %>/planet"
LOGDIR="${PLANETDIR}/log"
PLANETPREV="${PLANETDIR}/planet-previous.pbf"
PLANETCURR="${PLANETDIR}/planet.pbf"
PLANETNEW="${PLANETDIR}/planet-new.pbf"
PLANETTMP="${PLANETDIR}/planet-tmp.pbf"
# start logging
e... | Make taginfo handle planet updates that need multiple passes correctly | Make taginfo handle planet updates that need multiple passes correctly
| HTML+ERB | apache-2.0 | tomhughes/openstreetmap-chef,Firefishy/chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,Firefishy/chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,Firefishy/chef,openstreetmap/chef,tomhughes/openstreetmap-chef,openstreetm... |
420933726dc8e1ce996e8d76ec30502c28829fa1 | lib/smart_answer_flows/coronavirus-employee-risk-assessment/questions/is_your_employer_asking_you_to_work.erb | lib/smart_answer_flows/coronavirus-employee-risk-assessment/questions/is_your_employer_asking_you_to_work.erb | <% text_for :title do %>
Is your employer asking you to work or to start work from 4 July 2020?
<% end %>
<% options(
"yes": "Yes",
"no": "No",
) %>
| <% text_for :title do %>
Is your employer asking you to return to work?
<% end %>
<% options(
"yes": "Yes",
"no": "No",
) %>
| Update content for return to work question | Update content for return to work question
This is for the coronavirus employee risk assessment flow.
| HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
1a9fff2a875b2ac5ca3344370c7a618dc416c581 | alert_templates/prod/tls_backend_handshake_errors.json.erb | alert_templates/prod/tls_backend_handshake_errors.json.erb | {
"created_at": 1523056100000,
"deleted": null,
"message": "Gorouter backend TLS handshake failed! This really should not happen. Did you just deploy something bad?\nGet in touch with routing.\n\n\n @slack-cloudops-us-pws <%= cloudops_pagerduty %>",
"multi": false,
"name": "TLS Backend Handshake Errors",
"o... | {
"created_at": 1523056100000,
"deleted": null,
"message": "Gorouter backend TLS handshake failed! This really should not happen. Did you just deploy something bad?\nGet in touch with routing.\n\n\n @slack-cloudops-us-pws <%= cloudops_pagerduty %>",
"multi": false,
"name": "TLS Backend Handshake Errors",
"o... | Adjust thresholds for TLS Handshake Errors | Adjust thresholds for TLS Handshake Errors
The intention being to avoid single spikes during deployment (seems to
be a known issue).
| HTML+ERB | apache-2.0 | pivotal-cf-experimental/datadog-config-oss,pivotal-cf-experimental/datadog-config-oss |
10d3e11769d2f2b8e37e9af238455b2c8e7b261f | section.htm.erb | section.htm.erb | <% if(template = section[:template])
tilt_template = Tilt.new(template.gsub(/\s*/, ''))
output = tilt_template.render
end %>
<%= output %> | <%
require 'json'
if(template = section[:template])
data = {}
if(json = section[:data])
data = JSON.parse(json)
end
tilt_template = Tilt.new(template.gsub(/\s*/, ''))
output = tilt_template.render(Object.new, data)
end %>
<%= output %> | Add data rendering to templates | Add data rendering to templates
| HTML+ERB | mit | andybry/styleguide,andybry/styleguide |
1d92e03f39067cf7192bed1533b380456ab009ea | app/views/articles/index.html.erb | app/views/articles/index.html.erb | <div class="col-xs-12">
<% @articles.each do |article| %>
<div class="well">
<h3><%= link_to article.title, article_path(article) %></h3>
<br />
<p>
<%= article.text %>
</p>
<br />
<span style="font-size: 75%; color: #999">Created at <%= article.created_at %>.
<% if ... | <div class="col-xs-12">
<% @articles.each do |article| %>
<div class="well">
<h3><%= link_to article.title, article_path(article) %></h3>
<br />
<p>
<%= article.text %>
</p>
<br />
<span style="font-size: 75%; color: #999">Created at <%= article.created_at %>.
<% if ... | Add locales on articles index page | Add locales on articles index page
| HTML+ERB | mit | Kraykin/Blog-sample,Kraykin/Blog-sample,Kraykin/Blog-sample |
c997d00a9a806bf5b6c1378c520e540397167530 | app/views/graphs/stacked.html.erb | app/views/graphs/stacked.html.erb | <%= javascript_include_tag "rickshaw" %>
<%= javascript_include_tag "underscore.min" %>
<%= stylesheet_link_tag "graphs_stacked" %>
<script src="/assets/graphs/stacked.js"></script>
<div class="slider" id="slider"></div>
<div id="chart_container">
<div class="axis0" id="axis0">
<div class="stub stub_left" id="a... | <%= javascript_include_tag "rickshaw" %>
<%= javascript_include_tag "underscore.min" %>
<%= stylesheet_link_tag "graphs_stacked" %>
<script src="/assets/graphs/stacked.js"></script>
<div class="col-md-10">
<div class="slider" id="slider"></div>
</div>
<div class="col-md-10">
<div id="chart_container">
<div cla... | Put slider and chart into col div to prevent slider slipping off to the left on epic window width, batman | Put slider and chart into col div to prevent slider slipping off to the left on epic window width, batman
| HTML+ERB | bsd-3-clause | glasnt/machiavelli,machiavellian/machiavelli,machiavellian/machiavelli,glasnt/machiavelli,machiavellian/machiavelli,glasnt/machiavelli,glasnt/machiavelli,machiavellian/machiavelli |
034c78b542205eb1e692a8214e31450fbb168aa8 | app/views/standups/index.html.erb | app/views/standups/index.html.erb | <h1>Choose a Standup</h1>
<table class='table-striped'>
<% @standups.each do |standup| %>
<tr>
<td><%= link_to standup.title, standup %></td>
<td><%= link_to 'Edit', edit_standup_path(standup) %></td>
</tr>
<% end %>
</table>
<%= link_to('New Standup', new_standup_path) %>
| <h1>Choose a Standup</h1>
<table>
<% @standups.each do |standup| %>
<tr>
<td><h1><%= link_to standup.title, standup %></h1></td>
<td class='pull-right'><%= link_to 'Edit', edit_standup_path(standup) %></td>
</tr>
<% end %>
</table>
<div>
<%= link_to('New Standup', new_standup_path) %>
</div>... | Add some styling to the Standups index page | Add some styling to the Standups index page
| HTML+ERB | mit | mikeymc/whiteboard,pivotal/whiteboard,mikeymc/whiteboard,pivotal/whiteboard,mikeymc/whiteboard,pivotal/whiteboard,pivotal/whiteboard,se3000/whiteboard,se3000/whiteboard,mikeymc/whiteboard |
01acb41ac737ef16359bd1b8eadff6668372c173 | app/views/_footer.html.erb | app/views/_footer.html.erb | <footer>
© Daniel, Nathan, Peter, Stefan | <i class="fa fa-github"></i> <%= link_to 'GitHub Repo', 'https://github.com/great-horned-owls-2014/dbc-what-is-this' %>
</footer>
| <footer>
DBC NYC 2014 © Daniel, Nathan, Peter, Stefan | <i class="fa fa-github"></i> <%= link_to 'GitHub Repo', 'https://github.com/great-horned-owls-2014/dbc-what-is-this' %>
</footer>
| Add dbc info to footer | Add dbc info to footer
| HTML+ERB | mit | great-horned-owls-2014/dbc-what-is-this,great-horned-owls-2014/dbc-what-is-this |
e6e1c7958af293ef023be20c620aa7279db8d51c | source/_header.html.erb | source/_header.html.erb | <div class="contain-to-grid">
<nav class="top-bar">
<ul class="title-area">
<li class="name"><h1><a href="/">RuLu</a></h1></li>
<li class="toggle-topbar menu-icon"><a href="#"><span></span></a></li>
</ul>
<section class="top-bar-section">
<ul class="left">
<li><%= link_to 'Speake... | <div class="contain-to-grid">
<nav class="top-bar">
<ul class="title-area">
<li class="name"><h1><a href="/">RuLu</a></h1></li>
<li class="toggle-topbar menu-icon"><a href="#"><span></span></a></li>
</ul>
<section class="top-bar-section">
<ul class="left">
<li><%= link_to 'Speake... | Add schedule to the nav bar | Add schedule to the nav bar
| HTML+ERB | mit | rulu-eu/rulu2014,rulu-eu/rulu2014,rulu-eu/rulu2014 |
feb58d60f43d68c84a4a21ba12270f1d55d34266 | backend/app/views/spree/admin/orders/confirm/_line_items.html.erb | backend/app/views/spree/admin/orders/confirm/_line_items.html.erb | <% if order.line_items.exists? %>
<table class="line-items index" data-hook="line-items">
<thead>
<th colspan="2"><%= Spree::LineItem.human_attribute_name(:name) %></th>
<th><%= Spree::LineItem.human_attribute_name(:price) %></th>
<th><%= Spree::LineItem.human_attribute_name(:quantity) %></th>
... | <% if order.line_items.exists? %>
<table class="line-items index" data-hook="line-items">
<thead>
<th colspan="2"><%= Spree::LineItem.human_attribute_name(:name) %></th>
<th><%= Spree::LineItem.human_attribute_name(:price) %></th>
<th><%= Spree::LineItem.human_attribute_name(:quantity) %></th>
... | Remove deprecated mini_image and use share image view instead | Remove deprecated mini_image and use share image view instead
| HTML+ERB | bsd-3-clause | pervino/solidus,pervino/solidus,pervino/solidus,pervino/solidus |
264b5f16639d713c6d43b4ffc4f24df6ba5e9635 | lib/views/backend/spree/admin/shared/_navigation_footer.html.erb | lib/views/backend/spree/admin/shared/_navigation_footer.html.erb | <% if spree_current_user %>
<ul id="login-nav" class="admin-login-nav">
<li data-hook="user-account-link">
<%= link_to spree.edit_admin_user_path(spree_current_user) do %>
<i class='fa fa-user'></i>
<%= spree_current_user.email %>
<% end %>
</li>
<li data-hook="user-logout-link... | <% if spree_current_user %>
<ul id="login-nav" class="admin-login-nav">
<li data-hook="user-account-link">
<% if can?(:admin, try_spree_current_user) %>
<%= link_to spree.edit_admin_user_path(try_spree_current_user) do %>
<i class='fa fa-user'></i>
<%= try_spree_current_user.emai... | Disable backend footer profile edit link if role cannot edit users | Disable backend footer profile edit link if role cannot edit users
| HTML+ERB | bsd-3-clause | solidusio/solidus_auth_devise,solidusio/solidus_auth_devise,solidusio/solidus_auth_devise |
329ac2034dd5e83a7241be28862be3ce9a9b386c | lib/views/admin_request/_hidden_user_explanation_reasons.html.erb | lib/views/admin_request/_hidden_user_explanation_reasons.html.erb | <%= hidden_user_explanation label: 'Not a valid FOI request',
state: 'not_foi',
message: 'not_foi' %>
<%= hidden_user_explanation label: 'Contains personal information',
state: 'not_foi',
message: 'personal_... | <%= hidden_user_explanation label: 'Not a valid FOI request',
state: 'not_foi',
message: 'not_foi' %>
<%= hidden_user_explanation label: 'Personal correspondence',
state: 'not_foi',
message: 'personal_corres... | Change hidden explanation label to 'Personal correspondence' | Change hidden explanation label to 'Personal correspondence'
Reflects change made in core: mysociety/alaveteli@72776e94
| HTML+ERB | mit | mysociety/whatdotheyknow-theme,mysociety/whatdotheyknow-theme,mysociety/whatdotheyknow-theme |
c28ef7248151049fa848c22dd79b4671e05ec4dc | spec/integration/launcher/data/storage_profile.yaml.erb | spec/integration/launcher/data/storage_profile.yaml.erb | ---
vapps:
- name: <%= vapp_name_1 %>
vdc_name: <%= vdc_name_1 %>
catalog: <%= catalog %>
catalog_item: <%= vapp_template %>
vm:
hardware_config:
memory: 4096
cpu: 2
bootstrap:
script_path: <%= bootstrap_script %>
vars:
message: hello world
s... | ---
vapps:
- name: <%= vapp_name_1 %>
vdc_name: <%= vdc_name_1 %>
catalog: <%= catalog %>
catalog_item: <%= vapp_template %>
vm:
hardware_config: &hardware_config
memory: 4096
cpu: 2
bootstrap: &bootstrap
script_path: <%= bootstrap_script %>
vars:
... | Use anchors instead of repeating data | Use anchors instead of repeating data
| HTML+ERB | mit | UKHomeOffice/vcloud-launcher,gds-operations/vcloud-launcher,UKHomeOffice/vcloud-launcher,gds-operations/vcloud-launcher,gds-operations/vcloud-launcher,UKHomeOffice/vcloud-launcher |
7099740f6ce4ff99326ad3a4f51e08a5ffe9b6ff | lib/smart_answer_flows/register-a-birth/outcomes/homeoffice_result.govspeak.erb | lib/smart_answer_flows/register-a-birth/outcomes/homeoffice_result.govspeak.erb | <% content_for :body do %>
$!You must register the birth according to the regulations in <%= registration_country_name_lowercase_prefix %>.$!
You can’t usually register your child’s birth with the Foreign and Commonwealth Office (FCO) Overseas Registration Unit. This is because unmarried fathers can’t pass on Brit... | <% content_for :body do %>
$!You must register the birth according to the regulations in <%= registration_country_name_lowercase_prefix %>.$!
You can’t usually register your child’s birth with the Foreign and Commonwealth Office (FCO) Overseas Registration Unit. This is because unmarried fathers can’t pass on Brit... | Update the home office result in register a birth | Update the home office result in register a birth
| HTML+ERB | mit | stwalsh/smart-answers,aledelcueto/smart-answers,aledelcueto/smart-answers,stwalsh/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,stwalsh/smart-answers,alphagov/smart-answers,stwalsh/smart-answers,aledelcueto/smart-answers |
27fe66799cf24dd9dfe397ddffd4f0fbe0e7d01b | app/views/devise/registrations/new.html.erb | app/views/devise/registrations/new.html.erb | <div class="card sign-in">
<div class="card-header">
<%= t('.title') %>
</div>
<div class="card-block">
<h4 class="card-title"><%= t('sign_up.info') %></h4>
<%= simple_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
<%= f.error_notification %>
<di... | <div class="card sign-in">
<div class="card-header">
<%= t('.title') %>
</div>
<div class="card-block google-login">
<a href="<%= user_google_oauth2_omniauth_authorize_path %>" class="btn btn-block btn-secondary btn-danger">
<%= t('links.google_login') %>
<%= icon 'google' %>
</a>
</div>... | Add google oauth to signup page; | Add google oauth to signup page;
| HTML+ERB | mit | loqman/EventCalendar,loqman/EventCalendar,loqman/EventCalendar |
72bb8333e1b295d6d88af7717591cc1299f85f6b | workstation-settings/templates/default/fish/plugins/dev.fish.erb | workstation-settings/templates/default/fish/plugins/dev.fish.erb | #
# General development shortcuts
#
function tld; tail -f log/development.log; end
| #
# General development shortcuts
#
function tld; tail -f log/development.log; end
#
# ViaViela Portal
#
function vvpdb
curl -o production.dump (heroku pgbackups:url -a portal-production)
pg_restore --verbose --clean --no-acl --no-owner -h localhost -d viaviela_portal_development production.dump
end
function v... | Add some project specific shortcuts | Add some project specific shortcuts
| HTML+ERB | mit | JohnBernas/chef-osx-workstation |
c0e7998c9ebe94839c9401964be2ad6609bb5ea9 | cookbooks/logstash/templates/default/logstash.conf.erb | cookbooks/logstash/templates/default/logstash.conf.erb | input {
lumberjack {
port => 5043
ssl_certificate => "/var/lib/logstash/lumberjack.crt"
ssl_key => "/var/lib/logstash/lumberjack.key"
}
}
filter {
if [type] == "apache" {
grok {
match => [ "message", "%{COMBINEDAPACHELOG} %{NUMBER:duration:int}us %{WORD:request_id} %{NOTSPACE:ssl_protocol} ... | input {
lumberjack {
port => 5043
ssl_certificate => "/var/lib/logstash/lumberjack.crt"
ssl_key => "/var/lib/logstash/lumberjack.key"
}
}
filter {
if [type] == "apache" {
grok {
match => [ "message", "%{COMBINEDAPACHELOG} %{NUMBER:duration:int}us %{WORD:request_id} %{NOTSPACE:ssl_protocol} ... | Set the elasticsearch cluster name for logstash | Set the elasticsearch cluster name for logstash
| HTML+ERB | apache-2.0 | openstreetmap/chef,openstreetmap/chef,openstreetmap/chef,Firefishy/chef,gravitystorm/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,gravitystorm/chef,gravitystorm/chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,gravityst... |
121485ba9ccb60d40ef47fd972605f8d6889df12 | app/views/notifications/new_user_location_issue.text.erb | app/views/notifications/new_user_location_issue.text.erb | Hi <%= @user.name %>,
A new issue with the title "<%= @issue.title %>" has been reported near
your <%= @category.name %> location.
You can view the issue at:
<%= url_for(@issue) %>
Regards,
Cyclescape
You have received this message because your preferences indicate that you
would like us to notify you when new iss... | Hi <%= @user.name %>,
A new issue with the title "<%= @issue.title %>" has been reported near
your <%= @category.name %> location.
You can view the issue at:
<%= issue_url(@issue) %>
Regards,
Cyclescape
You have received this message because your preferences indicate that you
would like us to notify you when new i... | Set correct issue URL on notification email. | Set correct issue URL on notification email.
| HTML+ERB | mit | auto-mat/toolkit,cyclestreets/cyclescape,cyclestreets/cyclescape,auto-mat/toolkit,cyclestreets/cyclescape |
c96fa98b776f4c2b49e3dc1caff1a30c0e232ca2 | templates/interview.erb | templates/interview.erb | ---
layout: default
---
<article class="h-card">
<header>
<%= render_template('shared.interview', interview: @this, selected: true) %>
</header>
<%= yield %>
<% if @this.licence %>
<p class="licence">This interview is available under the <a href="http://creativecommons.org/licenses/<%= @this.licence %>... | ---
layout: default
---
<article class="h-card">
<header>
<%= render_template('shared.interview', interview: @this, selected: true) %>
</header>
<%= yield %>
<% if @this.licence %><p id="licence"><strong>Note:</strong> This interview is available under the <a href="http://creativecommons.org/licenses/<%=... | Switch the attribute and tweak the text of the licence info | Switch the attribute and tweak the text of the licence info
| HTML+ERB | mit | waferbaby/usesthis,ivuk/usesthis,waferbaby/usesthis,ivuk/usesthis |
16a6764edd406fc1002d191297789a24f459c3a0 | backend/app/views/spree/admin/orders/_add_line_item.html.erb | backend/app/views/spree/admin/orders/_add_line_item.html.erb | <%= render partial: "spree/admin/variants/autocomplete", formats: :js %>
<%= render partial: "spree/admin/variants/autocomplete_line_items_stock", formats: :js %>
<div id="add-line-item" data-hook class="card mb-3">
<div class="card-header">
<h1 class="card-title mb-0 h5"><%= Spree.t(:add_product) %></h1>
</d... | <%= render partial: "spree/admin/variants/autocomplete", formats: :js %>
<%= render partial: "spree/admin/variants/autocomplete_line_items_stock", formats: :js %>
<div id="add-line-item" data-hook class="card mb-3">
<div class="card-header">
<h1 class="card-title mb-0 h5"><%= Spree.t(:add_product) %></h1>
</d... | Fix add_product_name input width and display | Fix add_product_name input width and display
| HTML+ERB | bsd-3-clause | imella/spree,imella/spree,ayb/spree,ayb/spree,ayb/spree,ayb/spree,imella/spree |
0f1b86292ca6e936fe64ac03620e9d02da62e2b8 | app/views/styleguide/pages_feedback_information.html.erb | app/views/styleguide/pages_feedback_information.html.erb | <% content_for(:context_bar) do %>
<%= render 'shared/breadcrumbs', breadcrumbs: categories %>
<% end %>
<div class="l-main editorial">
<div class="l-main__row">
<main class="l-main__cell-single" role="main">
<h1>Give us your feedback</h1>
<p>All fields are mandatory</p>
<div class="form__r... | <% content_for(:context_bar) do %>
<%= render 'shared/breadcrumbs', breadcrumbs: categories %>
<% end %>
<div class="l-main editorial">
<div class="l-main__row">
<main class="l-main__cell-single" role="main">
<h1>Give us your feedback</h1>
<p>All fields are mandatory</p>
<p>You are providin... | Add contextual text to content advice | Add contextual text to content advice
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
94cb8f8337856146fb3cb1c2806c908aebc3a21a | templates/epel_pkgs.erb | templates/epel_pkgs.erb | fuse-sshfs
multitail
rrdtool-ruby
ruby-augeas
ruby-irb
ruby-rdoc
ruby-RRDtool
ruby-mysql
rubygem-actionmailer
rubygem-actionpack
rubygem-activerecord
rubygem-activeresource
rubygem-activesupport
rubygem-rails
rubygem-rake
rubygem-rack
rubygem-rack-test
rubygem-rspec
rubygem-sinatra
rubygem-sqlite3-ruby
rubygem-stomp
tm... | fuse-sshfs
libident
multitail
ngircd
rrdtool-ruby
ruby-augeas
ruby-irb
ruby-rdoc
ruby-RRDtool
ruby-mysql
rubygem-actionmailer
rubygem-actionpack
rubygem-activerecord
rubygem-activeresource
rubygem-activesupport
rubygem-rails
rubygem-rake
rubygem-rack
rubygem-rack-test
rubygem-rspec
rubygem-sinatra
rubygem-sqlite3-ruby
... | Add in the ngircd package and libident that it depends on. | Add in the ngircd package and libident that it depends on.
| HTML+ERB | apache-2.0 | puppetlabs/pltraining-localrepo,samuelson/pltraining-localrepo,puppetlabs/pltraining-localrepo,joshsamuelson/pltraining-localrepo |
c2023aaa0ae2240e61f6480d7479482c58d015eb | templates/hound.yml.erb | templates/hound.yml.erb | AllCops:
Include:
- 'Gemfile'
- 'Rakefile'
Exclude:
- 'bin/*'
- 'db/schema.rb'
- 'db/migrate/*'
ParameterLists:
Max: 4
CountKeywordArgs: true
ClassLength:
Max: 100
LineLength:
Enabled: false
MethodLength:
CountComments: false
Max: 15
# Avoid more than `Max` levels of nesting.
Bl... | AllCops:
Include:
- 'Gemfile'
- 'Rakefile'
Exclude:
- 'bin/*'
- 'db/schema.rb'
- 'db/migrate/*'
ParameterLists:
Max: 4
CountKeywordArgs: true
ClassLength:
Max: 100
LineLength:
Enabled: false
MethodLength:
CountComments: false
Max: 15
# Avoid more than `Max` levels of nesting.
Bl... | Revert Hound single VS double quote policy change | Revert Hound single VS double quote policy change
| HTML+ERB | mit | craftsmen/roll,craftsmen/roll,craftsmen/roll |
f0acd07b3b17b12bd1b8d247d80991fed6c38891 | tools/puppet3/modules/agent/templates/extensions/addons/_php.erb | tools/puppet3/modules/agent/templates/extensions/addons/_php.erb | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | Fix chown issue for PHP Cartridge | Fix chown issue for PHP Cartridge
| HTML+ERB | apache-2.0 | agentmilindu/stratos,hsbhathiya/stratos,pubudu538/stratos,anuruddhal/stratos,hsbhathiya/stratos,Thanu/stratos,agentmilindu/stratos,apache/stratos,ravihansa3000/stratos,gayangunarathne/stratos,pkdevbox/stratos,pubudu538/stratos,apache/stratos,anuruddhal/stratos,asankasanjaya/stratos,apache/stratos,apache/stratos,gayangu... |
0833791dee7b20b17e1432e2a4421076260a3ef9 | cookbooks/tile/templates/default/cleanup-tiles.cron.erb | cookbooks/tile/templates/default/cleanup-tiles.cron.erb | # DO NOT EDIT - This file is being maintained by Chef
<% @directories.each do |directory| -%>
0 1 * * * www-data ionice -c 3 /usr/local/bin/cleanup-tiles <%= directory %>
<% end -%>
| # DO NOT EDIT - This file is being maintained by Chef
MAILTO=admins@openstreetmap.org
<% @directories.each do |directory| -%>
0 1 * * * www-data ionice -c 3 /usr/local/bin/cleanup-tiles <%= directory %>
<% end -%>
| Make sure tile cleanup issues are reported properly | Make sure tile cleanup issues are reported properly
| HTML+ERB | apache-2.0 | openstreetmap/chef,Firefishy/chef,gravitystorm/chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,gravitystorm/chef,Firefishy/chef,zerebubuth/openstreetmap-chef,Firefishy/chef,tomhughes/openstreetmap-chef,Firefishy/chef,gravitystorm/chef,openstreetmap/chef,openstreetmap/chef,gr... |
65841812d53331b9bef8e30facb14baa653871a2 | source/_css.erb | source/_css.erb | <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootswatch/3.3.7/flatly/bootstrap.min.css" integrity="sha384-+ENW/yibaokMnme+vBLnHMphUYxHs34h9lpdbSLuAwGkOKFRl4C34WkjazBtb7eT" crossorigin="anonymous" />
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" inte... | <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootswatch/3.3.7/flatly/bootstrap.min.css" integrity="sha384-+ENW/yibaokMnme+vBLnHMphUYxHs34h9lpdbSLuAwGkOKFRl4C34WkjazBtb7eT" crossorigin="anonymous" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css... | Remove the prefetch tags for CSS | Remove the prefetch tags for CSS
Remove prefetch links for the CSS files as it seems to cause the files
to be fetched twice.
Also always serve the Font Awesome CSS over HTTPS.
| HTML+ERB | mit | martincostello/blog,martincostello/blog,martincostello/blog |
15f69b2aec7dd7d70211a747e278506654d26f9a | app/views/admin/content/edit.html.erb | app/views/admin/content/edit.html.erb | <%= form_tag({action: 'update', id: @article.id}, method: :post, multipart: true, id: "article_form", class: 'autosave') do %>
<%= render 'form' %>
<% end %> | <%= form_tag({action: 'update', id: @article.id}, method: :put, multipart: true, id: "article_form", class: 'autosave') do %>
<%= render 'form' %>
<% end %>
| Use put method for content update | Use put method for content update
| HTML+ERB | mit | sf-wdi-25/publify_debugging_lab,solanolabs/publify,Juuro/publify,solanolabs/publify,telekomatrix/publify,sf-wdi-25/publify_debugging_lab,whithajess/publify,Juuro/publify,publify/publify,mozzan/publify,sf-wdi-25/publify_debugging_lab,seyedrazavi/publify,drakontia/publify,jcfausto/publify,SF-WDI-LABS/publify_debugging_la... |
c39c3e852c543e1889994c2fd9cbf00ba0a18406 | app/views/repositories/index.html.erb | app/views/repositories/index.html.erb | <% provide(:head_title, t("libraries.index.head_title")) %>
<% provide(:container_class, "no-second-nav-container") %>
<% if current_team %>
<%= render partial: "sidebar", locals: { repositories: @repositories } %>
<%
# show only if no repositories present. If the team will have them we will
# handle this ... | <% provide(:head_title, t("libraries.index.head_title")) %>
<% provide(:container_class, "no-second-nav-container") %>
<% if current_team %>
<%= render partial: "sidebar", locals: { repositories: @repositories } %>
<%
# show only if no repositories present. If the team will have them we will
# handle this ... | Add class to no-inventories placeholder | Add class to no-inventories placeholder
| HTML+ERB | mpl-2.0 | mlorb/scinote-web,mlorb/scinote-web,mlorb/scinote-web |
bd73c04e1ffd2ac7e3ca9412d431503636949d76 | omnibus/files/private-chef-cookbooks/private-chef/templates/default/sv-oc_id-run.erb | omnibus/files/private-chef-cookbooks/private-chef/templates/default/sv-oc_id-run.erb | #!/bin/sh
exec 2>&1
DIR=/opt/opscode/embedded/service/oc_id
export RAILS_ENV=production
export PATH=/opt/opscode/embedded/bin:$PATH
export LD_LIBRARY_PATH=/opt/opscode/embedded/lib
export HOME=$DIR
cd $DIR
exec veil-env-helper --use-file -s chef-server.webui_key -s oc_id.sql_password -s oc_id.secret_key_base -- chpst... | #!/bin/sh
exec 2>&1
DIR=/opt/opscode/embedded/service/oc_id
export RAILS_ENV=production
export PATH=/opt/opscode/embedded/bin:$PATH
export LD_LIBRARY_PATH=/opt/opscode/embedded/lib
export HOME=$DIR
rm -f $DIR/tmp/pids/server.pid
cd $DIR
exec veil-env-helper --use-file -s chef-server.webui_key -s oc_id.sql_password -s... | Clean up oc_id PID on restart | [SUSTAIN-807] Clean up oc_id PID on restart
When a Chef Server host is taken down hard, the PID file for the oc_id Rails
app does not cleaned up. Upon restart of the system, the PID stored in that file is
often assigned to another service. When this happens, oc_id fails to
restart, because Rails/Rack sees there's a pr... | HTML+ERB | apache-2.0 | chef/chef-server,chef/chef-server,chef/chef-server,chef/chef-server,chef/chef-server,chef/chef-server |
dc45b5a9be6dbfa805ed1777390e36baab00fbdf | app/views/paragraph_widget/show.html.erb | app/views/paragraph_widget/show.html.erb | <div class="row">
<div class="col-12">
<div class="cover-bg-blue">
<div class="col-3">
<%= scrivito_image_tag widget,:image , class:'image-responsive center-block'%>
<%= scrivito_tag :h1, widget, :headline, data: {newlines: false}, class:'center-block cover-text-white' %>
<div style="m... | <div class="row">
<div class="col-12">
<div class="cover-bg-blue">
<div class="col-3">
<%= scrivito_image_tag widget,:image , class:'image-responsive center-block'%>
<%= scrivito_tag :h1, widget, :headline, data: {newlines: false}, class:'center-block cover-text-white' %>
<div style="p... | Add correction to the padding | Add correction to the padding
| HTML+ERB | mit | yasslab/coderdojo.jp,coderdojo-japan/coderdojo.jp,yasslab/coderdojo.jp,yasslab/coderdojo.jp,coderdojo-japan/coderdojo.jp,coderdojo-japan/coderdojo.jp,coderdojo-japan/coderdojo.jp |
036cbfc8c0288984a47005e138a4a43663b6d126 | app/views/spree/devices/_device.html.erb | app/views/spree/devices/_device.html.erb | <ul class="nav nav-tabs">
<% @devices.each do |cur_device| %>
<li class="<%= 'active' if device == cur_device %>">
<%= link_to cur_device.name, cur_device %>
</li>
<% end %>
<li><%= link_to 'Add Device', activate_path %></li>
</ul>
<div id="device-<%= device.id %>">
<%= render device.sensors %>
... | <ul class="nav nav-tabs">
<% @devices.each do |cur_device| %>
<li class="<%= 'active' if device == cur_device %>">
<%= link_to cur_device.name, cur_device %>
</li>
<% end %>
<li class="tab-right">
<%= link_to raw('<span class="glyphicon glyphicon-plus"></span> Add Device'), activate_path %>
</... | Add plus icon and right align add device link. | Add plus icon and right align add device link.
| HTML+ERB | bsd-2-clause | brewbit/brewbit-dashboard,brewbit/brewbit-dashboard,brewbit/brewbit-dashboard |
58ac7515b0a44538849447d9d2b5cb56ee172fde | app/views/spree/devices/_output.html.erb | app/views/spree/devices/_output.html.erb | <h3><%= Output::INDEX_NAME[o.object.output_index].capitalize %> Output</h3>
<div class='form-group'>
<div class='col-sm-4'>
<%= o.label :sensor, class: 'col-sm-2 control-label' %>
</div>
<div class='col-sm-8'>
<%= o.select :sensor_id, @device.sensors.collect {|s| ["Sensor #{s.sensor_index+1}", s.id]}, {}... | <h3><%= Output::INDEX_NAME[o.object.output_index].capitalize %> Output</h3>
<div class='form-group'>
<div class='col-sm-4'>
<%= o.label :sensor, class: 'col-sm-2 control-label' %>
</div>
<div class='col-sm-8'>
<%= o.select :sensor_id, @device.sensors.collect {|s| ["Sensor #{s.sensor_index+1}", s.id]}, {}... | Add cycle delay input group hint. | Add cycle delay input group hint.
| HTML+ERB | bsd-2-clause | brewbit/brewbit-dashboard,brewbit/brewbit-dashboard,brewbit/brewbit-dashboard |
68d1d8f10706f6090bbc7f906d58a926412951bc | vendor/assets/javascripts/app.js.es6.erb | vendor/assets/javascripts/app.js.es6.erb | import Resolver from 'resolver';
var App = Ember.Application.extend({
<% if Rails.env == 'development' %>
LOG_ACTIVE_GENERATION: true,
LOG_MODULE_RESOLVER: true,
LOG_TRANSITIONS: true,
LOG_TRANSITIONS_INTERNAL: true,
LOG_VIEW_LOOKUPS: true,
<% end %>
modulePrefix: '<%= Rails.application.config.ember_ap... | import Resolver from 'resolver';
var App = Ember.Application.extend({
LOG_ACTIVE_GENERATION: true,
LOG_MODULE_RESOLVER: true,
LOG_TRANSITIONS: true,
LOG_TRANSITIONS_INTERNAL: true,
LOG_VIEW_LOOKUPS: true,
modulePrefix: '<%= Rails.application.config.ember_appkit.namespace %>',
Resolver: Resolver
});
expo... | Revert "Don't include loggers outside of development" | Revert "Don't include loggers outside of development"
This reverts commit 805ae9a785d6a010de90f0ed0dcec1791189316d.
| HTML+ERB | mit | tomdale/ember-appkit-rails,DavyJonesLocker/ember-appkit-rails,DavyJonesLocker/ember-appkit-rails,tomdale/ember-appkit-rails |
14aecb67150ed95c383070da3034a8c827050740 | app/views/calculators/take_whole_pot/_estimate.html.erb | app/views/calculators/take_whole_pot/_estimate.html.erb | <script>
window.dataLayer = window.dataLayer || [];
dataLayer.push({
'event': 'CalculatorEstimate'
, 'pot_tax': <%= estimate.pot_tax.to_i %>
, 'pot_received': <%= estimate.pot_received.to_i %>
});
</script>
<p>
If you take your whole <%= number_to_currency(estimate.pot) %> pot in one go, you could ... | <script>
window.dataLayer = window.dataLayer || [];
dataLayer.push({
'event': 'CalculatorEstimate'
, 'pot_tax': <%= estimate.pot_tax.to_i %>
, 'pot_received': <%= estimate.pot_received.to_i %>
});
</script>
<p>
If you take your whole <%= number_to_currency(estimate.pot) %> pot in one go, you could ... | Make it clearer that annual income impacts tax | Make it clearer that annual income impacts tax | HTML+ERB | mit | guidance-guarantee-programme/pension_guidance,guidance-guarantee-programme/pension_guidance,guidance-guarantee-programme/pension_guidance |
303f916c048ac32d0f45deeed1edfb358290c09d | app/views/refinery/retailers/retailers/index.html.erb | app/views/refinery/retailers/retailers/index.html.erb | <% content_for :body do %>
<% @retailer_countries.sort.each do |country, retailers| %>
<h2><%= country_name(country) %></h2>
<ul id="retailers">
<% for retailer in retailers %>
<li>
<%= retailer.title %><br />
<%= retailer.contact %><br />
<%= retailer.address %><br... | <% content_for :body do %>
<% @retailer_countries.each do |country, retailers| %>
<h2><%= country_name(country) %></h2>
<ul id="retailers">
<% for retailer in retailers %>
<li>
<%= retailer.title %><br />
<%= retailer.body %><br />
<%= retailer.contact %><br />
... | Add and reorder fields in index view | Add and reorder fields in index view
| HTML+ERB | mit | bisscomm/refinerycms-retailers,bisscomm/refinerycms-retailers |
29a5a636ce4f3246aded7892819bd11789f28fab | modules/collectd/templates/etc/collectd/conf.d/redis.conf.erb | modules/collectd/templates/etc/collectd/conf.d/redis.conf.erb | # Configure the redis_info-collectd-plugin
<LoadPlugin python>
Globals true
</LoadPlugin>
<Plugin python>
ModulePath "/opt/collectd/lib/collectd/plugins/python"
Import "redis_info"
<Module redis_info>
Host "<%= @host %>"
Port <%= @port %>
Verbose false
</Module>
</Plugin>
| # Configure the redis_info-collectd-plugin
<LoadPlugin python>
Globals true
</LoadPlugin>
<Plugin python>
ModulePath "/usr/lib/collectd/python"
Import "redis_info"
<Module redis_info>
Host "<%= @host %>"
Port <%= @port %>
Verbose false
</Module>
</Plugin>
| Use the correct ModulePath for the redis_info plugin location | Use the correct ModulePath for the redis_info plugin location
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
f8b533c7d5cea429757d0570bf380d709a8a70e8 | jobs/cf-mysql-broker/templates/registrar_settings.yml.erb | jobs/cf-mysql-broker/templates/registrar_settings.yml.erb | message_bus_servers:
<% p('nats.machines').each do |ip| %>
- host: <%= ip %>:<%= p('nats.port') %>
user: <%= p('nats.user') %>
password: <%= p('nats.password') %>
<% end %>
host: <%= p('cf_mysql.broker.host') %>
routes:
- name: "broker_<%= index %>"
port: <%= p('cf_mysql.broker.port') %>
uris:
- <%= p('cf_mys... | <%
def discover_external_ip
networks = spec.networks.marshal_dump
_, network = networks.find do |_name, network_spec|
network_spec.default
end
if !network
_, network = networks.first
end
if !network
raise "Could not determine IP via network spec: #{networks}"
end
... | Use auto discovered ip as default for broker | Use auto discovered ip as default for broker
| HTML+ERB | apache-2.0 | cloudfoundry/cf-mysql-release,cloudfoundry/cf-mysql-release,cloudfoundry/cf-mysql-release,cloudfoundry/cf-mysql-release |
fd76cde97bfbd52a97a7f9af993246d1a3ee7ff0 | app/views/layouts/riews/application.html.erb | app/views/layouts/riews/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>RaffleBee</title>
<%= csrf_meta_tags %>
<%= stylesheet_link_tag 'riews/application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= javascript_include_tag 'riews/applica... | <!DOCTYPE html>
<html>
<head>
<title>Riews</title>
<%= csrf_meta_tags %>
<%= stylesheet_link_tag 'riews/application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= javascript_include_tag 'riews/application... | Change title of the layout | Change title of the layout
| HTML+ERB | mit | bustikiller/riews,bustikiller/riews,bustikiller/riews |
22d57f4af002bea4c2c6a2c824c53b6eab3cfd3f | app/views/main/_role_switch_content.html.erb | app/views/main/_role_switch_content.html.erb | <div id="role_switch_text">
<% form_tag login_as_main_index_path(), {:method => 'post', :remote => true} do %>
<div id="role_switch_error"><span> </span></div>
<h2>
<%= I18n.t(:switch_role)%>
</h2>
<%= label_tag 'effective_user_login', I18n.t(:login_as) -%>
<%= text_field_tag 'effective... | <div id="role_switch_text">
<% form_tag login_as_main_index_path(), {:method => 'post', :remote => true} do %>
<div id="role_switch_error"><span> </span></div>
<h2>
<%= I18n.t(:switch_role)%>
</h2>
<%= label_tag 'effective_user_login', I18n.t(:login_as) -%>
<%= text_field_tag 'effective... | Fix issue-658, login input now gets focus when opening the "switch role" modal | Fix issue-658, login input now gets focus when opening the "switch role" modal
| HTML+ERB | mit | SoftwareDev/Markus,MarkUsProject/Markus,binuri/Markus,melneubert/Markus,ealonas/Markus,Lysette/Markus,wkwan/Markus,finnergizer/Markus,SoftwareDev/Markus,ealonas/Markus,finnergizer/Markus,WilsonChiang/Markus,selyanhb/Markus,arkon/Markus,binuri/Markus,MarkUsProject/Markus,benjaminvialle/Markus,jeremygoh/Markus,arkon/Mark... |
21b7971078d4a4763b53bee4c282b4da742d1195 | app/views/root/report_a_problem.raw.html.erb | app/views/root/report_a_problem.raw.html.erb | <!-- report_a_problem -->
<p class="report-a-problem-toggle"><a href="">Is something wrong with this page?</a></p>
<div class="report-a-problem-container">
<p>Help us improve GOV.UK by telling us:</p>
<form accept-charset="UTF-8" action="/feedback" method="post">
<div style="margin:0;padding:0;display:inline"><... | <!-- report_a_problem -->
<p class="report-a-problem-toggle"><a href="">Is there anything wrong with this page?</a></p>
<div class="report-a-problem-container">
<p>Help us improve GOV.UK by telling us:</p>
<form accept-charset="UTF-8" action="/feedback" method="post">
<div style="margin:0;padding:0;display:inli... | Change 'report a problem' wording. | Change 'report a problem' wording.
See: http://govuk.zendesk.com/tickets/65931
| HTML+ERB | mit | robinwhittleton/static,kalleth/static,robinwhittleton/static,tadast/static,tadast/static,kalleth/static,alphagov/static,alphagov/static,tadast/static,kalleth/static,alphagov/static,kalleth/static,robinwhittleton/static,robinwhittleton/static,tadast/static |
85285571ef7654b2e926525cdac1c1c739e0f90e | app/views/orders/show.html.erb | app/views/orders/show.html.erb | <% if notice %>
<p id="notice"><%= notice %></p>
<% end %>
<h1> Your current order </h1>
<table class="order-items">
<% @order.order_items.each do |cart_item| %>
<tr>
<td><%= image_tag cart_item.item.image.url(:user_thumb) %></td>
<td><%= link_to cart_item.item.title, item_path(cart_item.item) %></td>
... | <%- model_class = Item -%>
<div class="page-header">
<h1> Your Order </h1>
<% if notice %>
<p id="notice"><%= notice %></p>
<% end %>
</div>
<table class="table table-striped order-items ">
<thead>
<tr>
<th><%= model_class.human_attribute_name(:image) %></th>
<th><%= model_class.human_attribu... | Make cart look as pretty as the rest of the site | Make cart look as pretty as the rest of the site
| HTML+ERB | mit | HoracioChavez/dinner_dash,coreyd303/the_pivot,HoracioChavez/dinner_dash,coreyd303/the_pivot |
e057ff6b50659555b83a27a920730ce1df74c1e7 | app/views/root/_icons.html.erb | app/views/root/_icons.html.erb | <link rel="shortcut icon" href="<%= asset_path 'favicon.ico' %>" type="image/x-icon" />
<!-- For third-generation iPad with high-resolution Retina display: -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="<%= asset_path "apple-touch-icon-144x144.png" %>">
<!-- For iPhone with high-resolution Retina d... | <link rel="shortcut icon" href="<%= asset_path 'favicon.ico' %>" type="image/x-icon" />
<!-- For third-generation iPad with high-resolution Retina display: -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="<%= asset_path "apple-touch-icon-144x144.png" %>">
<!-- For iPhone with high-resolution Retina d... | Use property as attribute not name for og tags | Use property as attribute not name for og tags
The [open graph protocol][1] says the meta tags should use the property
attribute to define the property it is defining.
[1]: http://ogp.me/
| HTML+ERB | mit | alphagov/static,tadast/static,robinwhittleton/static,robinwhittleton/static,kalleth/static,kalleth/static,kalleth/static,tadast/static,alphagov/static,kalleth/static,robinwhittleton/static,tadast/static,tadast/static,robinwhittleton/static,alphagov/static |
f9a2bf093e4063866415b1fd012185b5d4d68e32 | views/index.erb | views/index.erb | <h1><%= @app_name %></h1>
<h2>Let us know that you want us to let you know!</h2>
<form action='/create' method='post'>
<div>
<label for='email'>Enter your email address</label>
<input type='text' name='email' /><br />
</div>
<input type='submit' name='submit' value='Notify me' />
<input type='hidden'... | <div class="jumbotron">
<h1>Aukcio.nl</h1>
<h1 class="subtitle">Reverse Auctions with bitcoin</h1>
<h2>Coming soon: Platform is being built</h2>
<ol>
<li>Place an classified to tell the world you want to buy anything, for bitcoin</li>
<li>Set a maximum price you want to pay</li>
<li>Merchants and ... | Add description in a Jumbotron. | Add description in a Jumbotron.
| HTML+ERB | mit | berkes/coming-soon |
5ef5dd227b6cd0e1362441fdfa234234497bc8f1 | templates/default/munin.conf.erb | templates/default/munin.conf.erb | # This file was generated by Chef for <%= node['fqdn'] %>
# Do NOT modify this file by hand!
# The next three variables specifies where the location of the RRD
# databases, the HTML output, and the logs, severally. They all
# must be writable by the user running munin-cron.
dbdir <%= node['munin']['dbdir'] %>
htmld... | # This file was generated by Chef for <%= node['fqdn'] %>
# Do NOT modify this file by hand!
# The next three variables specifies where the location of the RRD
# databases, the HTML output, and the logs, severally. They all
# must be writable by the user running munin-cron.
dbdir <%= node['munin']['dbdir'] %>
htmld... | Add ability to specify node port | Add ability to specify node port | HTML+ERB | apache-2.0 | whatcould/munin,whatcould/munin,whatcould/munin |
8db608e429ad6275c9dd416dda6d1b2bd73bce35 | templates/check/process.erb | templates/check/process.erb | <%- if @pidfile -%>
CHECK PROCESS <%= @name %> WITH PIDFILE <%= @pidfile %>
<%- else -%>
CHECK PROCESS <%= @name %> MATCHING <%= @matching %>
<%- end -%>
<%- if @program_start -%>
START PROGRAM = "<%= @program_start %>"
<%- if @uid -%>
AS UID <%= @uid %>
<%- end -%>
<%- if @gid -%>
AS GID <%= @gid %>
... | <%- if @pidfile -%>
CHECK PROCESS <%= @name %> WITH PIDFILE <%= @pidfile %>
<%- else -%>
CHECK PROCESS <%= @name %> MATCHING "<%= @matching %>"
<%- end -%>
<%- if @program_start -%>
START PROGRAM = "<%= @program_start %>"
<%- if @uid -%>
AS UID <%= @uid %>
<%- end -%>
<%- if @gid -%>
AS GID <%= @gid %>
... | Add quotes to MATCHING expression | Add quotes to MATCHING expression
| HTML+ERB | mit | sbitio/puppet-monit,sbitio/puppet-monit |
3eafb13d8b9794959f1c48dd9989b7c0da8fdc12 | cookbooks/dmon/templates/default/presenter.conf.properties.erb | cookbooks/dmon/templates/default/presenter.conf.properties.erb | #RabbitMQ connection details
rabbitHost = 127.0.0.1
rabbitReceiveQueue = processedResults
rabbitUser = bogdan
rabbitPassword = constantin
#MongoDB connection details
mongoHost = 127.0.0.1
mongoPort = 27017 | #RabbitMQ connection details
rabbitHost = 127.0.0.1
rabbitSendQueue = monitoring
rabbitReceiveQueue = processedResults
rabbitUser = bogdan
rabbitPassword = constantin
#MongoDB connection details
mongoHost = 127.0.0.1
mongoPort = 27017
| Add send queue in config template for presenter component. | Add send queue in config template for presenter component.
| HTML+ERB | apache-2.0 | IrimieBogdan/DmonDeployment,IrimieBogdan/DmonDeployment |
7ce1837da17b2e6724966e6340104708880284c3 | vendor/plugins/pages/app/views/admin/pages/_form.html.erb | vendor/plugins/pages/app/views/admin/pages/_form.html.erb | <% form_for [:admin, @page] do |f| %>
<%= f.error_messages %>
<div class="field">
<%= f.label :title %>
<%= f.text_field :title, :class => "larger", :style => 'width: 944px' %>
</div>
<%= render :partial => "form_page_parts", :locals => {:f => f} %>
<%= render :partial => "form_advanced_options", :l... | <% url_opts = action_name == 'edit' ? {:url => admin_page_path(@page.id)} : {} %>
<% form_for [:admin, @page], url_opts do |f| %>
<%= f.error_messages %>
<div class="field">
<%= f.label :title %>
<%= f.text_field :title, :class => "larger", :style => 'width: 944px' %>
</div>
<%= render :partial => "for... | Allow page forms to work | Allow page forms to work
| HTML+ERB | mit | ashrafuzzaman/stips,mdoyle13/haymarket-ref,mdoyle13/haymarket-ref,kritik/portfolio,mdoyle13/haymarket-ref,johnreilly/johnandkaty,johnreilly/johnandkaty,ashrafuzzaman/stips,myabc/refinerycms,kritik/diamond-tours,mdoyle13/haymarket-ref,kritik/portfolio,kritik/diamond-tours,myabc/refinerycms |
cdebb488e4c45b142acab487c6178ec383fdf730 | templates/default/jobs/scala/integrate/community-build.xml.erb | templates/default/jobs/scala/integrate/community-build.xml.erb | <?xml version='1.0' encoding='UTF-8'?>
<project>
<%= githubProject(
repoUser: @user,
repoName: "community-builds",
repoRef: @branch,
cleanWorkspace: false,
description: "Community Build",
nodeRestriction: "public",
maxConcurrentPerNode: 1,
buildTimeoutM... | <?xml version='1.0' encoding='UTF-8'?>
<project>
<%= githubProject(
repoUser: @user,
repoName: "community-builds",
repoRef: @branch,
description: "Community Build",
nodeRestriction: "public",
maxConcurrentPerNode: 1,
buildTimeoutMinutes: 400,
jvmVersion: ... | Revert "Don't clean workspace for community build" | Revert "Don't clean workspace for community build"
This reverts commit c59b38e055ab7444e19e511dcc79cf2d4362b21a.
We kept running out of disk space, and, besides,
the most important caching goes to ~jenkins/.dbuild,
so that we don't have to rebuild projects as long
as they can be found there (with the right hash).
| HTML+ERB | bsd-3-clause | adriaanm/scala-jenkins-infra,lrytz/scala-jenkins-infra,retronym/scala-jenkins-infra,adriaanm/scala-jenkins-infra,scala/scala-jenkins-infra,retronym/scala-jenkins-infra,adriaanm/scala-jenkins-infra,lrytz/scala-jenkins-infra,scala/scala-jenkins-infra,lrytz/scala-jenkins-infra,retronym/scala-jenkins-infra |
1f976ac9e661ec3871f9a7af2780cf0943974761 | app/views/admins/new.html.erb | app/views/admins/new.html.erb | <% content_for :title, t(:create_admin) -%>
<h1><%= content_for :title %></h1>
<p>
<%= t :no_administrator_yet %>
</p>
<%= form_for @user, :url => { :action => 'create' } do |f| %>
<%= f.error_messages %>
<p>
<%= f.label :name %>:<br>
<%= f.text_field :name, { :class => 'text_input' } %>
</p>
<p>
... | <% content_for :title, t(:create_admin) -%>
<h1><%= content_for :title %></h1>
<p>
<%= t :no_administrator_yet %>
</p>
<%= form_for @user, :url => { :action => 'create' } do |f| %>
<%= f.error_messages %>
<p>
<%= f.label :name, t(:username) %>:<br>
<%= f.text_field :name, { :class => 'text_input' } %>
... | Change label on new admin view to username | Change label on new admin view to username
The new admin screen that comes up initially upon booting the app labels
the first field 'Name', but the subsequent login form asks for 'Username'.
This was a point of confusion for me. Changed the label on the new admin
view to reference the same label translation as the log... | HTML+ERB | mit | ckochx/bxr-uic |
321ba4e66149d808c05e39fd1114012bed3ce931 | app/views/pame/index.html.erb | app/views/pame/index.html.erb | <%= render partial: "./layouts/partials/hero-basic", locals: { title: @cms_page.label, classes: "#{@cms_page.slug} bg-image-overlay--white" } %>
<section class="page-padding--bottom">
<tabs
class="tabs--hero"
:tab-triggers="<%= @tabs %>"
>
<template slot-scope="{ selectedId }">
<tab-target :id="1... | <%= render partial: "./layouts/partials/hero-basic", locals: { title: @cms_page.label, classes: "#{@cms_page.slug} bg-image-overlay--white" } %>
<section class="page-padding--bottom">
<tabs
class="tabs--hero"
:tab-triggers="<%= @tabs %>"
>
<template slot-scope="{ selectedId }">
<tab-target :id="1... | Add 4th tab to pame page | Add 4th tab to pame page
| HTML+ERB | bsd-3-clause | unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet |
26853e9ee32f8dc5422cf4811067b7f8b4a71a5a | app/views/users/show.html.erb | app/views/users/show.html.erb | <h1>Welcome <%= @user.name %></h1>
<p>Your details:</p>
<ul>
<li>Name: <%= @user.name %></li>
<li>Email: <%= @user.email %></li>
</ul>
| <h1>Welcome <%= @user.name %></h1>
<p>Your details:</p>
<ul>
<li>Name: <%= @user.name %></li>
<li>Email: <%= @user.email %></li>
</ul>
<%= link_to 'View your diaries', user_diaries_path([@user]) %>
| Add a link to diaries from user profile page | Add a link to diaries from user profile page
| HTML+ERB | mit | MasterRoot24/cloudiary,MasterRoot24/cloudiary,MasterRoot24/cloudiary |
2b64cd1ed93594d7b8024e71b7bcedde83224055 | app/views/users/show.html.erb | app/views/users/show.html.erb | <h1><%= @user.name %>'s Profile</h1>
<h4>Current Savings: $<%= @user.savings.total_savings %></h4>
<br>
<h4><%= link_to "Add savings", new_saving_path %></h4>
<h4><%= link_to "Add a new purchase", new_purchase_path %></h4>
| <h1><%= @user.name %>'s Profile</h1>
<h4>Current Savings: $<%= @user.savings.total_savings %></h4>
<br>
<h4>Planned Purchases: </h4>
<% @user.purchases.each do |purchase| %>
<p><%= purchase.title %> for <%= purchase.cost %></p>
<br>
<h4><%= link_to "Add savings", new_saving_path %></h4>
<h4><%= link_to "Add a n... | Add purchases in profile view | Add purchases in profile view
| HTML+ERB | mit | nyc-cicadas-2015/Can-I-Afford-This,nyc-cicadas-2015/Can-I-Afford-This,nyc-cicadas-2015/Can-I-Afford-This |
4e5bf176b49467426023958bbdbb602e0f399b6b | 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
... | Update banner campaign classes for redesign | Update banner campaign classes for redesign
The redesign of the emergency banner has resulted in changes to the
names of the classes used in the HTML for the emergency banners.
This is reflected in changes to the options in the campaign class drop
down in the jenkins job to deploy the emergency banner.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
183e722555fcf428cd099fc198ac75452ca01856 | files/providers/wls_foreign_server_object/destroy.py.erb | files/providers/wls_foreign_server_object/destroy.py.erb | # check the domain else we need to skip this (done in wls_access.rb)
real_domain='<%= domain %>'
name = '<%= object_name %>'
jmsmodule = '<%= jmsmodule %>'
foreign_server_name = '<%= foreign_server_name %>'
object_type = '<%= object_type %>'
edit()
startEdit()
try:
... | # check the domain else we need to skip this (done in wls_access.rb)
real_domain='<%= domain %>'
name = '<%= object_name %>'
jmsmodule = '<%= jmsmodule %>'
foreign_server = '<%= foreign_server %>'
object_type = '<%= object_type %>'
edit()
startEdit()
try:
cd('... | Implement destroying of foreign destinations/connection factories. | Implement destroying of foreign destinations/connection factories.
| HTML+ERB | apache-2.0 | rlhatcher/biemond-orawls,hajee/biemond-orawls,bradmcnaughton/biemond-orawls,rmestrum/biemond-orawls,hajee/biemond-orawls,cmbrehm/biemond-orawls,robh007/biemond-orawls,bradmcnaughton/biemond-orawls,cmbrehm/biemond-orawls,hajee/biemond-orawls,CDLSoftware/biemond-orawls,rmestrum/biemond-orawls,hajee/biemond-orawls,rlhatch... |
fee22670f90e099138d54d37318812cb6c2f8fde | vendor/plugins/inquiries/app/views/admin/inquiries/_inquiry.html.erb | vendor/plugins/inquiries/app/views/admin/inquiries/_inquiry.html.erb | <li class='clearfix record <%= cycle("on", "on-hover") %>'>
<span class='title'>
<%= link_to t('.said', :who => h(inquiry.name)), admin_inquiry_url(inquiry) %>
<span class="preview"><%= truncate(strip_tags(inquiry.message), :length => 60) -%></span>
</span>
<span class='actions'>
<%= link_to refinery_... | <li class='clearfix record <%= cycle("on", "on-hover") %>'>
<span class='title'>
<%= link_to (h(inquiry.name)), admin_inquiry_url(inquiry) %> <%= t('.said') %>
<span class="preview"><%= truncate(strip_tags(inquiry.message), :length => 60) -%></span>
</span>
<span class='actions'>
<%= link_to refinery_... | Move said text out of link | Move said text out of link
| HTML+ERB | mit | kritik/diamond-tours,mdoyle13/haymarket-ref,mdoyle13/haymarket-ref,kritik/portfolio,mdoyle13/haymarket-ref,mdoyle13/haymarket-ref,myabc/refinerycms,kritik/portfolio,myabc/refinerycms,kritik/diamond-tours |
7dfb4e055935bf1b56e2e0f42e03a50ac5ebfa0e | jobs/pravega-controller/templates/ctl.erb | jobs/pravega-controller/templates/ctl.erb | #!/bin/bash
set -e
JOB_ROOT=/var/vcap/jobs/pravega-controller
CONF_DIR=$JOB_ROOT/config
SYS_ROOT=/var/vcap/sys
LOG_DIR=$SYS_ROOT/log/pravega-controller
RUN_DIR=$SYS_ROOT/run/pravega-controller
PIDFILE=$RUN_DIR/pid
export JAVA_HOME=/var/vcap/packages/jdk8/jdk
export PATH=$JAVA_HOME/bin:$PATH
case $1 in
start)
... | #!/bin/bash
set -e
JOB_ROOT=/var/vcap/jobs/pravega-controller
CONF_DIR=$JOB_ROOT/config
SYS_ROOT=/var/vcap/sys
LOG_DIR=$SYS_ROOT/log/pravega-controller
RUN_DIR=$SYS_ROOT/run/pravega-controller
PIDFILE=$RUN_DIR/pid
export JAVA_HOME=/var/vcap/packages/jdk8/jdk
export PATH=$JAVA_HOME/bin:$PATH
case $1 in
start)
... | Fix incorrect path for pravega-controller | Fix incorrect path for pravega-controller
| HTML+ERB | apache-2.0 | greshwalk/pravega-bosh-release,greshwalk/pravega-bosh-release |
7dfae277651dc51b3c6b75aba1095d9ff0799404 | vagrant_base/phpbuild/templates/default/default_configure_options.erb | vagrant_base/phpbuild/templates/default/default_configure_options.erb | --without-pear
--with-gd
--with-jpeg-dir=/usr
--with-png-dir=/usr
--enable-exif
--enable-zip
--with-zlib
--with-zlib-dir=/usr
--with-kerberos
--with-imap-ssl
--with-openssl
--with-mcrypt=/usr
--with-pdo-sqlite
--enable-soap
--enable-xmlreader
--with-xsl
--enable-ftp
--enable-cgi
--with-curl=/usr
--with-tidy
--with-xmlr... | --without-pear
--with-gd
--with-jpeg-dir=/usr
--with-png-dir=/usr
--enable-exif
--enable-zip
--with-zlib
--with-zlib-dir=/usr
--with-kerberos
--with-imap-ssl
--with-openssl
--with-mcrypt=/usr
--with-pdo-sqlite
--enable-soap
--enable-xmlreader
--with-xsl
--enable-ftp
--enable-cgi
--with-curl=/usr
--with-tidy
--with-xmlr... | Enable socket extension for PHP. | Enable socket extension for PHP.
| HTML+ERB | mit | spurti-chopra/travis-cookbooks,ardock/travis-cookbooks,Distelli/travis-cookbooks,gavioto/travis-cookbooks,dstufft/travis-cookbooks,DanielG/travis-cookbooks,tianon/travis-cookbooks,dracos/travis-cookbooks,bd808/travis-cookbooks,DanielG/travis-cookbooks,tianon/travis-cookbooks,dracos/travis-cookbooks,chef/travis-cookbook... |
bfb67d59f342f6b552b23a301b1f42f1d1b860af | lib/app/views/nav/nitpicker_languages.erb | lib/app/views/nav/nitpicker_languages.erb | <% if nitpicker_languages.any? %>
<li class="dropdown">
<a class="dropdown-toggle" id="drop-nitpick" href="#" data-toggle="dropdown">Nitpick <b class="caret"></b></a>
<ul class="dropdown-menu" id="menu-nitpick" role="menu" area-labelledby="drop-nitpick">
<% nitpicker_languages.each do |language| %>
... | <% if nitpicker_languages.any? %>
<li class="dropdown">
<a class="dropdown-toggle" id="drop-nitpick" href="#" data-toggle="dropdown">Nitpick <b class="caret"></b></a>
<ul class="dropdown-menu" id="menu-nitpick" role="menu" area-labelledby="drop-nitpick">
<% nitpicker_languages.each do |language| %>
... | Fix language names in nitpick menu | Fix language names in nitpick menu
| HTML+ERB | agpl-3.0 | sheekap/exercism.io,jtigger/exercism.io,treiff/exercism.io,kangkyu/exercism.io,alexclarkofficial/exercism.io,bmulvihill/exercism.io,chastell/exercism.io,bmulvihill/exercism.io,jtigger/exercism.io,beni55/exercism.io,kangkyu/exercism.io,exercistas/exercism.io,colinrubbert/exercism.io,chinaowl/exercism.io,Tonkpils/exercis... |
0081ebb8ab0481482211aac068ce2f89e72860ac | app/views/layouts/_header.html.erb | app/views/layouts/_header.html.erb | <header class="navbar">
<nav class="navbar-inner">
<div class="logo-header">
<a href="http://lab.fi-ware.eu/" class="logo-header">
<img alt="FI-WARE IdM" class="logo" src="/assets/header-logo.png">
</a>
<a href="http://lab.fi-ware.eu/" class="brand">
FI-WARE
</a>
</div>... | <header class="navbar">
<nav class="navbar-inner">
<div class="logo-header">
<a href="http://lab.fi-ware.eu/" class="logo-header">
<img alt="FI-WARE IdM" class="logo" src="/assets/header-logo.png">
</a>
<a href="http://lab.fi-ware.eu/" class="brand">
FI-WARE
</a>
</div>... | Fix header when user is signed out | Fix header when user is signed out
| HTML+ERB | agpl-3.0 | ging/fi-ware-idm-deprecated,ging/fi-ware-idm-deprecated,ging/fi-ware-idm-deprecated,Plexical/fi-ware-idm,Plexical/fi-ware-idm |
92061837dc9399bf1519d4ee9f3ef5d3501fdbb1 | app/views/searches/_movie.html.erb | app/views/searches/_movie.html.erb | <% @movie_data.each do |movie| %>
<%= link_to movies_path(movie_id: movie['id']), method: 'post', remote: true do %>
<div data-movie-title='<%= movie['title'] %>' class="movie-card">
<% @movie_post_url = "http://image.tmdb.org/t/p/w185#{movie['poster_path']}" %>
<div class="movie_poster"><%= image_tag... | <% @movie_data.each do |movie| %>
<%= link_to movies_path(movie_id: movie['id']), method: 'post', remote: true do %>
<div data-movie-title='<%= movie['title'] %>' class="movie-card">
<% @movie_post_url = "http://image.tmdb.org/t/p/w185#{movie['poster_path']}" %>
<div class="movie_poster"><%= image_tag... | Add release date to movie display options. | Add release date to movie display options.
| HTML+ERB | mit | miketejada/Where-Are-They,miketejada/Where-Are-They,miketejada/Where-Are-They |
95da8e9b47f339c4517075e71928af94bda4c3a6 | lib/juici/views/partials/builds/debug.erb | lib/juici/views/partials/builds/debug.erb | <div class="debug-output">
<% if build[:environment] %>
<h3 class="block-header">Environment:</h3>
<% build[:environment].each do |k, v| %>
<p><strong><%="#{k} = " %></strong><%="#{v}" %></p>
<% end %>
<% end %>w
<% if build[:priority] %>
<h3 class="block-header">Priority:</h3>
<%= build[:priority] %>
<% ... | <div class="debug-output">
<% if build[:environment] %>
<h3 class="block-header">Environment:</h3>
<% build[:environment].reject{|k, v| v.nil?}.each do |k, v| %>
<p><strong><%="#{k} = " %></strong><%="#{v}" %></p>
<% end %>
<% end %>w
<% if build[:priority] %>
<h3 class="block-header">Priority:</h3>
<%= b... | REmove environment variables that won't exist in the subprocess | REmove environment variables that won't exist in the subprocess
| HTML+ERB | mit | richo/juici,richo/juici,richo/juici,richo/juici |
5c189120e144a13f909b197619337a07a4360fcf | release/cookbooks/redis/templates/default/redis.conf.erb | release/cookbooks/redis/templates/default/redis.conf.erb | daemonize no
pidfile <%= node[:redis][:path] %>/var/redis.pid
port <%= node[:redis][:port] %>
timeout 300
loglevel notice
logfile stdout
databases 16
dir <%= node[:redis][:path] %>/var
requirepass <%= node[:redis][:password] %>
maxclients 0
maxmemory-policy noeviction
appendonly no
| daemonize no
pidfile <%= node[:redis][:path] %>/var/redis.pid
port <%= node[:redis][:port] %>
timeout 0
loglevel notice
logfile stdout
databases 16
dir <%= node[:redis][:path] %>/var
requirepass <%= node[:redis][:password] %>
maxclients 0
maxmemory-policy noeviction
appendonly no
| Remove redis timeout, esxcloud backend leaves a trail of hanging workers without this. | Remove redis timeout, esxcloud backend leaves a trail of hanging workers without
this.
| HTML+ERB | apache-2.0 | barthy1/bosh,barthy1/bosh,barthy1/bosh,barthy1/bosh |
445b7a105051ee8d82ae4f7e5d4f9c0de6f1cc6b | app/views/layouts/_header.html.erb | app/views/layouts/_header.html.erb | <header class="navbar navbar-fixed-top">
<div class="container">
<%= link_to "Deliberate Finances App", root_path, id: "logo" %>
<nav>
<ul class="nav navbar-nav navbar-right">
<li><%= link_to "Home", root_path %></li>
<li><%= link_to "Help", help_path %></li>
<li><%= link_to "Log... | <header class="navbar navbar-fixed-top">
<div class="container">
<%= link_to "Deliberate Finances App", root_path, id: "logo" %>
<nav>
<ul class="nav navbar-nav navbar-right">
<% if logged_in? %>
<li><%= link_to "This month", '#' %></li>
<li><%= link_to "Plans", '#' %></li>
... | Change layout links for logged-in users | Change layout links for logged-in users
| HTML+ERB | mit | crwhitesides/deliberate_finances_app,crwhitesides/deliberate_finances_app,crwhitesides/deliberate_finances_app |
d1cb658b2b59c08d02b37a0b229481b4f76f51c4 | app/views/layouts/_header.html.erb | app/views/layouts/_header.html.erb | <div class="row">
<div class="large-12 columns">
<h1>Human Assistance Resource Exchange</h1>
</div>
</div>
| <div class="row">
<div class="small-12 columns">
<h1>Human Assistance Resource Exchange</h1>
</div>
</div>
| Change header column to small-12 | Change header column to small-12
| HTML+ERB | mit | femmestem/HARE,HumanAssistanceResourceExchange/SHARE,erikcaineolson/HARE,HumanAssistanceResourceExchange/SHARE,HumanAssistanceResourceExchange/SHARE,femmestem/HARE,erikcaineolson/HARE,erikcaineolson/HARE,femmestem/HARE |
1a9caccf1aed3cd089372fd67ea8727ddd41c39e | app/views/layouts/credits.html.erb | app/views/layouts/credits.html.erb | Blades of grass image: Evan Leeson, https://www.flickr.com/photos/ecstaticist/
Rainbow image: David Grimes, https://www.flickr.com/photos/grimeshome/
Daisies image:
Website designed and built by Katye McCullough Russell, copyright 2015
| Add credits page for Flickr photographs. | Add credits page for Flickr photographs.
| HTML+ERB | mit | complikatyed/AgapeLadies,complikatyed/AgapeLadies,complikatyed/AgapeLadies | |
14c9b9d09ea5e16060bb00116cae54c550a01f67 | app/views/references/update.js.erb | app/views/references/update.js.erb | $('.message-container').html('');
$('input#reference-parent-typeahead').val('<%= @reference.parent.try('citation').try('html_safe') %>');
$('a#tab-heading').html('<%= @reference.citation %>');
$('#search-result-details-info-message-container').html('<%= @message %>');
$('select#reference_ref_type_id').focus();
<% unles... | $('.message-container').html('');
$('input#reference-parent-typeahead').val('<%= @reference.parent.try('citation').try('html_safe') %>');
$('a#tab-heading').html('<%= @reference.citation %>');
$('#search-result-details-info-message-container').html('<%= @message %>');
$('select#reference_ref_type_id').focus();
<% unles... | Update message now shows even for refs with apostrophe in citation - using escape_javascript. | Update message now shows even for refs with apostrophe in citation - using escape_javascript.
| HTML+ERB | apache-2.0 | bio-org-au/nsl-editor,bio-org-au/nsl-editor,bio-org-au/nsl-editor,bio-org-au/nsl-editor |
3d5314671f0427f3baa77d75dcc13ece47e6e3ec | app/views/petitions/show.html.erb | app/views/petitions/show.html.erb | <h1><%= @petition.title %></h1>
<p><%= @petition.body %></p>
<%= link_to @petition.url, @petition.url, target: "_blank" %>
| <div class="container-fluid">
<div class="row-fluid">
<div class="span12">
<h1><%= @petition.title %></h1>
<p><%= @petition.body %></p>
<div class="progress progress-info">
<% percentage = number_to_percentage((@petition.signature_count.to_f / @petition.signature_threshold) * 100) %... | Format the show petitions page | Format the show petitions page
| HTML+ERB | mit | ryanatwork/petitionkicker,ryanatwork/petitionkicker |
159d8689683bb7d7ec8ee8b33f96a7c574266775 | puppet/modules/role/templates/wikibase_repo/init.php.erb | puppet/modules/role/templates/wikibase_repo/init.php.erb | $wgEnableWikibaseRepo = true;
$wgEnableWikibaseClient = false;
require_once "$IP/extensions/Wikibase/repo/Wikibase.php";
require_once "$IP/extensions/Wikibase/repo/ExampleSettings.php";
| $wgEnableWikibaseRepo = true;
$wgEnableWikibaseClient = true; # repos should always be their own client
require_once "$IP/extensions/Wikibase/repo/Wikibase.php";
require_once "$IP/extensions/Wikibase/repo/ExampleSettings.php";
| Enable client functionality in wikibase_repo role | Enable client functionality in wikibase_repo role
Wikibase repos should always be their own client. Wikibase
technically allows a repo-only setup, but it doesn't make much sense,
and may well be deprecated in the future.
For the wikibas_repo role to provide realistic/useful features, wikibase
client functionality sh... | HTML+ERB | mit | wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant |
ee15472424ee8735a3d5c61880ae547407ea68fe | lib/generators/casein/scaffold/templates/views/_table.html.erb | lib/generators/casein/scaffold/templates/views/_table.html.erb | <!-- Scaffolding generated by Casein <%= casein_get_full_version_string %> -->
<table class="table table-striped table-hover table-condensed">
<thead>
<tr>
<% for attribute in attributes %><th><%%= casein_sort_link "<%= attribute.name.humanize %>", :<%= attribute.name %> %></th>
<% end %><% unless @read_only ... | <!-- Scaffolding generated by Casein <%= casein_get_full_version_string %> -->
<table class="table table-striped table-hover table-condensed">
<thead>
<tr>
<% for attribute in attributes %><th><%%= casein_sort_link "<%= attribute.name.humanize %>", :<%= attribute.name %> %></th>
<% end %><% unless @read_only ... | Fix for read-only table partial generator | Fix for read-only table partial generator
| HTML+ERB | mit | jfederico/casein,Nihu98/casein,Nihu98/casein,aditya01933/casein,muthhus/casein,aditya01933/casein,jfederico/casein,LytayTOUCH/casein,jfederico/casein,Nihu98/casein,muthhus/casein,LytayTOUCH/casein,muthhus/casein,aditya01933/casein,LytayTOUCH/casein |
5095a487828adc257d31882d7c5a324ac0283d66 | lib/danger/comment_generators/bitbucket_server_message_group.md.erb | lib/danger/comment_generators/bitbucket_server_message_group.md.erb | <%- @message_group.messages.each do |message| -%>
<%- next if message.type == :markdown -%>
<%= @emoji_mapper.from_type(message.type) -%> <%= message.message %>
<%- end -%>
<%- @resolved.each do |message| -%>
<%= @emoji_mapper.map("white_check_mark") %> <%= message %>
<%- end -%>
<%= @message_group.markdowns.map(&:m... | <%- @message_group.messages.each do |message| -%>
<%- next if message.type == :markdown -%>
<%= @emoji_mapper.from_type(message.type) -%> <%= message.message %>
<%- end -%>
<%- @resolved.each do |message| -%>
<%= @emoji_mapper.map("white_check_mark") %> <%= message %>
<%- end -%>
<%= @message_group.markdowns.map(&:... | Add an extra newline to ensure the messages end up on different lines on bitbucket | Add an extra newline to ensure the messages end up on different lines on bitbucket
| HTML+ERB | mit | KrauseFx/danger,KrauseFx/danger,danger/danger,danger/danger,danger/danger |
1b6c196c8c2f31453a479431dfe5a12a5102bc71 | core/app/views/admin/global_feature_toggles/show.html.erb | core/app/views/admin/global_feature_toggles/show.html.erb | <h1>Global feature toggles</h1>
<%= form_tag admin_global_feature_toggles_path, method: 'PUT' do %>
<% Ability::FEATURES.each do |feature|
enabled = @enabled_features.include? feature
%>
<label>
<%= check_box_tag "features[#{feature}]", "1", enabled %>
<%= h feature %>
</label>
<% end ... | <h1>Global feature toggles</h1>
<%= form_tag admin_global_feature_toggles_path, method: 'PUT' do %>
<% Ability::FEATURES.each do |feature|
enabled = @enabled_features.include? feature
%>
<label>
<%= check_box_tag "features[#{feature}]", "1", enabled %>
<%= h feature %>
</label>
<% end ... | Add data-disable-with attribute per @tomdev's suggestion the appropriate JS is enabled in the admin panel The old-style hash syntax is unfortunately required for dashed symbols. | Add data-disable-with attribute per @tomdev's suggestion
the appropriate JS is enabled in the admin panel
The old-style hash syntax is unfortunately required for dashed symbols.
| HTML+ERB | mit | daukantas/factlink-core,daukantas/factlink-core,Factlink/factlink-core,Factlink/factlink-core,daukantas/factlink-core,Factlink/factlink-core,Factlink/factlink-core,daukantas/factlink-core |
121651e01cca2eb7e09f796f0d0dcdfbc5646ecb | lib/smart_answer_flows/marriage-abroad/outcomes/_what_you_need_to_do_affirmation.govspeak.erb | lib/smart_answer_flows/marriage-abroad/outcomes/_what_you_need_to_do_affirmation.govspeak.erb | ##What you need to do
You may be asked to provide an ‘affirmation for marriage’ document to prove you’re allowed to marry.
| ##What you need to do
You’ll be asked to provide an affirmation or affidavit to prove you’re allowed to marry.
| Align affirmation wording with other related paragraphs | Align affirmation wording with other related paragraphs
This was supposed to be a part of the change made in the commit titled:
"Tweak wording referring to affirmations" made on Fri Sep 4 14:02:05 2015 +0100
(I expect it to be rebased, hence no SHA)
| HTML+ERB | mit | aledelcueto/smart-answers,aledelcueto/smart-answers,stwalsh/smart-answers,stwalsh/smart-answers,stwalsh/smart-answers,alphagov/smart-answers,stwalsh/smart-answers,alphagov/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers |
b7de2275593c6021b506deb6970964fc6e8a72cb | lib/generators/inherited_resources_views/templates/app/views/inherited_resources/_form.html.erb | lib/generators/inherited_resources_views/templates/app/views/inherited_resources/_form.html.erb | <table>
<%- form_for(resource, :url => resource.new_record? ? collection_url : resource_url(resource)) do |f| %>
<% if resource.errors.any? %>
<tr>
<td colspan="2">
<h2><%= pluralize(resource.errors.count, "error") %> prohibited this testa from being saved:</h2>
<ul>
<% resource.errors.full_me... | <table>
<%- form_for("#{resource_class.to_s.downcase}",
resource,
:url => resource.new_record? ? collection_url : resource_url(resource),
:html => { :method => (resource.new_record? ? "post" : "put") }) do |f| %>
<% if resource.errors.any? %>
<tr>
<td colspan="2">
<h2><%= pluralize(resou... | Fix _form when using Single Table Inheritance (STI) | Fix _form when using Single Table Inheritance (STI)
| HTML+ERB | mit | envato/inherited_resources_views,envato/inherited_resources_views,fredwu/inherited_resources_views |
3c63c7bffcbb5ee13e299a2db17f8711b438e4ef | app/views/interventions/_fireman.html.erb | app/views/interventions/_fireman.html.erb | <div class="col-md-offset-1 checkbox">
<label>
<% fireman = builder.object.fireman %>
<%= builder.hidden_field(:fireman_id) %>
<%= builder.check_box(:enable) %>
<%= Grade::GRADE.key(fireman.grade) %> - <%= fireman.firstname %> <%= fireman.lastname %>
</label>
</div>
<%= builder.select... | <div class="col-md-offset-1 checkbox">
<label>
<% fireman = builder.object.fireman %>
<%= builder.hidden_field(:fireman_id) %>
<%= builder.check_box(:enable) %>
<%= Grade::GRADE.key(fireman.grade) %> - <%= fireman.firstname %> <%= fireman.lastname %>
</label>
</div>
<%= builder.select... | Fix small bug with fireman role select in interventions form. | Fix small bug with fireman role select in interventions form.
| HTML+ERB | mit | osaris/sp-gestion,osaris/sp-gestion,osaris/sp-gestion |
d4bb980e9f22edc384e119de6b6a636425d0c7ac | app/views/spree/orders/_pay_easy.html.erb | app/views/spree/orders/_pay_easy.html.erb | <div>
Thank you for your order. Instructions have been sent to your e-mail address.<br>
To complete a payment at <strong><%= link_to "purchase page", source.pay_url %></strong>.<br>
<br>
</div>
| <div>
<p>
Thank you for your order. Instructions have been sent to your e-mail address.<br/>
Please follow the link below to complete your purchase:
</p>
<%= link_to source.instructions_url do %>
How to pay with PayEasy
<% end %>
</div>
<br>
<div class='alert alert-info' role='alert'>
<dl>
<... | Add new view for PayEasy | Add new view for PayEasy
| HTML+ERB | bsd-3-clause | komoju/spree_komoju,komoju/spree_komoju |
7cde9bf13c95bd868520140272cf201a7a120656 | app/views/user_mailer/activation.html.erb | app/views/user_mailer/activation.html.erb | <h1>Welcome to Intercity, <%= @user.email %></h1>
<p>An account for Intercity is created for you. To complete your user account, just follow this <%= link_to "link", @url %>.</p>
| <h1>Welcome to Intercity</h1>
<p>An account for Intercity is created for you. To complete your user account, just follow this <%= link_to "link", @url %>.</p>
| Remove the email address from the activation mail. | Remove the email address from the activation mail.
The activation email that you get when you are invited to Intercity looks a bit odd. It suggests that your
email address is your name. Now the email address is removed from the title and the title is just "Welcome to
intercity".
Fixes: #54
| HTML+ERB | mit | jvanbaarsen/intercity-next,jvanbaarsen/intercity-next,intercity/intercity-next,intercity/intercity-next,jvanbaarsen/intercity-next,intercity/intercity-next,jvanbaarsen/intercity-next,intercity/intercity-next |
2124cada349e13aaad9b7ec751f7bb3a09e35af4 | lib/domgen/jpa/templates/abstract_entity_test.java.erb | lib/domgen/jpa/templates/abstract_entity_test.java.erb | /* DO NOT EDIT: File is auto-generated */
package <%= to_package(repository.jpa.qualified_abstract_entity_test_name) %>;
@java.lang.SuppressWarnings( { "UnusedDeclaration" } )
@javax.annotation.Generated( "Domgen" )
public abstract class <%= repository.jpa.abstract_entity_test_name %>
extends org.realityforge.guicey... | /* DO NOT EDIT: File is auto-generated */
package <%= to_package(repository.jpa.qualified_abstract_entity_test_name) %>;
@java.lang.SuppressWarnings( { "UnusedDeclaration" } )
@javax.annotation.Generated( "Domgen" )
public abstract class <%= repository.jpa.abstract_entity_test_name %>
extends org.realityforge.guicey... | Simplify mechanisms for overriding the dao and persistent modules in entity tests | Simplify mechanisms for overriding the dao and persistent modules in entity tests
| HTML+ERB | apache-2.0 | realityforge/domgen,icaughley/domgen,realityforge/domgen,icaughley/domgen |
86a4b8b2704e21a1a4ffa6e6e02b6751a5514dbb | app/views/stash_datacite/resources/_submitted_line.html.erb | app/views/stash_datacite/resources/_submitted_line.html.erb | <% # takes local variable line (presenter object) as input to partial %>
<tr>
<td>
<% if line.resource && line.resource.geolocation == true %>
<%= image_tag('stash_datacite/geolocation.png', size: '20x20', alt: 'Box') %><%= line.title %>
<% else %>
<%= line.title %>
<% end %>
</td>
<td>
... | <% # takes local variable line (presenter object) as input to partial %>
<tr>
<td>
<% if line.resource && line.resource.geolocation == true %>
<%= image_tag('stash_datacite/geolocation.png', size: '20x20', alt: 'Box') %><%= line.title %>
<% else %>
<%= line.title %>
<% end %>
</td>
<td>
... | Disable update if already in progress. | Disable update if already in progress.
| HTML+ERB | mit | CDLUC3/stash_datacite,CDLUC3/stash,CDLUC3/stash,CDLUC3/stash,CDLUC3/stash_datacite,CDLUC3/stash_datacite,CDLUC3/stash |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.