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 |
|---|---|---|---|---|---|---|---|---|---|
9416b747b5857b3b17447cdb43ebdff020a7ffae | cookbooks/prometheus/templates/default/prometheus.yml.erb | cookbooks/prometheus/templates/default/prometheus.yml.erb | # DO NOT EDIT - This file is being maintained by Chef
global:
scrape_interval: 15s
evaluation_interval: 15s
scrape_configs:
- job_name: prometheus
scrape_interval: 5s
scrape_timeout: 5s
static_configs:
- targets:
- localhost:9090
<% @jobs.sort.each do |name, targets| -%>
- job_name... | # DO NOT EDIT - This file is being maintained by Chef
global:
scrape_interval: 15s
evaluation_interval: 15s
scrape_configs:
- job_name: prometheus
scrape_interval: 5s
scrape_timeout: 5s
static_configs:
- targets:
- localhost:9090
<% @jobs.sort.each do |name, targets| -%>
- job_name... | Disable remote read from promscale | Disable remote read from promscale
| HTML+ERB | apache-2.0 | zerebubuth/openstreetmap-chef,openstreetmap/chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,zerebubuth/openstr... |
3bb3ef0824be4167e9d6601eaa799d292d37e632 | lib/libra2/app/views/curation_concerns/base/show.html.erb | lib/libra2/app/views/curation_concerns/base/show.html.erb | <% provide :page_title, display_array(@presenter.page_title) %>
<div itemscope itemtype="http://schema.org/CreativeWork" class="row">
<div class="col-xs-12">
<header>
<%= render 'work_title', presenter: @presenter %>
</header>
</div>
<div class="col-sm-8">
<div class="card">
<%= render 'me... | <% provide :page_title, display_array(@presenter.page_title) %>
<div itemscope itemtype="http://schema.org/CreativeWork" class="row">
<div class="col-xs-12">
<header>
<%= render 'work_title', presenter: @presenter %>
</header>
</div>
<div class="col-sm-8">
<div class="card">
<%= render 'me... | Remove download of social media assets which are not required here | Remove download of social media assets which are not required here
| HTML+ERB | apache-2.0 | uvalib/Libra2,uvalib/Libra2,uvalib/Libra2,uvalib/Libra2,uvalib/Libra2 |
653ff29e9b3d636aa06c63b2cb36cde468133f87 | templates/init_systemd.erb | templates/init_systemd.erb | # Systemd unit file for <%= @instance %>
[Unit]
Description=memcached instance <%= @instance %>
After=network.target
[Service]
LimitNOFILE=<%= @ulimit %> \
ExecStart=<%= @memcached_binary %> \
-m <%= @memory %> \
-U <%= @udp_port %> \
-p <%= @port %> \
-u <%= @user %> \
-l <%= @listen %> \
-c <%= @maxconn... | # Systemd unit file for <%= @instance %>
[Unit]
Description=memcached instance <%= @instance %>
After=network.target
[Service]
LimitNOFILE=<%= @ulimit %>
ExecStart=<%= @memcached_binary %> \
-m <%= @memory %> \
-U <%= @udp_port %> \
-p <%= @port %> \
-u <%= @user %> \
-l <%= @listen %> \
-c <%= @maxconn %... | Fix ulimit to not have \ in it | Fix ulimit to not have \ in it
Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
| HTML+ERB | apache-2.0 | opscode-cookbooks/memcached,opscode-cookbooks/memcached,chef-cookbooks/memcached,chef-cookbooks/memcached,opscode-cookbooks/memcached,chef-cookbooks/memcached |
44811c57b91136784e4892d35d65a9aa5fde6025 | source/ember-users.html.erb | source/ember-users.html.erb | ---
title: "Users"
---
<h1>
See Who's Using Ember.js
</h1>
<p>
Logos are added by company representatives. These companies may or may not be using Ember on their main web properties, but they're definitely using it somewhere in their organizations :)
</p>
<p>
Feel free to track down folks who work at a specific... | ---
title: "Users"
---
<h1>
See Who's Using Ember.js
</h1>
<p>
Logos are added by company representatives. These companies may or may not be using Ember on their main web properties, but they're definitely using it somewhere in their organizations :)
</p>
<p>
Feel free to track down folks who work at a specific... | Update ember-users links to open in a new tab (external webpage) | Update ember-users links to open in a new tab (external webpage)
| HTML+ERB | mit | zeppelin/emberjs-website,josemarluedke/ember-website,AaronSikes/website,josemarluedke/ember-website,bmac/website,zeppelin/emberjs-website,bmac/website,kpfefferle/website,SaladFork/emberjs-website,SaladFork/emberjs-website,SaladFork/emberjs-website,kpfefferle/website,SaladFork/emberjs-website,bmac/website,kpfefferle/web... |
bfe42539d648f52fe4cb1dfd3f9218d968085a4e | lib/wpcap/recipes/templates/deploy.rb.erb | lib/wpcap/recipes/templates/deploy.rb.erb | set :application, "your application web address here" #Your Project's webaddress
set :repository, "your repo location here"
set :branch, :master
set :scm, :git
set :copy_exclude, [".git", ".DS_Store", ".gitignore", ".gitmodules"]
set :stages, %w(production staging)
set :default_stage, "staging"
set :port, 22
#We ... | set :application, "your application web address here" #Your Project's webaddress
set :repository, "your repo location here"
set :branch, :master
set :scm, :git
set :copy_exclude, [".git", ".DS_Store", ".gitignore", ".gitmodules"]
set :stages, %w(production staging)
set :default_stage, "staging"
set :port, 22
#We ... | Add the backup recipe to the default config | Add the backup recipe to the default config
| HTML+ERB | mit | rposborne/wpcap,rposborne/wpcap |
8b94082f82950983a7b2f06d7156d9fa9546c132 | modules/mirror/templates/govuk_update_and_upload_mirror.erb | modules/mirror/templates/govuk_update_and_upload_mirror.erb | #!/bin/bash
set -e
# Nagios defaults, assume failed
NAGIOS_CODE=1
NAGIOS_MESSAGE="WARNING: Mirrorer update failed."
function nagios_passive() {
printf "<%= @fqdn %>\t<%= @service_desc %>\t${NAGIOS_CODE}\t${NAGIOS_MESSAGE}\n" | /usr/sbin/send_nsca -H nagios.cluster >/dev/null
}
trap nagios_passive EXIT
export MIRR... | #!/bin/bash
set -e
# Nagios defaults, assume failed
NAGIOS_CODE=1
NAGIOS_MESSAGE="WARNING: Mirrorer update failed."
function nagios_passive() {
printf "<%= @fqdn %>\t<%= @service_desc %>\t${NAGIOS_CODE}\t${NAGIOS_MESSAGE}\n" | /usr/sbin/send_nsca -H nagios.cluster >/dev/null
}
trap nagios_passive EXIT
export MIRR... | Add more logging from mirror script | Add more logging from mirror script
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
5b6855a761e0456f1796a92ddd0bf7ab24de25e7 | data/export/nginx/nginx.erb | data/export/nginx/nginx.erb | upstream <%= app %> {
<% ports.each do |port| %>
server localhost:<%= port %> fail_timeout=0;
<% end %>
}
server {
access_log <%= log %>/<%= app %>-nginx-access.log combined buffer=0k;
error_log <%= log %>/<%= app %>-nginx-error.log;
listen 80;
server_name <%= app %>.<%= ENV['BASE_DOMAIN'] %> <%= (ENV[... | upstream <%= app %> {
<% ports.each do |port| %>
server localhost:<%= port %> fail_timeout=0;
<% end %>
}
server {
access_log <%= log %>/<%= app %>-nginx-access.log combined buffer=0k;
error_log <%= log %>/<%= app %>-nginx-error.log;
listen 80;
server_name <%= app %>.<%= ENV['BASE_DOMAIN'] %> <%= (ENV[... | Remove the error handlers since they never get called anyway | Remove the error handlers since they never get called anyway
| HTML+ERB | mit | peterkeen/foreman-export-nginx |
85b9d92f97bb1b1cbea6be10a4c71aee54dd896e | app/views/noodall/admin/assets/tags.js.erb | app/views/noodall/admin/assets/tags.js.erb | $('#asset-browser').html( "<%= escape_javascript(%{<h2 class="title">#{page_title}</h2> #{render( 'tags' )}}) %>" )
| $('#asset-browser').html( "<%= escape_javascript(%{<h2 class="title">#{page_title}</h2> #{render( 'tags' )}}.html_safe) %>" )
| Fix html rendering for "all tags" via AJAX | Fix html rendering for "all tags" via AJAX
| HTML+ERB | mit | noodall/noodall-ui,noodall/noodall-ui |
5f5561b4aef3d564896525814fa095ca789ca8c8 | app/views/shared/_assembly_banner.html.erb | app/views/shared/_assembly_banner.html.erb | <div class="bg-primary" data-dismissable="announcement" style="display:none">
<div class="container">
<div class="row">
<div class="announcement col-md-12">
<p class="text-center">
<img src="https://treasure.assembly.com/assets/brand/inverse@2x.png" class="asm-brand">
Coderwall i... | <div class="bg-primary" data-dismissable="announcement" style="display:none">
<div class="container">
<div class="row">
<div class="announcement col-md-12">
<p class="text-center">
<img src="https://treasure.assembly.com/assets/brand/inverse@2x.png" class="asm-brand">
Coderwall i... | Set the Assembly url to point to the Coderwall project page not just chat | Set the Assembly url to point to the Coderwall project page not just chat
| HTML+ERB | agpl-3.0 | pushkar-mishra/coderwall,trinitronx/coderwall,pushkar-mishra/coderwall,assemblymade/coderwall,coderwall/coderwall,sekouzed/coderwall,seuros/coderwall,ronaldotijucas/coderwall,pombredanne/coderwall,frootloops/coderwall,wiserfirst/coderwall,seuros/coderwall,agileknight/coderwall,AVGP/coderwall,coderwall/coderwall,agilekn... |
85c0d9c7f380b1ba4d4fb72696bc165e5793965b | views/index.erb | views/index.erb | <h2>Welcome to Pizza Shop</h2>
<button class="btn btn-primary btn-lg">Click me</button> | <h2>Welcome to Pizza Shop</h2>
<button class="btn btn-primary btn-lg" onclick="something()">Click me</button>
<script>
function something()
{
alert('Hello!');
}
</script> | Add alert message on click button | Add alert message on click button
| HTML+ERB | mit | rkugot/Pizzashop,rkugot/Pizzashop,rkugot/Pizzashop |
1b6827a5f42e67a9830cfc1c48514afa6edd8801 | views/index.erb | views/index.erb | <% content_for :page_title do %>
The Pensions Guidance Service
<div class="strapline">Your money, your retirement</div>
<% end %>
<div class="grid-wrapper">
<div class="grid grid-2-3">
<div class="inner-block">
<p>This service helps you understand what to do with your pension pot when you want to ... | <% content_for :page_title do %>
The Pensions Guidance Service
<div class="strapline">Your money, your retirement</div>
<% end %>
<div class="grid-wrapper">
<div class="grid grid-2-3">
<div class="inner-block">
<p>This service helps you understand what to do with your pension pot when you want to ... | Remove article description from homepage | Remove article description from homepage | HTML+ERB | mit | guidance-guarantee-programme/alpha,guidance-guarantee-programme/alpha,guidance-guarantee-programme/alpha |
fa6e2ec9c6a75d854aa7ac77d03eaa69abe5d8a0 | views/index.erb | views/index.erb | <h2>Welcome to Pizza Shop!!</h2>
<div class="row">
<% @products.each do |p| %>
<div class="col-md-3">
<div>
<b><%= p.title %></b>
</div>
<div>
<img src="<%= p.path_to_image %>" width="200" height="150"/>
</div>
<div>
<b>Description:</b> <%= p.description %>
</div>
<div>
<b>Price:</b> <%... | <h2>Welcome to Pizza Shop!!</h2>
<div class="row">
<% @products.each do |p| %>
<div class="col-md-3">
<div>
<b><%= p.title %></b>
</div>
<div>
<img src="<%= p.path_to_image %>" width="200" height="150"/>
</div>
<div>
<b>Description:</b> <%= p.description %>
</div>
<div>
<b>Price:</b> <%... | Add button to each product | Add button to each product
| HTML+ERB | mit | Grenkl/PizzaShop,Grenkl/PizzaShop,Grenkl/PizzaShop |
03a424a8e26907ac4fa67092efc8b231f0e591d7 | app/views/admin/statistics_announcements/_document_linker.html.erb | app/views/admin/statistics_announcements/_document_linker.html.erb | <% initialise_script 'GOVUK.documentFinder', type: 'publication', subtypes: PublicationType.statistical.map(&:id), state: 'not_published' %>
<% initialise_script 'GOVUK.statisticsAnnouncementLinker' %>
<%= form_for [:admin, statistics_announcement], html: { style: 'display:none' } do |form| %>
<%= form.hidden_field ... | <% initialise_script 'GOVUK.documentFinder', type: 'publication', subtypes: [statistics_announcement.publication_type_id], state: 'not_published' %>
<% initialise_script 'GOVUK.statisticsAnnouncementLinker' %>
<%= form_for [:admin, statistics_announcement], html: { style: 'display:none' } do |form| %>
<%= form.hidde... | Document linker only returns pubs of correct type | Document linker only returns pubs of correct type
This will prevent statistics being linked with announcements for
national statistics, and vice-versa
| HTML+ERB | mit | robinwhittleton/whitehall,ggoral/whitehall,alphagov/whitehall,hotvulcan/whitehall,hotvulcan/whitehall,alphagov/whitehall,YOTOV-LIMITED/whitehall,hotvulcan/whitehall,askl56/whitehall,askl56/whitehall,robinwhittleton/whitehall,ggoral/whitehall,askl56/whitehall,ggoral/whitehall,robinwhittleton/whitehall,askl56/whitehall,r... |
963b71e6d277aa3697121a983d7485a536e5edcc | templates/default/aide.erb | templates/default/aide.erb | 0 5 * * * root <%= node["aide"]["binary"] %> <%= node["aide"]["extra_parameters"] %> --check -V2
| 30 * * * * root <%= node["aide"]["binary"] %> <%= node["aide"]["extra_parameters"] %> --check -V3
0 5 1 * * root <%= node["aide"]["binary"] %> <%= node["aide"]["extra_parameters"] %> --check -V5
| Change run schedule to hourly, plus once a week higher verbosity | Change run schedule to hourly, plus once a week higher verbosity
| HTML+ERB | bsd-2-clause | elliotkendallUCSF/chef-aide,mburns/chef-aide,mburns/chef-aide |
c074fab2c8edbe299c2a95be3f795958abb494ef | app/views/devise/mailer/confirmation_instructions.html.erb | app/views/devise/mailer/confirmation_instructions.html.erb | <p>Welcome <%= @email %>!</p>
<p>You can confirm your account email through the link below:</p>
<p><%= link_to 'Confirm my account', confirmation_url(@resource, confirmation_token: @token) %></p>
| <p>Welcome <%= @email %>!</p>
<p>You can confirm your account email through the link below:</p>
<p><%= link_to 'Confirm my account', confirmation_url(@resource, confirmation_token: @token,
host: ENV["SERVER_PRODUCTION"] + ENV["SCRIPT_NAME"]) %></p>
| Fix up the confirmation path. | Fix up the confirmation path.
| HTML+ERB | apache-2.0 | jlm/maint,jlm/maint,jlm/maint,jlm/maint |
da511fcdd73e10c16255606e2d99656c73e4e7d8 | modules/govuk_jenkins/templates/jobs/staging/data_sync_complete.yaml.erb | modules/govuk_jenkins/templates/jobs/staging/data_sync_complete.yaml.erb | ---
- job:
name: Data_Sync_Complete
display-name: Data_Sync_Complete
project-type: freestyle
description: "Run after data is synced from production."
logrotate:
artifactNumToKeep: 10
builders:
- shell: |
# Queue up any whitehall scheduled editions that have been transferr... | ---
- job:
name: Data_Sync_Complete
display-name: Data_Sync_Complete
project-type: freestyle
description: "Run after data is synced from production."
logrotate:
artifactNumToKeep: 10
builders:
- shell: |
# Queue up any whitehall scheduled editions that have been transferr... | Remove environment from data sync machine names | Remove environment from data sync machine names
These machines can just be referred to by `host-n.vdc`.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
8800fc0222e754a12cded9424e032720a2857635 | app/views/gobierto_budgets/budgets/_sub_budget_line.html.erb | app/views/gobierto_budgets/budgets/_sub_budget_line.html.erb | <td><%= link_to sub_budget_line.name, gobierto_budgets_budget_line_path(sub_budget_line.to_param) %></td>
<td style="<%= class_if("border-radius: 0 0 0 4px", last_item) %>" class="qty big_qty <%= class_if("highlight-proposal", @interesting_expenses_previous_year.present?) %>"><%= number_to_currency sub_budget_line.amou... | <td><%= link_to sub_budget_line.name, gobierto_budgets_budget_line_path(sub_budget_line.to_param) %></td>
<td style="<%= class_if("border-radius: 0 0 0 4px", last_item) %>" class="qty big_qty <%= class_if("highlight-proposal", @interesting_expenses_previous_year.present?) %>"><%= number_to_currency sub_budget_line.amou... | Check if previous year budget line exists | Check if previous year budget line exists
| HTML+ERB | agpl-3.0 | PopulateTools/gobierto,PopulateTools/gobierto,PopulateTools/gobierto-dev,PopulateTools/gobierto,PopulateTools/gobierto-dev,PopulateTools/gobierto-dev,PopulateTools/gobierto-dev,PopulateTools/gobierto |
d1592c8fb4f302ea1f9dca072212b532a73ede63 | app/views/roles/_current_role_holder_with_biography.html.erb | app/views/roles/_current_role_holder_with_biography.html.erb | <% if role.current_holder.present? %>
<section id="current-role-holder" class="govuk-!-padding-bottom-9">
<%= render "govuk_publishing_components/components/heading", {
text: t("roles.headings.current_holder"),
} %>
<%= render "govuk_publishing_components/components/heading", {
text: role.cur... | <% if role.current_holder.present? %>
<section id="current-role-holder" class="govuk-!-padding-bottom-9">
<%= render "govuk_publishing_components/components/heading", {
text: t("roles.headings.current_holder"),
} %>
<%= render "govuk_publishing_components/components/heading", {
text: role.cur... | Use translation for 'More about this person' | Use translation for 'More about this person'
| HTML+ERB | mit | alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections |
c3937b56a025f371972ecd46372d0844b809c624 | modules/govuk/templates/usr/local/bin/es-rotate-passive-check.erb | modules/govuk/templates/usr/local/bin/es-rotate-passive-check.erb | #!/bin/bash
LOGFILE='<%= @rotation_log_file %>'
#FIXME: 2014-01-12 - Ideally this should be 21 days - need to fix logstasher gem first
ARGS='--delete-old --delete-maxage 15 --optimize-old --optimize-maxage 1 logs'
CMD="/usr/local/bin/es-rotate"
function send_to_nagios() {
local MESSAGE=$1
local CODE=$2
printf ... | #!/bin/bash
LOGFILE='<%= @rotation_log_file %>'
#FIXME: 2014-01-12 - Ideally this should be 21 days - need to fix logstasher gem first
ARGS='--delete-old --delete-maxage 15 --optimize-old --optimize-maxage 1 logs'
CMD="/usr/local/bin/es-rotate"
function send_to_nagios() {
local MESSAGE=$1
local CODE=$2
printf ... | Fix syntax of es-rotate send_nsca for Icinga | Fix syntax of es-rotate send_nsca for Icinga
The format of the send_nsca were sending was:
$fqdn $MESSAGE $CODE
But actually it should be:
$fqdn es-rotate $CODE $MESSAGE
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
0100db3ff532762f6fbb7ef6b102069c7d453195 | app/views/devise/sessions/new.html.erb | app/views/devise/sessions/new.html.erb | <h2><%= t('.sign_in', default: 'Sign in') %></h2>
<%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
<div>
<%= f.label :email %><br />
<%= f.email_field :email, autofocus: true %>
</div>
<div>
<%= f.label :password %><br />
<%= f.password_field :password %>
<... | <h2><%= t('.sign_in', default: 'Sign in') %></h2>
<%= simple_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
<div class="form-inputs">
<%= f.input :email, autofocus: true, required: true %>
<%= f.input :password, required: true %>
<%= f.input :remember_me, as: :boolean i... | Make bootstrap 3 compatible login view | Make bootstrap 3 compatible login view
| HTML+ERB | mit | maximalink/devise-i18n-bootstrap,maximalink/devise-i18n-bootstrap |
bbf9a37d3d52005a859d0f11bf6edd48d8e344e7 | app/views/invite_requests/new.html.erb | app/views/invite_requests/new.html.erb | <%= form_for @invite_request do |f| %>
<%= f.label :email, "Email" %>
<%= f.text_field :email %>
<%= f.label :first_name, "First Name" %>
<%= f.text_field :first_name %>
<%= f.label :last_name, "Last Name" %>
<%= f.text_field :last_name %>
<%= f.label :company, "Company" %>
<%= f.text_field :company ... | <h2>Request Invitation</h2>
<%= form_for @invite_request do |f| %>
<% if @invite_request.errors %>
<%= f.error_messages %>
<% end %>
<%= f.label :email, "Email" %>
<%= f.text_field :email %>
<%= f.label :first_name, "First Name" %>
<%= f.text_field :first_name %>
<%= f.label :last_name, "Last Name... | Edit HTML, add error messages to form | Edit HTML, add error messages to form
| HTML+ERB | mit | natsteinmetz/partner_dashboard,natsteinmetz/partner_dashboard |
99b6bf23130cb77f9d6aa1a5522cbfaaba9531a8 | app/views/layouts/_disqus_tag.html.erb | app/views/layouts/_disqus_tag.html.erb | <div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_shortname = 'refugerestrooms';
<% if defined? identifier %>
var disqus_identifier = '<%= identifier %>';
<% end %>
<% if defined? title %>
var disqus_title = '<%= title %>';
<% end %>
<% if defined? url %>
... | <div id="disqus_thread"></div>
<script type="text/javascript">
<% if Rails.env != 'production' %>
var disqus_developer = 1;
<% end %>
var disqus_shortname = 'refugerestrooms';
<% if defined? identifier %>
var disqus_identifier = '<%= identifier %>';
<% end %>
<% if defined? title %>
var disqus_... | Add Disqus in dev mode for non-prod envs. fix indentation | Add Disqus in dev mode for non-prod envs. fix indentation
| HTML+ERB | agpl-3.0 | valeriecodes/refugerestrooms,mathonsunday/welcomehome,RefugeRestrooms/refugerestrooms,cllns/refugerestrooms,azelma/refugerestrooms,azelma/refugerestrooms,cllns/refugerestrooms,cllns/refugerestrooms,valeriecodes/refugerestrooms,RefugeRestrooms/refugerestrooms,valeriecodes/refugerestrooms,azelma/refugerestrooms,RefugeRes... |
71736f6318a79ca9ae645f750a8abca47c6b0caf | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Dvt</title>
<%= stylesheet_link_tag "application", :media => "all" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body>
<div class="row top-bar">
<div id="site... | <!DOCTYPE html>
<html>
<head>
<title>Dvt</title>
<%= stylesheet_link_tag "application", :media => "all" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body>
<div class="row top-bar">
<div id="site... | Remove login link from unauthorised navigation | Remove login link from unauthorised navigation
Is causing problems with integration tests, will investigate further.
| HTML+ERB | apache-2.0 | NSWPlanning/data-verification-tool,NSWPlanning/data-verification-tool,NSWPlanning/data-verification-tool |
2ebf1c15ca6ba5aa58047a1c6f4ff7267ba94dac | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Spanglishdictionary</title>
<%= csrf_meta_tags %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
</head>
<body>
<%= yield %>
</b... | <!DOCTYPE html>
<html>
<head>
<title>Spanglishdictionary</title>
<%= csrf_meta_tags %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
</head>
<body>
<header>
<di... | Add logo div to header, along with signout, registerand login when needed. | Add logo div to header, along with signout, registerand login when needed.
| HTML+ERB | mit | edgarsbarajas/spanglishdictionary,edgarsbarajas/spanglishdictionary,edgarsbarajas/spanglishdictionary |
e513da3adabc323743378f8a80e71b17bcf00079 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <% template_content = ::GobiertoCore::SiteTemplate.liquid_str(current_site, "layouts/application") %>
<%= render inline: template_content, type: :liquid %>
| <% template_content = ::GobiertoCore::SiteTemplate.liquid_str(current_site, "layouts/application") %>
<%= render inline: template_content, type: :liquid, locals: { current_locale: I18n.locale } %>
| Make I18n locale available to liquid templates as a variable | Make I18n locale available to liquid templates as a variable
| HTML+ERB | agpl-3.0 | PopulateTools/gobierto-dev,PopulateTools/gobierto,PopulateTools/gobierto-dev,PopulateTools/gobierto,PopulateTools/gobierto-dev,PopulateTools/gobierto,PopulateTools/gobierto,PopulateTools/gobierto-dev |
6d29f6da9dba70e5ee50a0368d404fff6ab510b7 | vendor/plugins/tag_sidebar/app/views/tag_sidebar/_content.html.erb | vendor/plugins/tag_sidebar/app/views/tag_sidebar/_content.html.erb | <% unless sidebar.tags.blank? -%>
<h3><%= _("Tags")%></h3>
<p style="overflow:hidden">
<% sidebar.tags.each do |tag| -%>
<span style="font-size:<%= sidebar.sizes[tag] %>%"><%= link_to tag.display_name, tag_url(tag) %></span>
<% end -%>
</p>
<% end %>
| <% unless sidebar.tags.blank? -%>
<h3><%= _("Tags")%></h3>
<div>
<p style="overflow:hidden">
<% sidebar.tags.each do |tag| -%>
<span style="font-size:<%= sidebar.sizes[tag] %>%"><%= link_to tag.display_name, tag_url(tag) %></span>
<% end -%>
</p>
</div>
<% end %>
| Add div for tag sidebar | Add div for tag sidebar
| HTML+ERB | mit | strongwave/blog_on_rails,strongwave/blog_on_rails,strongwave/blog_on_rails |
cd578517037ca97121d76c1979ffb36187b223fc | backend/app/views/spree/admin/shared/_variant_search.html.erb | backend/app/views/spree/admin/shared/_variant_search.html.erb | <div data-hook="admin_orders_index_search">
<%= form_for :variant_search, url: form_path, method: :get do |f| %>
<div class="row">
<div class="field-block col-3">
<div class="field">
<%= label_tag nil, Spree::StockLocation.model_name.human %>
<%= select_tag :stock_location_id, op... | <div data-hook="admin_orders_index_search">
<%= form_for :variant_search, url: form_path, method: :get do |f| %>
<div class="row">
<div class="field-block col-3">
<div class="field">
<%= label_tag nil, Spree::StockLocation.model_name.human %>
<%= select_tag :stock_location_id, op... | Add a meaningful blank value for stock location select | Add a meaningful blank value for stock location select
If no stock location is selected in the variant search forms stock
location select we display all stock locations.
| HTML+ERB | bsd-3-clause | pervino/solidus,pervino/solidus,pervino/solidus,pervino/solidus |
2058b6ab5cc8fcc70a9adb04a6cf6278e6e4605f | test/fixtures/smart_answer_flows/data_partials/_array_partial.erb | test/fixtures/smart_answer_flows/data_partials/_array_partial.erb | <div class="embassies">
<%- sample_data.each do |details| -%>
<div class="embassy">
<div class="address">
<h3>Address:</h3>
<%= simple_format details["address"] %>
</div>
<div class="phone">
<h3>Phone:</h3>
<p><%= details["phone"] %></p>
</div>
</div>
... | <div class="embassies">
<% sample_data.each do |details| %>
<div class="embassy">
<div class="address">
<h3>Address:</h3>
<%= simple_format details["address"] %>
</div>
<div class="phone">
<h3>Phone:</h3>
<p><%= details["phone"] %></p>
</div>
</div>
<%... | Remove space-stripping ERB tags from test fixtures | Remove space-stripping ERB tags from test fixtures
The use of `<%- -%>` has no effect[1].
[1]: "When on a line that only contains whitespaces except for the tag, <% %>
suppress leading and trailing whitespace, including the trailing newline. <% %>
and <%- -%> are the same. Note however that <%= %> and <%= -%> are dif... | HTML+ERB | mit | aledelcueto/smart-answers,alphagov/smart-answers,stwalsh/smart-answers,alphagov/smart-answers,stwalsh/smart-answers,alphagov/smart-answers,stwalsh/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers,stwalsh/smart-answers,aledelcueto/smart-answers |
86b2b2ffb065793679d705f53dc4efa3ea0f07b5 | test/views/users/_profile.html.erb | test/views/users/_profile.html.erb | <%graphql
fragment User on User {
login
}
%>
<%= user.login %>
| <%graphql
fragment User on User {
login
...TestViewModule::Views::Users::Profile::Show::User
}
%>
<%= user.login %>
| Add a failing test case. | Add a failing test case.
| HTML+ERB | mit | tjoyal/graphql-client,tjoyal/graphql-client |
f1f40bf39529c58fd2d489db7c1d98ec6e2becf9 | server/webapp/WEB-INF/rails/app/views/pipelines/_stage_trigger_gate.html.erb | server/webapp/WEB-INF/rails/app/views/pipelines/_stage_trigger_gate.html.erb | <%
title = if com.thoughtworks.go.util.GoConstants::DEFAULT_APPROVED_BY == scope[:stage_in_status_bar].getApprovedBy()
"Automatically approved"
elsif scope[:stage_in_status_bar].getApprovedBy().blank?
"Awaiting approval"
else
"Approved by #{scope[:stage_in_status_bar].getApprovedBy()}"
end
clazz = scope[:s... | <%
title = if com.thoughtworks.go.util.GoConstants::DEFAULT_APPROVED_BY == scope[:stage_in_status_bar].getApprovedBy()
"Automatically approved"
elsif scope[:stage_in_status_bar].getApprovedBy().blank?
"Awaiting approval"
else
"Approved by #{scope[:stage_in_status_bar].getApprovedBy()}"
end
clazz = scope[:s... | Fix manual stage trigger link. | Fix manual stage trigger link.
| HTML+ERB | apache-2.0 | Skarlso/gocd,gocd/gocd,arvindsv/gocd,marques-work/gocd,ketan/gocd,kierarad/gocd,arvindsv/gocd,ibnc/gocd,Skarlso/gocd,ketan/gocd,ketan/gocd,kierarad/gocd,arvindsv/gocd,Skarlso/gocd,kierarad/gocd,GaneshSPatil/gocd,ibnc/gocd,gocd/gocd,ibnc/gocd,GaneshSPatil/gocd,marques-work/gocd,bdpiparva/gocd,ibnc/gocd,gocd/gocd,gocd/go... |
66fa263b3e8e2ca25dd9c340cf29913446ccd02c | views/groups/index.html.erb | views/groups/index.html.erb | <h2>Your Groups</h2>
<div class="panel panel-success">
<div class="panel-heading">
<h3 class="panel-title">Groups</h3>
</div>
<div class="panel-body">
<ul class="list-group">
<% groups.each_with_index do |user_group, index| %>
<li class="list-group-item">
<span class="badge pull-left">... | <h2>Your Groups</h2>
<div class="panel panel-success">
<div class="panel-heading">
<h3 class="panel-title">Groups</h3>
</div>
<div class="panel-body">
<% if groups.any? %>
<ul class="list-group">
<% groups.each_with_index do |user_group, index| %>
<li class="list-group-item">
... | Add message when user doesn't have groups | Add message when user doesn't have groups
| HTML+ERB | mit | threefunkymonkeys/funky-world-cup,threefunkymonkeys/funky-world-cup,threefunkymonkeys/funky-world-cup,threefunkymonkeys/funky-world-cup |
a92d49812cd63ae06cb3b22dfcdb5f3fffc61645 | lib/views/_more_info.html.erb | lib/views/_more_info.html.erb | <h2><%= _('More about this authority')%></h2>
<% if !public_body.calculated_home_page.nil? %>
<%= link_to _('Home page of authority'), public_body.calculated_home_page %><br>
<% end %>
<% if !public_body.publication_scheme.empty? %>
<%= link_to _('Publication scheme'), public_body.publication_scheme %><br>
<%... | Add charity links to public bodies | Add charity links to public bodies
If the body is a charity, provide a link to its registration info | HTML+ERB | mit | schlos/whatdotheyknow-theme,mysociety/whatdotheyknow-theme,mysociety/whatdotheyknow-theme,mysociety/whatdotheyknow-theme,schlos/whatdotheyknow-theme | |
95b4e45a4a7b83198ee5559b724203a9467ab237 | app/views/exercise_regimens/_show.html.erb | app/views/exercise_regimens/_show.html.erb | <%= attribute_table_row(t("myplaceonline.exercise_regimens.exercise_regimen_name"), obj.exercise_regimen_name) %>
<%= attribute_table_row_markdown(t("myplaceonline.general.notes"), obj.notes) %>
<% obj.exercise_regimen_exercises.each do |x| %>
<%= table_row_heading(t("myplaceonline.exercise_regimens.exercise_regimen_... | <%# attribute_table_row(t("myplaceonline.exercise_regimens.exercise_regimen_name"), obj.exercise_regimen_name) %>
<%# attribute_table_row_markdown(t("myplaceonline.general.notes"), obj.notes) %>
<% content_for :aftertable do %>
<% obj.exercise_regimen_exercises.each do |x| %>
<%
container_name = x.class.name... | Create checklist for exercise regimen | Create checklist for exercise regimen
| HTML+ERB | agpl-3.0 | myplaceonline/myplaceonline_rails,myplaceonline/myplaceonline_rails,myplaceonline/myplaceonline_rails |
f8650ec4fbe00506eba2c0888b2073351a03ba09 | modules/govuk/templates/asset_pipeline_extra_nginx_conf.erb | modules/govuk/templates/asset_pipeline_extra_nginx_conf.erb | <% @asset_pipeline_prefixes.each do |prefix| %>
location ^~ /<%= prefix %>/ {
# Set expires headers for assets
# Assets with a digest (32+ char hex string in filename) get max expires
# Non-digest assets get 30 mins
expires 30m;
add_header Cache-Control public;
gzip_static on;
location ~ ... | <% @asset_pipeline_prefixes.each do |prefix| %>
location ^~ /<%= prefix %>/ {
# Set expires headers for assets
# Assets with a digest (32+ char hex string in filename) get max expires
# Non-digest assets get 30 mins
expires 30m;
add_header Cache-Control public;
gzip_static on;
location ~ ... | Include surrogate keys for immutable assets | Include surrogate keys for immutable assets
As these assets are cached for perpetuity it is hard to make any changes
to how the CDN hosts them without needing to manually purge lots of
assets from the CDN or purge the entire CDN.
This was a problem we hit when enabling Brotli compression at the CDN,
where we were fac... | HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
f49e2a93cbf59fa013429a18ceec1ff082873d46 | spec/dummy/app/themes/default/views/thredded/private_topics/_form.html.erb | spec/dummy/app/themes/default/views/thredded/private_topics/_form.html.erb | <h3 class="post-form--title">New Private Topic</h3>
<%= form_for [messageboard, private_topic],
url: messageboard_private_topics_path(messageboard, @private_topic),
html: { class: css_class } do |form| %>
<ul class="form-list">
<li>
<%= form.label :title %>
<%= form.text_field :title, { placehol... | <%= form_for [messageboard, private_topic],
url: messageboard_private_topics_path(messageboard, @private_topic),
html: { class: css_class } do |form| %>
<ul class="form-list on-top">
<li class="title">
<%= form.label :title, 'Private Topic Title' %>
<%= form.text_field :title, { placeholder: plac... | Make private topics form act like topics form | Make private topics form act like topics form
| HTML+ERB | mit | prohippocoder/thredded,prohippocoder/thredded,jvoss/thredded,jvoss/thredded,jayroh/thredded,thredded/thredded,jayroh/thredded,jayroh/thredded,prohippocoder/thredded,thredded/thredded,jvoss/thredded,prohippocoder/thredded,thredded/thredded,thredded/thredded,jayroh/thredded,jvoss/thredded |
34bacd1cc37f42ed48076f369990945e9132c6f6 | app/views/about/_slack.html.erb | app/views/about/_slack.html.erb | <div class='row'>
<div id="map" class='span12'>
<div id="info" class='span4'>
<h1>Slack</h1>
We have a Slack organization where you can ask questions and discuss programming topics. <%= link_to "Click here to join", "https://seattlerbslack.herokuapp.com" %>.
</div>
<div class='span4'>
&n... | <div class='row'>
<div id="map" class='span12'>
<div id="info" class='span4'>
<h1>Slack</h1>
We have a Slack organization where you can ask questions and discuss programming topics. <%= link_to "Click here to join", "https://seattlerbslack.herokuapp.com" %>.
</div>
<div class='span8'>
<i... | Embed the slack form in the page in an iframe | Embed the slack form in the page in an iframe
| HTML+ERB | mit | seattlerb/seattlerb.org,seattlerb/seattlerb.org,seattlerb/seattlerb.org |
a0eca584cfda9d37937aada045d07a46d0ac8e4f | app/views/movie/images.html.erb | app/views/movie/images.html.erb | <%= render :partial => 'head' %>
<h2>Images</h2>
<% for image_type in @images.keys.reverse
next if @images[image_type].blank? %>
<div>
<h3><%= image_type %></h3>
<% for image in @images[image_type] %>
<span>
<%= image_tag @movie.tmdb_image_url(image["file_path"], image_type.singularize, "medium") %>... | <%= render :partial => 'head' %>
<h2>Images</h2>
<% for image_type in @images.keys.reverse
next if @images[image_type].blank? %>
<div>
<h3><%= image_type %></h3>
<% for image in @images[image_type] %>
<span>
<%= link_to image_tag(@movie.tmdb_image_url(image["file_path"], image_type.singularize, "med... | Make images clickable to show original size | Make images clickable to show original size
| HTML+ERB | bsd-3-clause | stefanberndtsson/nmdb3,stefanberndtsson/nmdb3 |
9b0ac2c447952125e93479eea241a5516036fb85 | app/views/sessions/new.html.erb | app/views/sessions/new.html.erb | <h1>Login to Libraries.io</h1>
<p>Choose one of the identity providers to login with:</p>
<p>
<%= link_to '/auth/github', class: 'btn btn-success' do %>
<%= fa_icon 'github' %> Login with GitHub
<% end %>
</p>
<p>
<%= link_to '/auth/gitlab', class: 'btn btn-success' do %>
<%= fa_icon 'gitlab' %> Login ... | <% title "Login to Libraries.io" %>
<h1>Login to Libraries.io</h1>
<p>Choose one of the identity providers to login with:</p>
<p>
<%= link_to '/auth/github', class: 'btn btn-success' do %>
<%= fa_icon 'github' %> Login with GitHub
<% end %>
</p>
<p>
<%= link_to '/auth/gitlab', class: 'btn btn-success' do %... | Add page title to login page | Add page title to login page
| HTML+ERB | agpl-3.0 | librariesio/libraries.io,librariesio/libraries.io,librariesio/libraries.io,librariesio/libraries.io |
f63b6e4a4bfb55b648f0a028599727cea5043aa3 | app/views/gobierto_admin/gobierto_common/custom_fields/forms/_plugin.html.erb | app/views/gobierto_admin/gobierto_common/custom_fields/forms/_plugin.html.erb | <div class="<%= record.class_names %> <%= record.custom_field.configuration["plugin_type"] %>"
id="<%= "custom_field_#{ record.uid }" %>"
data-uid="<%= record.uid %>"
data-vocabulary-id="<%= record.custom_field.vocabulary_id %>">
<%= hidden_field_tag "#{ input_base_name }[#{ record.uid }][custom_field_... | <div class="<%= record.class_names %> <%= record.custom_field.configuration["plugin_type"] %>"
id="<%= "custom_field_#{ record.uid }" %>"
data-uid="<%= record.uid %>"
data-vocabulary-id="<%= record.custom_field.vocabulary_id %>">
<%= label_tag :custom_field_id, record.custom_field.name %>
<%= h... | Add label with the custom field name | Add label with the custom field name
| HTML+ERB | agpl-3.0 | PopulateTools/gobierto-dev,PopulateTools/gobierto,PopulateTools/gobierto-dev,PopulateTools/gobierto,PopulateTools/gobierto-dev,PopulateTools/gobierto,PopulateTools/gobierto,PopulateTools/gobierto-dev |
117471c8e1eded6f52e246a6bc4a717c1e4e0fb1 | source/partials/_header.erb | source/partials/_header.erb | <header>
<div id="site-logo">
<a href="/" class="no-hvr">
<%= image_tag 'logo.svg', alt: "Fractaled Mind" %>
</a>
</div>
<ul id="social-networks">
<li>
<a href="https://facebook.com/fractaledmind" class="no-hvr">
<i class="fa fa-facebook fa-lg"></i>
</a>
</li>
<li>
... | <header>
<div id="site-logo">
<a href="/" class="no-hvr">
<%= image_tag 'logo.svg', alt: "Fractaled Mind" %>
</a>
</div>
<ul id="social-networks">
<li>
<a href="https://facebook.com/fractaledmind" class="no-hvr">
<i class="fa fa-facebook fa-lg"></i>
</a>
</li>
<li>
... | Fix GitHub link in header | Fix GitHub link in header
| HTML+ERB | mit | smargh/fractaled_mind,fractaledmind/fractaled_mind,smargh/fractaled_mind,fractaledmind/fractaled_mind,smargh/fractaled_mind,fractaledmind/fractaled_mind,smargh/fractaled_mind,fractaledmind/fractaled_mind |
608c54e9ae0fe98feefa1ad929ed18febaa60927 | app/views/languages/_form.html.erb | app/views/languages/_form.html.erb | <%= f.label "Name:" %>
<%= f.text_field :name %>
| <%= f.label "Name:" %>
<%= f.text_field :name %><br>
<%= f.label "About the language:" %>
<%= f.text_area :description %><br>
| Add description field to form. | Add description field to form.
| HTML+ERB | mit | abonner1/code_learning_resources_manager,abonner1/code_learning_resources_manager,abonner1/sorter,abonner1/sorter,abonner1/code_learning_resources_manager,abonner1/sorter |
50c63d30a7c6a0e428264d30701588d6d745eb43 | app/views/layouts/_footer.html.erb | app/views/layouts/_footer.html.erb | <footer class="footer">
<div class="wrap">
<section class="content_wrap">
<p class='title_footer'>
<%= link_to "Boston Public Schools", 'http://bostonpublicschools.org', target: '_blank' %><br/>
<span class="copyright">Copyright © 2011-2013 Boston Public Schools.
</p>
<div class='logo'><a href=... | <footer class="footer">
<div class="wrap">
<section class="content_wrap">
<p class='title_footer'>
<%= link_to "Boston Public Schools", 'http://bostonpublicschools.org', target: '_blank' %><br/>
<span class="copyright">Copyright © 2011-<%= Date.today.year %> Boston Public Schools.
</p>
<div cla... | Set copyright date to Date.today.year | Set copyright date to Date.today.year
| HTML+ERB | mit | joelmahoney/discoverbps,joelmahoney/discoverbps,joelmahoney/discoverbps,joelmahoney/discoverbps,joelmahoney/discoverbps,joelmahoney/discoverbps,joelmahoney/discoverbps,joelmahoney/discoverbps |
1afcc0363e2d1787f46c5ade0ef3224885211eb0 | app/views/transfers/index.html.erb | app/views/transfers/index.html.erb | <div class='container-fluid transfer'>
<div class='col-md-2'></div>
<div class='col-md-8'>
<div class='info'>
<div class='col-md-12'>
<h1>History</h1>
</div>
<% @transfers.each do |transfer| %>
<hr>
<div class='col-md-12'>
<h3>From</h3>
<p><%= transf... | <div class='container-fluid transfer'>
<div class='col-md-2'></div>
<div class='col-md-8'>
<div class='info'>
<div class='col-md-12'>
<h1>History</h1>
</div>
<% if @transfers.empty? %>
<hr>
<h3>There are no transfers yet. To transfer funds, click <%= link_to 'here', new... | Fix history message when there are no transfers | Fix history message when there are no transfers
| HTML+ERB | mit | turingschool-examples/urbank,turingschool-examples/urbank,turingschool-examples/urbank |
addf22b5b6eb16e719bcd77daf4e875d50772637 | app/views/devise/registrations/new.html.erb | app/views/devise/registrations/new.html.erb | <% content_for(:meta_title, t('nlt.new_user')) %>
<div id="default_header_section">
<h1><%= registration_header %></h1><br><br>
(<%= t 'nlt.if_youre_already_an_user' %>
<%= link_to t('nlt.access_here'), new_user_session_path, :title => "user login" %>)
</div>
<div class="col-md-8 col-sm-8">
<div class="... | <% content_for(:meta_title, t('nlt.new_user')) %>
<div id="default_header_section">
<h1><%= registration_header %></h1><br><br>
(<%= t 'nlt.if_youre_already_an_user' %>
<%= link_to t('nlt.access_here'), new_user_session_path, :title => "user login" %>)
</div>
<div class="col-md-9 col-sm-9">
<div class="... | Make "new" registration form a bit wider | Make "new" registration form a bit wider
This is just for consistency with the registration "edit" form.
| HTML+ERB | agpl-3.0 | alabs/nolotiro.org,alabs/nolotiro.org,alabs/nolotiro.org,alabs/nolotiro.org |
f1389b2409e783de8a2e288a07837a2ff4661091 | app/views/proposals/_notifications.html.erb | app/views/proposals/_notifications.html.erb | <div class="tabs-panel" id="tab-notifications">
<div class="row">
<div id="proposal_notifications" class="small-12 column notification-body">
<% if @notifications.blank? %>
<div class="callout primary text-center">
<%= t("proposals.show.no_notifications") %>
</div>
<% end %>
... | <div class="tabs-panel" id="tab-notifications">
<div class="row">
<div id="proposal_notifications" class="small-12 column notification-body">
<% if @notifications.blank? %>
<div class="callout primary text-center">
<%= t("proposals.show.no_notifications") %>
</div>
<% end %>
... | Remove invalid HTML in proposal notifications | Remove invalid HTML in proposal notifications
This HTML wasn't valid because it was a <span> containing the <div
class="reply"> element and it wasn't needed because there aren't any
flag actions in proposal notifications.
| HTML+ERB | agpl-3.0 | consul/consul,consul/consul,consul/consul,consul/consul,consul/consul |
d4feed321c35c7e886a856dddef3ad000cedc2fc | app/views/parcels/_summary.html.erb | app/views/parcels/_summary.html.erb | <div class="row">
<div class="col-md-1"><%= button_to 'details', parcel_path(parcel), method: 'get'%></div>
<div class="col-md-1"><%= button_to 'match', parcel_trips_path(parcel), method: :get %></div>
<div class="col-md-3"><%= parcel.description %></div>
<div class="col-md-3"><%= parcel.destination_address.cit... | <div class="row">
<% if @reviewer %>
<div class="col-md-4">
<%= link_to "Review", new_trip_review_path(trip) %>
</div class="col-md-4">
<% else %>
<div class="col-md-1"><%= button_to 'details', parcel_path(parcel), method: 'get'%></div>
<div class="col-md-1"><%= button_to 'match', parcel_trips... | Add review button to parcel summary | Add review button to parcel summary
| HTML+ERB | mit | nyc-rock-doves-2015/caravan,bicyclethief/caravan,grantziolkowski/caravan,bicyclethief/caravan,grantziolkowski/caravan,bicyclethief/caravan,grantziolkowski/caravan,nyc-rock-doves-2015/caravan,nyc-rock-doves-2015/caravan |
18bf9157630df93de186e7dd8066c6f10633699e | app/views/supporters/_form.html.erb | app/views/supporters/_form.html.erb | <%= simple_form_for @supporter, remote: true, html: {id: 'sign-form', class: 'overlay-container'} do |f| %>
<% if @success %>
<div class="overlay-content success">
<p>Благодарим Ви!</p>
<p>Изпратихме Ви имейл, в който има инструкции как да потвърдите подкрепата си.</p>
<p><small><a href="close" ... | <%= simple_form_for @supporter,
remote: true,
authenticity_token: true,
html: {id: 'sign-form', class: 'overlay-container'} do |f| %>
<% if @success %>
<div class="overlay-content success">
<p>Благодарим Ви!</p>
<p>Изпратихме Ви имейл, в койт... | Fix invalid authenticity token errors | Fix invalid authenticity token errors
The fix is to force the authenticity_token param to be present in the
form, even though the form is an AJAX one.
These errors would occur when a user visits the site without JavaScript.
The reason for that is the support form's `remote: true` flag was
preventing an authenticity_t... | HTML+ERB | mit | obshtestvo/gov,AlexVPopov/gov,obshtestvo/gov,AlexVPopov/gov,obshtestvo/gov |
bc99a548e620c5b3105fcf9d18728e9a7cea9e86 | app/views/rhinoart/notifications_mailer/new_user_notification.html.erb | app/views/rhinoart/notifications_mailer/new_user_notification.html.erb | <p><b>New user registered</b></p>
<p>
User email: <%= @user.email %><br>
User name is: <%= @user.name %>
</p>
<p>Please grant access to this user or delete him</p>
| <p><b>New user registered</b></p>
<p>
User email: <%= @user.email %><br>
User name is: <%= @user.name %><br>
User role: <%= @user.api_role.join(' / ') %>
</p>
<p>Please grant access to this user or delete him at <%= link_to 'user page', rhinoart.edit_admin_user_url(@user) %></p>
| Make user link from new_user_notification | Make user link from new_user_notification
| HTML+ERB | mit | kostyakch/rhinoart_cms,kostyakch/rhinoart_cms,shredder-rull/rhinoart_cms,shredder-rull/rhinoart_cms,shredder-rull/rhinoart_cms,kostyakch/rhinoart_cms |
a44eeb867b7aa2d31eb0f71f89ceea017a75ef05 | app/views/api/tours/show_entry.json.erb | app/views/api/tours/show_entry.json.erb | {
"i18n": {
"nextBtn": "<%= t 'read.tours.entry.nextBtn' %>",
"prevBtn": "<%= t 'read.tours.entry.prevBtn' %>",
"doneBtn": "<%= t 'read.tours.entry.doneBtn' %>",
"closeTooltip": "<%= t 'read.tours.entry.closeTooltip' %>"
},
"steps": [
{
"target": ".entry_open_lead",
"placement": "b... | {
"i18n": {
"nextBtn": "<%= t 'read.tours.entry.nextBtn' %>",
"prevBtn": "<%= t 'read.tours.entry.prevBtn' %>",
"doneBtn": "<%= t 'read.tours.entry.doneBtn' %>",
"closeTooltip": "<%= t 'read.tours.entry.closeTooltip' %>"
},
"steps": [
{
"target": ".entry_open_lead",
"placement": "b... | Move a bubble in the entry tour a bit to the left. | Move a bubble in the entry tour a bit to the left.
This way it should fit inside the screen in smartphones; previouslt it often was partially outside the screen in small screens.
| HTML+ERB | mit | amatriain/feedbunch,jmwenda/feedbunch,jmwenda/feedbunch,amatriain/feedbunch,amatriain/feedbunch,amatriain/feedbunch,jmwenda/feedbunch |
22649c12ef93eeb435892644acb081fc31593e59 | app/views/glossary_terms/index.html.erb | app/views/glossary_terms/index.html.erb | <%
@title = :glossary_term_index_title.t
tabs = [
link_to(:create_glossary_term.t, new_glossary_term_path)
]
@tabsets = { right: draw_tab_set(tabs) }
%>
<div class="row">
<div class="col-xs-12 max-width-text">
<%= :glossary_term_index_intro.tp %>
</div>
</div>
<table class="table table-striped">
... | <%
@title = :glossary_term_index_title.t
tabs = [
link_to(:create_glossary_term.t, new_glossary_term_path)
]
@tabsets = { right: draw_tab_set(tabs) }
%>
<div class="row">
<div class="col-xs-12 max-width-text">
<%= :glossary_term_index_intro.tp %>
</div>
</div>
<table class="table table-striped">
... | Fix typo from commit eba9440 | Fix typo from commit eba9440
It was `.&` instead of `&.`
| HTML+ERB | mit | MushroomObserver/mushroom-observer,JoeCohen/mushroom-observer,JoeCohen/mushroom-observer,JoeCohen/mushroom-observer,MushroomObserver/mushroom-observer,JoeCohen/mushroom-observer,MushroomObserver/mushroom-observer,MushroomObserver/mushroom-observer,MushroomObserver/mushroom-observer,JoeCohen/mushroom-observer,JoeCohen/m... |
db47e5c275a5bf1791747317eacbe8c34e4113a1 | app/views/layouts/_usersidebar.html.erb | app/views/layouts/_usersidebar.html.erb | User side bar
hello, <div class="logged-in-user"><%= current_user.first_name %></div>
<h3>YO' PUBLISHED POSTS:</h3>
<% current_user.all_published.each do |story| %>
<p><%= story.title %></p>
<% end %>
<h3>YO' UNPUBLISHED POSTS:</h3>
<% current_user.all_unpublished.each do |story| %>
<p><%= sto... | User side bar
hello, <div class="logged-in-user"><%= current_user.first_name %></div>
hello, <%= current_user.first_name %>
<h5>Here are your unpublished posts:</h5>
<% current_user.all_unpublished.each do |story| %>
<p><%=link_to story.title, story_path(story) %></p>
<% end %>
<h5>Some of your pub... | Change some user side bar text | Change some user side bar text
| HTML+ERB | mit | SputterPuttRedux/storyvine_clone,mxngyn/StoryVine,SputterPuttRedux/storyvine_clone,SputterPuttRedux/storyvine_clone,mxngyn/StoryVine,pearlshin/StoryVine,mxngyn/StoryVine,pearlshin/StoryVine,pearlshin/StoryVine |
98399a9db97db746637f3ccfc4ae3b641d013ed2 | app/views/layouts/body/_navbar.html.erb | app/views/layouts/body/_navbar.html.erb | <div class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse"
data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></sp... | <div class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse"
data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></sp... | Update Browse active? check to consider sub-URI | Update Browse active? check to consider sub-URI
| HTML+ERB | mit | CDRH/orchid,CDRH/orchid,CDRH/orchid |
c8d33a467654e4665e93b3f00a5fda24346d11d5 | app/views/positions_helds/show.html.erb | app/views/positions_helds/show.html.erb | <%= render 'layouts/nav' %>
<p id="notice"><%= notice %></p>
<p>
<strong>User:</strong>
<%= @positions_held.user.friendly_name %>
</p>
<p>
<strong>Position:</strong>
<%= @positions_held.position.name %>
</p>
<p>
<strong>Program:</strong>
<%= @positions_held.program.name %>
</p>
<%= link_to 'Edit', edit... | <%= render 'layouts/nav' %>
<p id="notice"><%= notice %></p>
<p>
<strong>User:</strong>
<%= @positions_held.user.friendly_name %>
</p>
<p>
<strong>Position:</strong>
<%= @positions_held.position.name if @positions_held.position %>
</p>
<p>
<strong>Program:</strong>
<%= @positions_held.program.name if @p... | Allow for empty position and program on positions_helds show | Allow for empty position and program on positions_helds show
| HTML+ERB | mit | rubyforgood/doublehranch,rubyforgood/doublehranch,rubyforgood/doublehranch |
3595c2a65f2bd511497be21ac7f097463da160c8 | app/assets/javascripts/rglossa/core.coffee.erb | app/assets/javascripts/rglossa/core.coffee.erb | window.App = Em.Application.create
LOG_TRANSITIONS: <%= Rails.env == 'development' %>
Em.RSVP.configure 'onerror', (e) ->
console.log(e.message)
console.log(e.stack)
| window.App = Em.Application.create
LOG_TRANSITIONS: <%= Rails.env == 'development' %>
Em.RSVP.configure 'onerror', (e) ->
console?.log(e.message)
console?.log(e.stack)
| Check that console exists before using it | Check that console exists before using it
| HTML+ERB | mit | textlab/glossa,textlab/rglossa,textlab/rglossa,textlab/glossa,textlab/rglossa,textlab/rglossa,textlab/glossa,textlab/glossa,textlab/rglossa,textlab/glossa |
12643f5f28aa04e6338ddf47d3f0c8072b6e992a | app/views/brexit_checker/_share_links.html.erb | app/views/brexit_checker/_share_links.html.erb | <section class="brexit-checker__share">
<% hidden_text = capture do %>
<span class="govuk-visually-hidden">Share on</span>
<% end %>
<h4 class="govuk-heading-m">
<%= I18n.t("brexit_checker.results.share_link_title") %>
</h4>
<%= render "govuk_publishing_components/components/share_links", {
column... | <section class="brexit-checker__share">
<% hidden_text = capture do %>
<span class="govuk-visually-hidden">Share on</span>
<% end %>
<h2 class="govuk-heading-m">
<%= I18n.t("brexit_checker.results.share_link_title") %>
</h2>
<%= render "govuk_publishing_components/components/share_links", {
column... | Change share links title from h4 to h2 | Change share links title from h4 to h2
The level of the heading is on a par with group headings and should be promoted for sensible markup and accessibility
| HTML+ERB | mit | alphagov/finder-frontend,alphagov/finder-frontend,alphagov/finder-frontend,alphagov/finder-frontend |
3bf52e5e5b785fd1c290a2f33f0f6b87c0ab2580 | views/layout.erb | views/layout.erb | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title><%= APP_TITLE %></title>
<link rel="stylesheet" href="https://d2npiipx5ecxt9.cloudfront.net/assets/external_triggers.css" />
<link rel="stylesheet" href="/style.css" />
<script type="text/javascript" src="https://d2npiipx5ecxt9.clo... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title><%= APP_TITLE %></title>
<link rel="stylesheet" href="https://d13nj05qmdn3m1.cloudfront.net/assets/external_triggers.css" />
<link rel="stylesheet" href="/style.css" />
<script type="text/javascript" src="https://d13nj05qmdn3m1.clo... | Revert "Update to point at correct cloudfront bucket." | Revert "Update to point at correct cloudfront bucket."
This reverts commit a8d52760a582a6af74f40df02ea6650fc4215d70.
| HTML+ERB | mit | cosm/tweettriggers,cosm/tweettriggers |
560b4f419daa642157a5eca791291c1882b81495 | source/partials/_header.erb | source/partials/_header.erb | <header>
<div id="logo">
<% link_to '/' do %><%= image_tag 'Between_Screens_Logo_Cube_Up.svg', alt: 'Logo cube' %><% end %>
</div>
<nav class="navigation">
<ul class="nav-list">
<li><%= link_to 'fork!', 'https://github.com/vis-kid/betweenscreens' %></li>
<li><%= link_to 'about', '/pages/about.... | <header>
<div id="logo">
<% link_to '/' do %><%= image_tag 'Between_Screens_Logo_Cube_Up.svg', alt: 'Logo cube' %><% end %>
</div>
<nav class="navigation">
<ul class="nav-list">
<li><%= link_to 'fork!', 'https://github.com/vis-kid/betweenscreens' %></li>
<li><%= link_to 'about', '/pages/about.... | Add dummy links for menu | Add dummy links for menu
investing
startups
| HTML+ERB | mit | vis-kid/bytepushers,vis-kid/bytepushers,vis-kid/bytepushers |
a6c77589c64a1a620b2286aff44312a4394926b0 | lib/smart_answer_flows/marriage-abroad/outcomes/_services_and_fees.govspeak.erb | lib/smart_answer_flows/marriage-abroad/outcomes/_services_and_fees.govspeak.erb | <% if calculator.services.any? %>
## Fees
Service | Fee
-|-
<%= render partial: 'consular_fees_table_items.govspeak.erb',
collection: calculator.services,
as: :service,
locals: { calculator: calculator } %>
<% unless calculator.country_without_consular_facilities? ||
... | <% if calculator.services.any? %>
## Fees
Service | Fee
-|-
<%= render partial: 'consular_fees_table_items.govspeak.erb',
collection: calculator.services,
as: :service,
locals: { calculator: calculator } %>
<% unless calculator.country_without_consular_facilities? ||
... | Simplify conditional logic around link to consular fees | Simplify conditional logic around link to consular fees
The commit titled "Display payment information independently to consular fee
link" means that I'm now able to have this single conditional that determines
whether to display the link to consular fees. Prior to this commit, the outer
conditional decided whether we... | HTML+ERB | mit | alphagov/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers,aledelcueto/smart-answers,aledelcueto/smart-answers |
3bf8376cd5d70d0afeef93a69cbb578cc1fee7ae | core/app/assets/javascripts/admin/variant_autocomplete.js.erb | core/app/assets/javascripts/admin/variant_autocomplete.js.erb | <%#encoding: UTF-8%>
// variant autocompletion
$(document).ready(function() {
if ($('#variant_autocomplete_template').length > 0) {
window.variantTemplate = Handlebars.compile($('#variant_autocomplete_template').text());
}
})
formatVariantResult = function(variant) {
if (variant["images"][0] != undefined &&... | <%#encoding: UTF-8%>
// variant autocompletion
$(document).ready(function() {
if ($('#variant_autocomplete_template').length > 0) {
window.variantTemplate = Handlebars.compile($('#variant_autocomplete_template').text());
}
})
formatVariantResult = function(variant) {
if (variant["images"][0] != undefined &&... | Reduce minimum characters required for variant autocomplete (from 4 to 3) | Reduce minimum characters required for variant autocomplete (from 4 to 3)
Fixes #2774
| HTML+ERB | bsd-3-clause | lzcabrera/spree-1-3-stable,lzcabrera/spree-1-3-stable,lzcabrera/spree-1-3-stable |
5f3b0ad644f0521354e70f56a81f9a402682d439 | backend/app/views/spree/admin/shared/_settings_sub_menu.html.erb | backend/app/views/spree/admin/shared/_settings_sub_menu.html.erb | <ul class="admin-subnav" data-hook="admin_settings_sub_tabs">
<% if can?(:edit, :general_settings) || can?(:display, Spree::Tracker) || can?(:display, Spree::Taxonomy) %>
<%= tab :general_settings, label: :store, url: spree.edit_admin_general_settings_path %>
<% end %>
<% if can?(:display, Spree::PaymentMeth... | Add settings sub menu partial | Add settings sub menu partial
This settings sub menu partial will compartimentalize the current
general settings. Implementing the new tabbing technology will give us a
much nicer overall interface for the settings instead of the current
overwhelming wall of settings on the right side.
| HTML+ERB | bsd-3-clause | jordan-brough/solidus,Arpsara/solidus,pervino/solidus,pervino/solidus,jordan-brough/solidus,pervino/solidus,jordan-brough/solidus,Arpsara/solidus,Arpsara/solidus,jordan-brough/solidus,pervino/solidus,Arpsara/solidus | |
f3d2be061d713c0604be8a4949fad9cb1eb5a59f | app/views/instruments/show.html.erb | app/views/instruments/show.html.erb | <h1><%= @instrument.title %></h1>
<section class="widget">
<header>
<div class="actions hidden-xs-portrait">
<%= link_to instrument_instrument_translations_path(@instrument), class: 'btn btn-primary' do %>
<i class="icon-globe"></i> Translations
<% end %>
<%= link_to instrument_version... | <h1><%= @instrument.title %></h1>
<section class="widget">
<header>
<div class="actions hidden-xs-portrait">
<%= link_to instrument_instrument_translations_path(@instrument), class: 'btn btn-primary' do %>
<i class="icon-globe"></i> Translations
<% end %>
<%= link_to instrument_version... | Make current version a badge | Make current version a badge
| HTML+ERB | mit | mnipper/rails_survey,DukeMobileTech/rails_survey,DukeMobileTech/rails_survey,mnipper/rails_survey,DukeMobileTech/rails_survey,mnipper/rails_survey |
5c808a7ed347c83f3b34136f74d38ef2697bd270 | app/views/prisms/visualize.html.erb | app/views/prisms/visualize.html.erb | <% content_for :extra_head do %>
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript" charset="utf-8">
$(function() {
setup_visualize();
select_vis($("span.vis_selection")[0]);
$( "#visualizations" ).accordion({heightStyle: "content"});
});
google.lo... |
<div id="Prismabob">
<h1><%= @prism.title.html_safe %></h1>
<h2><%= @prism.author %></h2>
<div class="text">
<%= @prism.content.html_safe %>
</div>
</div>
<div id="sidebar">
<%= render 'vizopts' %>
<p><%= render 'cc_license' %></p>
<p id="viz-count">
<span><% if @prism.word_markings... | Remove content_for block from visualize | Remove content_for block from visualize
content_for is not applied in caches. See http://apidock.com/rails/ActionView/Helpers/CaptureHelper/content_for
| HTML+ERB | apache-2.0 | scholarslab/prism,scholarslab/prism,scholarslab/prism |
c6e64ef8f414e60ccd082d06ef52e84c173b80b5 | frontend/app/views/spree/shared/_head.html.erb | frontend/app/views/spree/shared/_head.html.erb | <title><%= title %></title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<%== meta_data_tags %>
<%= canonical_tag(current_store.url) %>
<%= favicon_link_tag 'favicon.ico' %>
<%= stylesheet_link_tag 'spree/frontend/all', media: 'screen' %>
<%= csrf_meta_tags %>
<%= render 'spree/shared/paths' %... | <title><%= title %></title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<%== meta_data_tags %>
<%= canonical_tag(current_store.url) %>
<%= favicon_link_tag 'favicon.ico' %>
<%= stylesheet_link_tag 'spree/frontend/all', media: 'screen' %>
<%= csrf_meta_tags %>
<%= render 'spree/shared/paths' %... | Remove duplicate JS code in header | Remove duplicate JS code in header
| HTML+ERB | bsd-3-clause | imella/spree,imella/spree,ayb/spree,ayb/spree,imella/spree,ayb/spree,ayb/spree |
1b310b76752411342ee03d1a802795167a3ddaf4 | server/webapp/WEB-INF/rails.new/app/views/shared/_head.html.erb | server/webapp/WEB-INF/rails.new/app/views/shared/_head.html.erb | <title>
<%= @view_title %> - Go
</title>
<%= yield :before_stylesheets %>
<%= stylesheet_link_tag "application", {media: "all", debug: Rails.env.development? && params[:debug_assets]} %>
<%= stylesheet_link_tag "patterns/application", {media: "all", debug: Rails.env.development? && params[:debug_assets]} %>
<!-- S... | <title>
<%= @view_title %> - Go
</title>
<%= yield :before_stylesheets %>
<%= stylesheet_link_tag "application", {media: "all", debug: Rails.env.development? && params[:debug_assets]} %>
<%= stylesheet_link_tag "patterns/application", {media: "all", debug: Rails.env.development? && params[:debug_assets]} %>
<%= ja... | Remove unused css injection hooks | Remove unused css injection hooks
| HTML+ERB | apache-2.0 | gocd/gocd,gocd/gocd,marques-work/gocd,xli/gocd,naveenbhaskar/gocd,ind9/gocd,gocd/gocd,GaneshSPatil/gocd,ketan/gocd,kierarad/gocd,VibyJocke/gocd,kyleolivo/gocd,naveenbhaskar/gocd,zabil/gocd,ind9/gocd,ind9/gocd,jyotisingh/gocd,varshavaradarajan/gocd,ind9/gocd,stephen-murby/gocd,ind9/gocd,juhijariwala/gocd,stevem999/gocd,... |
68a653b051ef498b218f371cae632db9970c3a07 | app/views/groups/new.html.erb | app/views/groups/new.html.erb | <h1>New Group</h1>
<% form_for :group, :url => groups_url, :id => "new_group_form" do |f| %>
<%= f.error_messages %>
<%= render :partial => "form" %>
<div class="buttons clear">
<button class="btn_create" onclick="$('new_group_form').submit();">Create</button>
<a href="<%= home_path %>" class="canc... | <h1>New Group</h1>
<% form_for :group, :url => groups_url, :html => {:id => "new_group_form"} do |f| %>
<%= f.error_messages %>
<%= render :partial => "form" %>
<div class="buttons clear">
<button class="btn_create" onclick="$('new_group_form').submit();">Create</button>
<a href="<%= home_path %>" ... | Fix form submission on IE | Fix form submission on IE
| HTML+ERB | mit | aiaio/mortimer,correcthorse/mortimer,aiaio/mortimer,aiaio/mortimer,correcthorse/mortimer,correcthorse/mortimer |
d300c391d220a5b3402b65cfe9137c03f65aadd9 | app/views/home/index.html.erb | app/views/home/index.html.erb | <% content_for :head do -%>
<%= webpack_styles_tag "hello_world", "hello_world" %>
<% end -%>
<%= render "shared/default_client_settings" %>
<%= webpack_manifest_script("hello_world") %>
<div id="main-app"></div>
<%= webpack_bundle_tag "hello_world", "hello_world_manifest" %>
<%= webpack_bundle_tag "hello_world", "... | <div id="main-app"></div>
| Remove unnecessary webpack helpers from index page | Remove unnecessary webpack helpers from index page | HTML+ERB | mit | atomicjolt/adhesion,atomicjolt/adhesion,atomicjolt/adhesion,atomicjolt/adhesion |
b8e608340ca158a0e9d51e013015aa9d60eb7437 | lib/smart_answer_flows/uk-benefits-abroad/outcomes/bb_already_abroad_ss_outcome.erb | lib/smart_answer_flows/uk-benefits-abroad/outcomes/bb_already_abroad_ss_outcome.erb | <% govspeak_for :body do %>
You can claim Bereavement Allowance, Bereavement Payment or Widowed Parent's Allowance as appropriate.
Find out how to claim:
- [Bereavement Allowance](/bereavement-allowance#how-to-claim)
- [Bereavement Payment](/bereavement-payment#how-to-claim)
- [Widowed Parent's Allowance](/... | <% govspeak_for :body do %>
<% if calculator.country == "bermuda" || calculator.country == "mauritius"%>
You might be able to get Widowed Parent’s Allowance. [Find out how to claim](/widowed-parents-allowance).
<% else %>
You might be able to get Bereavement Support Payment or Widowed Parent’s Allowance.
... | Update /already_abroad non EEA countries | Update /already_abroad non EEA countries
There is a slightly different outcome for Bermuda and Mauritius.
| HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
972667a31b11a770c659c57333b20876ecf46fe1 | alert_templates/shared/diego/LRPs_auction_failure_per_min_too_high.json.erb | alert_templates/shared/diego/LRPs_auction_failure_per_min_too_high.json.erb | {
"query": "min(last_15m):per_minute(avg:datadog.nozzle.auctioneer.AuctioneerLRPAuctionsFailed{deployment:<%= metron_agent_diego_deployment %>}) > 1",
"message": "<%= cloudops_pagerduty %> <%= diego_oncall %>",
"name": "<%= environment %> Diego: LRP Auction Failure per min is too high",
"no_data_timeframe": 30,... | {
"query": "min(last_15m):per_minute(avg:datadog.nozzle.auctioneer.AuctioneerLRPAuctionsFailed{deployment:<%= metron_agent_diego_deployment %>}) > 1",
"message": "<%= cloudops_pagerduty %> <%= diego_oncall %>",
"name": "<%= environment %> Diego: LRP Auction Failure per min is too high",
"no_data_timeframe": 30,... | Disable alerting for "no data" on LRP auction failure | Disable alerting for "no data" on LRP auction failure
Signed-off-by: Jim Park <7187dadeaa9825054bf26bb1a84055243400af16@pivotal.io>
| HTML+ERB | apache-2.0 | pivotal-cf-experimental/datadog-config-oss,pivotal-cf-experimental/datadog-config-oss |
fc0c02092e7b39b736907abb6cef86e748bbcbfb | source/partials/_navigation.erb | source/partials/_navigation.erb | <div class="navigation">
<nav role="navigation">
<ul class="navigation-menu">
<li class="nav-link"><%= link_to "home", '/' %></li>
<li class="nav-link"><%= link_to "jots", '/jots.html' %></li>
<li class="nav-link"><%= link_to "projects", '/projects.html' %></li>
</ul>
</nav>
<div id="se... | <div class="navigation">
<nav role="navigation">
<ul class="navigation-menu">
<li class="nav-link"><%= link_to "articles", '/articles.html' %></li>
<li class="nav-link"><%= link_to "projects", '/projects.html' %></li>
<li class="nav-link"><%= link_to "jots", '/jots.html' %></li>
</ul>
</na... | Update the navigation partial to point to the 3 site sections | Update the navigation partial to point to the 3 site sections
| HTML+ERB | mit | fractaledmind/fractaled_mind,fractaledmind/fractaled_mind,smargh/fractaled_mind,smargh/fractaled_mind,fractaledmind/fractaled_mind,smargh/fractaled_mind,fractaledmind/fractaled_mind,smargh/fractaled_mind |
fd368190844820bb8dc858e8e98b855914cab22e | source/partials/_footer.erb | source/partials/_footer.erb |
<section id="footer">
<div id="credits" class="container">
<div id="copyright">
Copyright © <%= Time.now.year %> Hacker News Kansai
</div>
<div id="created">
Created by <%= link_to 'FajitaNachos', 'http://fajitanachos.com' %>
</div>
</div>
</section>
|
<section id="footer">
<div id="credits" class="container">
<div id="copyright">
Copyright © <%= Time.now.year %> Hacker News Kansai
</div>
<div id="created">
Created by <%= link_to 'FajitaNachos', 'https://github.com/andrewholsted' %>
</div>
</div>
</se... | Update broken link in footer. | Update broken link in footer. | HTML+ERB | mit | hnkansai/hnkansai.github.io,hnkansai/hnkansai.github.io,hnkansai/hnkansai.github.io |
68a24bec226ec66bb262ecda3302c982b1a2a75a | app/views/partials/_header_business.html.erb | app/views/partials/_header_business.html.erb | <header>
<div class="container">
<div class="logo col span_4">
<h1><a href="/businesses/<%= current_business.id %>">Dinner Winner</a></h1>
</div>
<ul class="right right-links">
<li><a class="business-dash" href="/businesses/<%= current_business.id %>">Business Dashboard</a></li>
|
... | <header>
<div class="container">
<div class="logo col span_4">
<h1><a href="/businesses/<%= current_business.id %>">Dinner Winner</a></h1>
</div>
<ul class="right right-links">
<li><a class="business-dash" href="/businesses/<%= current_business.id %>">Business Dashboard</a></li>
|
... | Fix my deals template link | Fix my deals template link
| HTML+ERB | mit | codemecurtis/dinnerwinner,codemecurtis/dinnerwinner,codemecurtis/dinnerwinner |
ba6576f223861f8a708b06f26c251cf7ef9fdee8 | app/views/uris/show.html.erb | app/views/uris/show.html.erb | <p>
<strong>OpenID</strong> <%= link_to h(uri.uri), h(uri.uri) %>
</p>
<p>
<strong>hCard</strong> <%= uri.uri_property.hcard? %>
</p>
<p>
<strong>FoaF</strong> <%=h uri.uri_property.foaf? %>
</p>
<p>
<strong>Atom/RSS feeds</strong> <%=h uri.uri_property.feeds? %>
</p>
<p>
<strong>Microformats</strong> <%=h uri.uri_... | <p>
<strong>OpenID</strong> <%= link_to h(uri.uri), h(uri.uri) %>
</p>
<p>
<strong>FoaF</strong> <%=h uri.uri_property.foaf? %>
</p>
<p>
<strong>Atom/RSS feeds</strong> <%=h uri.uri_property.feeds? %>
</p>
<p>
<strong>Microformats</strong> <%=h uri.uri_property.microformats %>
</p>
| Remove obsolete hCard from uris/show | Remove obsolete hCard from uris/show
| HTML+ERB | agpl-3.0 | atd/openid-observatory,atd/openid-observatory |
73927bad3ed458074d5764620319e9cd3c4c648a | app/views/users/new.html.erb | app/views/users/new.html.erb | <div class='form-container'>
<div class="individual-form">
<h2>Register New User</h2>
<%= render 'form', item: @user %>
<p>Already have a profile? <%= link_to 'Login here!', login_path%></p>
</div>
</div> | <div class='form-container'>
<div class="individual-form">
<h1>Register New User</h1>
<%= render 'form', item: @user %>
<p>Already have a profile? <%= link_to 'Login here!', login_path%></p>
</div>
</div> | Change User Registration form title from using <h2> to <h1> | Change User Registration form title from using <h2> to <h1>
| HTML+ERB | mit | benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop |
6faf6111b941467b695fc51142e3d4c1d060706f | app/views/users/new.html.erb | app/views/users/new.html.erb | <%= form_for @user do |f| %>
<%= f.label :name %>
<%= f.text_field :name %>
<%= f.label :email %>
<%= f.email_field :email %>
<%= f.label :password %>
<%= f.password_field :password %>
<%= f.label :'confirm password' %>
<%= f.password_field :password_confirmation %>
<%= f.submit %>
<% end %>
| <div class="row"><p></p></div>
<div class="row">
<div class="large-9 columns" role="content">
<h3>Tell DemBoyz your problem:</h3>
<%= form_for @user do |f| %>
<%= f.label :name %>
<%= f.text_field :name %>
<%= f.label :email %>
<%= f.email_field :email %>
<%= f.label :password %>... | Add styling to users new view | Add styling to users new view
| HTML+ERB | mit | rock-doves-2014/DemBoyz-Overflow,rock-doves-2014/DemBoyz-Overflow |
894bb4464f76692f3b6276f1570bbec8a75d0f5b | app/views/okuribito_rails/method_call_situations/index.html.erb | app/views/okuribito_rails/method_call_situations/index.html.erb | <table class="method_call_info">
<tbody>
<tr>
<th>Method name</th>
<th>Number of calls</th>
<th>Monitoring start date</th>
<th>Last call date</th>
</tr>
<% @method_call_situations.each do |method_call_situation| %>
<tr>
<td>
<%= method_call_situation.class_n... | <table class="method_call_info">
<tbody>
<tr>
<th>Method name</th>
<th>Number of calls</th>
<th>Monitoring start date</th>
<th>Last call date</th>
</tr>
<% @method_call_situations.each do |method_call_situation| %>
<tr>
<td>
<%= method_call_situation.class_n... | Fix word from Japanese to English | Fix word from Japanese to English
| HTML+ERB | mit | muramurasan/okuribito_rails,muramurasan/okuribito_rails,muramurasan/okuribito_rails |
c1ce3ffd612b5e93c7b58fba949f8e1f633fa594 | middleman-core/lib/middleman-core/templates/default/source/layouts/layout.erb | middleman-core/lib/middleman-core/templates/default/source/layouts/layout.erb | <!doctype html>
<html>
<head>
<meta charset="utf-8">
<!-- Always force latest IE rendering engine or request Chrome Frame -->
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
<!-- Use title if it's in the page YAML frontmatter -->
<title><%= current_page.data.title || "The ... | <!doctype html>
<html>
<head>
<meta charset="utf-8">
<!-- Always force latest IE rendering engine or request Chrome Frame -->
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
<!-- Use title if it's in the page YAML frontmatter -->
<title><%= current_page.data.title || "The Middlema... | Remove spaces on empty lines | Remove spaces on empty lines
| HTML+ERB | mit | kenshinji/middleman,williamcoates/middleman,bradgessler/middleman,datapimp/middleman,Alx-l/middleman,cyberid41/middleman,Alx-l/middleman,middleman/middleman,datapimp/middleman,flossy/middleman,mojavelinux/middleman,mvastola/middleman,pivotal-cf/middleman,ashfurrow/middleman,williamcoates/middleman,jsdalton/middleman,da... |
25ee23f0c87ffee71f6e25aaddbad89e048a2b19 | 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.each do |key, value|
if value.is_a? Array
value.each do |v|
-%>
<%= key %> = <%= v%>
<%
end
else
-%>
<%= key %... | #
# This file is managed by puppet class 'uwsgi::app'
#
# uwsgi app config for '<%= @name %>'
#
[uwsgi]
uid = <%= @uid %>
gid = <%= @gid %>
<%
if @application_options
@application_options.each do |key, value|
if value.is_a? Array
value.each do |v|
-%>
<%= key %> = <%= v%>
<%
end
else
-%>
<%= key %... | Make a logical seperation of setting values | Make a logical seperation of setting values
| HTML+ERB | apache-2.0 | cwood/puppet-uwsgi,cwood/puppet-uwsgi,cwood/puppet-uwsgi |
692a527142f8156ebaa7c67911e1e5601adfc587 | app/views/layouts/_header.erb | app/views/layouts/_header.erb | <header>
<h1> the Hive </h1>
<% if current_user %>
<div><%= current_user.username%></div>
<div><%= link_to "Profile", user_path(session[:user_id]) %></div>
<div><%= link_to "Logout", logout_path %></div>
<% end %>
<div class='flash'> <%= flash[:notice]%> </div>
</header>
| <nav class="top-bar" data-topbar role="navigation">
<ul class="left">
<li class="name">
<h2>the Hive</h2>
</li>
</ul>
<ul class="right">
<% if current_user %>
<li><%= current_user.username%></li>
<li><%= link_to "Profile", user_path(session[:user_id]) %></li>
<li><%= link_to "Logout", logout_path %>... | Add float divs to nav bar | Add float divs to nav bar
| HTML+ERB | mit | ChristineSchatz/the-hive,Jguzik83/the-hive,nyc-bumblebees-2015/the-hive,Jguzik83/the-hive,ChristineSchatz/the-hive,nyc-bumblebees-2015/the-hive,ChristineSchatz/the-hive,AlinaJahnes/the-hive,Jguzik83/the-hive,AlinaJahnes/the-hive,AlinaJahnes/the-hive,nyc-bumblebees-2015/the-hive |
02ec71ad83f0d9bcc41f5224620f74561f25c038 | app/views/users/show.html.erb | app/views/users/show.html.erb | <h3><%= @user.username %> profile</h3>
<p>Past Questions:</p>
<ul>
<% @user.questions.each do |q| %>
<li><%= q.title %></li>
<% end %>
</ul>
<p>Answers You've Given:</p>
<ul>
<% @user.answers.each do |a| %>
<li>Answer: <%= a.content %> | Question: <%= a.question %>, by: <%= a.question.aske... | Create template to show user profile page | Create template to show user profile page
| HTML+ERB | mit | jeder28/stack_overphil,jeder28/stack_overphil,jeder28/stack_overphil | |
29631f65f1ae8d78ae61ed1e19e10d2b52b04387 | app/assets/javascripts/ember_include.js.erb | app/assets/javascripts/ember_include.js.erb | <%
if Rails.env.development? || Rails.env.test?
require_asset ("ember-template-compiler.js")
require_asset ("ember.custom.debug.js")
else
require_asset ("ember.prod.js")
end
%>
| <%
if Rails.env.development? || Rails.env.test?
require_asset ("ember-template-compiler.js")
require_asset ("ember.custom.debug.js")
else
require_asset ("ember-template-compiler.js")
require_asset ("ember.prod.js")
end
%>
| Include the template compiler in production mode. | Include the template compiler in production mode.
Some people use this for customizations.
| HTML+ERB | mit | natefinch/discourse,natefinch/discourse |
984395bb6c3864c712417d362e35861b302ae5c5 | app/views/general/_locale_switcher.html.erb | app/views/general/_locale_switcher.html.erb | <% if @locales[:available].any? && !params.empty? %>
<div id="user_locale_switcher" class="locale-list">
<p class="locale-list-trigger <% @locales[:current] %>">
<strong class="current-locale"><%= locale_name(@locales[:current]) %></strong>
</p>
<ul class="available-languages">
<% @locales[:availab... | <% if @locales[:available].any? %>
<div id="user_locale_switcher" class="locale-list">
<p class="locale-list-trigger <% @locales[:current] %>">
<strong class="current-locale"><%= locale_name(@locales[:current]) %></strong>
</p>
<ul class="available-languages">
<% @locales[:available].each do |local... | Remove params check in locale switcher | Remove params check in locale switcher
Introduced in 8eed2061. Specs all pass so I think its a hangover from an
old way of routing.
| HTML+ERB | agpl-3.0 | 4bic/alaveteli,nzherald/alaveteli,nzherald/alaveteli,4bic/alaveteli,Br3nda/alaveteli,Br3nda/alaveteli,Br3nda/alaveteli,Br3nda/alaveteli,4bic/alaveteli,nzherald/alaveteli,nzherald/alaveteli,4bic/alaveteli,Br3nda/alaveteli,4bic/alaveteli,nzherald/alaveteli |
74ed20b23eda38837f7854d203a389736238d3d1 | app/views/devise/mailer/reset_password_instructions.html.erb | app/views/devise/mailer/reset_password_instructions.html.erb | <p>Hello <%= @resource.email %>!</p>
<p>Someone has requested a link to change your password. You can do this through the link below.</p>
<p><%= link_to 'Change my password', edit_password_url(@resource, :reset_password_token => @resource.reset_password_token) %></p>
<p>If you didn't request this, please ignore this... | <p>Hello <%= @resource.first_name %>!</p>
<p>Someone has requested a link to change your password. You can do this through the link below.</p>
<p><%= link_to 'Change my password', edit_password_url(@resource, :reset_password_token => @resource.reset_password_token) %></p>
<p>If you didn't request this, please ignore... | Update password recovery email message | Update password recovery email message
| HTML+ERB | mit | SoPR/sopr-platform,SoPR/sopr-platform |
fc3811c2caeaf570acda853d6c0e398634e13400 | app/views/makers/show.html.erb | app/views/makers/show.html.erb | <h1><%= "Contributions from #{@maker.name}" %></h1>
<% if @jerries.any? %>
<% @jerries.each do |jerry| %>
<p>
<%= link_to image_tag(jerry.avatar.url(:small).to_s), jerry_path(jerry) if jerry.avatar.url %>
<%= link_to jerry.name, jerry_path(jerry) %>
</p>
<% end %>
<% end %>
| <h1><%= "Contributions from #{@maker.name}" %></h1>
<% if @jerries.any? %>
<% @jerries.each do |jerry| %>
<p>
<% if jerry.avatar.url %>
<%= link_to image_tag(jerry.avatar.url(:small).to_s), jerry_path(jerry) %>
<% else %>
<%= link_to image_tag("http://placehold.it/50x50&text=#{jerry.name.first.upcase}")... | Fix thumbnails on maker profile | Fix thumbnails on maker profile
| HTML+ERB | agpl-3.0 | JerryDIT/adoptajerry,JerryDIT/adoptajerry,ekkans/adoptajerry,JerryDIT/adoptajerry,ekkans/adoptajerry,ekkans/adoptajerry |
5ee1d5418d4c9fe7e45fe53c2f8ee289ebc892a7 | app/views/songs/_show.html.erb | app/views/songs/_show.html.erb | <div class="modal fade" tabindex="-1" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title"><%= song... | <div class="modal fade" tabindex="-1" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h3 class="modal-title">Title: <... | Add modal to song show | Add modal to song show
| HTML+ERB | mit | kromitj/ear-shot,kromitj/ear-shot,kromitj/ear-shot |
f0a9668eaddf197cc323ed13089ace19949d558e | app/views/layouts/footer.erb | app/views/layouts/footer.erb | <br/>
<font color="white">(c) Copyright 2010-2012 Mickael Faivre-Maçon</font>
<div id="footer">
<a target="_blank" href="https://sqli.steering-project.com/page.php?controller=lancementappli&prj_id=TO2848&app_id=2">
Report a bug or an evolution
</a>
</div>
| <br/>
<font color="white">(c) Copyright 2010-2012 Mickael Faivre-Maçon</font>
<div id="footer">
<a target="_blank" href="https://sqli.steering-project.com/page.php?controller=lancementappli&prj_id=TO4043&app_id=2">
Report a bug or an evolution
</a>
</div>
| Update TO for report a bug | Update TO for report a bug
| HTML+ERB | bsd-3-clause | eisq/scpm,eisq/scpm,eisq/scpm,eisq/scpm,micktaiwan/scpm,micktaiwan/scpm,micktaiwan/scpm |
ac6139970dc5b1bee4ad7f7e8ee7f0049a884940 | app/views/defence_requests/form_partials/_solicitor_search.html.erb | app/views/defence_requests/form_partials/_solicitor_search.html.erb | <div class="hidden" id='search-box'>
<div class="form-group solicitor-search-wrapper">
<p class="form-hint"><%= t('solicitor_search').html_safe %></p>
<%= text_field_tag 'q', nil, autocomplete: "off", autofocus: true, class: "no-enter-submit search-text-field text-field" %>
<%= button_tag t('search'), cla... | <div class="hidden" id='search-box'>
<div class="form-group solicitor-search-wrapper">
<p class="form-hint"><%= t('solicitor_search').html_safe %></p>
<%= text_field_tag 'q', nil, autocomplete: "off", autofocus: true, class: "no-enter-submit search-text-field text-field" %>
<%= button_tag t('search'), typ... | Stop search being submitted by enter on DR form | Stop search being submitted by enter on DR form
Not sure when this broke, but the dr form was
submitting the search when enter was pressed on
any field, apparently browsers assume any button
without `type="button"` is a submit button. | HTML+ERB | mit | ministryofjustice/defence-request-service,ministryofjustice/defence-request-service,ministryofjustice/defence-request-service,ministryofjustice/defence-request-service |
866fa63dabb047c4ca8e290298e4760635790011 | views/layout.erb | views/layout.erb | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title><%=h @page_title %></title>
<meta content="<%=h @page_section %>" name="x-section-name">
<meta content="<%=h @page_section_link %>" name="x-section-link">
<% yield_content :head %>
</head>
<body class="<%= proposition %>">
<div id="wrap... | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title><%=h @page_title %></title>
<meta content="<%=h @page_section %>" name="x-section-name">
<meta content="<%=h @page_section_link %>" name="x-section-link">
<%= yield_content :head %>
</head>
<body class="<%= proposition %>">
<div id="wra... | Tweak to try and get JSON links into search page headers | Tweak to try and get JSON links into search page headers
| HTML+ERB | mit | theodi/rummager,alphagov/rummager,alphagov/rummager,theodi/rummager |
234f0155aa5c3e9b6f731c44af25a9871374dd0c | app/views/application_mailer/new_gem_admin_notification.html.erb | app/views/application_mailer/new_gem_admin_notification.html.erb | <!DOCTYPE html>
<html>
<head>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
<ul>
<li>Status: <%= @gem.status %></li>
<li>Notes: <%= @gem.notes %></li>
<li>Link: <%= link_to @gem.name, rubygem_url(@gem) %></li>
</ul>
</bo... | <!DOCTYPE html>
<html>
<head>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
<ul>
<li>Status: <%= @gem.status %></li>
<li>Notes: <%= @gem.notes %></li>
<li>Link: <%= link_to @gem.name, rubygem_url(@gem) %></li>
</ul>
</body>
</html>
| Fix indentation in mailer template | Fix indentation in mailer template
| HTML+ERB | mit | rubyperu/ready4rails,rubyperu/ready4rails,rubyperu/ready4rails |
0e1bdc58bbf09115b09a0a5fd91164e3f33887a9 | app/views/patients/_menu_pledge_button.html.erb | app/views/patients/_menu_pledge_button.html.erb | <% if not patient.pledge_sent? %>
<%= link_to submit_pledge_button, submit_pledge_path(patient), class:'submit-pledge-button', aria: { label: t('patient.menu.submit_pledge') }, remote: true %>
<% else %>
<%= link_to cancel_pledge_button, submit_pledge_path(patient), class:'submit-pledge-button', remote: true %>
<% ... | <% if not patient.pledge_sent? %>
<%= link_to submit_pledge_button, submit_pledge_path(patient), class:'submit-pledge-button', aria: { label: t('patient.menu.submit_pledge') }, remote: true %>
<% else %>
<%= link_to cancel_pledge_button, submit_pledge_path(patient), class:'submit-pledge-button', aria: { label: t('p... | Add label to cancel pledge button | Add label to cancel pledge button
| HTML+ERB | mit | colinxfleming/dcaf_case_management,Kevin-Wei/dcaf_case_management,Kevin-Wei/dcaf_case_management,lomky/dcaf_case_management,DCAFEngineering/dcaf_case_management,lomky/dcaf_case_management,DCAFEngineering/dcaf_case_management,lomky/dcaf_case_management,colinxfleming/dcaf_case_management,lomky/dcaf_case_management,Kevin-... |
ce075fe0b5b4031fd018e2ab5b6daeab6d9d5009 | plugins/fb_app/views/fb_app_plugin_page_tab/_config.html.erb | plugins/fb_app/views/fb_app_plugin_page_tab/_config.html.erb | <div id="page-tab-<%= page_tab.id || 'new' %>" class='page-tab'>
<h3>
<% if page_tab.page_id %>
<%# button nil, t('fb_app_plugin.views.myprofile.catalog.see_page'), "https://facebook.com/#{page_tab.page_id}/app_#{FbAppPlugin.page_tab_app_credentials[:id]}", target: '_blank' %>
<%# button nil, t('fb_... | <div id="page-tab-<%= page_tab.id || 'new' %>" class='page-tab'>
<h3>
<% if page_tab.page_id %>
<%= page_tab.name %>
<%# button nil, t('fb_app_plugin.views.myprofile.catalog.see_page'), "https://facebook.com/#{page_tab.page_id}/app_#{FbAppPlugin.page_tab_app_credentials[:id]}", target: '_blank' %>
... | Put the name to each catalog | Put the name to each catalog | HTML+ERB | agpl-3.0 | coletivoEITA/noosfero-ecosol,CIRANDAS/noosfero-ecosol,blogoosfero/noosfero,EcoAlternative/noosfero-ecosol,samasti/noosfero,coletivoEITA/noosfero-ecosol,EcoAlternative/noosfero-ecosol,samasti/noosfero,CIRANDAS/noosfero-ecosol,samasti/noosfero,blogoosfero/noosfero,blogoosfero/noosfero,EcoAlternative/noosfero-ecosol,blogo... |
521ec5885b52649af5452d543c62cad0b4905780 | puppet/zulip_ops/templates/supervisor/conf.d/munin_tunnels.conf.erb | puppet/zulip_ops/templates/supervisor/conf.d/munin_tunnels.conf.erb | ; This file was auto-generated by Puppet. Do not edit by hand.
<%
i = 0
@hosts.each do |host|
-%>
[program:munin-tunnel-<%= host %>]
command=autossh -N -M <%= 20000 + 2 * i %> -L <%= 5000 + i %>:localhost:4949 -o ControlMaster=yes nagios@<%= host %><% unless host.include?(".") %>.<%= @default_host_domain %><% end %>
... | ; This file was auto-generated by Puppet. Do not edit by hand.
<%
i = 0
@hosts.each do |host|
-%>
[program:autossh-tunnel-<%= host %>]
command=autossh -N -M <%= 20000 + 2 * i %> -L <%= 5000 + i %>:localhost:4949 -o ControlMaster=yes nagios@<%= host %><% unless host.include?(".") %>.<%= @default_host_domain %><% end %... | Rename autossh tunnel, as it is no longer for just munin. | puppet: Rename autossh tunnel, as it is no longer for just munin.
| HTML+ERB | apache-2.0 | zulip/zulip,zulip/zulip,zulip/zulip,zulip/zulip,zulip/zulip,zulip/zulip,zulip/zulip |
1ab0f7a4bde8d60e96f602cd9ba764fca951d9aa | app/views/contacts/_contact.html.erb | app/views/contacts/_contact.html.erb | <%= div_for contact, :class => 'row' do %>
<ul class="thumbnails span3">
<li class="span1">
<%= link_to(image_tag(contact.receiver.logo.url(:profile)),
contact.receiver_subject, :class => "container") %>
</li>
<li class="span">
<div class="caption elipsis">
<div class="title... | <%= div_for contact, :class => 'row' do %>
<ul class="thumbnails span3">
<li class="span1">
<%= link_to(image_tag(contact.receiver.logo.url(:profile)),
contact.receiver_subject, :class => "container") %>
</li>
<li class="span">
<div class="caption elipsis">
<div class="title... | Fix contact suggestion links for followers/followings | Fix contact suggestion links for followers/followings
| HTML+ERB | agpl-3.0 | ging/vish_orange,agordillo/vish,ging/vish,rogervaas/vish,nathanV38/vishTst,agordillo/vish,ging/vish,ging/vish,ging/vish,rogervaas/vish,suec78/vish_storyrobin,suec78/vish_storyrobin,nathanV38/vishTst,ging/vish_orange,agordillo/vish,ging/vish_orange,ging/vish,suec78/vish_storyrobin,rogervaas/vish,agordillo/vish,ging/vish... |
a3b2294e564ee34626e850f03caf7e11be61672f | app/views/forums/posts/edit.html.erb | app/views/forums/posts/edit.html.erb | <h2>Edit</h2>
<%= form_for @post, url: course_forum_topic_post_path(@course, @forum, @topic, @post, method: 'PUT') do |f| %>
<%= render partial: 'form', locals: { reply_to: nil, form: f } %>
<%= f.submit 'Save', class: 'btn btn-primary' %>
<% end %>
| <div class="forum">
<%= render partial: 'forums/topics/header', locals: { topic: @topic } %>
<h3>Edit Post</h3>
<%= form_for @post, url: course_forum_topic_post_path(@course, @forum, @topic, @post, method: 'PUT') do |f| %>
<%= render partial: 'form', locals: { reply_to: nil, form: f } %>
<%= f.submit 'Sa... | Edit post should have a breadcrumb to navigate. | Edit post should have a breadcrumb to navigate.
| HTML+ERB | mit | nnamon/coursemology.org,allenwq/coursemology.org,Coursemology/coursemology.org,dariusf/coursemology.org,nnamon/coursemology.org,nnamon/coursemology.org,Coursemology/coursemology.org,nusedutech/coursemology.org,nusedutech/coursemology.org,dariusf/coursemology.org,dariusf/coursemology.org,allenwq/coursemology.org,allenwq... |
eea83bd6e4411641a56927c87d290e62d9155bec | app/views/static_pages/home.html.erb | app/views/static_pages/home.html.erb |
<div class="center jumbotron">
<h2 class>OSS Badge Program</h2>
<p>
The CII Best Practices badge is a way for open source software (OSS) projects to
show that they follow best practices. Projects can voluntarily self-certify,
at no cost, by using this web application to explain how they follow each
... |
<div class="center jumbotron">
<h2 class>CII Best Practices Badge Program</h2>
<p>
The Core Infrastructure Initiative (CII)
Best Practices badge is a way for Free/Libre and
Open Source Software (FLOSS) projects to
show that they follow best practices. Projects can voluntarily self-certify,
at... | Fix up home page so FLOSS term is used | Fix up home page so FLOSS term is used
Signed-off-by: David A. Wheeler <9ae72d22d8b894b865a7a496af4fab6320e6abb2@dwheeler.com>
| HTML+ERB | mit | coreinfrastructure/best-practices-badge,wanganyv/cii-best-practices-badge,dwvisser/cii-best-practices-badge,jdossett/cii-best-practices-badge,jdossett/cii-best-practices-badge,linuxfoundation/cii-best-practices-badge,coreinfrastructure/best-practices-badge,jdossett/cii-best-practices-badge,linuxfoundation/cii-best-prac... |
b97535a46d52a6424d4e2c120745db38e198c64e | app/views/categories/_form.html.erb | app/views/categories/_form.html.erb | <h2>This is where your category form partial will go, to be rendered in new and edit</h2> | <h2>This is where your category form partial will go, to be rendered in new and edit</h2>
<%= form_for(category) do |f| %>
<div>
<%= f.label :name %>:
<%= f.text_field :name %>
</div>
<div>
<%= f.submit %>
</div>
<% end %>
<% @category.errors.each do |error_array, error| %>
<p><%= flash[:error]... | Create form for creating a new category | Create form for creating a new category
| HTML+ERB | mit | benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop |
9fc767848f7f140421ebee31794b387c3a033dc0 | app/views/categories/index.html.erb | app/views/categories/index.html.erb | <p id="notice"><%= notice %></p>
<h1>Listing Categories</h1>
<table>
<thead>
<tr>
<th>Name</th>
<th>Category</th>
<th colspan="3"></th>
</tr>
</thead>
<tbody>
<% @categories.each do |category| %>
<tr>
<td><%= category.name %></td>
<td><%= category.category.na... | <p id="notice"><%= notice %></p>
<h1>Listing Categories</h1>
<table>
<thead>
<tr>
<th>Name</th>
<th></th>
</tr>
</thead>
<tbody>
<% @categories.each do |category| %>
<tr>
<td><%= category.name %></td>
<td><%= link_to 'Show', category %></td>
</tr>
<% end ... | Fix paths no longer exists | Fix paths no longer exists
| HTML+ERB | apache-2.0 | tiagofumo/rails-online-store-sample,tiagofumo/rails-online-store-sample,tiagofumo/rails-online-store-sample |
04e7d4721e06ad5c26350568fe95b3fe72fb1b93 | source/api/module.html.erb | source/api/module.html.erb | <h1 class="api-header"><%= @module['name'] %> Module</h1>
<hr>
<% if @module['module'] %>
<p>Parent: <%= link_to @module['module'], "#{@module['module']}.html" %></p>
<% end %>
<% if @module['requires'] %>
<p>Requires: <%= @module['requires'].map{|r| link_to(r['name'], "#{r['name']}.html") }.join(", ") %></p>
<%... | <h1 class="api-header"><%= @module['name'] %> Module</h1>
<hr>
<% if @module['module'] %>
<p>Parent: <%= link_to @module['module'], "#{@module['module']}.html" %></p>
<% end %>
<% if @module['requires'] %>
<p>Requires: <%= @module['requires'].map{|r| link_to(r, "#{r}.html") }.join(", ") %></p>
<% end %>
<p><%= ... | Fix reference so required modules are properly linked | Fix reference so required modules are properly linked
| HTML+ERB | mit | jimmay5469/website,maxcal/website,koriroys/emberjs-website,jimmay5469/website,mrjavascript/website,kkenan/website,elwayman02/website,shearwater-intl/website,Eric-Guo/website,davidpett/website,cyberkoi/website,duggiefresh/website,knownasilya/website,bmac/website,balupton/ember-website,workmanw/ember-website,tmock12/webs... |
10937a5025753ab9c1b5b48c429c5d855b250a25 | app/views/admin/editions/_statistical_data_set_fields.html.erb | app/views/admin/editions/_statistical_data_set_fields.html.erb | <%= form.label :statistical_data_set_document_ids, 'Related statistical data sets' %>
<%= form.select :statistical_data_set_document_ids, options_from_collection_for_select(statistical_data_set_options, :first, :last, edition.statistical_data_set_document_ids), {}, multiple: true, class: 'chzn-select', data: { placehol... | <%= form.label :statistical_data_set_document_ids, 'Related statistical data sets' %>
<%= form.select :statistical_data_set_document_ids,
options_from_collection_for_select(statistical_data_set_options, :first, :last, edition.statistical_data_set_document_ids),
{ include_blank: true },
... | Add blank option to statistical data sets | Add blank option to statistical data sets
| HTML+ERB | mit | hotvulcan/whitehall,askl56/whitehall,YOTOV-LIMITED/whitehall,hotvulcan/whitehall,robinwhittleton/whitehall,ggoral/whitehall,robinwhittleton/whitehall,askl56/whitehall,ggoral/whitehall,ggoral/whitehall,hotvulcan/whitehall,askl56/whitehall,YOTOV-LIMITED/whitehall,robinwhittleton/whitehall,YOTOV-LIMITED/whitehall,alphagov... |
bc8163be2430f10921b3bf206c56e892a8779227 | app/views/curation_concerns/base/_file_manager_member.html.erb | app/views/curation_concerns/base/_file_manager_member.html.erb | <li data-reorder-id='<%= node.id %>'>
<%= simple_form_for [main_app, node], remote: true do |f| %>
<div class="panel panel-default">
<div class="panel-heading">
<div class="order-title">
<%= f.input :title, as: :string, input_html: { name: "#{f.object.model_name.singular}[title][]", class:... | <li data-reorder-id='<%= node.id %>'>
<%= simple_form_for [main_app, node], remote: true, html: {'data-type': 'json'} do |f| %>
<div class="panel panel-default">
<div class="panel-heading">
<div class="order-title">
<%= f.input :title, as: :string, input_html: { name: "#{f.object.model_nam... | Send remote requests as JSON in FM. | Send remote requests as JSON in FM.
Makes the responses MUCH faster.
| HTML+ERB | apache-2.0 | samvera/hyrax,samvera/hyrax,samvera/hyrax,samvera/hyrax |
129e8ffac67fbb03303845002f565c382ef0e4f1 | app/views/apps/picks.html.erb | app/views/apps/picks.html.erb | <div class="container <% if params[:action] == 'picks' %>container--picks<% end %>">
<header>
<h1>Staff Picks</h1>
<p>Try out some of these exemplary React Native apps.</p>
</header>
<%= render partial: 'apps', locals: {apps: @apps} %>
</div>
| <div class="container <% if params[:action] == 'picks' %>container--picks<% end %>">
<header>
<h1 class="title">Staff Picks</h1>
<p>Try out some of these exemplary React Native apps.</p>
</header>
<%= render partial: 'apps', locals: {apps: @apps} %>
</div>
| Adjust picks view's style a bit | Adjust picks view's style a bit
| HTML+ERB | mit | rnplay/rnplay-web,rnplay/rnplay-web,rnplay/rnplay-web,rnplay/rnplay-web |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.