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 |
|---|---|---|---|---|---|---|---|---|---|
47cc8368e2299b465ddac87c286a39f600e52a8f | app/views/shared/stats/facts/_iucn_categories.html.erb | app/views/shared/stats/facts/_iucn_categories.html.erb | <section class="fact">
<h2 class="fact__header">IUCN Management categories<i class="fact__external-link fa fa-external-link-square"></i></h2>
<div class="fact__body">
<table class="table js-sortable-table">
<thead>
<tr class="table__header">
<th class="table__column table__column--with-sor... | <section class="fact">
<h2 class="fact__header">IUCN Management categories<i class="fact__external-link fa fa-external-link-square"></i></h2>
<div class="fact__body">
<table class="table js-sortable-table">
<thead>
<tr class="table__header">
<th class="table__column table__column--with-sor... | Fix search under IUCN categories tab in country pages | Fix search under IUCN categories tab in country pages
| HTML+ERB | bsd-3-clause | unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet |
a18e4da65a5b757950f625d7e635713dd5b20a24 | app/views/customers/schedule_contact.html.erb | app/views/customers/schedule_contact.html.erb | <div class='row large-5'>
<div class='success callout'>
Você acabou de fechar uma venda para a <strong><%= @customer.name %></strong>!
<br>
<br>
Agora é hora de agendar uma data para fazer um contato com ela e perguntar o que ela achou dos produtos.
<br>
<br>
</div>
</div>
<div class='row l... | <div class='row large-5'>
<div class='success callout'>
Você acabou de fechar uma venda para a <strong><%= @customer.name %></strong>!
<br>
<br>
Agora é hora de agendar uma data para fazer um contato com ela e perguntar o que ela achou dos produtos.
<br>
<br>
</div>
</div>
<div class='row l... | Fix error when customer has no sale still | Fix error when customer has no sale still
| HTML+ERB | mit | marcelinol/mk-control,marcelinol/mk-control,marcelinol/mk-control |
06fb5a96c1c390df6d10bc25c77b9eafcfe92710 | core/app/views/home/partials/_give_opinion.html.erb | core/app/views/home/partials/_give_opinion.html.erb | <div class="fact-opinionate">
<div class="fact-opinionate-button">
<span class="button button-opinion-believes">
<i class="icon-thumbs-believes"></i>
</span>
</div>
<div class="fact-opinionators-table">
<table class="fact-opinionators-table-table">
<tr>
<td class="fact-opinionator... | <div style="text-align: center;">
<button class="button button-interesting">
<div class="button-interesting-tally">7</div>
<i class="icon-star button-interesting-star button-interesting-star-active"></i>
<span>Interesting</span>
</button>
<div class="interested-avatars">
<span class="intested-ava... | Update static partial that is being used on in your browser page | Update static partial that is being used on in your browser page
| HTML+ERB | mit | daukantas/factlink-core,Factlink/factlink-core,Factlink/factlink-core,daukantas/factlink-core,daukantas/factlink-core,daukantas/factlink-core,Factlink/factlink-core,Factlink/factlink-core |
684a54df25b9295a6670077a8bf1a8b0c18b07c3 | modules/govuk_jenkins/templates/jobs/run_rake_task.yaml.erb | modules/govuk_jenkins/templates/jobs/run_rake_task.yaml.erb | ---
- job:
name: run-rake-task
display-name: Run rake task
project-type: freestyle
description: "Run a rake task on an application."
builders:
- shell: ssh deploy@$(govuk_node_list -c $MACHINE_CLASS --single-node) "cd /var/apps/$TARGET_APPLICATION && govuk_setenv $TARGET_APPLICATION bundle exe... | ---
- job:
name: run-rake-task
display-name: Run rake task
project-type: freestyle
description: "Run a rake task on an application."
builders:
- shell: ssh deploy@$(govuk_node_list -c $MACHINE_CLASS --single-node) "cd /var/apps/$TARGET_APPLICATION && govuk_setenv $TARGET_APPLICATION bundle exe... | Add email_alert_api machine class to Jenkins | Add email_alert_api machine class to Jenkins
This commit adds the new `email_alert_api` machine class to the Jenkins job for running rake tasks. | HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
af802cbf81d74611557ce1faeb511d7880b35a23 | app/views/spree/admin/translations/page.html.erb | app/views/spree/admin/translations/page.html.erb | <% content_for :page_title do %>
<%= Spree.t(:editing_page) %> <span class="green">"<%= @page.title %>"</span>
<% end %>
<% content_for :page_actions do %>
<%= button_link_to Spree.t(:back_to_page_list), spree.admin_pages_path, :icon => 'icon-arrow-left' %>
<% end %>
<%= render :partial => 'spree/shared/error_mes... | <% content_for :page_title do %>
<%= Spree.t(:editing_page) %> <span class="green">"<%= @page.title %>"</span>
<% end %>
<% content_for :page_actions do %>
<%= button_link_to Spree.t(:back_to_page_list), spree.admin_pages_path, :icon => 'icon-arrow-left' %>
<% end %>
<%= render :partial => 'spree/shared/error_mes... | Update bootstrap4 classes in translations page | Update bootstrap4 classes in translations page
| HTML+ERB | bsd-3-clause | spree-contrib/spree_static_content,spree-contrib/spree_static_content,spree-contrib/spree_static_content |
2dfbabb740fe0176a302f33469d5a051d7972781 | source/partials/_sidebar.erb | source/partials/_sidebar.erb | <aside id="sidebar">
<hr class="fractal">
<div id="recent-articles">
<h5>Recent Posts</h5>
<ul class="fa-ul">
<% blog.articles.reject { |r| r.respond_to?(:slug) && r.slug.include?('jots') }[0...5].each do |post| %>
<li>
<i class="fa-li fa fa-chevron-right"></i>
<%= link_t... | <aside id="sidebar">
<hr class="fractal">
<div id="recent-articles">
<h5>Recent Posts</h5>
<ul class="fa-ul">
<% blog.articles.reject { |r| r.respond_to?(:slug) && r.slug.include?('jots') }[0...5].each do |post| %>
<li>
<i class="fa-li fa fa-chevron-right"></i>
<%= link_t... | Update tags in the sidebar | Update tags in the sidebar
| HTML+ERB | mit | smargh/fractaled_mind,smargh/fractaled_mind,smargh/fractaled_mind,fractaledmind/fractaled_mind,fractaledmind/fractaled_mind,smargh/fractaled_mind,fractaledmind/fractaled_mind,fractaledmind/fractaled_mind |
95de08cfe961324f8eee3dec0cd83eb5dddd76dd | templates/dhcpd.conf.erb | templates/dhcpd.conf.erb | # dhcpd.conf
ddns-update-style none;
default-lease-time 600;
max-lease-time 7200;
option domain-name "<%= domain %>";
option domain-name-servers <%= nameservers.join( ', ') %>;
option ntp-servers <%= ntpservers.join( ', ') %>;
#authoritative;
#allow booting;
#allow bootp;
option fqdn.no-client-update on; # set ... | # dhcpd.conf
ddns-update-style none;
default-lease-time 600;
max-lease-time 7200;
option domain-name "<%= domain %>";
option domain-name-servers <%= nameservers.join( ', ') %>;
option ntp-servers <%= ntpservers.join( ', ') %>;
#authoritative;
#allow booting;
#allow bootp;
option fqdn.no-client-update on; # set ... | Fix templating for PXE (again) | Fix templating for PXE (again)
| HTML+ERB | apache-2.0 | ocadotechnology/puppetlabs-dhcp,archii/puppetlabs-dhcp,jearls/puppetlabs-dhcp,jearls/puppetlabs-dhcp,bmjen/puppetlabs-dhcp,trovitsys/puppetlabs-dhcp,trovitsys/puppetlabs-dhcp,bmjen/puppetlabs-dhcp,michaelweiser/puppetlabs-dhcp,treydock/puppetlabs-dhcp,varunarya10/puppetlabs-dhcp,puppetlabs/puppetlabs-dhcp,javierwilson/... |
4a1b237d5b0e5c1112556043a64f666b30b32e49 | modules/govuk_jenkins/templates/jobs/smokey.yaml.erb | modules/govuk_jenkins/templates/jobs/smokey.yaml.erb | ---
- scm:
name: smokey_Smokey
scm:
- git:
url: git@github.com:alphagov/smokey.git
branches:
- master
- job:
name: Smokey
display-name: Smokey
project-type: freestyle
scm:
- smokey_Smokey
builders:
- shell: |
set +x
... | ---
- scm:
name: smokey_Smokey
scm:
- git:
url: git@github.com:alphagov/smokey.git
branches:
- master
- job:
name: Smokey
display-name: Smokey
project-type: freestyle
scm:
- smokey_Smokey
builders:
- shell: |
set +x
... | Remove hyphen from Jenkins Smokey job | Remove hyphen from Jenkins Smokey job
This hyphen removes trailing whitespace which includes the newline
character and means that the following line is concatenated.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
bd790378c572e202ff9c6236c240fb7c8940fd65 | app/views/application/_specimens_table.html.erb | app/views/application/_specimens_table.html.erb | <% if specimens %>
<%= block do %>
<table>
<tr class=header>
<th>Id</th>
<% if show_taxon %>
<th>Taxon</th>
<% end %>
<th>Description</th>
<th>Images</th>
<th>Disposition</th>
<th>Body length</th>
<% if show_... | <% if specimens %>
<%= block do %>
<table>
<tr class=header>
<th>Id</th>
<% if show_taxon %>
<th>Taxon</th>
<% end %>
<th>Description</th>
<th>Images</th>
<th>Disposition</th>
<th>Body length</th>
<th>Form</t... | Add form to list of specimens. | Add form to list of specimens.
| HTML+ERB | mit | JimMcL/sampleIt,JimMcL/sampleIt,JimMcL/sampleIt,JimMcL/sampleIt,JimMcL/sampleIt |
65c4aaaaf2da3962c2de1aabbe1e45320d44aa87 | app/views/stories/_form.html.erb | app/views/stories/_form.html.erb | <div id="story-form" data-story-id="<%= @story.id %>">
<%= form_for @story do |f| %>
<%= f.label :name %>
<%= f.text_field :name, id: "story-name-field" %>
<%= f.label :blurb %>
<%= f.text_area :blurb, id: "story-blurb-field" %>
<%= f.label :description %>
<%= f.text_area :descripti... | <div id="story-form" data-story-id="<%= @story.id %>">
<%= form_for @story do |f| %>
<%= f.label :name %>
<%= f.text_field :name, id: "story-name-field" %>
<%= f.label :blurb %>
<%= f.text_area :blurb, id: "story-blurb-field" %>
<%= f.label :description %>
<%= f.text_area :descripti... | Select elements now remember the selected option | Select elements now remember the selected option
| HTML+ERB | agpl-3.0 | noidedmedia/Fiction-Dock,noidedmedia/Fiction-Dock,noidedmedia/Fiction-Dock |
4acc866b6ba0304ac1dc50ee67872845eade1c87 | app/views/admin/suspensions/edit.html.erb | app/views/admin/suspensions/edit.html.erb | <h1>Suspend user “<%= @user.name %>”</h1>
<p><span class="label label-important">Warning: suspensions are currently only enforced at login time. If a user is logged in, they could remain logged in forever.</span></p>
<%= form_tag admin_suspension_path(@user), method: "put", :class => 'well' do %>
<p>
... | <h1>Suspend user “<%= @user.name %>”</h1>
<p><span class="label label-important">Warning: suspensions are currently only enforced at login time. If a user is logged in, they could remain logged in forever.</span></p>
<%= form_tag admin_suspension_path(@user), method: "put", :class => 'well' do %>
<p>
... | Add an escape to the suspension screen | Add an escape to the suspension screen
| HTML+ERB | mit | alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2 |
41f1f888497aeb6440c56540c59f0ba548ed8b87 | lib/views/help/_sidebar.tr.html.erb | lib/views/help/_sidebar.tr.html.erb | <div id="right_column_flip">
<h2>Yardım</h2>
<ul class="no_bullets">
<li><%= link_to_unless_current "Hakkımızda", help_about_path %></li>
<li><%= link_to_unless_current "Başvuru yapmak", help_requesting_path %></li>
<li><%= link_to_unless_current "Gizlilik", help_privacy_path %></li>
... | Add Turkish help sidebar translation | Add Turkish help sidebar translation
Missing translations:
- "About the software"
- "Credits"
- "Programmers API"
- "Help us"
- "Advanced search"
| HTML+ERB | mit | mysociety/bilmehakki-theme,mysociety/bilmehakki-theme | |
74c248b75513b6eb07372d9fac1d63536925b58a | app/views/refinery/retailers/retailers/index.html.erb | app/views/refinery/retailers/retailers/index.html.erb | <% 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 />
... | <% 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 />
... | Use mail_to helper to print retailers email | Use mail_to helper to print retailers email
| HTML+ERB | mit | bisscomm/refinerycms-retailers,bisscomm/refinerycms-retailers |
e308bdcd4f9cbc4a803ffb89c2edeacc49de5963 | app/views/shared/tags/_curated_links_preview.html.erb | app/views/shared/tags/_curated_links_preview.html.erb | <div id="curated-lists" class="curated-lists">
<% tag_object.lists.ordered.each do |list| %>
<%= render "govuk_publishing_components/components/document_list", {
items: [
{
link: {
text: list.name
},
metadata: {
edit_list: tag.a("Edit list", href... | <div id="curated-lists" class="curated-lists">
<% tag_object.lists.ordered.each do |list| %>
<%= render "govuk_publishing_components/components/document_list", {
items: [
{
link: {
text: list.name
},
metadata: {
edit_list: tag.a("Edit list", href... | Add extra spacing to uncurated links section | Add extra spacing to uncurated links section
| HTML+ERB | mit | alphagov/collections-publisher,alphagov/collections-publisher,alphagov/collections-publisher |
e5cdde53c0b53e2167369cff7cc9db81b442dda7 | app/views/hooks/rougemine/_view_layouts_base_html_head.html.erb | app/views/hooks/rougemine/_view_layouts_base_html_head.html.erb | <% if !rougemine_meta_app_url.blank? %>
<meta name="apple-itunes-app" content="app-id=id_app_redmine, app-argument=<%= rougemine_meta_app_url %>" />
<% else %>
<meta name="apple-itunes-app" content="app-id=id_app_redmine" />
<% end %> | <% if !rougemine_meta_app_url.blank? %>
<meta name="apple-itunes-app" content="app-id=596845708, app-argument=<%= rougemine_meta_app_url %>" />
<% else %>
<meta name="apple-itunes-app" content="app-id=596845708" />
<% end %> | Apply App ID for smart banner | Apply App ID for smart banner
| HTML+ERB | mit | opsone/rougemine |
3ed57be81547c5270bbe0e1ece360644769311db | app/views/event_receipt/_event_tables.html.erb | app/views/event_receipt/_event_tables.html.erb | <% unless user_event.registration_tables.empty? %>
<h3>Player Sessions</h3>
<div class="well">
<ul>
<% user_event.registration_tables.each do |reg_table| %>
<li><%= "#{reg_table.table.session.name}: #{reg_table.table.scenario.long_name} at #{reg_table.table.location}" %></li>
<% end %>
<... | <%
@sessions = @event.sessions
@sessions = @sessions.sort
@table_sessions = {}
@sessions.each do |session|
@table_sessions[session] = nil
end
user_event.registration_tables.each do |reg_table|
session = reg_table.table.session
@table_sessions[session] = reg_table
end
user... | Rebuild the display of sessions on the all-receipts | Rebuild the display of sessions on the all-receipts
Still need to build a partial.
| HTML+ERB | mit | 10000-Lakes-Gaming/registration,10000-Lakes-Gaming/registration,10000-Lakes-Gaming/registration,10000-Lakes-Gaming/registration |
ec292e4634b347be4c939a0f2596a9a3fe6dc456 | jobs/bits-service/templates/statsd_pipe_ctl.erb | jobs/bits-service/templates/statsd_pipe_ctl.erb | #!/bin/bash
set -e -x
JOB_DIR=/var/vcap/jobs/bits-service
RUN_DIR=/var/vcap/sys/run/nginx_bits
LOG_DIR=/var/vcap/sys/log/nginx_bits
PIDFILE=$RUN_DIR/statsd_pipe.pid
export PATH=/var/vcap/packages/socat/bin:$PATH
source /var/vcap/packages/bits-common/pid_utils.sh
source ${JOB_DIR}/bin/syslog_utils.sh
tee_output_to_sy... | #!/bin/bash
set -e -x
JOB_DIR=/var/vcap/jobs/bits-service
RUN_DIR=/var/vcap/sys/run/nginx_bits
LOG_DIR=/var/vcap/sys/log/nginx_bits
PIDFILE=$RUN_DIR/statsd_pipe.pid
export PATH=/var/vcap/packages/socat/bin:$PATH
source /var/vcap/packages/bits-common/pid_utils.sh
source ${JOB_DIR}/bin/syslog_utils.sh
tee_output_to_sy... | Use exec when starting statsd_pipe | Use exec when starting statsd_pipe
This is an attempt to fix the monit setup for statsd_pipe. We've seen a huge number of statsd_pipe processes in AWS, which suggests that monit fails to deal properly with those processes.
| HTML+ERB | apache-2.0 | cloudfoundry-incubator/bits-service-release,cloudfoundry-incubator/bits-service-release,cloudfoundry-incubator/bits-service-release,cloudfoundry-incubator/bits-service-release |
56114d0705345081e56ebdb750014c6f2157b0a6 | source/layouts/layout.erb | source/layouts/layout.erb | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><%= current_page.data.title || "Cowork Niagara" %></title>
<link href='http://fonts.googleapis.com/css?fa... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><%= current_page.data.title || "Cowork Niagara" %></title>
<link href='http://fonts.googleapis.com/css?fa... | Add Google Analytics tracking code | Add Google Analytics tracking code
| HTML+ERB | bsd-3-clause | CoworkingNiagara/coworkingniagara.github.io,CoworkingNiagara/coworkingniagara.github.io,CoworkingNiagara/coworkingniagara.github.io |
3018571f0f2fc490dad0a8aef377a76f5aab2b4c | plugins/delivery/views/delivery_plugin_option/_show.html.erb | plugins/delivery/views/delivery_plugin_option/_show.html.erb | <div id="cycle-delivery-option-<%=option.id%>" class="cycle-delivery-option">
<span><%= option.delivery_method.name %></span>
<%= link_to_remote(t('delivery_plugin.views.delivery_option._show.x'), {
:update => 'delivery-session-option-'+option.id.to_s,
:url => { :controller => :delivery_plugin_option, :... | <div id="cycle-delivery-option-<%=option.id%>" class="cycle-delivery-option">
<span><%= option.delivery_method.name %></span>
<%= link_to_remote(t('delivery_plugin.views.delivery_option._show.x'), {
:update => 'delivery-session-option-'+option.id.to_s,
:url => { :controller => :delivery_plugin_option, :... | Fix conflict with type attr | Fix conflict with type attr
| HTML+ERB | agpl-3.0 | CIRANDAS/noosfero-ecosol,blogoosfero/noosfero,EcoAlternative/noosfero-ecosol,samasti/noosfero,CIRANDAS/noosfero-ecosol,EcoAlternative/noosfero-ecosol,samasti/noosfero,EcoAlternative/noosfero-ecosol,samasti/noosfero,CIRANDAS/noosfero-ecosol,blogoosfero/noosfero,EcoAlternative/noosfero-ecosol,CIRANDAS/noosfero-ecosol,sam... |
5838244006446ac9830e17bfa47f947c3bb43ec0 | app/assets/javascripts/zeroclipboard/asset-path.js.erb | app/assets/javascripts/zeroclipboard/asset-path.js.erb | //= depend_on_asset "ZeroClipboard.swf"
ZeroClipboard.config({
swfPath: '<%= image_path "ZeroClipboard.swf" %>'
});
| //= depend_on_asset "ZeroClipboard.swf"
<%
config = {
cacheBust: !Rails.configuration.assets.digest,
swfPath: image_path("ZeroClipboard.swf")
}
%>
ZeroClipboard.config(<%= config.to_json %>);
| Disable ZeroClipboard's cache busting when using Rails asset digests | Disable ZeroClipboard's cache busting when using Rails asset digests
| HTML+ERB | mit | zeroclipboard/zeroclipboard-rails,zeroclipboard/zeroclipboard-rails,zeroclipboard/zeroclipboard-rails |
94ca3dcb47007bc2bf7c6247ed78b1bd5b96c47f | app/views/spree/admin/social/_facebook_options.html.erb | app/views/spree/admin/social/_facebook_options.html.erb | <table id="facebook_options">
<tr>
<th><%= label_tag Spree.t 'social.products.facebook_id' %></th>
<td><%= password_field_tag 'facebook_options[facebook_id]', Spree::Config.facebook_app_id %></td>
</tr>
<tr>
<th><%= label_tag Spree.t 'social.products.facebook_layout' %></th>
<td><%= select_tag 'facebook_opti... | Add new template for facebook configuration | Add new template for facebook configuration
| HTML+ERB | bsd-3-clause | spree-contrib/spree_social_products,paulcc/spree_social_products,spree-contrib/spree_social_products,GraphicDesk/spree_social_products,GraphicDesk/spree_social_products,tfitts/spree_social_products,GraphicDesk/spree_social_products,spree-contrib/spree_social_products,paulcc/spree_social_products,paulcc/spree_social_pro... | |
13331bdca4681cddd654c6b9b9ada13ff7693a9e | templates/vhost-default.conf.erb | templates/vhost-default.conf.erb | # ************************************
# Default template in module puppetlabs-apache
# Managed by Puppet
# ************************************
Listen <%= vhost_name %>:<%= port %>
NameVirtualHost <%= vhost_name %>:<%= port %>
<VirtualHost <%= vhost_name %>:<%= port %>>
ServerName <%= srvname %>
<% if serveradmin %... | # ************************************
# Default template in module puppetlabs-apache
# Managed by Puppet
# ************************************
NameVirtualHost <%= vhost_name %>:<%= port %>
<VirtualHost <%= vhost_name %>:<%= port %>>
ServerName <%= srvname %>
<% if serveradmin %>
ServerAdmin <%= serveradmin %>
<%... | Revert "Add Listen statement to vhost template" | Revert "Add Listen statement to vhost template"
This reverts commit 2895f1ebbc97e1c8b2e44125bbb90c30e397633b.
| HTML+ERB | apache-2.0 | svanhart/puppetlabs-apache,guegue/puppetlabs-apache,yakatz/puppetlabs-apache,eputnam/puppetlabs-apache,traylenator/puppetlabs-apache,samuelb/puppetlabs-apache,yakatz/puppetlabs-apache,FlatKey/puppetlabs-apache,buzzdeee/puppetlabs-apache,svanhart/puppetlabs-apache,bmjen/puppetlabs-apache,dzmitryv/puppetlabs-apache,puppe... |
35071b4ec34fafc27138ee5d4d8565e6ea4b5892 | app/views/shared/_discussion_summary_listing.html.erb | app/views/shared/_discussion_summary_listing.html.erb | <%= will_paginate @discussions %>
<% @discussions.each do |discussion| %>
<div class="discussion-listing two-thirds column alpha omega row">
<% listing_posts_array = listing_posts(discussion) %>
<%= render listing_posts_array.shift if !listing_posts_array.nil? %>
<% if !listing_posts_array.nil? %>
... | <%= will_paginate @discussions %>
<% @discussions.each do |discussion| %>
<div class="discussion-listing two-thirds column alpha omega row">
<% listing_posts_array = listing_posts(discussion) %>
<%= render listing_posts_array.shift if !listing_posts_array.nil? %>
<% if !listing_posts_array.nil? %>
... | Hide delete discussion from non-admins at discussion list | Hide delete discussion from non-admins at discussion list
| HTML+ERB | mit | gyng/rib,gyng/rib |
549b7fd08cdac739cba2b871cae67a8982737dd6 | app/views/layouts/cms/_thematic-areas-basic.html.erb | app/views/layouts/cms/_thematic-areas-basic.html.erb | <%= render partial: "./layouts/partials/hero-basic", locals: {
classes: 'thematical-area' ,
image: cms_fragment_render(:image, @cms_page),
summary: cms_fragment_render("summary"),
title: @cms_page.label
} %>
<section class="container--medium page-padding">
<%= cms_fragment_render("content") %>
</section>
<... | <%= render partial: "./layouts/partials/hero-basic", locals: {
classes: 'thematical-area' ,
image: cms_fragment_render(:image, @cms_page),
summary: cms_fragment_render("summary"),
title: @cms_page.label
} %>
<section class="container--medium page-padding--top">
<%= cms_fragment_render("content") %>
</sectio... | Add padding to thematic carousel on the connectivity page | Add padding to thematic carousel on the connectivity page
| HTML+ERB | bsd-3-clause | unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet |
9bad7de2d5cc3c2c530ce3300c0c35fa5d401442 | cookbooks/nagios/templates/default/hosts.cfg.erb | cookbooks/nagios/templates/default/hosts.cfg.erb | # Host definitions
#
# Autogenerated by Chef.
<% @nodes.each do |n| -%>
define host {
use server
address <%= n['ipaddress'] %>
host_name <%= n['hostname'] %>
<% if node['nagios']['multi_environment_monitoring'] -%>
<% if n.run_list.roles.nil? || n.run_list.roles.length == 0 -%>
hostgroups all,<%= n.os %>,<... | # Host definitions
#
# Autogenerated by Chef.
<% @nodes.each do |n| -%>
define host {
use server
address <%= n['ipaddress'] %>
host_name <%= n['hostname'] %>
<% if node['nagios']['multi_environment_monitoring'] -%>
<% if n.run_list.roles.nil? || n.run_list.roles.length == 0 -%>
hostgroups all,<%= n.os %>,<... | Remove the non-alerting host logic. It doesn't really work at the moment. | Remove the non-alerting host logic. It doesn't really work at the moment.
Former-commit-id: f9aff2dea6756579b8c6c44b7a1cd16b3cce9eb7 [formerly d3a0cd2f64aea69957f8accb8f8b5f0c343c0acd] [formerly c4896aed3c3c5295f5116ac47705d330d8bee242 [formerly aeac4ea19f3d5c30d6a3b47d4407452dbe8db2c6 [formerly 71fc97b5211e54274ae0... | HTML+ERB | apache-2.0 | Webtrends/rundeck,Webtrends/rundeck,nilroy/rundeck,nilroy/rundeck,Webtrends/rundeck,scottymarshall/rundeck,nilroy/rundeck,scottymarshall/rundeck,scottymarshall/rundeck |
5696790c0488de776ade4409f6f13ae59f40afd3 | lib/matross/templates/nginx/nginx_virtual_host_conf.erb | lib/matross/templates/nginx/nginx_virtual_host_conf.erb | upstream <%= application %> {
server unix:/tmp/unicorn.sock fail_timeout=0;
}
server {
listen 80 default_server;
client_max_body_size 50m;
server_name <%= server_name %>;
keepalive_timeout 5;
root <%= "#{deploy_to}/current/public" %>;
try_files $uri @<%= application %>;
location @<%= ap... | upstream <%= application %> {
server unix:/tmp/unicorn.sock fail_timeout=0;
}
server {
listen 80 default_server;
client_max_body_size 50m;
server_name <%= server_name %>;
keepalive_timeout 5;
root <%= "#{deploy_to}/current/public" %>;
try_files $uri @<%= application %>;
location @<%= ap... | Remove hardcoded app name from Nginx vhost | Remove hardcoded app name from Nginx vhost
Fix #16
| HTML+ERB | mit | innvent/matross |
d577a6704333f9d6f096142b754accc1c6466b0f | lib/vagrant-libvirt/templates/public_interface.xml.erb | lib/vagrant-libvirt/templates/public_interface.xml.erb | <interface type='<%= @type %>'>
<% if @mac %>
<mac address='<%= @mac %>'/>
<% end %>
<%if @type == 'direct'%>
<source dev='<%= @device %>' mode='<%= @mode %>'/>
<% else %>
<source bridge='<%=@device%>'/>
<model type='<%=@model_type%>'/>
<% end %>
</interface>
| <interface type='<%= @type %>'>
<% if @mac %>
<mac address='<%= @mac %>'/>
<% end %>
<%if @type == 'direct'%>
<source dev='<%= @device %>' mode='<%= @mode %>'/>
<% else %>
<source bridge='<%=@device%>'/>
<% end %>
<model type='<%=@model_type%>'/>
</interface>
| Add ability to always set the type of NIC | Add ability to always set the type of NIC
| HTML+ERB | mit | mandre/vagrant-libvirt,electrofelix/vagrant-libvirt,fxkr/vagrant-libvirt,swizzley/vagrant-libvirt,JulianVolodia/vagrant-libvirt,moozer/vagrant-libvirt,timhughes/vagrant-libvirt,timhughes/vagrant-libvirt,sjfloat/vagrant-libvirt,volago/vagrant-libvirt,sendgrid-ops/vagrant-libvirt,moozer/vagrant-libvirt,pronix/vagrant-lib... |
a8fac4fb6b9e3ef8530175007121ab6415d7aab5 | app/views/users/show.html.erb | app/views/users/show.html.erb | <h1>Hello, <%= @user.name %></h1>
<div>
<%= link_to("Edit Profile", edit_user_path) %>
</div>
<div>
<h2>Profile Information</h2>
<div>Name: <%= @user.name %></div>
<div>Email: <%= @user.email %></div>
<div>Member Since: <%= @user.created_at %></div>
</div>
<div>
Content Placeholder
</div>
<div>
Content Placehold... | <h1>Hello, <%= @user.name %></h1>
<div>
<%= link_to("Edit Profile", edit_user_path(@user)) %>
</div>
<div>
<h2>Profile Information</h2>
<div>Name: <%= @user.name %></div>
<div>Email: <%= @user.email %></div>
<div>Member Since: <%= @user.created_at %></div>
</div>
<div>
<% @user.plans.each do |plan| %>
<%= rende... | Edit users/show template to include partial and the user's entire collection of plan objects. | Edit users/show template to include partial and the user's entire collection of plan objects.
| HTML+ERB | mit | kevmcgovern/EZMeals,kevmcgovern/EZMeals,kevmcgovern/EZMeals |
7b36070096c09d59ab995074d55db19260d19a59 | test/source/templates/paginated.erb | test/source/templates/paginated.erb | ---
layout: default
title: Posts
---
<h2><%= @this.title %></h2>
<ul>
<% @items.each do |post| %>
<li><a href="/archives/<%= post.slug %>"><%= post.title %></a></li>
<% end %>
</ul>
<% if @pagination && @pagination[:page_count] > 1 %>
<p>
This is page <%= @pagination[:page] %> of <%= @pagination[:page_count] %>, w... | ---
layout: default
title: Posts
---
<h2><%= @this.title %></h2>
<ul>
<% @items.each do |post| %>
<li><a href="/archives/<%= post.slug %>"><%= post.title %></a></li>
<% end %>
</ul>
<% if @pagination && @pagination[:page_count] > 1 %>
<p>
This is page <%= @pagination[:current_page] %> of <%= @pagination[:page_coun... | Switch to 'current_page' in place of 'page. | Switch to 'current_page' in place of 'page.
| HTML+ERB | mit | waferbaby/dimples |
8f665af98b4d1a0f4adeb86972ad117f7cf320f9 | app/views/shared/_error_summary.html.erb | app/views/shared/_error_summary.html.erb | <% class_name = class_name.presence || object.class.name.demodulize.underscore.humanize.downcase %>
<% input_class_name = parent_class.presence || object.class.to_s.underscore %>
<% verb = verb || "save" %>
<% if object.errors.present? %>
<div class="gem-c-error-summary govuk-error-summary" data-module="govuk-error-... | <% class_name = class_name.presence || object.class.name.demodulize.underscore.humanize.downcase %>
<% input_class_name = parent_class.presence || object.class.to_s.underscore %>
<% verb = verb || "save" %>
<% if object.errors.present? %>
<%= render "govuk_publishing_components/components/error_summary", {
title... | Replace custom error summary with component | Replace custom error summary with component
This will fix issues where clicking on the links would take users to the input rather than label.
This also simplifies the code so we do not need to maintain more custom code.
| HTML+ERB | mit | alphagov/whitehall,alphagov/whitehall,alphagov/whitehall,alphagov/whitehall |
c689938b7dc4f24e94acb29804c4cc3d15a877de | app/views/characters/_siblingship_fields.html.erb | app/views/characters/_siblingship_fields.html.erb | <div class="nested-fields">
<div class="input-field">
<%= f.label :sibling %>
<%# f.autocomplete_field :sibling, autocomplete_name_characters_path, 'data-auto-focus' => true %>
<%= f.text_field :sibling_id %>
</div>
<%= link_to_remove_association 'remove sibling', f %>
</div> | <div class="nested-fields">
<% uuid = SecureRandom.uuid %>
<div class="input-field">
<%= f.label :sibling %>
<%= f.autocomplete_field :sibling_id, autocomplete_name_characters_path, 'data-auto-focus' => true, id_element: "##{uuid}" %>
<%= f.hidden_field :sibling_id, id: uuid %>
</div>
<%= link_to... | Bring back autocomplete on siblings | Bring back autocomplete on siblings
| HTML+ERB | mit | indentlabs/notebook,indentlabs/notebook,indentlabs/notebook |
d9b0ee0e13462c8819ccc1688802219ad1b12197 | app/views/hovercard/challenges/_hovercard.html.erb | app/views/hovercard/challenges/_hovercard.html.erb | <%= render :layout => "hovercard/hovercard", :locals => { :object => @challenge, :photo => @challenge.main_photo } do %>
<h5><%= link_to @challenge.title, challenge_domain_url(@challenge) %></h5>
<p class="subtitle"></p>
<% state = challenge_status @challenge %>
<%= render "hovercard/data", :data => [
{ :te... | <% prize_value = number_to_currency(@challenge.prize_value || 0,
:unit => @challenge.currency_unit,
:format => @challenge.currency_format,
:precision => 0) %>
<%= render :layout => "hovercard/hovercard", :locals... | Update prize to use challenge currency | Update prize to use challenge currency
| HTML+ERB | mit | challengepost/hovercard,challengepost/hovercard |
2556a3dca37c5ca2d83d15a981ac2e348ff05d7d | app/views/contacts/_form.html.erb | app/views/contacts/_form.html.erb | <%= form.inputs do %>
<%= form.input :name %>
<%= form.input :postal_address %>
<%= form.inputs 'Phone numbers' do %>
<%= form.semantic_fields_for :phone_numbers, phone_numbers_for(form.object) do |phone_number| %>
<div>
<%= phone_number.input :kind, :collection => PhoneNumber::KINDS %>
<%= phone_num... | <%= form.inputs do %>
<%= form.input :name %>
<%= form.input :postal_address %>
<%= form.inputs 'Phone numbers' do %>
<%= form.semantic_fields_for :phone_numbers, phone_numbers_for(form.object) do |phone_number| %>
<div>
<%= phone_number.input :kind, :collection => PhoneNumber::KINDS %>
<%= phone_num... | Fix hardcoded contact form button to say "Create" or "Update" as appropriate | Fix hardcoded contact form button to say "Create" or "Update" as appropriate
| HTML+ERB | mit | gds-attic/contact-o-tron,gds-attic/contact-o-tron,gds-attic/contact-o-tron |
a5dead4848148c66c9ac923375cad3496804a0f7 | app/views/home_page/home.html.erb | app/views/home_page/home.html.erb | <h1>HomePage#home</h1>
<p>Find me in app/views/home_page/home.html.erb</p>
| <!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>CarePax</title>
<link rel="stylesheet" href="stylesheets/app.css" />
<lin... | Add Google Maps API to home view | Add Google Maps API to home view
| HTML+ERB | mit | RyanTKing/CarePax,RyanTKing/CarePax,RyanTheKing/CarePax,RyanTheKing/CarePax,RyanTheKing/CarePax,RyanTKing/CarePax |
499201f00987a01d97d0a6d5a447b7740429bb01 | app/views/stories/search.html.erb | app/views/stories/search.html.erb | <div id="search-results">
<br></br>
<% if @searched_stories.empty? %>
<h3> There is no Story content matching "<%= params[:search] %>." </h3>
<% else %>
<h3> Stories with "<%= params[:search] %>" in the Title: </h3>
<% @searched_stories.each do |story| %>
<% x = params[:search].upcase %>
... | <div id="search-results">
<br></br>
<% if @searched_stories.empty? %>
<h3> There is no Story content matching "<%= params[:search] %>." </h3>
<% else %>
<h3> Stories with "<%= params[:search] %>" in the Title: </h3>
<% @searched_stories.each do |story| %>
<% x = params[:search].upcase %>
... | Rewrite logic in search results view | Rewrite logic in search results view
| HTML+ERB | mit | SputterPuttRedux/storyvine_clone,pearlshin/StoryVine,mxngyn/StoryVine,mxngyn/StoryVine,mxngyn/StoryVine,SputterPuttRedux/storyvine_clone,SputterPuttRedux/storyvine_clone,pearlshin/StoryVine,pearlshin/StoryVine |
32e2ea6994e8130e2a12eda42b1656a4f593a5be | app/views/reaches/new.erb | app/views/reaches/new.erb | <h1> Make a Reach </h1>
<% if @error %>
<%= @error %>
<% end %>
<form action='/reaches/new' method="POST">
Name of contact:<input type="text" name="contact_name" placeholder="Contact Name"><br>
Phone:<input type="text" name="contact_phone" placeholder="Contact Phone"><br>
Text: <br>
<textarea name="text" pl... | <h1> Make a Reach </h1>
<% if @error %>
<%= @error %>
<% end %>
<form action='/reaches/new' method="POST">
Name of contact:<input type="text" name="contact_name" placeholder="Contact Name"><br>
Phone:<input type="text" name="contact_phone" placeholder="Contact Phone"><br>
Text: <br>
<textarea name="text" pl... | Modify main Reach radio button | Modify main Reach radio button
| HTML+ERB | mit | hypatiah/reach,hypatiah/reach,hypatiah/reach |
151e4f9c532988f16863a50cdf805b08cc517e09 | app/views/home/_companies_who_pledged_support.html.erb | app/views/home/_companies_who_pledged_support.html.erb | <div class="pledged-support">
<div class="content">
<p class="joined">В инициативата участват</p>
<ul class="companies">
<% @companies.each do |company| %>
<li>
<% if company.url.present? %>
<%= link_to company.url, target: '_blank', rel: 'nofollow', class: 'company' do %>
... | <div class="pledged-support">
<div class="content">
<p class="joined">В инициативата участват</p>
<ul class="companies">
<% @companies.each do |company| %>
<li>
<% if company.url.present? %>
<%= link_to company.url, target: '_blank', rel: 'nofollow', class: 'company' do %>
... | Fix the contact us link for companies who pledge support | Fix the contact us link for companies who pledge support
| HTML+ERB | mit | mitio/futureiscode,mitio/futureiscode,mitio/futureiscode,mitio/futureiscode |
2684066910f5f457391dc23c3bc565780ca4b5a0 | templates/default/redis-server.conf.erb | templates/default/redis-server.conf.erb | description "redis server (<%= @name %>)"
start on runlevel [23]
stop on shutdown
# Does not work at the moment, see below.
# <%- if @user && @group %>
# setuid <%= @user %>
# setgid <%= @group %>
# <%- end %>
expect fork
<%= 'respawn' if @respawn %>
# Does not work with setuid stanza!
# See: https://bugs.launchpa... | description "redis server (<%= @name %>)"
start on runlevel [23]
stop on shutdown
# Does not work at the moment, see below.
# <%- if @user && @group %>
# setuid <%= @user %>
# setgid <%= @group %>
# <%- end %>
expect fork
<%= 'respawn' if @respawn %>
# Does not work with setuid stanza!
# See: https://bugs.launchpa... | Fix start of redis instance via upstart. | Fix start of redis instance via upstart.
| HTML+ERB | apache-2.0 | brianbianco/redisio,brianbianco/redisio,brianbianco/redisio,mazeika/redisio,mazeika/redisio,mazeika/redisio |
3aa24556f481951e2861546cfdc32ec7288de2db | templates/uwsgi_app.ini.erb | templates/uwsgi_app.ini.erb | #
# This file is managed by puppet class 'uwsgi::app'
#
# uwsgi app config for '<%= @name %>'
#
[uwsgi]
uid = <%= @uid %>
gid = <%= @gid %>
<%
if @application_options
@application_options.sort.each do |key, value|
-%>
<%= key %> = <%= value%>
<%
end
end
if @environment_variables
@environment_variables.sort.each ... | #
# This file is managed by puppet class 'uwsgi::app'
#
# uwsgi app config for '<%= @name %>'
#
[uwsgi]
uid = <%= @uid %>
gid = <%= @gid %>
<%
if @application_options
@application_options.sort.each do |key, value|
if value.is_a? Array
value.each do |v|
-%>
<%= key %> = <%= v%>
<%
end
else
-%>
<%= ... | Support repeated application options by passing an array of values | Support repeated application options by passing an array of values
The motivating example was:
$application_options => {
py-autoreload => 1,
touch-reload => [
'file1',
'file2',
'file3',
],
}
Signed-off-by: Ray Lehtiniemi <87d85b9f6da1e02702161aa067fc687173810d2f@mail.com>
| HTML+ERB | apache-2.0 | cwood/puppet-uwsgi,cwood/puppet-uwsgi,Engage/puppet-uwsgi,Chaordix/puppet-uwsgi,cwood/puppet-uwsgi,rvdh/puppet-uwsgi,Engage/puppet-uwsgi,rvdh/puppet-uwsgi,Chaordix/puppet-uwsgi |
84a7dfaa3fdf7bb6ef435c493c24efb5e5b735f5 | views/index.erb | views/index.erb | <style>
body {
font-family: 'Roboto', sans-serif;
font-size: 16px;
}
</style>
<div class="container">
<div class="col">
<div class="row">
<h2>Posts</h2>
<hr>
</div>
</div>
</div>
<div class="container">
<div class="col">
<div class="row">
<article>
<header>
... | Add second post to posts page | Add second post to posts page
| HTML+ERB | mit | JordanRushing/roda-sequel-puma-heroku-app,JordanRushing/roda-sequel-puma-heroku-app | |
e65ce5ce03232715c8028b4231e8133b12865fc1 | opsworks_sidekiq/templates/default/sidekiq_monitrc.erb | opsworks_sidekiq/templates/default/sidekiq_monitrc.erb | <% @environment.each do |key, value| %>
ENV['<%= key %>'] = "<%= value %>"
<% end %>
<% @workers.each do |worker, options| %>
<% (options[:process_count] || 1).times do |n| %>
<% identifier = "#{@application}-#{worker}#{n+1}" %>
<% conf_file = "#{@deploy[:deploy_to]}/shared/config/sidekiq_#{worker}#{n+1}.yml" %>... | <% @workers.each do |worker, options| %>
<% (options[:process_count] || 1).times do |n| %>
<% identifier = "#{@application}-#{worker}#{n+1}" %>
<% conf_file = "#{@deploy[:deploy_to]}/shared/config/sidekiq_#{worker}#{n+1}.yml" %>
<% pid_file = "#{@deploy[:deploy_to]}/shared/pids/sidekiq_#{identifier}.pid" %>
<... | Remove env from sidekiq monitrc | Remove env from sidekiq monitrc
| HTML+ERB | mit | SidePrize/opsworks-cookbooks,SidePrize/opsworks-cookbooks |
6c0483a06bebbdec49b774d6e86588b8813fa7d0 | app/views/admin/features/select_ancestor.html.erb | app/views/admin/features/select_ancestor.html.erb | <div>
<h1>Please select the Place in the hierarchy where you would like to add your new Place</h1>
</div>
<div id="relation_tree_container">
</div>
<%= javascript_include_tag 'kmaps_engine/kmaps_fancytree' %>
<%= javascript_on_load do %>
$("#relation_tree_container").kmapsFancytree({
featureId: 13735,
featu... | <div>
<h1>Please select the Place in the hierarchy where you would like to add your new Place</h1>
</div>
<div id="relation_tree_container">
</div>
<%= javascript_include_tag 'kmaps_engine/kmaps_fancytree' %>
<%= javascript_on_load do %>
$("#relation_tree_container").kmapsFancytree({
featureId: "",
features... | Update view select_ancestor to use new kmapsFancyTree | Update view select_ancestor to use new kmapsFancyTree
The modification inkmapsFancyTree allows to have multiple roots and when
the featureId is not pressent it returns the tree with all the main root
nodes depending on the current perspective.
| HTML+ERB | mit | thl/places_engine,thl/places_engine,thl/places_engine |
2ab552dca9462c305d24249ab16fb981323f2fb4 | app/views/layouts/active_application/account.html.erb | app/views/layouts/active_application/account.html.erb | <!DOCTYPE html>
<html lang="<%= locale %>">
<head>
<title><%= "#{@title} | " unless @title.blank? %>Application</title>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width" />
<%= stylesheet_link_tag "active_ap... | <!DOCTYPE html>
<html lang="<%= locale %>">
<head>
<title><%= layout_title %></title>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width" />
<%= stylesheet_link_tag "active_application/account", media: "all" %... | Fix title for account module layout | Fix title for account module layout
| HTML+ERB | mit | jarijokinen/active_application,jarijokinen/active_application |
774bd912056b5708495a181d60e9c6f64122bdd7 | app/views/georgia/ckeditor/pictures/_picture.html.erb | app/views/georgia/ckeditor/pictures/_picture.html.erb | <tr id='asset_<%= picture.id %>' class='asset'>
<td class='checkbox-cell'>
<%= checkboxable_tag picture %>
</td>
<td class='thumbnail-cell'>
<%= link_to picture.url_content, class: 'media-link bg-transparent', data: {toggle: 'lightbox'}} do %>
<%= image_tag picture.url(:tiny), title: picture.filenam... | <tr id='asset_<%= picture.id %>' class='asset'>
<td class='checkbox-cell'>
<%= checkboxable_tag picture %>
</td>
<td class='thumbnail-cell'>
<%= image_tag picture.url(:tiny), title: picture.filename, class: 'media-image' %>
</td>
<td>
<%= facet_list_tag(picture.tag_list, :tg) %>
<%= link_to pi... | Remove featured count on picture partial | Remove featured count on picture partial
| HTML+ERB | mit | georgia-cms/georgia,georgia-cms/georgia,georgia-cms/georgia |
7bf284b8d7f50fcd5ffa8bfb759a380d38e09cc5 | app/views/uramon_article_viewer/categories/show.html.erb | app/views/uramon_article_viewer/categories/show.html.erb | <%= render partial: 'breadcrumbs', locals: {breadcrumbs: [['ホーム', '/'], ['仕事']]} %>
<h1>Categories#index</h1>
<ul>
<% @articles.each do |article| %>
<li>
<%= link_to article.title, article_path(article) %>
</li>
<% end %>
</ul>
| <%= render partial: 'breadcrumbs', locals: {breadcrumbs: [['ホーム', '/'], ['仕事']]} %>
<h1>Categories#index</h1>
<ul>
<% @articles.each do |article| %>
<li>
<%= link_to article.title, article_path(article.id) %>
</li>
<% end %>
</ul>
| Fix to give id to named route helper | Fix to give id to named route helper
| HTML+ERB | mit | bm-sms/uramon-article-viewer,bm-sms/uramon-article-viewer,bm-sms/uramon-article-viewer |
a51eb4fc037ba85f3e2a7dda8e93bddcb812b40a | views/experiment_add_file.erb | views/experiment_add_file.erb | <div class="span8 offset4">
<form action="/experiment/add_file" method="post">
<fieldset>
<legend>Add Dataset file</legend>
<div class="clearfix">
<label for="name">File Name</label>
<div class="input">
<input class="xlarge" name="name" id="name" type="text... | <div class="span8 offset4">
<form action="/experiment/add_file" method="post">
<fieldset>
<legend>Add Dataset file</legend>
<div class="clearfix">
<label for="name">File Name</label>
<div class="input">
<input class="xlarge" name="name" id="name" type="text... | Remove log model, and put in more exception handling | Remove log model, and put in more exception handling
| HTML+ERB | mit | audy/sequence-storage,audy/sequence-storage,audy/sequence-storage |
ac5b6fbf1c4b980378bcdadacae37fd96b1675de | cookbooks/planet/templates/default/replicate-minute.erb | cookbooks/planet/templates/default/replicate-minute.erb | #!/bin/sh
set -e
cd /etc/replication
osmdbt-catchup --quiet
osmdbt-get-log --quiet
osmdbt-catchup --quiet
osmdbt-create-diff --quiet --max-changes=50000
| #!/bin/sh
set -e
cd /etc/replication
osmdbt-catchup --quiet
osmdbt-get-log --quiet
osmdbt-catchup --quiet
osmdbt-create-diff --quiet --with-comment --max-changes=50000
| Add comments to minutely state files | Add comments to minutely state files
| HTML+ERB | apache-2.0 | openstreetmap/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,zerebubuth/openstre... |
09fbc07ae778e29c3494d3686665b96ffb204623 | app/views/admin/shared/_title_etc.html.erb | app/views/admin/shared/_title_etc.html.erb | <%= hidden_field_tag "return_to", params[:return_to] if params[:return_to] %>
<li class="optional">
<label for="edition_assigned_to_id">Assigned to</label>
<%= f.collection_select :assigned_to_id, User.all, :id, :name, :prompt => "Select someone" %>
</li>
<%= f.input :alternative_title,
:label => "Alternati... | <%= hidden_field_tag "return_to", params[:return_to] if params[:return_to] %>
<li class="optional">
<label for="edition_assigned_to_id">Assigned to</label>
<%= f.collection_select :assigned_to_id, User.order_by([[:name, :asc]]).all, :id, :name, :prompt => "Select someone" %>
</li>
<%= f.input :alternative_title,
... | Order names in assignment list alphabetically | Order names in assignment list alphabetically
| HTML+ERB | mit | theodi/publisher,leftees/publisher,alphagov/publisher,theodi/publisher,theodi/publisher,telekomatrix/publisher,alphagov/publisher,leftees/publisher,theodi/publisher,leftees/publisher,telekomatrix/publisher,leftees/publisher,telekomatrix/publisher,alphagov/publisher,telekomatrix/publisher |
fdb859baafac759cdb63d4e7a8308a903311c85d | app/views/groups/_permission_form.html.erb | app/views/groups/_permission_form.html.erb | <% resource = builder.object.resource %>
<%= builder.hidden_field(:resource_id) %>
<tr>
<td><%= resource.title %></td>
<td><label><%= builder.check_box(:can_read) %> Lecture</label></td>
<td><label><%= builder.check_box(:can_create) %> Création</label></td>
<td><label><%= builder.check_box(:can_update) %> Editi... | <% resource = builder.object.resource %>
<%= builder.hidden_field(:resource_id) %>
<tr>
<td><%= resource.title %></td>
<td>
<div class="checkbox">
<label><%= builder.check_box(:can_read) %> Lecture</label>
</div>
</td>
<td>
<div class="checkbox">
<label><%= builder.check_box(:can_create)... | Fix groups form permission label style. | Fix groups form permission label style.
| HTML+ERB | mit | osaris/sp-gestion,osaris/sp-gestion,osaris/sp-gestion |
60aada2907ccb22093960011195e80d6cf703769 | app/views/search/_result.html.erb | app/views/search/_result.html.erb | <% if result.format == "recommended-link" %>
<li class="type-guide external">
<% else %>
<li class="section-<%= result.section %> type-<%= result.format %>">
<% end %>
<p class="search-result-title"><a href="<%= result.link %>" title="View <%= result.title %>"<% if result.format == "recommended-link" %> rel="exte... | <% if result.format == "recommended-link" %>
<li class="type-guide external">
<% else %>
<li class="section-<%= result.section %> type-<%= result.format %>">
<% end %>
<p class="search-result-title"><a href="<%= result.link %>" title="View <%= result.title %>"<% if result.format == "recommended-link" %> rel="exte... | Add styling hooks to result section data | Add styling hooks to result section data
| HTML+ERB | mit | alphagov/frontend,alphagov/frontend,alphagov/frontend,alphagov/frontend |
a0cc74cc55e0492966aa0e93458c3461965ec756 | app/views/form_picker/index.html.erb | app/views/form_picker/index.html.erb | <%= form_for @applicant do |f| %>
<%= f.fields_for :identity do |builder| %>
<p>
<%= builder.label :first_name, "First Name" %> <br />
<%= builder.text_field :first_name %>
</p>
<% end %>
<%= f.button("Update") %>
<% end %>
<%= button_to 'Download forms', "/download" %>
| <%= form_for @applicant do |f| %>
<%= f.fields_for :identity do |builder| %>
<p>
<%= builder.label :first_name, "First Name" %>
<%= builder.text_field :first_name %>
<%= builder.label :middle_name, "Middle Name" %>
<%= builder.text_field :middle_name %>
<%= builder.label :last_name,... | Add a view for fields to the main form | Add a view for fields to the main form
| HTML+ERB | mit | dmjurg/districthousing,adelevie/districthousing,meiao/districthousing,lankyfrenchman/dchousing-apps,dclegalhackers/districthousing,meiao/districthousing,uncompiled/districthousing,codefordc/districthousing,dclegalhackers/districthousing,jrunningen/districthousing,jrunningen/districthousing,adelevie/districthousing,code... |
783c76f1ef262c3e5480aa9b795cdc5cdce44d29 | app/views/shout/chat_browse.html.erb | app/views/shout/chat_browse.html.erb | <table class="content" width="100%" style="padding-left:1em;padding-right: 1em;" cellpadding="0" cellspacing="0">
<tr>
<td align=left class="page_header">
<div style="float:left;"><%=_ 'Messages from %s', @user.name %></div>
<div style="float:right;padding-top:0.1em"><a href="/shout/chat_clear/<%= @us... | <table class="content" width="100%" style="padding-left:1em;padding-right: 1em;" cellpadding="0" cellspacing="0">
<tr>
<td align=left class="page_header">
<div style="float:left;"><%=_ 'Messages from %s', @user.name %></div>
<div style="float:right;padding-top:0.1em"><a href="/shout/chat_clear/<%= @us... | Include user in instant messaging select | Include user in instant messaging select
| HTML+ERB | agpl-3.0 | arunagw/clockingit,miguelbaldi/clockingit,xuewenfei/jobsworth,webstream-io/jobsworth,ari/jobsworth,xuewenfei/jobsworth,evinoca/clockingit,ari/jobsworth,webstream-io/jobsworth,arunagw/clockingit,xuewenfei/jobsworth,rafaspinola/jobsworth,rafaspinola/jobsworth,digitalnatives/jobsworth,miguelbaldi/clockingit,rafaspinola/jo... |
d06f1cf5fd51a02c5e12c7254ef0353129c3e4c4 | frontend/app/views/spree/shared/_option_values.html.erb | frontend/app/views/spree/shared/_option_values.html.erb | <% cache base_cache_key + [ot_downcase_name, params_ot_downcase_name, permitted_params, @taxon&.id] do %>
<% selected_option_values = params_ot_downcase_name&.split(',')&.map(&:to_i) || [] %>
<% option_type.option_values.each do |option_value| %>
<% id = option_value.id %>
<% name = option_value.name %>
... | <% cache base_cache_key + [ot_downcase_name, params_ot_downcase_name, filtering_params_cache_key, @taxon&.id] do %>
<% selected_option_values = params_ot_downcase_name&.split(',')&.map(&:to_i) || [] %>
<% option_type.option_values.each do |option_value| %>
<% id = option_value.id %>
<% name = option_value.n... | Use filtering_params_cache_key in option values partial rather than the entire attributes hash | Use filtering_params_cache_key in option values partial rather than the entire attributes hash
| HTML+ERB | bsd-3-clause | imella/spree,imella/spree,imella/spree |
e00bf3a2431fa0ed78515c7ad1bb6a6f1a3a7836 | spec/dummy/app/views/layouts/application.html.erb | spec/dummy/app/views/layouts/application.html.erb | <%# blocks for govuk_admin_template %>
<% content_for :page_title do %>page_title<% end %>
<% content_for :app_title do %>GOV.UK app_title<% end %>
<% content_for :app_home_path, govuk_admin_template_engine_path %>
<% content_for :head do %>
<%= stylesheet_link_tag "application", :media => "all" %>
<%= javascript_i... | <%# blocks for govuk_admin_template %>
<% content_for :page_title do %>page_title<% end %>
<%# app_title can be set here or in the config %>
<% content_for :app_title do %>GOV.UK app_title<% end %>
<% content_for :app_home_path, govuk_admin_template_engine_path %>
<% content_for :head do %>
<%= stylesheet_link_tag "a... | Add comment to example about setting in config | Add comment to example about setting in config
| HTML+ERB | mit | alphagov/govuk_admin_template,alphagov/govuk_admin_template,alphagov/govuk_admin_template |
a28eaf9968fe57da4ed3eef11bc05cdfd00e9af4 | app/views/documents/_embed_code.html.erb | app/views/documents/_embed_code.html.erb | <% if options[:use_default_container] %>
<div id="<%= options[:default_container_id] %>" class="DV-container"></div>
<% end %>
<script type="text/javascript">
DV.load("<%= options[:resource_js_url] %>", JSON.parse('<%= data.to_json %>'));
</script>
<% if data[:pdf] %>
<noscript>
<a href="<%#= options[:pdf_url] %>">... | <% if options[:use_default_container] %>
<div id="<%= options[:default_container_id] %>" class="DV-container"></div>
<% end %>
<script type="text/javascript">
DV.load("<%= options[:resource_js_url] %>", <%= data.to_json %>);
</script>
<% if data[:pdf] %>
<noscript>
<a href="<%#= options[:pdf_url] %>"><%#= options[:... | Stop trying to tame JSON | Stop trying to tame JSON
Revert 43a2f99624491193be9b220da11c5ba58979e7ee and actually fix things. (We were dumping the Ruby-generated JSON between curly braces, when Ruby was already returning it that way.)
| HTML+ERB | mit | ivarvong/documentcloud,moodpo/documentcloud,dannguyen/documentcloud,Teino1978-Corp/Teino1978-Corp-documentcloud,Teino1978-Corp/Teino1978-Corp-documentcloud,documentcloud/documentcloud,dannguyen/documentcloud,monofox/documentcloud,gunjanmodi/documentcloud,moodpo/documentcloud,ivarvong/documentcloud,monofox/documentcloud... |
e88bb7ecb0263bc6116d6618861a58266753cdda | app/views/filled_in_forms/index.html.erb | app/views/filled_in_forms/index.html.erb | <!-- This is probably just a temporary file for the prototype -->
<div class="row">
<h3>Forms for <%# TODO: = @funded_person.full_name %></h3>
<%= render partial: 'forms', locals: { filled_in_forms: @funded_person.cf0925s } %>
</div>
| <!-- This is probably just a temporary file for the prototype -->
<div class="row">
<h3>Forms for <%= @funded_person.my_name %></h3>
<%= render partial: 'forms', locals: { filled_in_forms: @funded_person.cf0925s } %>
</div>
| Add child's name to All Forms list. | Add child's name to All Forms list.
| HTML+ERB | mit | weenhanceit/autism-funding,weenhanceit/autism-funding,weenhanceit/autism-funding,weenhanceit/autism-funding |
6f3d1778bc4c47c0fc72904f2ad07145b9b81f5b | app/views/spree/admin/shared/_showcase_submenu.html.erb | app/views/spree/admin/shared/_showcase_submenu.html.erb | <% content_for :sub_menu do %>
<ul id="sub_nav" data-hook="admin_showcase_sub_tabs">
<%= tab :slides, :match_path => '/slides' %>
<%= tab :showcase_settings, :match_path => '/showcase_settings' %>
</ul>
<% end %> | <% content_for :sub_menu do %>
<ul id="sub_nav" class="inline-menu" data-hook="admin_showcase_sub_tabs">
<%= tab :slides, :match_path => '/slides' %>
<%= tab :showcase_settings, :match_path => '/showcase_settings' %>
</ul>
<% end %> | Fix CSS problems in admin subnav by adding class inline-menu | Fix CSS problems in admin subnav by adding class inline-menu
| HTML+ERB | bsd-3-clause | daemonsy/spree_showcase,daemonsy/spree_showcase,mileer/spree_showcase,mileer/spree_showcase,daemonsy/spree_showcase |
d15b960e44f68a0d88a2f3713f598e90aac11948 | lib/templates/equation.erb | lib/templates/equation.erb | \documentclass{article}
\usepackage{amsmath}
\usepackage{cancel}
\pagestyle{empty}
\begin{document}
\begin{equation}
<%= @formula %>
\end{equation}
\end{document} | \documentclass{article}
\usepackage{amsmath}
\usepackage{cancel}
\pagestyle{empty}
\begin{document}
\[<%= @formula %> \]
\end{document}
| FIX remover numeration from formulas | FIX remover numeration from formulas
| HTML+ERB | mit | luizamboni/latex_to_png,luizamboni/latex_to_png |
23c7073940e6a4acb108a41aa4e9af50f5d6bbca | app/assets/javascripts/routes.js.erb | app/assets/javascripts/routes.js.erb | /** Simple routes table to export path information from Rails */
modulejs.define( "routes", [],
function() {
return {
explore: "<%= Rails.application.config.relative_url_root%><%= Rails.application.routes.url_helpers.explore_path %>",
new_exploration: "<%= Rails.application.config.relative_url_root%><%= Rail... | /** Simple routes table to export path information from Rails */
modulejs.define( "routes", [],
function() {
return {
explore: "<%= Rails.application.config.relative_url_root%><%= Rails.application.routes.url_helpers.explore_path %>",
new_exploration: "<%= Rails.application.config.relative_url_root%><%= Rail... | Add route for public assets | Add route for public assets
| HTML+ERB | mit | epimorphics/ukhpi,epimorphics/ukhpi,epimorphics/ukhpi,epimorphics/ukhpi |
90785b2b7fcea53aaaf9e6432eb75bf620a70742 | site-cookbooks/amanda_part/templates/default/sudoers.erb | site-cookbooks/amanda_part/templates/default/sudoers.erb | <% @privileges_config.each do |privilege_config| %>
<%= "#{node['amanda_part']['user']} ALL=(#{privilege_config[:user]}) NOPASSWD: #{privilege_config[:command]}" %>
<% end %>
| Add privilege control for script execition. | Add privilege control for script execition.
| HTML+ERB | apache-2.0 | cloudconductor-patterns/amanda_pattern,cloudconductor-patterns/amanda_pattern,cloudconductor-patterns/amanda_pattern,cloudconductor-patterns/amanda_pattern | |
d970c2330045af8498594c805b5038da9f4c6584 | app/views/layouts/_siteauth.html.erb | app/views/layouts/_siteauth.html.erb | <meta name="google-site-verification" content="6Ig01qVPjaa09VYCubjGpaBmP3t-6LzNFoAO6ABCj9w" />
<meta name="msvalidate.01" content="458DDDA94E77E3069702D8DFFE3DCC32" />
| Add Bing, Yahoo! and Google meta tags | Add Bing, Yahoo! and Google meta tags
| HTML+ERB | agpl-3.0 | ging/vish,ging/vish_orange,ging/vish_orange,ging/vish_orange,agordillo/vish,ging/vish_orange,nathanV38/vishTst,rogervaas/vish,agordillo/vish,rogervaas/vish,suec78/vish_storyrobin,ging/vish_orange,agordillo/vish,ging/vish,agordillo/vish,suec78/vish_storyrobin,rogervaas/vish,suec78/vish_storyrobin,suec78/vish_storyrobin,... | |
e59c321a0f3d696f1554a086d683baa56680f594 | app/views/static_pages/home.html.erb | app/views/static_pages/home.html.erb | <% provide(:title, 'Home') %>
<div class="center hero-unit">
<h1>Welcome to the Sample App</h1>
<h2>
This is the home page for the
<a href="http://railstutorial.org/">Ruby on Rails Tutorial</a>
sample application.
</h2>
<%= link_to "Sign up now!", '#', class: "btn btn-large btn-primary" %>
</div>
... | <% provide(:title, 'Home') %>
<div class="center hero-unit">
<h1>Welcome to the Sample App</h1>
<h2>
This is the home page for the
<a href="http://railstutorial.org/">Ruby on Rails Tutorial</a>
sample application.
</h2>
<%= link_to "Sign up now!", signup_path, class: "btn btn-large btn-primary" %>... | Add signup link to button | Add signup link to button
| HTML+ERB | mit | cunctat0r/nanoblog,cunctat0r/nanoblog,cunctat0r/nanoblog |
514bc799340ccec3b2760f89040b24c01c9d361b | app/views/admin/users/index.html.erb | app/views/admin/users/index.html.erb | <%= link_to "Create an account", new_user_invitation_path %>
<table>
<thead>
<tr>
<th>Email</th>
<th>Sign-in count</th>
<th>Created</th>
<th>Locked at</th>
<th>Suspended at</th>
</tr>
</thead>
<tbody>
<% @users.each do |user| %>
<tr>
<td class="email"><%= li... | <%= link_to "Create an account", new_user_invitation_path %>
<table>
<thead>
<tr>
<th>Email</th>
<th>Sign-in count</th>
<th>Created</th>
<th>Admin?</th>
</tr>
</thead>
<tbody>
<% @users.each do |user| %>
<tr>
<td class="email"><%= link_to "#{user.name} <#{user.ema... | Make admin user list more friendly | Make admin user list more friendly
| HTML+ERB | mit | alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2 |
4734a581bbc29f81442cd58b4e304479d4ab3c06 | app/views/forem/posts/_post.html.erb | app/views/forem/posts/_post.html.erb | <a name='post-#{post.id}'></a>
<tr id='post_<%= post.id %>' class='post <%= cycle('odd', 'even') -%>'>
<%= render :partial => 'forem/posts/user_details', :locals => { :user => post.user } %>
<td class='contents'>
<time datetime="<%= post.created_at.to_s(:db) -%>"><%= time_ago_in_words(post.created_at) -%> ago<... | <a name='post-<%= post.id %>'></a>
<tr id='post_<%= post.id %>' class='post <%= cycle('odd', 'even') -%>'>
<%= render :partial => 'forem/posts/user_details', :locals => { :user => post.user } %>
<td class='contents'>
<time datetime="<%= post.created_at.to_s(:db) -%>"><%= time_ago_in_words(post.created_at) -%> ... | Use ERB tags, not interpolation for post.id | Use ERB tags, not interpolation for post.id
| HTML+ERB | mit | nruth/forem,filiptepper/forem,frankel/forem,frankel/forem,caffo/forem,szymon-przybyl/forem,isotope11/forem,STRd6/forem,substantial/forem,caffo/forem,dmitry-ilyashevich/forem,STRd6/forem,filiptepper/forem,szymon-przybyl/forem,nruth/forem,isotope11/forem,dmitry-ilyashevich/forem,substantial/forem |
6a68f78848b12a81785101aabc33fe609bf3ac61 | app/views/discover/updates.html.erb | app/views/discover/updates.html.erb | <% title 'Updates' %>
<% activate_nav! :platform_updates %>
<%= render 'shared/navbar' %>
<div class="page page-flat">
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="row">
<div class="col-md-9">
<% @page.each do |post| %>
... | <% title 'Updates' %>
<% activate_nav! :platform_updates %>
<%= render 'shared/navbar' %>
<div class="page page-flat">
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="row">
<div class="col-md-9">
<% @page.each do |post| %>
... | Add product image to global updates page | Add product image to global updates page
| HTML+ERB | agpl-3.0 | lachlanjc/meta,lachlanjc/meta,assemblymade/meta,lachlanjc/meta,assemblymade/meta,lachlanjc/meta,assemblymade/meta,assemblymade/meta |
0b44d1b520e09831ea93b4d44fa19511ae00c07a | app/views/wips/_discussion.html.erb | app/views/wips/_discussion.html.erb | <div class="timeline">
<% events.each.with_index do |(event, html), i| %>
<% if i == events.size - 1 %>
<div class="timeline-insert js-timestamp">
<time class="timestamp" datetime="<%= event.created_at.iso8601 %>"></time>
</div>
<% end %>
<%== html %>
<% end %>
</div>
| <div class="timeline">
<% events.each.with_index do |(event, html), i| %>
<% if i == events.size - 1 && i > 0 %>
<div class="timeline-insert js-timestamp">
<time class="timestamp" datetime="<%= event.created_at.iso8601 %>"></time>
</div>
<% end %>
<%== html %>
<% end %>
</div>
| Hide first timestamp if discussion is emtpy. | Hide first timestamp if discussion is emtpy.
| HTML+ERB | agpl-3.0 | lachlanjc/meta,assemblymade/meta,lachlanjc/meta,assemblymade/meta,assemblymade/meta,lachlanjc/meta,lachlanjc/meta,assemblymade/meta |
68149fc6d7f7d932767dd43ef61e8b18c59a4e7f | lib/views/general/_opengraph_tags.html.erb | lib/views/general/_opengraph_tags.html.erb | <%
if @in_pro_area
_site_name = pro_site_name
opengraph_logo = if theme_asset_exists?('images/logo-opengraph-pro.png')
'logo-opengraph-pro.png'
else
'logo-opengraph.png'
end
default_title = _('A powerful, fully-featured FOI toolkit for journalists')
else
_site_name = site_name
... | Copy across (unchanged) file from main app | Copy across (unchanged) file from main app
| HTML+ERB | mit | openaustralia/righttoknow,openaustralia/righttoknow,openaustralia/righttoknow | |
c999bf1c7ac4b32fa3689e8cf80c91de037541c6 | pages/plugins/overview.md.erb | pages/plugins/overview.md.erb | # Overview
## what are plugins
Plugins provide a way to extend the functionality that Buildkite natively offers. They act as a external repository of [Hooks][hooks] that are referenced from your `pipeline.yml` file, downloaded and run as part of your builds.
Plugins can be hosted on GitHub, BitBucket or a private g... | # Overview
## What are plugins
Plugins provide a way to extend the functionality that Buildkite natively offers. They act as a external repository of [Hooks](/docs/agent/v3/hooks) that are referenced from your `pipeline.yml` file, and are downloaded and run as part of your build.
Plugins can be hosted on GitHub, Bi... | Edit overview, add notes for new sections | Edit overview, add notes for new sections
| HTML+ERB | mit | buildkite/docs,buildkite/docs,buildkite/docs,buildkite/docs |
61536e0307077c83029ded0b15e9fb30c6543919 | app/views/articles/show.html.erb | app/views/articles/show.html.erb | <div class="col-xs-12">
<h2><%= @article.title %></h2>
<p><%= @article.text %></p>
<hr />
<p><%= link_to 'Show all articles', articles_path %></p>
<h3>Comments:</h3>
<% @article.comments.each do |comment| %>
<p>
<i><%= comment.author %></i> said:<br />
<%= comment.body %>
</p>
... | <div class="col-xs-12">
<h2><%= @article.title %></h2>
<p><%= @article.text %></p>
<hr />
<p>
<% if if user_signed_in? then @article.author_id == current_user.id end %>
<%= link_to 'Edit', edit_article_path(@article) %> |
<%= link_to 'Delete', article_path(@article), method: :delete, data: { co... | Add edit and delete links on a article page | Add edit and delete links on a article page
| HTML+ERB | mit | Kraykin/Blog-sample,Kraykin/Blog-sample,Kraykin/Blog-sample |
f866f9c0d3f20425c7aeb659efd0bfb69a0c2b1f | app/views/queries/_form.html.erb | app/views/queries/_form.html.erb |
</br><%= form_for([@language, @query]) do |f| %>
<% if @query.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@query.errors.count, "error") %> prohibited
this query from being saved:</h2>
<ul>
<% @query.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
<% end %>
... |
</br><%= form_for([@language, @query]) do |f| %>
<% if @query.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@query.errors.count, "error") %> prohibited
this query from being saved:</h2>
<ul>
<% @query.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
<% end %>
... | Add space to bottom of form | Add space to bottom of form
| HTML+ERB | mit | red-spotted-newts-2014/translateYo,red-spotted-newts-2014/translateYo |
49551e9b8d6c19de0643a3ac41239613f01702c1 | app/views/tasklist/show.html.erb | app/views/tasklist/show.html.erb | <% content_for :title, content_item.title %>
<% content_for :meta_tags do %>
<meta name="description" content="<%= content_item.description %>">
<% end %>
<% content_for :breadcrumbs do %>
<%= render 'govuk_component/beta_label' %>
<%= render 'govuk_component/breadcrumbs', tasklist[:links] %>
<% end %>
<div cl... | <% content_for :title, content_item.title %>
<% content_for :meta_tags do %>
<meta name="description" content="<%= content_item.description %>">
<% end %>
<% content_for :breadcrumbs do %>
<%= render 'govuk_component/breadcrumbs', tasklist[:links] %>
<% end %>
<div class="grid-row">
<div class="column-two-thir... | Remove beta banners from task list pages | Remove beta banners from task list pages
| HTML+ERB | mit | alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections |
28e79a2fa7d72220619a53eabdb39380e31a78d3 | cookbooks/bcpc-hadoop/templates/default/hv_hive-env.sh.erb | cookbooks/bcpc-hadoop/templates/default/hv_hive-env.sh.erb |
# Hive Configuration Directory can be controlled by:
export HIVE_CONF_DIR=/etc/hive/conf.<%= node.chef_environment %>
# Folder containing extra ibraries required for hive compilation/execution can be controlled by:
# export HIVE_AUX_JARS_PATH=
export HIVE_AUX_JARS_PATH=/usr/lib/hcatalog/share/hcatalog/hcatalog-core.j... |
# Hive Configuration Directory can be controlled by:
export HIVE_CONF_DIR=/etc/hive/conf.<%= node.chef_environment %>
# Folder containing extra ibraries required for hive compilation/execution can be controlled by:
# export HIVE_AUX_JARS_PATH=
export HIVE_AUX_JARS_PATH=/usr/hdp/current/hive-webhcat/share/hcatalog/hiv... | Fix Hive Aux Jar path to work with HDP2.2 | Fix Hive Aux Jar path to work with HDP2.2
| HTML+ERB | apache-2.0 | pu239ppy/chef-bach,DrRayWang/Chef-Base,amithkanand/chef-bach,bloomberg/chef-bach,http-418/chef-bach,http-418/chef-bach,bijugs/chef-bach,pu239ppy/chef-bach,kiiranh/chef-bach,mlongob/chef-bach,kiiranh/chef-bach,leochen4891/chef-bach,DrRayWang/Chef-Base,DrRayWang/chef-bach,pu239ppy/chef-bach,bloomberg/chef-bach,pu239ppy/c... |
d304c49d105f5a1639f3e43f3cca2bfa970ff5d2 | lib/views/general/_popup_banner.html.erb | lib/views/general/_popup_banner.html.erb | <%#- anything you put here will appear as a popup warning on every screen in Alaveteli -%>
| <%= link_to "Olağanüstü Hal'de Bilgi Edinme", 'http://platform24.org/Content/Uploads/Editor/OHALDE%20BILGI%20EDINME%20(1).htm' -%>
| Add popup banner to display restrictions to FOI | Add popup banner to display restrictions to FOI
Fixes https://github.com/mysociety/bilmehakki-theme/issues/21
| HTML+ERB | mit | mysociety/bilmehakki-theme,mysociety/bilmehakki-theme |
f78286550c33a4bf33ee90d79118bf0500e22bd9 | core/app/views/spree/admin/tax_rates/_form.html.erb | core/app/views/spree/admin/tax_rates/_form.html.erb | <table data-hook="tax_rates">
<tr data-hook="zone">
<td><%= t(:zone) %>:</td>
<td><%= f.collection_select(:zone_id, @available_zones, :id, :name) %></td>
</tr>
<tr data-hook="category">
<td><%= t(:tax_category) %>:</td>
<td><%= f.collection_select(:tax_category_id, @available_categories,:id, :name... | <table data-hook="tax_rates">
<tr data-hook="zone">
<td><%= f.label :zone, t(:zone) %></td>
<td><%= f.collection_select(:zone_id, @available_zones, :id, :name) %></td>
</tr>
<tr data-hook="category">
<td><%= f.label :tax_category_id, t(:tax_category) %></td>
<td><%= f.collection_select(:tax_catego... | Add labels to fields in tax_rates/form | Add labels to fields in tax_rates/form
| HTML+ERB | bsd-3-clause | builtbybuffalo/spree,SadTreeFriends/spree,vcavallo/spree,locomotivapro/spree,keatonrow/spree,azclick/spree,jparr/spree,rajeevriitm/spree,berkes/spree,priyank-gupta/spree,gautamsawhney/spree,knuepwebdev/FloatTubeRodHolders,beni55/spree,pulkit21/spree,pervino/spree,JDutil/spree,Mayvenn/spree,bricesanchez/spree,Lostmyname... |
694fa796712663dd261041f7bd4a095d80e51c5b | modules/varnish/templates/backends.development.vcl.erb | modules/varnish/templates/backends.development.vcl.erb | backend admin_backend {
.host = "backend-app-1";
}
backend write_backend {
.host = "backend-app-1";
}
backend read_backend {
.host = "backend-app-1";
}
backend stagecraft_backend {
.host = "backend-app-1";
}
director admin_director round-robin {
{ .backend = admin_backend; }
}
director frontend_app ro... | backend admin_backend {
.host = "backend-app-1";
}
backend write_backend {
.host = "backend-app-1";
}
backend read_backend {
.host = "backend-app-1";
}
backend stagecraft_backend {
.host = "backend-app-1";
}
backend data_backend_1 {
.host = "backend-app-1";
}
backend data_backend_2 {
.host = "ba... | Add data backend and director for development | Add data backend and director for development
Backends and directors are included in this file. This module should
probably be refactored so we can use one file and not include specific
parts in the dev config rather than duplicating a very similar config.
| HTML+ERB | mit | alphagov/pp-puppet,alphagov/pp-puppet,alphagov/pp-puppet,alphagov/pp-puppet |
ee1dba7620259bc53ef2fac1b853b9497f537f72 | app/views/catalog/_search_header_form_and_contact.html.erb | app/views/catalog/_search_header_form_and_contact.html.erb | <div class='row search-header-form-and-contact'>
<div class='pull-left col-md-4'>
<%= render partial: 'shared/search' %>
</div>
<div class='pull-right col-md-8 contact-link'>
Didn’t find what you were looking for? Please <a href="/about/contact_us">contact us</a>!
</div>
</div> | <div class='row search-header-form-and-contact'>
<div class='pull-left col-md-4'>
<%= render partial: 'shared/search' %>
</div>
<div class='pull-right contact-link'>
Can’t find it online?
<a href="/about/contact_us">Contact us!</a>
</div>
</div> | Change wording. Not sure about style. | Change wording. Not sure about style.
| HTML+ERB | apache-2.0 | WGBH/stock-sales-2,WGBH/stock-sales-2,WGBH/stock-sales-2 |
09546f59ea342e87d0b6b09a728e9ff5eb9c63e7 | views/layout.erb | views/layout.erb | <!DOCTYPE html>
<html>
<head>
<title>Gem in a Box</title>
<link rel="stylesheet" href="<%= url "/master.css" %>" type="text/css" media="screen">
<link href="<%= url "/atom.xml" %>" type="application/atom+xml" rel="alternate" title="Atom Feed">
</head>
<body>
<div id="content">
<h1>Gem in a B... | <!DOCTYPE html>
<html>
<head>
<title>Gem in a Box</title>
<link rel="stylesheet" href="<%= url "/master.css", false %>" type="text/css" media="screen">
<link href="<%= url "/atom.xml", false %>" type="application/atom+xml" rel="alternate" title="Atom Feed">
</head>
<body>
<div id="content">
... | Use relative path for asset | Use relative path for asset
| HTML+ERB | mit | sewichi/geminabox,VodafoneAustralia/geminabox,geminabox/geminabox,sewichi/geminabox,brennovich/geminabox,VodafoneAustralia/geminabox,bibendi/geminabox,brennovich/geminabox,brennovich/geminabox,sujithrs/geminabox,legitscript/geminabox,sujithrs/geminabox,hooroo/geminabox,abak-press/geminabox,asiazhang/geminabox,sujithrs/... |
ad98c07b9bc348d73222b2764f2c251c612a82f7 | init/site/profile/templates/baseball.json.ctmpl.erb | init/site/profile/templates/baseball.json.ctmpl.erb | upstream baseball {
least_conn;
{{range service "baseball"}}server {{.Address}}:{{.Port}} max_fails=3 fail_timeout=60 weight=1;
{{else}}server 127.0.0.1:65535; # force a 502{{end}}
}
server {
listen 80;
server_name baseball.btr3.com;
location / {
proxy_pass http://baseball;
proxy_set_header X-Forw... | upstream baseball {
least_conn;
{{range service "baseball-ui"}}server {{.Address}}:{{.Port}} max_fails=3 fail_timeout=60 weight=1;
{{else}}server 127.0.0.1:65535; # force a 502{{end}}
}
server {
listen 80;
location / {
proxy_pass http://baseball;
proxy_set_header X-Forwarded-For $proxy_add_x_forward... | Clean up template for baseball-ui | Clean up template for baseball-ui
| HTML+ERB | apache-2.0 | bryantrobbins/standard-aws,bryantrobbins/standard-aws,bryantrobbins/standard-aws |
7d1780ac6b7d96be0eab36efce30f51388a45ba7 | ci_environment/phpbuild/templates/default/default_configure_options.erb | ci_environment/phpbuild/templates/default/default_configure_options.erb | --enable-intl
--with-openssl
--without-pear
--with-gd
--with-jpeg-dir=/usr
--with-png-dir=/usr
--with-freetype-dir=/usr
--with-freetype
--enable-exif
--enable-zip
--with-zlib
--with-zlib-dir=/usr
--with-mcrypt=/usr
--with-pdo-sqlite
--enable-soap
--enable-xmlreader
--with-xsl
--enable-ftp
--with-tidy
--with-xmlrpc
--en... | --enable-intl
--with-openssl
--without-pear
--with-gd
--with-jpeg-dir=/usr
--with-png-dir=/usr
--with-freetype-dir=/usr
--with-freetype
--enable-exif
--enable-zip
--with-zlib
--with-zlib-dir=/usr
--with-mcrypt=/usr
--with-pdo-sqlite
--enable-soap
--enable-xmlreader
--with-xsl
--enable-ftp
--with-tidy
--with-xmlrpc
--en... | Enable DBA functions for PHP | Enable DBA functions for PHP
Enable the built-in cdb and inifile DBA providers for PHP.
| HTML+ERB | mit | dracos/travis-cookbooks,dracos/travis-cookbooks,travis-ci/travis-cookbooks,ardock/travis-cookbooks,Zarthus/travis-cookbooks,spurti-chopra/travis-cookbooks,ljharb/travis-cookbooks,vinaykaradia/travis-cookbook-cloned,DanielG/travis-cookbooks,Distelli/travis-cookbooks,DanielG/travis-cookbooks,tianon/travis-cookbooks,travi... |
c63176232dede941846ac0560870b165a188e4bc | modules/network/templates/route/if-up.erb | modules/network/templates/route/if-up.erb | #!/bin/sh
/sbin/ip route add <%= @destination %> via <%= @via %>
| #!/bin/sh
if ! /sbin/ip ro sh | grep -v -q '${destination} via ${via}'
then
/sbin/ip route add <%= @destination %> via <%= @via %>
fi
| Add route only if needed | Add route only if needed
| HTML+ERB | mit | njam/puppet-packages,ppp0/puppet-packages,ppp0/puppet-packages,ppp0/puppet-packages,njam/puppet-packages,njam/puppet-packages,njam/puppet-packages,ppp0/puppet-packages,cargomedia/puppet-packages,cargomedia/puppet-packages,njam/puppet-packages,cargomedia/puppet-packages,cargomedia/puppet-packages,ppp0/puppet-packages,ca... |
9a6d0a3a40821535982f42d527e462c6ffdb6e01 | debian_specs/nginx/nginx-common.nginx.service.erb | debian_specs/nginx/nginx-common.nginx.service.erb | <%
require File.absolute_path(File.dirname(__FILE__)) + '/helpers'
if is_distribution?("<= precise") || is_distribution?("<= squeeze")
delete_file!
end
-%>
# Stop dance for nginx
# =======================
#
# ExecStop sends SIGSTOP (graceful stop) to the nginx process.
# If, after 5s (--retry QUIT/5) nginx is still ... | <%
require File.absolute_path(File.dirname(__FILE__)) + '/helpers'
if is_distribution?("<= precise") || is_distribution?("<= squeeze")
delete_file!
end
-%>
# Stop dance for nginx
# =======================
#
# ExecStop sends SIGSTOP (graceful stop) to the nginx process.
# If, after 5s (--retry QUIT/5) nginx is still ... | Update Nginx systemd unit file: give Passenger a chance to clean up before being killed by systemd | Update Nginx systemd unit file: give Passenger a chance to clean up before being killed by systemd
| HTML+ERB | mit | LoveMondays/passenger_apt_automation,phusion/passenger_apt_automation,phusion/passenger_apt_automation,shaneog/passenger_apt_automation,shaneog/passenger_apt_automation,shaneog/passenger_apt_automation,LoveMondays/passenger_apt_automation,shaneog/passenger_apt_automation,phusion/passenger_apt_automation,shaneog/passeng... |
62f537a9c139378b4b87341df8f7239fa67350ce | app/views/module_proposals/forms/fields/_title.html.erb | app/views/module_proposals/forms/fields/_title.html.erb | <div id="form-working-title-wrapper">
<div class="title-input">
<%= f.label :title, "1. Proposed Module Title:" %>
</div>
<div class="form-text-field">
<%= f.text_field :title %>
</div>
</div>
| <div id="form-working-title-wrapper">
<div class="title-input">
<%= f.label :title, "1. Proposed Title:" %>
</div>
<div class="form-text-field">
<%= f.text_field :title %>
</div>
</div>
| Update Module Proposal title field label | Update Module Proposal title field label
| HTML+ERB | mit | CollegeSTAR/collegestar_org,CollegeSTAR/collegestar_org,CollegeSTAR/collegestar_org |
ffb4fb15d19c74e65407115ba512f6028165a964 | jobs/splunk-forwarder/templates/apps_splunkforwarder_server.conf.erb | jobs/splunk-forwarder/templates/apps_splunkforwarder_server.conf.erb | # Disable kvstore and set path to root CA if provided
[kvstore]
disabled = 1
<% if p('cf_splunk.splunk_ssl', false) && p('cf_splunk.splunk_ssl_root_ca', '') != '' %>
[sslConfig]
sslRootCAPath = $SPLUNK_HOME/etc/auth/forwarder/ca.pem
<% end %>
| # Change license group to forwarder, disable kvstore, and set path to root CA if provided
[license]
active_group = Forwarder
[kvstore]
disabled = 1
<% if p('cf_splunk.splunk_ssl', false) && p('cf_splunk.splunk_ssl_root_ca', '') != '' %>
[sslConfig]
sslRootCAPath = $SPLUNK_HOME/etc/auth/forwarder/ca.pem
<% end %>
| Set license group to Forwarder - free, unlimited data forwarding, and avoids 60-day trial expiration | Set license group to Forwarder - free, unlimited data forwarding, and avoids 60-day trial expiration
| HTML+ERB | apache-2.0 | ntdt/splunk-firehose-nozzle-release,ntdt/splunk-firehose-nozzle-release |
13aa7f707ae98fbc1dca3a6c8531baaf10232c65 | app/views/land_parcel_records/_lots_in_strata_plan.html.erb | app/views/land_parcel_records/_lots_in_strata_plan.html.erb | <div class="row">
<div class="six columns">
<h4>Lots in Strata Plan</h4>
<%= render :partial => 'list_of_plots', :locals => {
:plots => @land_parcel_record.lga_records
} %>
</div>
</div>
| <div class="row">
<div class="six columns">
<h4>Lots in Strata Plan</h4>
<% unless @land_parcel_record.lga_records.blank? %>
<%= render :partial => 'list_of_plots', :locals => {
:plots => @land_parcel_record.lga_records
} %>
<% else %>
Nothing found
<% end %>
</div>
</div>
| Improve list of strata plots with empty message | Improve list of strata plots with empty message
| HTML+ERB | apache-2.0 | NSWPlanning/data-verification-tool,NSWPlanning/data-verification-tool,NSWPlanning/data-verification-tool |
9835d668c293476da0fffadd14627b821cb31073 | app/views/piwik_analytics/piwik_tracking_tag_async.html.erb | app/views/piwik_analytics/piwik_tracking_tag_async.html.erb | <!-- Piwik -->
<script type="text/javascript">
var _paq = _paq || [];
(function(){
var u=(("https:" == document.location.protocol) ? "https://<%= url %>/" : "http://<%= url %>/");
_paq.push(['setSiteId', <%= id_site %>]);
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['trackPageView']);
... | <!-- Piwik -->
<script type="text/javascript">
var _paq = _paq || [];
_paq.push(["trackPageView"]);
_paq.push(["enableLinkTracking"]);
(function() {
var u = (("https:" == document.location.protocol) ? "https" : "http") + "://<%= url %>/";
_paq.push(["setTrackerUrl", u+"piwik.php"]);
_paq.push(["set... | Update piwik's async tracking code to the latest version. | Update piwik's async tracking code to the latest version. | HTML+ERB | mit | halfdan/piwik-ruby-tracking,halfdan/piwik-ruby-tracking |
8bd10b3c6b95b3ad8783e4f833e5bfd294ada34d | cookbooks/bcpc-hadoop/templates/default/hdp_fair-scheduler.xml.erb | cookbooks/bcpc-hadoop/templates/default/hdp_fair-scheduler.xml.erb | <?xml version="1.0"?>
<allocations>
<queue name="default">
<weight>1.0</weight>
<schedulingPolicy>fair</schedulingPolicy>
<fairSharePreemptionTimeout>150</fairSharePreemptionTimeout>
</queue>
<queuePlacementPolicy>
<rule name="specified" />
<rule name="secondaryGroupExistingQueue" create="fal... | <?xml version="1.0"?>
<allocations>
<queue name="default">
<weight>1.0</weight>
<schedulingPolicy>fair</schedulingPolicy>
<fairSharePreemptionTimeout>150</fairSharePreemptionTimeout>
<minResources>128 mb,1vcores</minResources>
</queue>
<queuePlacementPolicy>
<rule name="specified" />
<rul... | Set a minimum share by default to actaully trigger pre-emption (set to a trivial quantity of RAM and one core) | Set a minimum share by default to actaully trigger pre-emption (set to a trivial quantity of RAM and one core)
| HTML+ERB | apache-2.0 | mlongob/chef-bach,kiiranh/chef-bach,http-418/chef-bach,DrRayWang/chef-bach,NinjaLabib/chef-bach,amithkanand/chef-bach,NinjaLabib/chef-bach,pu239ppy/chef-bach,DrRayWang/chef-bach,bloomberg/chef-bach,pu239ppy/chef-bach,NinjaLabib/chef-bach,pu239ppy/chef-bach,DrRayWang/Chef-Base,DrRayWang/chef-bach,pu239ppy/chef-bach,bloo... |
17992960b3e30a3aa9f65ff23a8fa98e6a4f1f36 | app/views/shared/_header.html.erb | app/views/shared/_header.html.erb | <div class="navbar">
<div class="navbar-inner">
<a class="brand" href="/"><img src="/assets/wecrowd_logo_small.png"></a>
<ul class="nav pull-right">
<% if signed_in? %>
<li class="divider-vertical"><a href="/user/view/<%= current_user.id %>">PROFILE</a></li>
<li class="divider-vertical">... | <div class="navbar">
<div class="navbar-inner">
<a class="brand" href="/"><img src="/assets/wecrowd_logo_small.png"></a>
<ul class="nav pull-right">
<% if signed_in? %>
<li class="divider-vertical"><a href="/user/view/<%= current_user.id %>">PROFILE</a></li>
<li class="divider-vertical">... | Change register link to /campaign/new instead of /user/register | Change register link to /campaign/new instead of /user/register
| HTML+ERB | apache-2.0 | wepay/wecrowd-rails,wepay/wecrowd-rails,wepay/wecrowd-rails,wepay/wecrowd-rails |
b081774b842ab330f416f52323ad6d0722f327fe | core/lib/generators/refinery/form/templates/db/seeds.rb.erb | core/lib/generators/refinery/form/templates/db/seeds.rb.erb | Refinery::I18n.frontend_locales.each do |lang|
I18n.locale = lang
if defined?(Refinery::User)
Refinery::User.all.each do |user|
if user.plugins.find_by_name('<%= plural_name %>').nil?
user.plugins.create(:name => "<%= plural_name %>",
:position => (user.plugins.maximum... | Refinery::I18n.frontend_locales.each do |lang|
I18n.locale = lang
if defined?(Refinery::User)
Refinery::User.all.each do |user|
if user.plugins.find_by_name('<%= plural_name %>').nil?
user.plugins.create(:name => "<%= plural_name %>",
:position => (user.plugins.maximum... | Move url variable out to a less confusing placement. | Move url variable out to a less confusing placement.
| HTML+ERB | mit | Retimont/refinerycms,hoopla-software/refinerycms,Eric-Guo/refinerycms,gwagener/refinerycms,johanb/refinerycms,johanb/refinerycms,mlinfoot/refinerycms,kappiah/refinerycms,trevornez/refinerycms,gwagener/refinerycms,aguzubiaga/refinerycms,johanb/refinerycms,KingLemuel/refinerycms,mlinfoot/refinerycms,anitagraham/refineryc... |
222198a287a8c6a2a0df37190aa7765146ac6e12 | app/views/users/registrations/edit_profile.html.erb | app/views/users/registrations/edit_profile.html.erb | <h2>Edit Profile</h2>
<%= form_for(resource, as: resource_name, url: user_path(@user), html: { method: :put }) do |f| %>
<%= devise_error_messages! %>
<div class="field">
<%= f.label :first_name %>
<%= f.text_field :first_name, autofocus: true, :value => @user.first_name %>
</div>
<div class="field">... | <h2>Edit Profile</h2>
<%= form_for(resource, as: resource_name, url: user_path(@user), html: { method: :put }) do |f| %>
<%= devise_error_messages! %>
<div class="field">
<%= f.label :first_name %>
<%= f.text_field :first_name, autofocus: true, :value => @user.first_name %>
</div>
<div class="field">... | Access class for phone masking | Access class for phone masking
| HTML+ERB | mit | calblueprint/ashby-village,calblueprint/ashby-village,calblueprint/ashby-village |
423956510d1e8696873d8ebd547024e0e127be8b | gitconfig.erb | gitconfig.erb | [user]
name = <%= print("Your Name: "); STDOUT.flush; STDIN.gets.chomp %>
email = <%= print("Your Email: "); STDOUT.flush; STDIN.gets.chomp %>
[color]
ui = auto
[core]
excludesfile = <%= ENV['HOME'] %>/.gitignore
editor = mvim -f
[apply]
whitespace = nowarn
[format]
pretty = %C(yellow)%h%Cred%d %Creset%s
... | [user]
name = <%= print("Your Name: "); STDOUT.flush; STDIN.gets.chomp %>
email = <%= print("Your Email: "); STDOUT.flush; STDIN.gets.chomp %>
[color]
ui = auto
[core]
excludesfile = <%= ENV['HOME'] %>/.gitignore
editor = mvim -f
[apply]
whitespace = nowarn
[format]
pretty = %C(yellow)%h%Cred%d %Creset%s
... | Add alias to remove local and remote branch, tks @britto | Add alias to remove local and remote branch, tks @britto
| HTML+ERB | mit | carlosantoniodasilva/dotfiles,carlosantoniodasilva/dotfiles |
5f376b8d74be965aed5ed60ad1b83a50cab90599 | app/frontend/scripts/realtime.js.coffee.erb | app/frontend/scripts/realtime.js.coffee.erb | play = exports ? this
socket = new WebSocket('ws://<%= Play.config.hostname %>/realtime')
socket.onopen = () ->
socket.onmessage = (message) ->
song = JSON.parse(message.data).now_playing
if song
play.renderNowPlaying(song)
list = listFromJson(JSON.parse(message.data))
songs = Mustache.to_html(template... | play = exports ? this
socket = new WebSocket('wss://<%= Play.config.hostname %>/realtime')
socket.onopen = () ->
socket.onmessage = (message) ->
song = JSON.parse(message.data).now_playing
if song
play.renderNowPlaying(song)
list = listFromJson(JSON.parse(message.data))
songs = Mustache.to_html(templat... | Secure like a motherfucker. This'll probably break everyone else though. | Secure like a motherfucker. This'll probably break everyone else though.
| HTML+ERB | mit | tanuki/play,play/play,tanuki/play,campaigns/whackandblite,mailchimp/play,campaigns/whackandblite,ojengwa/play,kidaa/play,ojengwa/play,mailchimp/play,play/play,play/play,tanuki/play,kidaa/play,mailchimp/play,play/play,ojengwa/play,kidaa/play,akarshsatija/play,akarshsatija/play,akarshsatija/play,campaigns/whackandblite,c... |
cbb0c413dcb55ce9ab720ec5c722c824820a6a0c | templates/package_Vagrantfile.erb | templates/package_Vagrantfile.erb | Vagrant::Config.run do |config|
# This Vagrantfile is auto-generated by `vagrant package` to contain
# the MAC address of the box. Custom configuration should be placed in
# the actual `Vagrantfile` in this box.
config.vm.base_mac = "<%= base_mac %>"
end
| Vagrant::Config.run do |config|
# This Vagrantfile is auto-generated by `vagrant package` to contain
# the MAC address of the box. Custom configuration should be placed in
# the actual `Vagrantfile` in this box.
config.vm.base_mac = "<%= base_mac %>"
end
# Load include vagrant file if it exists after the auto-... | Load Vagrantfile in include/ directory for boxes if it exists | Load Vagrantfile in include/ directory for boxes if it exists
| HTML+ERB | mit | mpoeter/vagrant,chrisroberts/vagrant,legal90/vagrant,sideci-sample/sideci-sample-vagrant,chrisvire/vagrant,jtopper/vagrant,krig/vagrant,h4ck3rm1k3/vagrant,wkolean/vagrant,jtopper/vagrant,Chhed13/vagrant,janek-warchol/vagrant,senglin/vagrant,wkolean/vagrant,mkuzmin/vagrant,Ninir/vagrant,fnewberg/vagrant,philwrenn/vagran... |
e115333ea5671a200a4c147b2798de9db4b3a98a | templates/ssh_authorized_keys.erb | templates/ssh_authorized_keys.erb | <%= @host.params['ssh_authorized_keys'].split(',').map(&:strip).each do |ssh_key| -%>
| <% @host.params['ssh_authorized_keys'].split(',').map(&:strip).each do |ssh_key| %>
<%= ssh_key %>
<% end %>
| Fix missing loop structure in template | Fix missing loop structure in template
| HTML+ERB | mit | epfl-sti/cluster.coreos.puppet,epfl-sti/cluster.coreos.puppet,epfl-sti/cluster.coreos.puppet |
6c87c4783a97564935c98f52aec49f81c6b5dff0 | templates/default/onefile/html/layout.erb | templates/default/onefile/html/layout.erb | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<%= charset %>" />
<title><%= @title %></title>
... | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<%= charset %>" />
<title><%= defined?(@title) ? @t... | Fix "warning: instance variable @title not initialized" | Fix "warning: instance variable @title not initialized"
| HTML+ERB | mit | thomthom/yard,thomthom/yard,lsegal/yard,thomthom/yard,amclain/yard,lsegal/yard,amclain/yard,lsegal/yard,amclain/yard |
119d8234e3ed6df8b176b67b684ef4f6d05eb706 | source/templates/application_template.html.md.erb | source/templates/application_template.html.md.erb | ---
layout: application_layout
parent: /apps.html
source_url: https://github.com/alphagov/govuk-developer-docs/blob/master/data/applications.yml
edit_url: https://github.com/alphagov/govuk-developer-docs/edit/master/data/applications.yml
---
<%= application.description %>
This application is retired.
<% if applicati... | ---
layout: application_layout
parent: /apps.html
source_url: https://github.com/alphagov/govuk-developer-docs/blob/master/data/applications.yml
edit_url: https://github.com/alphagov/govuk-developer-docs/edit/master/data/applications.yml
---
<%= application.description %>
<% if application.retired? %>
This applicati... | Fix bug in showing which repos are retired | Fix bug in showing which repos are retired
"This application is retired." is currently showing everywhere.
| HTML+ERB | mit | alphagov/govuk-developer-docs,alphagov/govuk-developer-docs,alphagov/govuk-developer-docs,alphagov/govuk-developer-docs |
c375bf69ca5ef9ddd68e5e5d55edc20d1d86729e | app/views/spree/products/_cart_form_number_field.html.erb | app/views/spree/products/_cart_form_number_field.html.erb | <% if @product.subscribable? %>
<%= hidden_field_tag (@product.variants_and_option_values.any? ? :quantity : "variants[#{@product.master.id}]"),
1, :class => 'title' %>
<% else %>
<%= number_field_tag (@product.variants_and_option_values.any? ? :quantity : "variants[#{@product.master.id}]"),
... | <% if @product.subscribable? %>
<%= hidden_field_tag :quantity, 1, :class => 'title', :min => 1 %>
<% else %>
<%= number_field_tag :quantity, 1, :class => 'title', :min => 1 %>
<% end %>
| Update number_field_tag to mach new spree syntax | Update number_field_tag to mach new spree syntax
| HTML+ERB | bsd-3-clause | mcsweeneys/solidus_subscriptions,mcsweeneys/solidus_subscriptions,nebulab/spree-subscriptions,nebulab/spree-subscriptions,mcsweeneys/solidus_subscriptions,nebulab/spree-subscriptions |
f06ec1d3ad1d4c60d2bb5d1b92c041e5eb388ae9 | app/views/admin/corporate_information_pages/new.html.erb | app/views/admin/corporate_information_pages/new.html.erb | <% content_for :page_title, "New corporate information page for #{@organisation.name}" %>
<% content_for :back_link, (render "govuk_publishing_components/components/back_link", {
href: admin_editions_path
})
%>
<% content_for :error_summary, render('shared/error_summary', object: @edition.becomes(Edition), class_... | Add corporate information new page in design system | Add corporate information new page in design system
| HTML+ERB | mit | alphagov/whitehall,alphagov/whitehall,alphagov/whitehall,alphagov/whitehall | |
3be5c8ad89ab4eb28be417fd67f6117d05d4921d | templates/default/redis.monitrc.erb | templates/default/redis.monitrc.erb | check process redis-server with pidfile <%= @redis_pid_path %>
start program = "<%= @service_name %> start"
stop program = "<%= @service_name %> stop"
if failed host <%= @host %> port <%= @port %>
send "PING\r\n" expect "+PONG\r\n"
then alert
| check process redis-server with pidfile <%= @redis_pid_path %>
start program = "<%= @service_name %> start"
stop program = "<%= @service_name %> stop"
if failed host <%= @host %> port <%= @port %>
send "PING\r\n" expect "\+PONG\r\n"
then alert
| Fix syntax error in Monit config for Redis | Fix syntax error in Monit config for Redis
| HTML+ERB | mit | maoueh/cookbook-gitlab,maoueh/cookbook-gitlab,maoueh/cookbook-gitlab,dfang/deploy_gitlab |
4e2af06423ca555ad0ece34076e65d937e0876e6 | app/views/administration_mailer/new_admin_email.text.erb | app/views/administration_mailer/new_admin_email.text.erb | Un nouvel administrateur a été créé sur demarches-simplifiees.fr.
Plateforme : <%= TPS::Application::URL %>
Login : <%= @admin.email %>
Créateur : <%= @administration.email %>
Bonne journée,
L'équipe demarches-simplifiees.fr (anciennement Téléprocédures Simplifiées)
| Un nouvel administrateur a été créé sur demarches-simplifiees.fr.
Plateforme : <%= root_url %>
Login : <%= @admin.email %>
Créateur : <%= @administration.email %>
Bonne journée,
L'équipe demarches-simplifiees.fr (anciennement Téléprocédures Simplifiées)
| Use root_url in admin creation mail | Use root_url in admin creation mail
| HTML+ERB | agpl-3.0 | sgmap/tps,sgmap/tps,sgmap/tps |
caafc079b5ad5fbb4c382d0849315f0e440f747c | app/views/smart_answers/_optional_date_question.html.erb | app/views/smart_answers/_optional_date_question.html.erb | <ul class="options">
<li>
<label for="response_selection_yes">
<%= radio_button_tag "response[selection]", "yes", prefill_value_is?("yes"), id: "response_selection_yes" %>
Yes, on <%= render "date_question", :question => question %>
</label>
</li>
<li>
<label for="response_selection_no">
... | <ul class="options optional-date">
<li>
<label for="response_selection_yes">
<%= radio_button_tag "response[selection]", "yes", prefill_value_is?("yes"), id: "response_selection_yes" %>
Yes — on <%= render "date_question", :question => question %>
</label>
</li>
<li>
<label for="resp... | Use mdash instead of comma in optional date q. | Use mdash instead of comma in optional date q.
| HTML+ERB | mit | aledelcueto/smart-answers,aledelcueto/smart-answers,tadast/smart-answers,tadast/smart-answers,aledelcueto/smart-answers,askl56/smart-answers,lutgendorff/smart-answers,ministryofjustice/smart-answers,alphagov/smart-answers,lutgendorff/smart-answers,ministryofjustice/smart-answers,lutgendorff/smart-answers,keithiopia/sma... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.