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 |
|---|---|---|---|---|---|---|---|---|---|
dedeae2941d3c89615c12fbd0ff6214c7868d42c | app/views/ama_layout/_siteheader.html.erb | app/views/ama_layout/_siteheader.html.erb | <header class="site-header">
<div class="row">
<div id="navWrapper">
<div id="pattern" class="pattern">
<a href="#" class="menu-link show-for-small-only"></a>
<%= link_to(image_tag("AMA-Logo.png"), "https://www.ama.ab.ca") %>
<nav id="menu" role="navigation" class="show-for-small-onl... | <header class="site-header">
<div class="row">
<div id="navWrapper">
<div id="pattern" class="pattern">
<%= link_to(image_tag("AMA-Logo.png"), "https://www.ama.ab.ca") %>
<% if current_user %>
<a href="#" class="menu-link show-for-small-only"></a>
<nav id="menu" role="na... | Hide mobile menu if user not logged in. | Hide mobile menu if user not logged in.
| HTML+ERB | mit | amaabca/ama_layout,amaabca/ama_layout,amaabca/ama_layout |
7ab2feff0d62724e84d875447e67ed7505679c2d | app/views/user_invitations/index.html.erb | app/views/user_invitations/index.html.erb | <% content_for :title, "Users" %>
<% content_for :content do %>
<%= render partial: "users/tabs" %>
<div class="table-responsive">
<table class="table table-hover table-striped data-table sort-asc">
<thead>
<tr>
<th>Name</th>
<th>Email</th>
<th>Organization Name</th... | <% content_for :title, "Users" %>
<% content_for :content do %>
<%= render partial: "users/tabs" %>
<div class="table-responsive">
<table class="table table-hover table-striped data-table">
<thead>
<tr>
<th>Name</th>
<th>Email</th>
<th>Organization Name</th>
... | Move sort for expires to column | Move sort for expires to column
| HTML+ERB | mit | on-site/StockAid,on-site/StockAid,on-site/StockAid |
1b95307f464f91db18bbc20b408af09a6b54ead1 | source/subscription/subscription_form.erb | source/subscription/subscription_form.erb | ---
layout: subscription
---
<script>
$(function(){
var subdomain = '<%= @subdomain %>';
var currency = '<%= @default_currency %>'
var signature = '<%= @signature %>'
var plan_code = '<%= @plan_code %>'
Recurly.config({
subdomain: subdomain,
currency: currency
});
Recurly.buildSubscriptionForm({
... | ---
layout: subscription
---
<script>
$(function(){
var subdomain = '<%= @subdomain %>';
var currency = '<%= @default_currency %>'
var signature = '<%= @signature %>'
var plan_code = '<%= @plan_code %>'
Recurly.config({
subdomain: subdomain,
currency: currency
});
Recurly.buildSubscriptionForm({
... | Add organization/company field to subscription form. | Add organization/company field to subscription form.
| HTML+ERB | mit | damianhakert/damianhakert.github.io |
1e71296b638670db1fa4f182114d9dd75e828617 | vendor/chef-server-12/templates/default/chef-server.rb.erb | vendor/chef-server-12/templates/default/chef-server.rb.erb | topology '<%= node['chef-server-12']['topology'] %>'
api_fqdn '<%= node['chef-server-12']['api_fqdn'] %>'
nginx['server_name'] = '<%= node['chef-server-12']['api_fqdn'] %>'
<%
if node['chef-server-12']['analytics'] || node['chef-server-12']['supermarket']
@applications = {}
@applications.merge!({
analytics: {
... | topology '<%= node['chef-server-12']['topology'] %>'
api_fqdn '<%= node['chef-server-12']['api_fqdn'] %>'
nginx['server_name'] = '<%= node['chef-server-12']['api_fqdn'] %>'
<%
if node['chef-server-12']['analytics'] || node['chef-server-12']['supermarket']
@applications = {}
@applications.merge!({
analytics: {
... | Add `oc_id['vip']` to chef-server config | Add `oc_id['vip']` to chef-server config
In Chef Server 12 if /etc/hosts has localhost resolving to both IPv4
and IPv6 IP addresses then rails will bind to the IPv6 address.
This breaks access to OC-ID because oc_id['vip'] currently defaults to
127.0.0.1 which breaks OAuth login for Supermarket and Analytics servers
... | HTML+ERB | apache-2.0 | opscode-cookbooks/delivery-cluster,opscode-cookbooks/delivery-cluster,chef-cookbooks/delivery-cluster,chef-cookbooks/delivery-cluster |
a2f3f5568362679117b088374db3683121438cc9 | app/views/default_templates/_footer.html.erb | app/views/default_templates/_footer.html.erb | <div id="footer">
©<%= year %> <%= website_name %>. All rights reserved.
<a href="http://www.yesl.co.uk/">Ruby on Rails development</a> by Your e Solutions Ltd.
<%= link_to('Terms', terms_path) unless @w.terms_and_conditions.blank? %>
<%= footer_html %>
</div>
<%= admin_links %>
<%= worldpay_logos %>
</div... | <div id="footer">
©<%= year %> <%= website_name %>. All rights reserved.
<a href="http://www.yesl.co.uk/">Ruby on Rails development</a> by Your e Solutions Ltd.
<%= link_to('Terms', terms_path) unless @w.terms_and_conditions.blank? %>
<%= footer_html %>
</div>
<%= worldpay_logos %>
</div><!--#wrapper-->
<d... | Remove admin links from footer | Remove admin links from footer
| HTML+ERB | mit | ianfleeton/zmey,ianfleeton/zmey,ianfleeton/zmey,ianfleeton/zmey |
fdc125c2fa011191b12edb4d28e27cc420fadb27 | app/views/root/report_a_problem.raw.html.erb | app/views/root/report_a_problem.raw.html.erb | <div class="report-a-problem-container">
<div class="report-a-problem-inner">
<div class="report-a-problem-content">
<h2>Help us improve GOV.UK</h2>
<form accept-charset="UTF-8" action="/contact/govuk/problem_reports" method="post">
<div style="margin:0;padding:0;display:inline"><input name="u... | <div class="report-a-problem-container">
<div class="report-a-problem-inner">
<div class="report-a-problem-content">
<h2>Help us improve GOV.UK</h2>
<form accept-charset="UTF-8" action="/contact/govuk/problem_reports" method="post">
<div style="margin:0;padding:0;display:inline"><input name="u... | Replace "eg" with "like" for report a problem | Replace "eg" with "like" for report a problem
https://insidegovuk.blog.gov.uk/2016/07/20/changes-to-the-style-guide-no-more-eg-and-ie-etc/
> Terms like eg, ie and etc, while common, make reading difficult for some.
| HTML+ERB | mit | alphagov/static,alphagov/static,alphagov/static |
62623bb9ff7800c71fde3b7eb341d4315c345c1f | jobs/cassandra/templates/config/cqlshrc.erb | jobs/cassandra/templates/config/cqlshrc.erb | [authentication]
username = cassandra
password = <%=properties.cass_pwd%>
;;keyspace =
[connection]
hostname = <%=spec.ip%>
port = 9042
ssl = <%=properties.cassandra_ssl_YN%>
request_timeout = 1800
[ssl]
certfile = /var/vcap/jobs/cassandra/config/certs/<%=spec.ip%>_<%=properties.cluster_name%>_CLIENT.cer.pem
valida... | [authentication]
username = cassandra
password = <%=properties.cass_pwd%>
;;keyspace =
[connection]
hostname = <%=spec.ip%>
port = <%= p('native_transport_port') %>
ssl = <%=properties.cassandra_ssl_YN%>
request_timeout = 1800
[ssl]
certfile = /var/vcap/jobs/cassandra/config/certs/<%=spec.ip%>_<%=properties.cluster... | Use the actually defined port instead of the hardcoded '9042' value | Use the actually defined port instead of the hardcoded '9042' value
| HTML+ERB | apache-2.0 | emc-cloudfoundry/cassandra-cf-service-boshrelease,emc-cloudfoundry/cassandra-cf-service-boshrelease,emc-cloudfoundry/cassandra-cf-service-boshrelease |
66864f355e1f8ce52ebcc88a555fd873de2446d4 | templates/agent.conf.erb | templates/agent.conf.erb | # Get your api key at https://www.appcanary.com/settings
api_key = "<%= configuration[:appcanary][:api_key] %>"
# ubuntu packages
[[files]]
path = "/var/lib/dpkg/status"
<% if File.exist?(rails_root.join('Gemfile.lock')) %>
[[files]]
path = "<%= rails_root.join('Gemfile.lock') %>"
<% end %>
<% configuration[:appcana... | # Get your api key at https://www.appcanary.com/settings
api_key = "<%= configuration[:appcanary][:api_key] %>"
# ubuntu packages
[[files]]
path = "/var/lib/dpkg/status"
<% if File.exist?(configuration[:deploy_to] + '/current/Gemfile.lock') %>
[[files]]
path = "<%= configuration[:deploy_to] %>/current/Gemfile.lock"
<... | Use /srv/<app_name>/current instead of individual release directories for the app Gemfile.lock | Use /srv/<app_name>/current instead of individual release directories for the app Gemfile.lock
| HTML+ERB | mit | railsmachine/moonshine_appcanary,railsmachine/moonshine_appcanary |
267e8614f115b10c862db3f823fe5d34a65fe3ab | puppet/modules/gerrit/templates/gerrit-firstuser-init.sql.erb | puppet/modules/gerrit/templates/gerrit-firstuser-init.sql.erb | SET @username="<%= @settings['gerrit_admin_username'] %>";
SET @mail="<%= @settings['gerrit_admin_mail'] %>";
SET @pubkey="<%= @settings['gerrit_admin_sshkey'] %>";
SET @pubkey2="<%= @settings['gerrit_local_sshkey'] %>";
INSERT INTO account_external_ids VALUES (1,@mail,NULL,CONCAT('gerrit:',@username)),(1,NULL,NULL,CO... | SET @username="<%= @settings['gerrit_admin_username'] %>";
SET @mail="<%= @settings['gerrit_admin_mail'] %>";
SET @pubkey="<%= @settings['gerrit_admin_sshkey'] %>";
SET @pubkey2="<%= @settings['gerrit_local_sshkey'] %>";
INSERT INTO account_external_ids VALUES (1,@mail,NULL,CONCAT('gerrit:',@username)),(1,NULL,NULL,CO... | Fix duplicate key for admin user in database | Fix duplicate key for admin user in database
This fix avoid the failing of the first
group creation as user admin.
Functional test should no work.
Change-Id: I807638bb3a95b6075d0066a408f03be52f2e78e5
| HTML+ERB | apache-2.0 | invenfantasy/software-factory,enovance/software-factory,invenfantasy/software-factory,enovance/software-factory,enovance/software-factory,invenfantasy/software-factory,enovance/software-factory,enovance/software-factory,invenfantasy/software-factory,invenfantasy/software-factory |
e7406bd241c7f4805886fc95f27009c9bf9209c0 | app/views/francis_cms/photos/index.rss.erb | app/views/francis_cms/photos/index.rss.erb | <?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title><%= francis_cms_config.site_title %>: Photos</title>
<atom:link rel="self" href="<%= photos_url(format: :rss) %>" />
<link><%= photos_url %></link>
<description>Recent photos from <%= francis_cm... | Add photos RSS feed view. | Add photos RSS feed view.
| HTML+ERB | mit | jgarber623/FrancisCMS,FrancisCMS/FrancisCMS,jgarber623/FrancisCMS,FrancisCMS/FrancisCMS,FrancisCMS/FrancisCMS | |
fbaa12065324b38d278e4c65df04a6549eae01cb | upstart/process.conf.erb | upstart/process.conf.erb | start on starting <%= app %>-<%= name %>
stop on stopping <%= app %>-<%= name %>
respawn
respawn limit 50 5
exec su - <%= user %> -c 'cd <%= engine.root %>; export PORT=<%= port %>;<% engine.env.each_pair do |var,env| %> export <%= var.upcase %>="<%= env %>"; <% end %> export TMPDIR=$TMPDIR/<%= app %>/<%= name %>/<%= ... | start on starting <%= app %>-<%= name %>
stop on stopping <%= app %>-<%= name %>
respawn
respawn limit 50 5
exec su - <%= user %> -c 'cd <%= engine.root %>; export PORT=<%= port %>;<% engine.env.each_pair do |var,env| %> export <%= var.upcase %>='\''<%= env %>'\''; <% end %> export TMPDIR=$TMPDIR/<%= app %>/<%= name %... | Add better string escaping to upstart template just in case somebody has an exclamation point in a Django key or something. | Add better string escaping to upstart template just in case somebody has an exclamation point in a Django key or something.
| HTML+ERB | mit | lghamie/cabot,iurisilvio/cabot,movermeyer/cabot,dever860/cabot,arachnys/cabot,robocopio/cabot,mcansky/cabotapp,spladug/cabot,cmclaughlin/cabot,mcansky/cabotapp,movermeyer/cabot,reddit/cabot,xinity/cabot,xinity/cabot,maks-us/cabot,bonniejools/cabot,robocopio/cabot,mcansky/cabotapp,Affirm/cabot,bonniejools/cabot,iurisilv... |
e4459cebbb7c1944013a1870563cd26f8d22d2c7 | app/views/questions/show.html.erb | app/views/questions/show.html.erb | <div class="question-container">
<h2><%= @question.title %></h2>
<div class="question-content"><%= question.content %></div>
<div class="question-author"><%= question.user.name %></div>
<%= render question.comments %>
</div
<div class="answers-container">
<div class="answers-header">
<h3>Answers</h3>
... | <div class="question-container">
<h2><%= @question.title %></h2>
<div class="question-content"><%= @question.content %></div>
<div class="question-author"><%= @question.user.name %></div>
<%= render @question.comments %>
</div
<div class="answers-container">
<div class="answers-header">
<h3>Answers</h3>
... | Add div tags to question info and add missing @ sign from question variable | Add div tags to question info and add missing @ sign from question variable
| HTML+ERB | mit | nyc-rock-doves-2015/deviltea-overflow,nyc-rock-doves-2015/deviltea-overflow,nyc-rock-doves-2015/deviltea-overflow |
064b4ea1d1b6a3fd6303f0fadcacdaaa571bd542 | modules/govuk/templates/node/s_deployment/jenkins.conf.erb | modules/govuk/templates/node/s_deployment/jenkins.conf.erb | server {
listen 80;
server_name deploy.*;
location / {
proxy_pass http://localhost:8080;
}
}
server {
listen 80;
server_name puppetdb.*;
location / {
proxy_pass http://puppetdb.cluster/;
}
}
| server {
listen 80;
server_name deploy.*;
location / {
proxy_pass http://localhost:8080;
location /api/json {
proxy_pass http://localhost:8080;
add_header "Access-Control-Allow-Origin" "*";
add_header "Access-Control-Allow-Methods" "GET, POST, OPTIONS";
add_header "Access-Contro... | Add CORS for deployment so we can see build status on dashboards | Add CORS for deployment so we can see build status on dashboards
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
f3b41634e993cfe8e4f31fce4e2b7697b0361224 | flashcards_backend/app/views/flashcards/index.html.erb | flashcards_backend/app/views/flashcards/index.html.erb | <p> These are the flashcards </p>
<p> The lorem card is </p>
<p>*********************************</p>
<ul class="new_lorem">
<li class="lorem_name"><%=@lorem_card.name%></li>
<li class="lorem_description"><%=@lorem_card.description%></li>
<li class="lorem_question"><%=@lorem_card.question%></li>
<li class="lore... | <p> These are the flashcards </p>
<p> The lorem card is </p>
<p>*********************************</p>
<ul class="new_lorem">
<li class="lorem_name"><%=@lorem_card.name%></li>
<li class="lorem_description"><%=@lorem_card.description%></li>
<li class="lorem_question"><%=@lorem_card.question%></li>
<li class="lore... | Change a divider line slightly | Change a divider line slightly
| HTML+ERB | mit | calvinsettachatgul/flashcards,calvinsettachatgul/flashcards,calvinsettachatgul/flashcards |
59fa065e48491190d36f0092a898f62af3be7fe5 | app/views/shared/_default_atomic_docs_client_settings.html.erb | app/views/shared/_default_atomic_docs_client_settings.html.erb | <%-
settings = {
api_url: application_base_url,
csrf_token: form_authenticity_token,
status_url: session_status_api_atomic_docs_path(params[:id])
}
%>
<script type="text/javascript">
window.DEFAULT_SETTINGS = <%= settings.to_json.html_safe %>;
</script>
| <%-
settings = {
api_url: application_base_url,
csrf_token: form_authenticity_token,
status_url: session_status_api_atomic_docs_path(params[:id]),
}
%>
<script type="text/javascript">
window.DEFAULT_SETTINGS = <%= settings.to_json.html_safe %>;
</script>
| Add dangling comma back in | Add dangling comma back in
| HTML+ERB | mit | atomicjolt/adhesion,atomicjolt/adhesion,atomicjolt/adhesion,atomicjolt/adhesion |
64d9c1c72587d663e6b2b255123b98ec05746a0c | example/app/views/projects/_table.html.erb | example/app/views/projects/_table.html.erb | <%- model_class = Project -%>
<table class="table table-striped">
<thead>
<tr>
<th><%= model_class.human_attribute_name(:owner_id) %></th>
<th><%= model_class.human_attribute_name(:name) %></th>
<th><%=t '.actions', :default => t("helpers.actions") %></th>
</tr>
</thead>
<tbody>
<% @... | <%- model_class = Project -%>
<table class="table table-striped">
<thead>
<tr>
<th><%= model_class.human_attribute_name(:owner_id) %></th>
<th><%= model_class.human_attribute_name(:name) %></th>
<th><%= model_class.human_attribute_name(:closed) %></th>
<th><%=t '.actions', :default => t("h... | Add closed column to projects/table partial view | Add closed column to projects/table partial view
| HTML+ERB | mit | akm/model_base_generators,akm/model_base_generators,akm/model_base_generators |
e4e2cfe44253c4058c19da7f1a1e65c7a606e2ef | templates/preseed.erb | templates/preseed.erb | <% if @databases.length == 1 -%>
slapd slapd/domain string <%= @databases.keys[0].split(/,?dc=/).reject! { |c| c.empty? }.join('.') -%>
<% else -%>
slapd slapd/no_configuration boolean true
<% end -%>
| <% if @databases.length == 1 -%>
slapd slapd/domain string <%= @databases.keys[0].split(/,?dc=/).reject! { |c| c.empty? }.join('.') -%>
<% else -%>
slapd slapd/no_configuration boolean true
<% end -%>
| Add carriage return at the end of the remplate | Add carriage return at the end of the remplate
| HTML+ERB | apache-2.0 | netman2k/puppet-openldap,JimPanic/puppet-openldap,woneill/puppet-openldap,olevole/puppet-openldap,nfrance-conseil/puppet-openldap,mcanevet/puppet-openldap,emsearcy/puppet-openldap,raphink/puppet-openldap,camptocamp/puppet-openldap,gnubila-france/puppet-openldap |
8a0d2962abb239b73f82ef5b399e79e56ad639ab | lib/app/views/application/_nav.erb | lib/app/views/application/_nav.erb | <div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a href="http://help.exercism.io">Help</a></li>
<li><a href="/getting-started">Welcome new users</a></li>
<li class="dropdown">
<a class="dropdown-toggle" id="drop-current" href="#" data-toggle="dropdown">Languages<b ... | <div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a href="http://help.exercism.io">Help</a></li>
<% unless current_user.onboarded? %>
<li><a href="/getting-started">Welcome new users</a></li>
<% end %>
<li class="dropdown">
<a class="dropdown-toggle" id="d... | Remove the link for "Welcome new users" for onboarded users. | Remove the link for "Welcome new users" for onboarded users.
| HTML+ERB | agpl-3.0 | amar47shah/exercism.io,kizerxl/exercism.io,RaptorRCX/exercism.io,mhelmetag/exercism.io,beni55/exercism.io,RaptorRCX/exercism.io,nathanbwright/exercism.io,treiff/exercism.io,emilyforst/exercism.io,RaptorRCX/exercism.io,tejasbubane/exercism.io,RaptorRCX/exercism.io,exercistas/exercism.io,bmulvihill/exercism.io,copiousfre... |
9bbcc5707ab25df82b7cdef1a2546145534e0c7e | app/views/devise/confirmations/new.html.erb | app/views/devise/confirmations/new.html.erb | <h2>Resend confirmation instructions</h2>
<%= form_for(resource, :as => resource_name, :url => confirmation_path(resource_name), :html => { :method => :post }) do |f| %>
<%= devise_error_messages! %>
<div><%= f.label :email %><br />
<%= f.email_field :email, :autofocus => true %></div>
<div><%= f.submit "Res... | <div class='container'>
<div class='row-fluid'>
<h2>Resend confirmation instructions</h2>
<%= form_for(resource, :as => resource_name, :url => confirmation_path(resource_name), :html => { :method => :post }) do |f| %>
<%= devise_error_messages! %>
<div>
<%= f.label :email %>
<%=... | Fix Resend Confirmation Instructions form style to match other forms | Fix Resend Confirmation Instructions form style to match other forms
| HTML+ERB | mit | SoPR/sopr-platform,SoPR/sopr-platform |
6ec70e934e8d0a2c0633ab9d62e81366813f0858 | app/views/email_confirmations/edit.html.erb | app/views/email_confirmations/edit.html.erb | <%= form_for @user_session, :url => email_confirmation_path, :html => { :method => :patch } do |f| %>
<p>Veuillez confirmer la modification en entrant votre mot de passe :</p>
<fieldset>
<div class="control-group">
<%= f.label(:email, "Ancienne adresse email") %><br />
<div class="controls">
... | <%= form_for @user_session, :url => email_confirmation_path, :html => { :method => :patch } do |f| %>
<p>Veuillez confirmer la modification en entrant votre mot de passe :</p>
<fieldset>
<div class="form-group">
<%= f.label(:email, "Ancienne adresse email") %><br />
<%= text_field_tag(:new_email, @u... | Fix email change confirmation form for BS3. | Fix email change confirmation form for BS3.
| HTML+ERB | mit | osaris/sp-gestion,osaris/sp-gestion,osaris/sp-gestion |
8398b235edb34a62f4aeee7a4865d6d0b2c7615b | app/views/shared/_google_analytics.html.erb | app/views/shared/_google_analytics.html.erb |
<% if Rails.env == 'staging' %>
STAGING
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-12920389-5"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date()... |
<% if Rails.env == 'staging' %>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-12920389-5"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gt... | Remove the word STAGING from the head | Remove the word STAGING from the head
| HTML+ERB | bsd-3-clause | unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet |
9268d6ceb0fb1f236f91ddc7699b863c00936c23 | templates/zone-master.erb | templates/zone-master.erb | <%-
if @is_dynamic and (@allow_update.empty? and @allow_update_cidr.empty?)
raise(Puppet::ParseError, "Both allow_update and allow_update_cidr are empty for dynamic zone '#{name}'")
end
-%>
# File managed by puppet
zone "<%= @name %>" IN {
type master;
<% if @is_dynamic -%>
file "<%= scope.lookupvar("bind::params... | <%-
if @is_dynamic and (@allow_update.empty? and @allow_update_cidr.empty?)
raise(Puppet::ParseError, "Both allow_update and allow_update_cidr are empty for dynamic zone '#{name}'")
end
-%>
# File managed by puppet
zone "<%= @name %>" IN {
type master;
<% if @is_dynamic -%>
file "<%= scope.lookupvar("bind::params... | Use empty method to check arrays | Use empty method to check arrays
| HTML+ERB | apache-2.0 | trovitsys/puppet-bind,trovitsys/puppet-bind |
1a483947a8ee3aa5a3c2d21135a5186b2a0a228a | templates/default/run_backup.config.yaml.erb | templates/default/run_backup.config.yaml.erb | # This file was generated by Chef for <%= node.name %>
# Do NOT modify this file by hand.
# Created by the rackspace_cloudbackup cookbook
<%# Not using YAML.dump as drawing the content directly lets us stick in comments. -%>
authentication:
apikey: <%= @api_key %>
apiuser: <%= @api_username %>
general:
config... | # This file was generated by Chef for <%= node.name %>
# Do NOT modify this file by hand.
# Created by the rackspace_cloudbackup cookbook
<%# Not using YAML.dump as drawing the content directly lets us stick in comments. -%>
authentication:
apikey: <%= @api_key %>
apiuser: <%= @api_username %>
general:
config... | Fix YAML error in run_backup config | Fix YAML error in run_backup config
| HTML+ERB | apache-2.0 | rackspace-cookbooks/rackspace_cloudbackup,rackspace-cookbooks/rackspace_cloudbackup,rackspace-cookbooks/rackspace_cloudbackup |
add629292c14f00fa26f82dd610df9ddff719a59 | app/views/lessons/new.erb | app/views/lessons/new.erb | <div class="container">
<h2>Add a New Lesson Plan</h2>
<form action = "/lessons" method = "post">
<p>Title: <br>
<input name="lesson[title]" type="text" placeholder="Lesson title"></p>
<p>Objective:<br>
<textarea name="lesson[objective]" type="text" placeholder="Please supply an objective fo... | <div class="container">
<h2>Add a New Lesson Plan</h2>
<form action = "/lessons" method = "post">
<p>Title: <br>
<input name="lesson[title]" type="text" placeholder="Lesson title"></p>
<p>Objective:<br>
<textarea name="lesson[objective]" type="text" placeholder="Please supply an objective fo... | Add category and grade level to lesson form | Add category and grade level to lesson form
| HTML+ERB | mit | kdmcclin/teachershare,kdmcclin/teachershare,kdmcclin/teachershare |
d5d3187a7ee282fd394268c823427f24b29b4b96 | source/submit.html.erb | source/submit.html.erb | ---
title: 'Triangle.rb | Submit a Talk'
---
<section class="content-section submit-a-talk">
<a class="back-link" href="/">Back to home →</a>
<div class="narrow-container">
<h3 class="section-title">Submit a Talk Proposal</h3>
<form action="https://formforge.io/f/845c5137b216" method="POST">
<l... | ---
title: 'Triangle.rb | Submit a Talk'
---
<section class="content-section submit-a-talk">
<a class="back-link" href="/">Back to home →</a>
<div class="narrow-container">
<h3 class="section-title">Submit a Talk Proposal</h3>
<form action="https://formkeep.com/f/845c5137b216" method="POST">
<l... | Update form URL to use FormKeep | Update form URL to use FormKeep
`formforge.io` has been renamed to `formkeep.com`.
| HTML+ERB | mit | Trianglerb/trianglerb.github.io,Trianglerb/trianglerb.github.io,Trianglerb/Trianglerb,Trianglerb/trianglerb.github.io,Trianglerb/Trianglerb,Trianglerb/trianglerb.github.io |
4c7c976b0e5b6c931a700590d0d23fb0be13195a | templates/default/service.json.erb | templates/default/service.json.erb | {
"service": {
<% if @service['id'] %>
"id": "<%= @service['id'] %>",
<% end %>
<% if @service['tags'] %>
"tags": "<%= @service['tags'] %>",
<% end %>
<% if @service['port'] %>
"port": <%= @service['port'] %>,
<% end %>
<% if @service['type'] %>
"check": {
<% if @service['type'] == :script %>
... | {
"service": {
<% if @service['id'] %>
"id": "<%= @service['id'] %>",
<% end %>
<% if @service['tags'] %>
"tags": ["<%= @service['tags'].join('","') %>"],
<% end %>
<% if @service['port'] %>
"port": <%= @service['port'] %>,
<% end %>
<% if @service['type'] %>
"check": {
<% if @service['type'] == :sc... | Make tags expand out in templates properly. | Make tags expand out in templates properly.
| HTML+ERB | mit | KYCK/consul_cookbook |
512074b9fe7a97724d31d9f4458b79dc1f37d25f | wateringServer/app/views/users/show.html.erb | wateringServer/app/views/users/show.html.erb | <p>
<%= @user.email %>
</p>
<ul>
<% @plants.each do |plant| %>
<li><%= link_to "#{plant.name}", plant %></li>
<ul>
<% if plant.latest_watering %>
<li>Days since watering: <%= plant.days_since_watering %></li>
<li>Amount: <%= plant.latest_watering.amount %></li>
<% e... | <h1>
Welcome
</h1>
<h2>
Currently logged in as: <%= @user.email %>
</h2>
<table>
<tr>
<th>
Plant Name
</th>
<th>
Days Since Watering
</th>
<th>
Amount Watered
</th>
<th>
Needs Water
</th>
</tr>
<% @plants.each do |plant| %>
<tr>
<td>
... | Move plant data from list to table | Move plant data from list to table
| HTML+ERB | mit | darmbrus/plant-watering-tracker,darmbrus/plant-watering-tracker,darmbrus/plant-watering-tracker,darmbrus/plant-watering-tracker,darmbrus/plant-watering-tracker |
501a60e72aae42e3de93aff5d81b938adbf1500c | gitconfig.erb | gitconfig.erb | [user]
name = <%= print("Your Name: "); STDOUT.flush; STDIN.gets.chomp %>
email = <%= print("Your Email: "); STDOUT.flush; STDIN.gets.chomp %>
[color]
ui = auto
[core]
excludesfile = <%= ENV['HOME'] %>/.gitignore
editor = subl -w
[apply]
whitespace = nowarn
[branch]
autosetuprebase = always
[grep]
lineN... | [user]
name = <%= print("Your Name: "); STDOUT.flush; STDIN.gets.chomp %>
email = <%= print("Your Email: "); STDOUT.flush; STDIN.gets.chomp %>
[color]
ui = auto
[core]
excludesfile = <%= ENV['HOME'] %>/.gitignore
editor = subl -w
[apply]
whitespace = nowarn
[branch]
autosetuprebase = always
[grep]
lineN... | Add git log pretyfied alias | Add git log pretyfied alias | HTML+ERB | mit | vortizhe/dotfiles,rsierra/dotfiles,vortizhe/dotfiles,rsierra/dotfiles,vortizhe/dotfiles,rsierra/dotfiles |
26d900af92909c126e5acd13c5175f7fd0490805 | templates/default/distributions.erb | templates/default/distributions.erb | <% @codenames.each do |dist| -%>
Origin: <%= node[:reprepro][:fqdn] %>
Label: apt repository
Codename: <%= dist %>
Architectures: <%= @architectures.join(" ") %>
Components: <%= @pulls["component"] %>
Description: <%= node[:reprepro][:description] %>
SignWith: <%= node[:reprepro][:pgp_email] %>
<% unless @pulls["name... | <% @codenames.each do |dist| -%>
Origin: <%= node[:reprepro][:fqdn] %>
Label: apt repository
Codename: <%= dist %>
Architectures: <%= @architectures.join(" ") %>
Components: <%= @pulls["component"] %>
Description: <%= node[:reprepro][:description] %>
SignWith: <%= node[:reprepro][:pgp_email] %>
<% unless @pulls["name... | Add missing linebreak between chunks. | Add missing linebreak between chunks.
| HTML+ERB | apache-2.0 | Shopify/reprepro |
c9096d29aa2262a398dd9580a7d45099ce15b056 | vendor/plugins/refinery/app/views/shared/_menu_branch.html.erb | vendor/plugins/refinery/app/views/shared/_menu_branch.html.erb | <%
css = []
css << "selected" if selected_page?(menu_branch) or descendant_page_selected?(menu_branch)
css << "first" if menu_branch_counter == 0
css << "last" if menu_branch_counter == (sibling_count ||= menu_branch.shown_siblings.size)
domid = "item_#{menu_branch_counter}" unless menu_branch.parent_id.prese... | <%
css = []
css << "selected" if selected_page?(menu_branch) or descendant_page_selected?(menu_branch)
css << "first" if menu_branch_counter == 0
css << "last" if menu_branch_counter == (sibling_count ||= menu_branch.shown_siblings.size)
domid = "item_#{menu_branch_counter}" unless menu_branch.parent_id.prese... | Fix bug that was introduced that threw out page ordering in the menu | Fix bug that was introduced that threw out page ordering in the menu
| HTML+ERB | mit | thu2004/old.golf.viff.nu,thu2004/old.golf.viff.nu |
24fd701ebc6d07d882d67d7884bef9e8e2b4d65f | _assets/stylesheets/app.css.sass.erb | _assets/stylesheets/app.css.sass.erb | //= require normalize-css/normalize.css
//= require highlightjs/styles/default
// Make sure the charset is set appropriately.
@charset "UTF-8"
//
// Fonts
//
@import fonts
// Global Foundation Settings
@import settings
// Import Foundation
@import foundation/scss/foundation
// Load this when using social buttons.
... | //= require normalize-css/normalize.css
//= require highlightjs/styles/default
// Make sure the charset is set appropriately.
@charset "UTF-8"
//
// Fonts
//
@import fonts
// Global Foundation Settings
@import settings
// Import Foundation
@import foundation/scss/foundation
// Load this when using social buttons.
... | Fix Gist layout issue with Foundation. | Fix Gist layout issue with Foundation.
| HTML+ERB | lgpl-2.1 | matthiasbeyer/wiki.template,matthiasbeyer/wiki.template,rxfork/jekyll-and-zurb,rxfork/jekyll-and-zurb,matthiasbeyer/wiki.template,razor-x/jekyll-and-zurb,razor-x/jekyll-and-zurb,razor-x/jekyll-and-zurb |
2d8bcf78212ad64a20d8205958aab04aaa5c6b92 | app/views/conversations/_users_in_conversation.html.erb | app/views/conversations/_users_in_conversation.html.erb | <div id="users_in_conversation" class="item2 page">
<h6><%= t("ui.recent_followers") %>:</h6>
<%= render :partial => 'conversations/user', :collection => @conversation.recent_followers %>
<% if @conversation.users.length > 10 %>
<br/>
<b><%= t("ui.followers") %>:</b><br/>
<% @conversation.users.each do |u| ... | <div id="users_in_conversation" class="item2 page">
<h6><%= t("ui.recent_followers") %>:</h6>
<%= render :partial => 'conversations/user', :collection => @conversation.recent_followers %>
<% if @conversation.users.length > 10 %>
<h6><%= t("ui.followers") %>:</h6>
<% @conversation.users.each do |u| %>
<... | Fix markup and style of header in the list of users in conversation | Fix markup and style of header in the list of users in conversation
| HTML+ERB | mit | dmitryame/echowaves,dmitryame/echowaves |
8dac6e0397133a9ded91832ae8fa862ccc07f1a7 | app/views/admin/categories/index.html.erb | app/views/admin/categories/index.html.erb | <% @page_title = "Admin: Categories" %>
<h2>Categories</h2>
<%# We're small enough we can recompute competitions on demand. alp -%>
<% if RacingAssociation.current.competitions.include?(:mbra_bar) -%>
<div class="row-fluid">
<%= form_tag "/admin/categories/recompute_bar" do -%>
<%= submit_tag "Rec... | <% @page_title = "Admin: Categories" %>
<h2>Categories</h2>
<%# We're small enough we can recompute competitions on demand. alp -%>
<% if RacingAssociation.current.competitions.include?(:mbra_bar) -%>
<div class="row-fluid">
<div class="span12">
<%= form_tag "/admin/categories/recompute_bar" do -%>
... | Fix bad HTML on admin categories page | Fix bad HTML on admin categories page
| HTML+ERB | mit | scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails |
0e3ff9e1c0886cf66d1969ebc672f95e003d8c39 | app/views/fields/ip_field/_index.html.erb | app/views/fields/ip_field/_index.html.erb | <%= link_to field.to_s, field.url, target: '_blank' %>
| <% if field.blank? %>
<%= link_to field.to_s, field.url, target: '_blank' %>
<% end %>
| Hide IP fields when it is empty | Hide IP fields when it is empty
| HTML+ERB | mit | ollej/brewnit,ollej/brewnit,ollej/brewnit,ollej/brewnit |
1c8b590f3f426be24cc885830895c6ef5f55bd25 | app/views/admin/news_articles/_form.html.erb | app/views/admin/news_articles/_form.html.erb | <%= form_for [:admin, document], as: :document do |form| %>
<%= form.errors %>
<%= render partial: 'standard_fields', locals: { form: form, document: document }%>
<fieldset class="img">
<%= form.label :image, "Image" %>
<%= form.file_field :image %>
<% if document.image_cache.present? %>
<span ... | <%= form_for [:admin, document], as: :document do |form| %>
<%= form.errors %>
<%= render partial: 'standard_fields', locals: { form: form, document: document }%>
<fieldset class="img">
<legend>News Image</legend>
<%= form.label :image, "Image" %>
<%= form.file_field :image %>
<% if document.imag... | Clarify the distinction between fields. | Clarify the distinction between fields.
This is a bit confusing, just because news already has an image. I'm going
to look at migrating these images next.
| HTML+ERB | mit | hotvulcan/whitehall,alphagov/whitehall,robinwhittleton/whitehall,YOTOV-LIMITED/whitehall,robinwhittleton/whitehall,ggoral/whitehall,askl56/whitehall,YOTOV-LIMITED/whitehall,ggoral/whitehall,hotvulcan/whitehall,ggoral/whitehall,alphagov/whitehall,robinwhittleton/whitehall,alphagov/whitehall,YOTOV-LIMITED/whitehall,hotvu... |
d18c8d11f090d266d41c89fc8e907a3883dbfc22 | alert_templates/prod/ssl_service_sli.json.erb | alert_templates/prod/ssl_service_sli.json.erb | {
"created_at": 1440201882000,
"deleted": null,
"message": "PWS platform may want to check the health of the SSL service broker.\npipeline: https://concourse.<%= domain_url %>/teams/main/pipelines/ssl-service:ssl/jobs/<%= environment %>-ssl-sli",
"multi": false,
"name": "SSL Service systemtest is failing",
... | Add config file for ssl-service monitor | Add config file for ssl-service monitor
| HTML+ERB | apache-2.0 | pivotal-cf-experimental/datadog-config-oss,pivotal-cf-experimental/datadog-config-oss | |
db89af2c6569369c55e7385ee32215d28f5a7a8a | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>StackOverphil</title>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
<%= csrf_meta_tags %>
</head>
<body>
<h2><%= link_to "stackOverphil", root_path %></h2>
<ul>
<% if logged_in? %>
<li><%= link_to current_user.usernam... | <!DOCTYPE html>
<html>
<head>
<title>StackOverphil</title>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
<%= csrf_meta_tags %>
</head>
<body>
<div class="wrapper">
<nav>
<div class="content">
<ul>
<% if logged_in? %>
... | Add css tags and organize for styling | Add css tags and organize for styling
| HTML+ERB | mit | jeder28/stack_overphil,jeder28/stack_overphil,jeder28/stack_overphil |
5814d856cda82b1ca97304238953539dea578c10 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html class="<%= @bodyId %>">
<head>
<title>Grotto</title>
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0">
<% if @is_mobile %>
<% if @bodyId == 'home' %>
<meta name="viewport" content="width=1600" />
<% else %>
<meta name="viewport"... | Build the Layout for Index page | Build the Layout for Index page
| HTML+ERB | mit | topgiter/Thrvly,topgiter/Thrvly,topgiter/Thrvly,tiger-fan/Grotto,tiger-fan/Grotto,tiger-fan/Grotto | |
1436b5f2d5825d9e92db0b5c52d95756b89a1c49 | app/views/searches/new.erb | app/views/searches/new.erb | <div class='content'>
<% @posts_to_search = Post.all %>
<% @posts_to_search.each do |post| %>
<% @words_in_body = post.body.split %>
<% post.words_that_match = 0 %>
<% post.save %>
<% @foo =[] %>
<% @search_words.each do |searched_word| %>
<% @words_in_body.each do |word_in_body| %>
<% if word_in_bo... | <div class='content'>
<% @posts_to_search = Post.all %>
<% @posts_to_search.each do |post| %>
<% @words_in_body = post.body.split %>
<% post.words_that_match = 0 %>
<% post.save %>
<% @same_words =[] %>
<% @search_words.each do |searched_word| %>
<% @words_in_body.each do |word_in_body| %>
<% if wor... | Add logic for no matches. | Add logic for no matches.
| HTML+ERB | mit | nyc-nighthawks-2016/Linken-Jarale-StackOverflow,nyc-nighthawks-2016/Linken-Jarale-StackOverflow,nyc-nighthawks-2016/Linken-Jarale-StackOverflow |
bbc000d4112917e5d6f0a8ebe856c93b05261b2f | themes/geniverse/views/user_mailer/signup_notification.html.erb | themes/geniverse/views/user_mailer/signup_notification.html.erb | <p>Dear <%= @user.name %>,</p>
<p>Thank you for registering on the Geniverse Portal! Please click the link below to confirm your registration.
There will be additional instructions on the Portal to help you set up and manage your classes.</p>
<p><%= link_to 'Confirm my account', confirmation_url(@user, :confirmation... | <p>Dear <%= @user.name %>,</p>
<p>Thank you for registering on the Geniverse Portal! <b>Your username is <%= @user.login %>.</b></p>
<p>Please click the link below to confirm your registration. There will be additional instructions on the Portal
to help you set up and manage your classes.</p>
<p><%= link_to 'Confir... | Update Geniverse theme registration email | Update Geniverse theme registration email | HTML+ERB | mit | concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse |
8be8a27605db4e9214e6f6774f614521a3e59aff | lib/generators/graphql/templates/graphql_controller.erb | lib/generators/graphql/templates/graphql_controller.erb | class GraphqlController < ApplicationController
def execute
variables = ensure_hash(params[:variables])
query = params[:query]
operation_name = params[:operationName]
context = {
# Query context goes here, for example:
# current_user: current_user,
}
result = <%= schema_name %>.exe... | class GraphqlController < ApplicationController
# If accessing from outside this domain, nullify the session
# This allows for outside API access while preventing CSRF attacks,
# but you'll have to authenticate your user separately
protect_from_forgery with: :null_session
... | Add nullify session CSRF protection | Add nullify session CSRF protection | HTML+ERB | mit | rmosolgo/graphql-ruby,rmosolgo/graphql-ruby,nevesenin/graphql-ruby,nevesenin/graphql-ruby,rmosolgo/graphql-ruby,nevesenin/graphql-ruby,nevesenin/graphql-ruby,rmosolgo/graphql-ruby |
f0106c7ed62e3fcf9016a1a5cb23ec9021e57ab3 | ci_environment/mysql/templates/default/mysql-apt-config.seed.erb | ci_environment/mysql/templates/default/mysql-apt-config.seed.erb | mysql-apt-config mysql-apt-config/enable-repo select mysql-<%= /^\d+\.\d+/.match(node['mysql']['deb']['version'])[0] %> | mysql-apt-config mysql-apt-config/enable-repo select mysql-<%= /^\d+\.\d+/.match(node['mysql']['deb']['version'])[0] %>
mysql-apt-config mysql-apt-config/select-server select mysql-<%= /^\d+\.\d+/.match(node['mysql']['deb']['version'])[0] %>
| Select server in mysql-apt-config as well | Select server in mysql-apt-config as well
This should make all the 5.6 packages available
| HTML+ERB | mit | dracos/travis-cookbooks,spurti-chopra/travis-cookbooks,Distelli/travis-cookbooks,ardock/travis-cookbooks,dracos/travis-cookbooks,vinaykaradia/travis-cookbook-cloned,Acidburn0zzz/travis-cookbooks,Distelli/travis-cookbooks,ardock/travis-cookbooks,Zarthus/travis-cookbooks,Distelli/travis-cookbooks,ardock/travis-cookbooks,... |
7a8f1d5f96c1f8fce7a194643cc07a202d07221c | core/app/views/refinery/_javascripts.html.erb | core/app/views/refinery/_javascripts.html.erb | <% if content_for :before_javascript_libraries %>
<% Refinery.deprecate "content_for :before_javascript_libraries", :when => '2.2', :replacement => "content_for :javascripts" %>
<% content_for :javascripts, yield(:before_javascript_libraries) %>
<% end %>
<% if content_for :javascript_libraries %>
<% Refinery.de... | <% if content_for? :before_javascript_libraries %>
<% Refinery.deprecate "content_for :before_javascript_libraries", :when => '2.2', :replacement => "content_for :javascripts" %>
<% content_for :javascripts, yield(:before_javascript_libraries) %>
<% end %>
<% if content_for? :javascript_libraries %>
<% Refinery.... | Use content_for? (instead of content_for) to check if any content has been captured. | Use content_for? (instead of content_for) to check if any content has been captured.
| HTML+ERB | mit | bryanmtl/g-refinerycms,chrise86/refinerycms,mojarra/myrefinerycms,mlinfoot/refinerycms,mkaplan9/refinerycms,simi/refinerycms,kappiah/refinerycms,bryanmtl/g-refinerycms,gwagener/refinerycms,trevornez/refinerycms,simi/refinerycms,louim/refinerycms,bricesanchez/refinerycms,johanb/refinerycms,mabras/refinerycms,sideci-samp... |
8f2f1d19b6305811aec9a3fb89c152ba1449b41d | app/views/application/index.html.erb | app/views/application/index.html.erb | <div class="jumbotron">
<h1>Octopub</h1>
<h2>Publish data easily, quickly and correctly</h2>
<p>Got a dataset you want to publish, but not sure how to do it? Octopub will help you do it,
quickly, easily and correctly.</p>
<p>Using the power of <a href="http://github.com">GitHub</a>, we will provide you with... | <div class="jumbotron">
<h1>Octopub</h1>
<h2>Publish data easily, quickly and correctly</h2>
<p>Got a dataset you want to publish, but not sure how to do it? Octopub will help you do it,
quickly, easily and correctly.</p>
<p>Using the power of <a href="http://github.com">GitHub</a>, we will provide you with... | Hide login link if signed in | Hide login link if signed in
| HTML+ERB | mit | theodi/git-data-publisher,theodi/git-data-publisher,theodi/git-data-publisher |
aca6afa1d85c789a29a7a33ceedce2937dbe718b | app/views/charges/create.html.erb | app/views/charges/create.html.erb | <h2>Thanks, you paid <strong>$5.00</strong>!</h2>
| <h2>Thanks, you subscribed to a plan for <strong><%= number_to_currency((@amount.to_i/ 100), :unit => "€")%></strong> a month!</h2>
<%= link_to "See my instances", instances_path %>
| Create site to show successful payment | Create site to show successful payment
| HTML+ERB | mit | nomadlabs/spacialdb,nomadlabs/spacialdb,nomadlabs/spacialdb |
6893d886f50ee41bdb23219026d256b652725d20 | app/views/patients/_sidebar.html.erb | app/views/patients/_sidebar.html.erb | <div class="sidebar">
<% if @patient %>
<%= render(partial: 'card', locals: { patient: @patient }) unless @patient.new_record? %>
<% else %>
<div class="filters">
<div style="margin: 0px 0px 6px 0px">
<%= form_tag patients_path, method: 'get', enforce_utf8: false do %>
<%= search_fie... | <div class="sidebar">
<% if @patient %>
<%= render(partial: 'card', locals: { patient: @patient }) unless @patient.new_record? %>
<% else %>
<div class="filters">
<div style="margin: 0px 0px 6px 0px">
<%= form_tag patients_path, method: 'get', enforce_utf8: false do %>
<%= search_fie... | Add functionality to the recent searches button | Add functionality to the recent searches button
In Safari:
<input type="search" results=5 autosave="unique" name="search">
| HTML+ERB | mit | Labtec/OpenLIS,Labtec/OpenLIS,Labtec/OpenLIS |
df6f76bc641917790d16a11139e24d0fd06e0c98 | vendor/plugins/images/app/views/admin/images/_grid_view.html.erb | vendor/plugins/images/app/views/admin/images/_grid_view.html.erb | <ul id="image_grid" class="clearfix">
<% @images.each do |image| -%>
<li id="image_<%= image.id %>" <%= "class='row-end'" if (@images.index(image)+1) % 4 == 0 %>>
<%= image_fu image, :grid, :title => image.title %>
<span class='actions'>
<%= link_to image_tag('refinery/icons/application_edit.png'), edi... | <ul id="image_grid" class="clearfix">
<% @images.each do |image| -%>
<li id="image_<%= image.id %>" <%= "class='row-end'" if (@images.index(image)+1) % 4 == 0 %>>
<%= image_fu image, :grid, :title => image.title %>
<span class='actions'>
<%= link_to image_tag('refinery/icons/eye.png'), image.public_filen... | Add a view button to see fullsize image. | Add a view button to see fullsize image.
| HTML+ERB | mit | thu2004/old.golf.viff.nu,thu2004/old.golf.viff.nu |
c24675d90bf2fe05b1637dbf4dbae06786777d7d | cookbooks/ad-auth/templates/default/lsassd.reg.erb | cookbooks/ad-auth/templates/default/lsassd.reg.erb | [HKEY_THIS_MACHINE\Services\lsass\Parameters]
"SpaceReplacement"="-"
[HKEY_THIS_MACHINE\Services\lsass\Parameters\Providers\ActiveDirectory]
"HomeDirTemplate"="%H/%D/%U"
"SpaceReplacement"="-"
"AssumeDefaultDomain"=dword:00000001
"NssGroupMembersQueryCacheOnly"=dword:00000001
"RequireMembershipOf"=sza:"<%= @ad_members... | [HKEY_THIS_MACHINE\Services\lsass\Parameters]
"SpaceReplacement"="-"
[HKEY_THIS_MACHINE\Services\lsass\Parameters\Providers\ActiveDirectory]
"HomeDirTemplate"="%H/%D/%U"
"SpaceReplacement"="-"
"AssumeDefaultDomain"=dword:00000001
"NssGroupMembersQueryCacheOnly"=dword:00000001
"RequireMembershipOf"=sza:"<%= @ad_members... | Set bash as the default shell for likewise | Set bash as the default shell for likewise
| HTML+ERB | apache-2.0 | scottymarshall/rundeck,scottymarshall/rundeck,scottymarshall/rundeck |
bd444db02b6c48f7eb1b90d50c175d4873972a09 | app/views/layouts/_messages.html.erb | app/views/layouts/_messages.html.erb | <% flash.each do |message_type, message| %>
<div class="alert alert-<%= message_type %>"><%= message %></div>
<% end %>
| <% flash.each do |message_type, message| %>
<div class="alert alert-<%= message_type %>">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
<%= message %>
</div>
<% end %>
| Allow error messages to be dismissed | Allow error messages to be dismissed
| HTML+ERB | mit | MasterRoot24/cloudiary,MasterRoot24/cloudiary,MasterRoot24/cloudiary |
7610d52239a1619f3144d26110041240d3f183d6 | app/views/transaction/_additional_information_tabbed.html.erb | app/views/transaction/_additional_information_tabbed.html.erb | <%= render "govuk_publishing_components/components/tabs", {
panel_border: false,
tabs: [
{
id: ('more-information' if transaction.more_information.present?),
label: t('formats.transaction.more_information'),
content: render("govuk_publishing_components/components/govspeak", {
c... | <%= render "govuk_publishing_components/components/tabs", {
panel_border: false,
tabs: [
{
id: ('more-information' if transaction.more_information.present?),
label: t('formats.transaction.more_information'),
content: render("govuk_publishing_components/components/govspeak", {}) do
... | Fix govspeak unsanitized content error | Fix govspeak unsanitized content error
Resolves:
https://sentry.io/organizations/govuk/issues/2004100825/?project=202225&query=is%3Aunresolved
Related to:
https://github.com/alphagov/govuk_publishing_components/pull/1632/
| HTML+ERB | mit | alphagov/frontend,alphagov/frontend,alphagov/frontend,alphagov/frontend |
0cf1930103c0f9c2c3efa51ece41980b187c2553 | app/views/koi/admin_crud/_form_field_basic_file.html.erb | app/views/koi/admin_crud/_form_field_basic_file.html.erb | <%= f.input attr, as: :file, wrapper_html: wrapper_opts, input_html: input_opts } %>
| <%= f.input attr, as: :file, wrapper_html: wrapper_opts, input_html: input_opts %>
| Fix invalid syntax in koi partial | Fix invalid syntax in koi partial
Identified by brakeman
| HTML+ERB | mit | katalyst/koi,katalyst/koi,katalyst/koi |
c93d75abd9356c81228e0e093cfdfe638a7cc0ee | templates/cron_staleness_check.erb | templates/cron_staleness_check.erb | #!/bin/bash
#
# Command to check how long ago a cron job successfully ran, and potentially
# provide helpful context for the user as to why.
#
# Utilizes the check_file_age nagios plugin.
set -u
function get_context {
# Scans syslog for a given logger tag where we might have additional
# information about why a cr... | #!/bin/bash
#
# Command to check how long ago a cron job successfully ran, and potentially
# provide helpful context for the user as to why.
#
# Utilizes the check_file_age nagios plugin.
set -u
function get_context {
# Scans syslog for a given logger tag where we might have additional
# information about why a cr... | Make the staleness_check wrapper 'uptime-aware' | Make the staleness_check wrapper 'uptime-aware'
| HTML+ERB | apache-2.0 | Yelp/puppet-cron,Yelp/puppet-cron,Yelp/puppet-cron |
c410fb1a4baaa75932c3a04a67b1faa1dfca1101 | puppet/modules/nginx/templates/vhost/vhost_location_directory.erb | puppet/modules/nginx/templates/vhost/vhost_location_directory.erb | location <%= location %> {
<% if @location_cfg_prepend -%><% location_cfg_prepend.each do |key,value| -%>
<%= key %> <%= value %>;
<% end -%><% end -%>
root <%= www_root %>;
<% if has_variable?("try_files") then %>
try_files <% try_files.each do |try| -%> <%= try %> <% end -%>;
<% end %>
inde... | location <%= location %> {
<% if @location_cfg_prepend -%><% location_cfg_prepend.each do |key,value| -%>
<%= key %> <%= value %>;
<% end -%><% end -%>
root <%= www_root %>;
<% if @try_files then %>
try_files <% @try_files.each do |try| -%> <%= try %> <% end -%>;
<% end %>
index <% index_file... | Fix in nginx puppet module | Fix in nginx puppet module
| HTML+ERB | isc | StryKaizer/Brew,StryKaizer/Brew,StryKaizer/Brew,StryKaizer/Brew,StryKaizer/Brew,StryKaizer/Brew,StryKaizer/Brew |
4408116e69006e4d9b42da70f8f6ee5789f55e25 | app/assets/javascripts/analytics/init.js.erb | app/assets/javascripts/analytics/init.js.erb | (function(global) {
"use strict";
// Load Google Analytics libraries
GOVUK.StaticAnalytics.load();
// Use document.domain in dev, preview and staging so that tracking works
// Otherwise explicitly set the domain as www.gov.uk (and not gov.uk).
var cookieDomain = (document.domain == 'www.gov.uk') ? '.www.g... | (function(global) {
"use strict";
// Load Google Analytics libraries
GOVUK.StaticAnalytics.load();
// Use document.domain in dev, preview and staging so that tracking works
// Otherwise explicitly set the domain as www.gov.uk (and not gov.uk).
var cookieDomain = (document.domain == 'www.gov.uk') ? '.www.g... | Enable GOV.UK analytics tracker configuration | Enable GOV.UK analytics tracker configuration
The configuration variable is misnamed and will be changed once this is
proven to work. The endpoint is now served entirely by Fastly, and
returns an empty 200 response. We only call the endpoint using
`$.get()` and ignore the response so its Content-Type doesn’t matter.
| HTML+ERB | mit | alphagov/static,alphagov/static,alphagov/static |
cc5410a1ae0abacdde67efc659319c0907140625 | app/views/admin/document_series/_form.html.erb | app/views/admin/document_series/_form.html.erb | <%= form_for [:admin, @document_series.organisation, @document_series] do |form| %>
<%= form.errors %>
<%= form.text_field :name %>
<%= form.text_field :summary %>
<%= form.text_area :description, "class" => "previewable" %>
<p class="warning">Warning: changes to document series appear instantly on the li... | <%= form_for [:admin, @document_series.organisation, @document_series] do |form| %>
<%= form.errors %>
<%= form.text_field :name %>
<%= form.text_area :summary, rows: 2, class: 'js-summary-length-counting', data: { 'count-message-threshold' => 140, 'count-message-selector' => '.summary-length-info' } %>
<div c... | Add JS length warning to document series summary field in admin | Add JS length warning to document series summary field in admin
| HTML+ERB | mit | YOTOV-LIMITED/whitehall,askl56/whitehall,robinwhittleton/whitehall,robinwhittleton/whitehall,hotvulcan/whitehall,alphagov/whitehall,alphagov/whitehall,robinwhittleton/whitehall,alphagov/whitehall,YOTOV-LIMITED/whitehall,askl56/whitehall,ggoral/whitehall,YOTOV-LIMITED/whitehall,ggoral/whitehall,robinwhittleton/whitehall... |
330fd19b8b11d8a387724d61891143e68a162178 | app/views/announcements/_news_article.html.erb | app/views/announcements/_news_article.html.erb | <%= content_tag_for(:article, news_article) do %>
<% if display == "expanded" %>
<div class="img"><%= link_to image_tag("evil_placeholder.png"), public_document_path(news_article) %></div>
<% end %>
<div class="text">
<h2><%= link_to news_article.title, public_document_path(news_article), class: "title" %... | <%= content_tag_for(:article, news_article) do %>
<% if display == "expanded" %>
<div class="img"><%= link_to image_tag("evil_placeholder.png"), public_document_path(news_article) %></div>
<% end %>
<div class="text">
<h2><%= link_to news_article.title, public_document_path(news_article), class: "title" %... | Fix bug with Chris's stupidity. | Fix bug with Chris's stupidity.
I wrote some tests, made the fixes, took out one of the fixes and then
committed 2b820135c975872a188dea07847b5274d62b1471. Like a fool.
| HTML+ERB | mit | alphagov/whitehall,askl56/whitehall,askl56/whitehall,askl56/whitehall,ggoral/whitehall,alphagov/whitehall,hotvulcan/whitehall,ggoral/whitehall,ggoral/whitehall,YOTOV-LIMITED/whitehall,hotvulcan/whitehall,robinwhittleton/whitehall,alphagov/whitehall,robinwhittleton/whitehall,alphagov/whitehall,ggoral/whitehall,robinwhit... |
e10cd7a533ae3e182ac038b651f2c1a3710eb9b5 | criticL/app/views/layouts/application.html.erb | criticL/app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>CriticL</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<nav class="navbar navbar-inverse">
<div class="... | <!DOCTYPE html>
<html>
<head>
<title>CriticL</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<nav class="navbar navbar-inverse">
<div class="... | Add link to user profile in nav bar | Add link to user profile in nav bar
| HTML+ERB | mit | kmark1625/criticL,kmark1625/criticL,kmark1625/criticL |
7a75ba95a7f8c23f82bccf96e3b3288fe240c148 | app/views/admin/dashboard/widgets/_default.html.erb | app/views/admin/dashboard/widgets/_default.html.erb | <%
applications = admin_user.applications
if params[:application]
applications.reject! { |a| a.parameterize != params[:application] }
end
%>
<div class="span3">
</div>
<div class="span9">
<h2><%= Typus::I18n.t("Dashboard") %></h2>
<% if applications.any? %>
<% applications.each do |app| %>
... | <%
applications = admin_user.applications
if params[:application]
applications.reject! { |a| a.parameterize != params[:application] }
end
%>
<div class="span3">
</div>
<div class="span9">
<h2><%= Typus::I18n.t("Dashboard") %></h2>
<% if applications.any? %>
<% applications.each do |app| %>
... | Fix translations for model pluralization (some more spots still todo). | Fix translations for model pluralization (some more spots still todo). | HTML+ERB | mit | brainsome-de/typus,brainsome-de/typus,brainsome-de/typus,brainsome-de/typus |
ee9158d1ee4155c8cbbf205d357cd976fde9274a | app/views/kata/_show_starting_info.html.erb | app/views/kata/_show_starting_info.html.erb | <script>
'use strict';
$(() => {
cd.showStartingInfoDialog = () => {
if (cd.kata.index === 1 && cd.env.STARTING_INFO_DIALOG !== 'off') {
cd.trafficLightsButton().click();
}
};
});
</script>
| <script>
'use strict';
$(() => {
cd.showStartingInfoDialog = () => {
if (cd.kata.index === 1 && !turnItOff()) {
cd.trafficLightsButton().click();
}
};
const turnItOff = () => {
return cd.env.STARTING_INFO_DIALOG === 'off' ||
cd.kata.manifest().starting_info_dialog === 'off';
};
});
</... | Allow manifest() option to turn off starting-info-dialog. | Allow manifest() option to turn off starting-info-dialog.
| HTML+ERB | bsd-2-clause | cyber-dojo/web,cyber-dojo/web,cyber-dojo/web,cyber-dojo/web |
add25fb72daee4a2751c592cdbfd24dab9093b69 | app/views/lists/show.html.erb | app/views/lists/show.html.erb | <p id="notice"><%= notice %></p>
<%= link_to 'Edit', edit_list_path(@list) %> |
<%= link_to 'Back', lists_path %>
| <h1><%= "#{@list.type}: #{@list.title}" %></h1>
<h2> Recurring Items </h2>
<% @list.recurring_items.each do |item| %>
<p>
Body: <%= "#{item.body}" %>
Value: <%= "#{item.value}" %>
Specific Day Of: <%= "#{item.specific_day_of}" %>
Interval: <%= "#{item.interval}" %>
</p>
<% end %>
<h2> Items </h2>
... | Add rudimentary show view for lists | Add rudimentary show view for lists
| HTML+ERB | mit | dhahn/r13-team-45,dhahn/r13-team-45 |
515065e6c087e2ec299048e266c4ac1f98b3fb3a | app/views/root/_four_hundred_error.html.erb | app/views/root/_four_hundred_error.html.erb | <% content_for :title do %><%= local_assigns[:title] %> - GOV.UK<% end %>
<% content_for :html_classes do %>error error-40X<% end %>
<% content_for :body_classes do %>mainstream error<% end %>
<% content_for :content do %>
<section id="content" role="main" class="group">
<header class="page-header group">
<... | <% content_for :title do %><%= local_assigns[:title] %> - GOV.UK<% end %>
<% content_for :html_classes do %>error error-40X<% end %>
<% content_for :body_classes do %>mainstream error<% end %>
<% content_for :content do %>
<section id="content" role="main" class="group">
<header class="page-header group">
<... | Fix URL to GOV.UK homepage | Fix URL to GOV.UK homepage | HTML+ERB | mit | robinwhittleton/static,kalleth/static,tadast/static,kalleth/static,robinwhittleton/static,robinwhittleton/static,alphagov/static,alphagov/static,robinwhittleton/static,tadast/static,alphagov/static,tadast/static,kalleth/static,tadast/static,kalleth/static |
de77cc9e6cb8ddd15aa5c86a9f5da80ae65c0c41 | app/views/storytime/comments/_form.html.erb | app/views/storytime/comments/_form.html.erb | <% if current_user %>
<%= simple_form_for [@post, Storytime::Comment.new] do |f| %>
<%= f.input :content %>
<%= f.button :submit %>
<% end %>
<% else %>
<div class="alert alert-info" role="alert">
<%= link_to "Sign in", main_app.new_user_session_url %> to comment.
</div>
<% end %> | <% if current_user %>
<%= simple_form_for [@post, Storytime::Comment.new] do |f| %>
<%= f.input :content %>
<%= f.button :submit %>
<% end %>
<% else %>
<div class="alert alert-info" role="alert">
<%= link_to "Sign in", Storytime.login_path %> to comment.
</div>
<% end %> | Change out new_user_session_url for login_path | Change out new_user_session_url for login_path
| HTML+ERB | mit | Oliviergg/storytime,Oliviergg/storytime,CultivateLabs/storytime,hoanghiep90/storytime,bidah/storytime-manentail,braindeaf/storytime,bidah/storytime-manentail,matiasgarcia/storytime,CultivateLabs/storytime,bidah/storytime,CultivateLabs/storytime,hoanghiep90/storytime,matiasgarcia/storytime,Oliviergg/storytime,FlyoverWor... |
370d55030e079760c81b04961d9b1258a265c404 | initial-deployment-puppet/modules/spark/templates/spark-env.sh.erb | initial-deployment-puppet/modules/spark/templates/spark-env.sh.erb | #export SCALA_HOME=/opt/scala-2.9.3
<%# SPARK_MASTER_OPTS="-Dspark.deploy.spreadOut=false" %>
SPARK_JAVA_OPTS+=" -Dspark.local.dir=/raid/spark-local"
#SPARK_JAVA_OPTS+="-XX:MaxPermSize=512m"
#SPARK_JAVA_OPTS+="-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9012 -Dcom.sun.management.jmxremote.local.... | #export SCALA_HOME=/opt/scala-2.9.3
<%# SPARK_MASTER_OPTS="-Dspark.deploy.spreadOut=false" %>
SPARK_JAVA_OPTS+=" -Dspark.local.dir=/raid/spark-local"
<%# SPARK_JAVA_OPTS+=" -Dspark.speculation=true" %>
#SPARK_JAVA_OPTS+="-XX:MaxPermSize=512m"
#SPARK_JAVA_OPTS+="-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxre... | Add speculation option commented out. | Add speculation option commented out.
| HTML+ERB | apache-2.0 | adobe-research/spark-cluster-deployment,adobe-research/spark-cluster-deployment,adobe-research/spark-cluster-deployment |
b41d4c6443f1e82788459d978aee1aa2b1ee835f | vendor/plugins/refinery/app/views/shared/admin/_search.html.erb | vendor/plugins/refinery/app/views/shared/admin/_search.html.erb | <form method="GET" action="<%= url %>" class="search_form">
<input id="search" name="search" size="22" type="search" value="<%= params[:search] %>" />
<input id="dialog" name="dialog" type="hidden" value="<%= from_dialog? %>" />
<%= submit_tag t('admin.search'), :name => "" %>
</form>
| <form method="GET" action="<%= url %>" class="search_form">
<input id="search" name="search" size="22" type="search" value="<%= params[:search] %>" />
<input id="dialog" name="dialog" type="hidden" value="<%= from_dialog? %>" />
<%= submit_tag t('admin.search'), :name => nil %>
</form>
| Make sure the required alt attribute is created. | Make sure the required alt attribute is created.
| HTML+ERB | mit | myabc/refinerycms,myabc/refinerycms,kritik/diamond-tours,kritik/portfolio,kritik/portfolio,kritik/diamond-tours |
0756872f473afb5ce43d7d069ca1a99064bd2b0b | app/views/alchemy/admin/elements/update.js.erb | app/views/alchemy/admin/elements/update.js.erb | (function() {
var $el = $('#element_<%= @element.id %>');
var $errors = $('#element_<%= @element.id %>_errors');
$('> .element-content .content_editor, > .element-content .ingredient_editor', $el).removeClass('validation_failed');
<%- if @element_validated -%>
$errors.hide();
$el.trigger('SaveElement.Alchem... | (function() {
var $el = $('#element_<%= @element.id %>');
var $errors = $('#element_<%= @element.id %>_errors');
$('> .element-content .content_editor, > .element-content .ingredient-editor', $el).removeClass('validation_failed');
<%- if @element_validated -%>
$errors.hide();
$el.trigger('SaveElement.Alchem... | Fix ingredient editor selector in element update callback | Fix ingredient editor selector in element update callback
The ingredient editor class name has a hyphen. Fixes a bug
where an element with failed ingredient validation did not
updated the UI accordingly after an element updated.
| HTML+ERB | bsd-3-clause | robinboening/alchemy_cms,AlchemyCMS/alchemy_cms,robinboening/alchemy_cms,robinboening/alchemy_cms,AlchemyCMS/alchemy_cms,AlchemyCMS/alchemy_cms |
20a1cdb72db3ad8c5e5eb75e04b6d7bb104a7757 | app/views/admin/recently_invalidated.html.erb | app/views/admin/recently_invalidated.html.erb | <h3>Recently Invalidated Feedback</h3>
<table class="table table-striped">
<thead>
<tr>
<th>Post</th>
<th>Feedback Type</th>
<th>Feedback Creator</th>
<th>Invalidated At</th>
<th>Invalidated By</th>
</tr>
</thead>
<tbody>
<% @feedbacks.each do |f| %>
<tr>
<... | <h3>Recently Invalidated Feedback</h3>
<table class="table table-striped">
<thead>
<tr>
<th>Post</th>
<th>Feedback Type</th>
<th>Feedback Creator</th>
<th>Invalidated At</th>
<th>Invalidated By</th>
</tr>
</thead>
<tbody>
<% @feedbacks.each do |f| %>
<tr>
<... | Update to new feedback page format | Update to new feedback page format | HTML+ERB | cc0-1.0 | SulphurDioxide/metasmoke,j-f1/forked-metasmoke,j-f1/forked-metasmoke,angussidney/metasmoke,Charcoal-SE/metasmoke,angussidney/metasmoke,Charcoal-SE/metasmoke,angussidney/metasmoke,Charcoal-SE/metasmoke,j-f1/forked-metasmoke,SulphurDioxide/metasmoke,j-f1/forked-metasmoke,Charcoal-SE/metasmoke,SulphurDioxide/metasmoke,ang... |
91af4f81d955d83c03e3c9284e3695d90d5cf77a | app/views/participant_mailer/signup_confirmation.html.erb | app/views/participant_mailer/signup_confirmation.html.erb | <p>Hallo <%= @participant.first_name %>,</p>
<p>Deine Anmeldung für den <%= "#{@performance.contest.round.name} #{@performance.contest.year}" %> in der Kategorie <em><%= @performance.category.name %></em> wurde erfolgreich gespeichert.</p>
<p>Bis zum <strong>Anmeldeschluss am <%= l(@performance.contest.last_signup_da... | <p>Hallo <%= @participant.first_name %>,</p>
<p>Deine Anmeldung für den <%= "#{@performance.contest.round.name} #{@performance.contest.year}" %> in der Kategorie <em><%= @performance.category.name %></em> wurde erfolgreich gespeichert.</p>
<p>Bis zum <strong>Anmeldeschluss am <%= l(@performance.contest.last_signup_da... | Fix spelling in signup confirmation mail | Fix spelling in signup confirmation mail
| HTML+ERB | mit | richeterre/jumubase-rails,richeterre/jumubase-rails,richeterre/jumubase-rails |
bd6aad63249e6824a24d2d135d78130046d05da2 | app/views/errors/error_503.html.erb | app/views/errors/error_503.html.erb | <% content_for(:page_title, '503') %>
<h1 class="page-title">
<%= @custom_header || 'Temporarily unavailable' %>
</h1>
<p><%= @custom_body || 'Transition is unavailable due to scheduled maintenance' %></p>
| <% content_for(:page_title, '503') %>
<h1 class="page-title">
<%= @custom_header || 'Temporarily unavailable' %>
</h1>
<% if @custom_body %>
<p><%= @custom_body %></p>
<% else %>
<p>Transition is unavailable due to scheduled maintenance</p>
<p><a href="mailto:<%= Rails.configuration.support_email %>">Contact u... | Add contact details to the 503 maintenance page | Add contact details to the 503 maintenance page
| HTML+ERB | mit | alphagov/transition,alphagov/transition,alphagov/transition |
0aab4c87d2700bffab8997e48eb0b3270f405469 | app/views/layouts/calendar.html.erb | app/views/layouts/calendar.html.erb | <!DOCTYPE html>
<html>
<head>
<title><%= t 'application_title' %></title>
<%= csrf_meta_tags %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
</head>
<body>
<nav class="navbar navbar-li... | <!DOCTYPE html>
<html>
<head>
<title><%= t 'application_title' %></title>
<%= csrf_meta_tags %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
</head>
<body>
<nav class="navbar navbar-li... | Add delete method to sign out link | Add delete method to sign out link
| HTML+ERB | mit | loqman/EventCalendar,loqman/EventCalendar,loqman/EventCalendar |
ae2fa10924e53fb700378eceee0bcc38b8f89b4f | app/views/items/index.html.erb | app/views/items/index.html.erb | <div class="item-container">
<span class="page-header"><h1>Items In Stock</h1><p><%= link_to "CATEGORIES", categories_path %></p></span>
<% @items.each do |item| %>
<div class="individual-item-index">
<%= link_to item.name, item_path(item) %>
<% if !item.image.blank? %>
<img src="<%= it... | <div class="item-container">
<span class="page-header"><h1>Items In Stock</h1><p><%= link_to "CATEGORIES", categories_path %></p></span>
<% @items.each do |item| %>
<div class="individual-item-index">
<%= link_to item.name, item_path(item) %>
<% if !item.image.blank? %>
<img src="<%= it... | Add placeholder link, does not currently work | Add placeholder link, does not currently work
| HTML+ERB | mit | benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop |
c0fa0478d54d499d3f08fcf8b657e98b28cc9ce3 | manifest.json.erb | manifest.json.erb | {
"bot_id": "companies_house_<%= @number %>",
"title": "Companies House ETL",
"description": "Port of Companies House ETL",
"language": "ruby",
"data_type": "address",
"company_fields": {
"name": "company"
},
"files": [
"scraper.rb"
],
"frequency": "monthly",
"publisher": {
"name": "Co... | {
"bot_id": "companies_house_<%= @number %>",
"title": "Companies House ETL",
"description": "Port of Companies House ETL",
"language": "ruby",
"data_type": "address",
"company_fields": {
"name": "company"
},
"files": [
"companies_house.rb"
"scraper.rb"
],
"frequency": "monthly",
"publ... | Add main script to manifest | Add main script to manifest
| HTML+ERB | mit | OpenAddressesUK/companies_house,OpenAddressesUK/companies_house |
5224a9ec854416f77d9cde0fbb065459bfc0f649 | cookbooks/wt_storm/templates/default/log4j.properties.erb | cookbooks/wt_storm/templates/default/log4j.properties.erb | log4j.category.com.webtrends.streaming = ERROR, ERR
log4j.rootLogger=INFO, ROOT
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=[%d] %p %m (%c)%n
log4j.appender.ERR=org.apache.log4j.RollingFileAppender
l... | log4j.category.com.webtrends.streaming = ERROR, ERR
log4j.rootLogger=INFO, ROOT
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=[%d] %p %m (%c)%n
log4j.appender.ERR=org.apache.log4j.RollingFileAppender
l... | Modify an additional log4j file in the wt_storm cookbook to use /var/log/storm | Modify an additional log4j file in the wt_storm cookbook to use /var/log/storm
Former-commit-id: c4d7ca27b94e0cf50ef3fe71436ac2992247274c [formerly 97def8911497f940fc1b657d1df0995c33241cdf] [formerly bbebe4067fd18a751fac48de26a7f7c1b69c79a8 [formerly c78cc001e003ae0e30c4835aa705c0a718a6622f]]
Former-commit-id: 968574... | HTML+ERB | apache-2.0 | marthag8/rundeck,ronabop/rundeck,edwlarkey/rundeck,ronabop/rundeck,edwlarkey/rundeck,tas50/rundeck,marthag8/rundeck,ARentz07/rundeck,ARentz07/rundeck,marthag8/rundeck,ARentz07/rundeck,edwlarkey/rundeck,tas50/rundeck,tas50/rundeck,ronabop/rundeck |
58649a8b527e0b589e9f32e2d05cfb7894d01beb | app/views/user/show.erb | app/views/user/show.erb | <h1>Stats for user <%=@user.username%></h1>
<p>Hi <%=@user.first_name%>, here are your stats!</p>
<%= @user.rounds.each do |round| %>
Deck played: <%= round.cards.first.deck.name %> on: <%= round.created_at %>
Number of first-time correct guesses: <%= round.guesses.where(is_correct:true).where.not(card_id: round.gu... | Add first draft of a user's profile view, along with stats logic | Add first draft of a user's profile view, along with stats logic
| HTML+ERB | mit | kimchanyoung/web-flashcards,kimchanyoung/web-flashcards,kimchanyoung/web-flashcards,kimchanyoung/web-flashcards | |
8f0d607b3dbba1a592df51fcae6e58ad8d674b55 | views/new.erb | views/new.erb | <h2>Add new post</h2>
<p>
<form>
<textarea class="form-control" rows="6"></textarea>
<br/>
<button type="submit" class="btn btn-success">Submit</button>
</form>
</p>
| <h2>Add new post</h2>
<p>
<form action="/new" method="POST">
<textarea class="form-control" rows="6"></textarea>
<br/>
<button type="submit" class="btn btn-success">Submit</button>
</form>
</p>
| Add action? method attributes to form | Add action? method attributes to form
| HTML+ERB | mit | Grenkl/Lesson28_Blog,Grenkl/Lesson28_Blog |
7c0e545a497f2cddcdd61d0056b9ec48ee34ff6f | pages/categories/index.erb | pages/categories/index.erb | ---
layout: default
title: Categories
---
<h3>Not just Macs</h3>
<p>There are currently <strong><%= @site.categories.count %></strong> categories on the site.</p>
<ul id="categories">
<% @site.categories.keys.sort.each do |slug| %>
<li>
<a href="/categories/<%= slug %>/" title="View all the '<%= @site.categorie... | ---
layout: default
title: Categories
---
<h3>Not just Macs</h3>
<p>There are currently <strong><%= @site.categories.count %></strong> categories on the site.</p>
<ul id="categories">
<% @site.categories.keys.sort.each do |slug| %>
<li>
<a href="/categories/<%= slug %>/" title="View all the <%= @site.categories... | Remove the quotes around the category name in the link. | Remove the quotes around the category name in the link.
| HTML+ERB | mit | waferbaby/usesthis,ivuk/usesthis,ivuk/usesthis,waferbaby/usesthis |
e0957cb8db3bf4c66b4fb135735241e7de4df92d | templates/xfce4-terminal/dark.terminalrc.erb | templates/xfce4-terminal/dark.terminalrc.erb | <%
# XFCE 4 Terminal Template
# Chris Kempson (http://chriskempson.com)
%>[Configuration]
ColorCursor=<%= base["05"]["dhex"] %>
ColorForeground=#<%= base["05"]["dhex"] %>
ColorBackground=#<%= base["00"]["dhex"] %>
ColorPalette1=#<%= base["00"]["dhex"] %>
ColorPalette2=#<%= base["08"]["dhex"] %>
ColorPalette3=#<%= base... | <%
# XFCE 4 Terminal Template
# Chris Kempson (http://chriskempson.com)
%>[Configuration]
ColorCursor=#<%= base["05"]["dhex"] %>
ColorForeground=#<%= base["05"]["dhex"] %>
ColorBackground=#<%= base["00"]["dhex"] %>
ColorPalette1=#<%= base["00"]["dhex"] %>
ColorPalette2=#<%= base["08"]["dhex"] %>
ColorPalette3=#<%= bas... | Fix ColorCursor setting in Xfce4-Terminal | Fix ColorCursor setting in Xfce4-Terminal
| HTML+ERB | mit | forivall/base16-builder,keith/color-builder,ohnemax/base16-builder,idleberg/base16-builder,rail44/base16-builder,sbomer/base16-builder,hakatashi/base16-builder,gabrielflorit/base16-builder,chriskempson/base16-builder,VoltiSubito/base16-builder,Maximus5/base16-builder,hakatashi/base16-builder,enosys/base16-builder,gabri... |
e36bd815589455432e71ae676ca7ba68364ed928 | templates/bin_setup.erb | templates/bin_setup.erb | #!/usr/bin/env sh
# Set up Rails app. Run this script immediately after cloning the codebase.
# https://github.com/thoughtbot/guides/tree/master/protocol
# Exit if any subcommand fails
set -e
# Set up Ruby dependencies via Bundler
if ! command -v bundle > /dev/null; then
gem install bundler --no-document
fi
bundl... | #!/usr/bin/env sh
# Set up Rails app. Run this script immediately after cloning the codebase.
# https://github.com/thoughtbot/guides/tree/master/protocol
# Exit if any subcommand fails
set -e
# Set up Ruby dependencies via Bundler
if ! command -v bundle > /dev/null; then
gem install bundler --no-document
fi
bundl... | Remove unnecessary check for directory existence | Remove unnecessary check for directory existence
`mkdir -p` will no-op if the directory already exists.
| HTML+ERB | mit | elevatorup/eu-suspenders,nilbus/suspenders,kvokka/suspenders,pedrosmmoreira/suspenders,pacso/suspenders,pineapplethief/suspenders,nplusp/suspenders,adarsh/suspenders,LiveTyping/suspenders,reshleman/suspenders,delphaber/suspenders,mib32/suspenders,zamith/suspenders,philosophie/suspenders,kvokka/suspenders,namuit/welaika... |
d8244f4911c7695c130f53a42e563845b2b17c45 | wateringServer/app/views/users/show.html.erb | wateringServer/app/views/users/show.html.erb | <p>
<%= @user.email %>
</p>
<ul>
<% @plants.each do |plant| %>
<li><%= link_to "#{plant.name}", plant %></li>
<ul>
<% if plant.latest_watering %>
<li>Days since watering: <%= plant.days_since_watering %></li>
<li>Amount: <%= plant.latest_watering.amount %></li>
<% e... | <p>
<%= @user.email %>
</p>
<ul>
<% @plants.each do |plant| %>
<li><%= link_to "#{plant.name}", plant %></li>
<ul>
<% if plant.latest_watering %>
<li>Days since watering: <%= plant.days_since_watering %></li>
<li>Amount: <%= plant.latest_watering.amount %></li>
<% e... | Clean up needs water display text | Clean up needs water display text
| HTML+ERB | mit | darmbrus/plant-watering-tracker,darmbrus/plant-watering-tracker,darmbrus/plant-watering-tracker,darmbrus/plant-watering-tracker,darmbrus/plant-watering-tracker |
d5ee61a9ad18d59265048631188f76535cb8c0f9 | app/views/backend/content/rows/columns/edit.html.erb | app/views/backend/content/rows/columns/edit.html.erb | <%= simple_form_for(@column, url: backend_content_row_columns_path(@row)) do |f| %>
<div class="card">
<div class="card-header">
<%= t 'b.edit_column' %>
</div>
<div class="card-block">
<div class="row">
<div class="col-md-6">
<%= f.input :width, as: :integer %>
</di... | <%= simple_form_for(@column, url: backend_content_row_column_path(@row, @column)) do |f| %>
<div class="card">
<div class="card-header">
<%= t 'b.edit_column' %>
</div>
<div class="card-block">
<div class="row">
<div class="col-md-6">
<%= f.input :width, as: :integer %>
... | Fix column edit form action. | Fix column edit form action.
| HTML+ERB | mit | udongo/udongo,udongo/udongo,udongo/udongo |
56df024bf8548bec0168560ca9b00520e50beed6 | app/views/progress_updates/_progress_update.html.erb | app/views/progress_updates/_progress_update.html.erb |
<div class="box box-index">
<div class="media">
<%= image_tag(progress_update.user.avatar.thumb.url, :class => "d-flex mr-3 avatar-small") %>
<div class="media-body">
<strong><%= link_to progress_update.user.name, user_path(progress_update.user) %></strong>
posted an updat... |
<div class="box box-index">
<div class="media">
<%= image_tag(progress_update.user.avatar.thumb.url, :class => "d-flex mr-3 avatar-small") %>
<div class="media-body">
<strong><%= link_to progress_update.user.name, user_path(progress_update.user) %></strong>
posted an updat... | Change 0 to nil to account for refactored controller code | Change 0 to nil to account for refactored controller code
| HTML+ERB | mit | Cecily2/writing-project-tracker,Cecily2/writing-project-tracker,Cecily2/writing-project-tracker |
0098e7cc678713ee1777ce7e74547e4ad93d23ba | templates/mod/jk/workers.properties.erb | templates/mod/jk/workers.properties.erb | # This file is generated automatically by Puppet - DO NOT EDIT
# Any manual changes will be overwritten
<% @workers_file_content.sort.each do |worker,directives| -%>
<% directives.sort.each do |property,value| -%>
worker.<%= worker %>.<%= property %>=<%= value %>
<% end -%>
<% end -%>
| Include template for mod_jk workers file | Include template for mod_jk workers file
| HTML+ERB | apache-2.0 | eputnam/puppetlabs-apache,traylenator/puppetlabs-apache,eputnam/puppetlabs-apache,traylenator/puppetlabs-apache,yakatz/puppetlabs-apache,puppetlabs/puppetlabs-apache,puppetlabs/puppetlabs-apache,yakatz/puppetlabs-apache | |
5779781aaadd7f3c240ff3f547b3d68d0fd471e1 | source/layouts/layout.erb | source/layouts/layout.erb | <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
<title>Mumineen Calendar</title>
<meta name="description" content="A Hijri calendar for Dawoodi Bohra Shia Muslims who follow the 53rd Dai al-Mutlaq, His Holiness Syedna Aale ... | <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
<title>Mumineen Calendar</title>
<meta name="description" content="A Hijri calendar for Dawoodi Bohra Shia Muslims who follow the 53rd Dai al-Mutlaq, His Holiness Syedna Aale ... | Remove protocol in canonical link | Remove protocol in canonical link
| HTML+ERB | mit | mygulamali/mumineen_calendar_js,mygulamali/mumineen_calendar_js,mygulamali/mumineen_calendar_js,mygulamali/mumineen_calendar_js |
9273498e7a2375ef62dd9438c3a05b21a8987383 | source/partials/_link-interviewees-footer.erb | source/partials/_link-interviewees-footer.erb | <% if interviewee %>
<h3 id='other-episodes'>Other Episodes</h3>
<a class='other-episodes' href="/tags/<%= dasherize(interviewee) %>"><%= interviewee %></a>
<% end %>
| <h4>INTERESTING INTERVIEWS YOU MAY ALSO LIKE</h4>
<% if interviewee %>
<h3 id='other-episodes'>Other Episodes</h3>
<a class='other-episodes' href="/tags/<%= dasherize(interviewee) %>"><%= interviewee %></a>
<% end %>
<div class='recent-posts'>
<ul>
<% blog.articles.shuffle[0...3].each do |article| %>
... | Implement basic suggestions in blog layout footer | Implement basic suggestions in blog layout footer
Extracts article frontmatter data
interviewee
contentful_pic_link
| HTML+ERB | mit | vis-kid/bytepushers,vis-kid/bytepushers,vis-kid/bytepushers |
b7485cc86e034202250b50e3358c2491aa11bfba | templates/puppet.conf.erb | templates/puppet.conf.erb | # This file is managed by Puppet.
<%# This file is very similar to install.sh from epflsti/cluster.coreos.install %>
[main]
listen = true
[agent]
pluginsync = true
report = true
ignoreschedules = true
daemon = false
ca_server = <%= @puppet_conf_ca_server %>
certname = <%= ... | # This file is managed by Puppet.
<%# This file is very similar to install.sh from epflsti/cluster.coreos.install %>
[main]
listen = true
ca_server = <%= @puppet_conf_ca_server %>
[agent]
pluginsync = true
report = true
ignoreschedules = true
daemon = false
ca_server = <%= ... | Configure ca_server also in section | Configure ca_server also in section [main]
This lets "puppet certificate" work, e.g.
1. `puppet certificate generate --ca-location remote whatever.name`
2. go to Foreman → Infrastructure → Smart proxies → your smart proxy →
Actions drop down (right-hand side) → Certificates
3. Find the certificate request and clic... | HTML+ERB | mit | epfl-sti/cluster.coreos.puppet,epfl-sti/cluster.coreos.puppet,epfl-sti/cluster.coreos.puppet |
1b1fa761a92e8af9584d1fe6e95f68979019a7a9 | app/views/graphite/elective_blocks/_elective_block_header.html.erb | app/views/graphite/elective_blocks/_elective_block_header.html.erb | <div class="pull-right">
<div class="row">
<div class="col-md-7">
<%= button_to t(:label_save_and_close), (@elective_block.new_record? ? elective_blocks_path : elective_block_path(@elective_block)), form: {class: "form-inline" }, :class => "btn btn-primary save-and-close" %>
</div>
... | <div class="pull-right">
<div class="row">
<div class="col-md-7">
<%= button_to t(:label_save_and_close), (@elective_block.new_record? ? elective_blocks_path : elective_block_path(@elective_block)), form: {class: "form-inline" }, :class => "btn btn-primary save-and-close" %>
</div>
</div>
</div> | Drop 'save and add another' from elective blocks form | Drop 'save and add another' from elective blocks form
Change-Id: I5d39ea21ff02442e880ec470b7c48d18603cb2b2
| HTML+ERB | agpl-3.0 | Opensoftware/USI-Graphite,Opensoftware/USI-Graphite,Opensoftware/USI-Graphite |
7bcb4e84ee594ac37bc08c1a282f7cdb2e20c8c6 | app/views/partials/leaderboard_table.html.erb | app/views/partials/leaderboard_table.html.erb | <div class="board">
<h1><strong>From:</strong> <%= Time.now.beginning_of_week.to_date %> - <%= Time.now.end_of_week.to_date %></h1>
<div class="board-table">
<table class="table table-striped">
<thead>
<tr class="title">
<th>Rank</th>
<th>Name</th>
<th>Minutes</th>
... | <div class="board">
<h1><strong>From:</strong> <%= @start_date %> - <%= @end_date %></h1>
<div class="board-table">
<table class="table table-striped">
<thead>
<tr class="title">
<th>Rank</th>
<th>Name</th>
<th>Minutes</th>
</tr>
</thead>
<% @leade... | Use instance variables, not Time.now | Use instance variables, not Time.now
| HTML+ERB | mit | ombulabs/freckler,ombulabs/pecas,ombulabs/pecas,ombulabs/pecas,ombulabs/freckler,ombulabs/freckler |
b7d19dd34c06659df79377d76bc3aec0d0f74500 | app/views/spree/admin/shared/_routes.html.erb | app/views/spree/admin/shared/_routes.html.erb | <script>
Spree.routes = <%== {
:variants_search => spree.admin_search_variants_path(:format => 'json'),
:taxons_search => main_app.api_taxons_path(:format => 'json'),
:user_search => spree.admin_search_users_path(:format => 'json'),
:orders_api => main_app.api_orders... | <script>
Spree.routes = <%== {
:variants_search => spree.admin_search_variants_path(:format => 'json'),
:taxons_search => main_app.api_taxons_path(:format => 'json'),
:orders_api => main_app.api_orders_path
}.to_json %>;
</script>
| Remove unused route from Spree.routes | Remove unused route from Spree.routes
| HTML+ERB | agpl-3.0 | mkllnk/openfoodnetwork,Matt-Yorkley/openfoodnetwork,mkllnk/openfoodnetwork,Matt-Yorkley/openfoodnetwork,Matt-Yorkley/openfoodnetwork,mkllnk/openfoodnetwork,openfoodfoundation/openfoodnetwork,Matt-Yorkley/openfoodnetwork,lin-d-hop/openfoodnetwork,mkllnk/openfoodnetwork,lin-d-hop/openfoodnetwork,lin-d-hop/openfoodnetwork... |
6953b59cb0e846efec89e29e4020351f5f5c0ac0 | app/views/organisations/show.html.erb | app/views/organisations/show.html.erb | <% breadcrumb(@organisation) %>
<%= content_for :page_title, @organisation.title %>
<header>
<div class="page-title">
<h1>
<%= @organisation.title %>
</h1>
</div>
<%= render 'in_conjunction_with' %>
</header>
<% unless @sites.empty? %>
<h2>Sites</h2>
<table class="sites table table-hover table... | <% breadcrumb(@organisation) %>
<%= content_for :page_title, @organisation.title %>
<header>
<div class="page-title">
<h1>
<%= @organisation.title %>
</h1>
</div>
<%= render 'in_conjunction_with' %>
</header>
<% unless @sites.empty? %>
<h2>Sites</h2>
<table class="sites table table-hover table... | Remove 'breakable' class from org title | Remove 'breakable' class from org title
This class allows URLs to split at a . if they are too long for a
single line, rather than only on spaces. Since organisation titles
have spaces in them we don't need this class here.
| HTML+ERB | mit | alphagov/transition,alphagov/transition,alphagov/transition |
e8bd272a25b1f0675a936ad27530829ce36efe64 | app/views/questionnaires/new_quiz.erb | app/views/questionnaires/new_quiz.erb | <%= render :partial => 'new_quiz_script' %>
<h1>New <%= @questionnaire.display_type %></h1>
<% if @questionnaire.type == "QuizQuestionnaire" %> <!--handle a questionnaire differently if it is a quiz-->
<%= form_tag :action => 'create_quiz_questionnaire', :pid => @participant_id, :aid => @assignment_id do %>
... | <%= render :partial => 'new_quiz_script' %>
<h1>New <%= @questionnaire.display_type %></h1>
<% if @questionnaire.type == "QuizQuestionnaire" %> <!--handle a questionnaire differently if it is a quiz-->
<%= form_tag :action => 'create_quiz_questionnaire', :pid => @participant_id, :aid => @assignment_id do %>
... | Remove useless code in if-else related to quiz creation. | Remove useless code in if-else related to quiz creation.
| HTML+ERB | mit | mhhassan/expertiza,mhhassan/expertiza,rmmaily/expertiza,ApertureScienceInnovators/expertiza,arpitashekhar/expertiza,kira0992/expertiza,expertiza/expertiza,sid5788/expertiza,urmilparikh95/expertiza,redsock88/expertiza,michaelamoran/expertiza,ApertureScienceInnovators/expertiza,rmmaily/expertiza,redsock88/expertiza,redso... |
42f9bdc4ea91556da36f8baffe401573330d8657 | app/views/admin/dashboard/index.html.erb | app/views/admin/dashboard/index.html.erb | <% provide(:title, "Admin::Dashboard#index") %>
<p>Find me in app/views/admin/dashboard/index.html.erb</p>
| <% provide(:title, "Admin::Dashboard#index") %>
<p>Find me in app/views/admin/dashboard/index.html.erb</p>
<p>
<%= link_to(new_admin_user_path, :class => "btn btn-default") do %>
<%= fa_icon(:"user-plus") %>
Create an admin
<% end %>
</p>
| Add a button to /admin/users/new | Add a button to /admin/users/new
| HTML+ERB | apache-2.0 | catima/catima,catima/catima,catima/catima,catima/catima |
81cbc2dc62848799dbc07d1cd8cf0d5c2387016e | app/views/shared/_flash_notices.html.erb | app/views/shared/_flash_notices.html.erb | <% notices = flash_notices()
# static messages (i.e. ones that are present on page load) need to push
# the content down, since they don't auto-dismiss themselves. but they
# also need to be fixed so they remain visible when you scroll down so we
# put a copy of them in this hidden (but layout-ed) buffer
%>
<ul id="fla... | <% notices = flash_notices()
# static messages (i.e. ones that are present on page load) need to push
# the content down, since they don't auto-dismiss themselves. but they
# also need to be fixed so they remain visible when you scroll down so we
# put a copy of them in this hidden (but layout-ed) buffer
%>
<ul id="fla... | Make group flash notifications accessible for JAWS | [Accessibility] Make group flash notifications accessible for JAWS
Fixes: CNVS-12797
JAWS requires a div to exist already for it to be
accessible. The flash_screenreader_holder existed,
so adding the partial there when it's needed will
make JAWS pick it up and read it immediately.
Test-Plan:
-Use old groups by disab... | HTML+ERB | agpl-3.0 | skmezanul/canvas-lms,fronteerio/canvas-lms,SwinburneOnline/canvas-lms,redconfetti/canvas-lms,snehakachroo1/LSI_replica,shidao-fm/canvas-lms,SwinburneOnline/canvas-lms,snehakachroo1/LSI_replica,utkarshx/canvas-lms,Jyaasa/canvas-lms,HotChalk/canvas-lms,leftplusrightllc/canvas-lms,redconfetti/canvas-lms,whalejasmine/canva... |
135be909acdc92464e96024797ef5b4eb7b0b9b0 | app/views/smart_answers/_result.html.erb | app/views/smart_answers/_result.html.erb | <div class="article-container outcome">
<article class="outcome group">
<div class="result-info">
<div class="inner group">
<% if outcome.has_title? %>
<div class="summary"><h2 class="result-title"><%= outcome.title %></h2></div>
<% end %>
<% if outcome.has_body? %>
... | <div class="article-container outcome">
<article class="outcome group">
<div class="result-info">
<div class="inner group">
<% if outcome.has_title? %>
<div class="summary"><h2 class="result-title"><%= outcome.title %></h2></div>
<% end %>
<% if outcome.has_body? %>
... | Use GOVUK.analytics.trackEvent instead of ga function | Use GOVUK.analytics.trackEvent instead of ga function
This replaces PR #1899.
Version 4.1.0 of the govuk_frontend_toolkit Gem introduced the ability to
specify the page when calling the `trackEvent` function.
The `GOVUK.analytics.trackEvent` function comes from the govuk_frontend_toolkit
Gem in Static. Static has be... | HTML+ERB | mit | stwalsh/smart-answers,stwalsh/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,stwalsh/smart-answers,alphagov/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers,stwalsh/smart-answers,aledelcueto/smart-answers |
c8b6a1a4a1be5e5c1f5263b7c64afe059282b074 | app/views/budgets/_finished.html.erb | app/views/budgets/_finished.html.erb | <div class="row margin-top">
<div class="small-12 medium-9 column">
<h2><%= t("budgets.index.finished_budgets") %></h2>
<div id="finished_budgets" class="budget-investments-list">
<% budgets.each do |budget| %>
<div class="budget-investment clear">
<div class="panel past-budgets">
... | <div class="row margin-top">
<div class="small-12 medium-9 column">
<h2><%= t("budgets.index.finished_budgets") %></h2>
<div id="finished_budgets" class="budget-investments-list">
<% budgets.each do |budget| %>
<div class="budget-investment clear">
<div class="panel past-budgets">
... | Use the same view code for finished budgets | Use the same view code for finished budgets
The differences between the custom code and the code in CONSUL didn't
make much sense anymore: the path can be passed a budget instead of an
ID (so it uses a slug) and there's no reason to hide the link to the
executions for the 2018 budget anymore. Furthermore, removing the... | HTML+ERB | agpl-3.0 | consul/consul,consul/consul,usabi/consul_san_borondon,AyuntamientoPuertoReal/decidePuertoReal,usabi/consul_san_borondon,consul/consul,usabi/consul_san_borondon,consul/consul,AyuntamientoPuertoReal/decidePuertoReal,usabi/consul_san_borondon,AyuntamientoPuertoReal/decidePuertoReal,consul/consul |
bb84cab2fceb470cd1e7fa1ceeb5e7c4c764f5de | actionpack/lib/action_dispatch/middleware/templates/rescues/_trace.erb | actionpack/lib/action_dispatch/middleware/templates/rescues/_trace.erb | <%
traces = [
["Application Trace", @exception.application_backtrace],
["Framework Trace", @exception.framework_backtrace],
["Full Trace", @exception.clean_backtrace]
]
names = traces.collect {|name, trace| name}
%>
<p><code>RAILS_ROOT: <%= defined?(RAILS_ROOT) ? RAILS_ROOT : "unset" %></code></p>
<... | <%
traces = [
["Application Trace", @exception.application_backtrace],
["Framework Trace", @exception.framework_backtrace],
["Full Trace", @exception.clean_backtrace]
]
names = traces.collect {|name, trace| name}
%>
<p><code>Rails.root: <%= defined?(Rails) && Rails.respond_to?(:root) ? Rails.root : "... | Update reference to deprecated constant to avoid warnings | Update reference to deprecated constant to avoid warnings
| HTML+ERB | mit | matrinox/rails,samphilipd/rails,marklocklear/rails,untidy-hair/rails,yhirano55/rails,rails/rails,palkan/rails,betesh/rails,yahonda/rails,voray/rails,ttanimichi/rails,arunagw/rails,arunagw/rails,illacceptanything/illacceptanything,jeremy/rails,utilum/rails,MichaelSp/rails,yahonda/rails,kddeisz/rails,notapatch/rails,maic... |
f3b709e004f3a3d8205a475c18defc3967fa6118 | railties/lib/rails/generators/erb/scaffold/templates/_form.html.erb | railties/lib/rails/generators/erb/scaffold/templates/_form.html.erb | <%%= form_for(<%= singular_table_name %>) do |f| %>
<%% if <%= singular_table_name %>.errors.any? %>
<div id="error_explanation">
<h2><%%= pluralize(<%= singular_table_name %>.errors.count, "error") %> prohibited this <%= singular_table_name %> from being saved:</h2>
<ul>
<%% <%= singular_table... | <%%= form_for(<%= singular_table_name %>) do |f| %>
<%% if <%= singular_table_name %>.errors.any? %>
<div id="error_explanation">
<h2><%%= pluralize(<%= singular_table_name %>.errors.count, "error") %> prohibited this <%= singular_table_name %> from being saved:</h2>
<ul>
<%% <%= singular_table... | Add blank lines between divs in form scaffolding | Add blank lines between divs in form scaffolding
| HTML+ERB | mit | felipecvo/rails,mathieujobin/reduced-rails-for-travis,ngpestelos/rails,deraru/rails,kirs/rails-1,eileencodes/rails,printercu/rails,iainbeeston/rails,xlymian/rails,aditya-kapoor/rails,richseviora/rails,lucasmazza/rails,tgxworld/rails,BlakeWilliams/rails,riseshia/railsguides.kr,tjschuck/rails,kmcphillips/rails,bogdanvlvi... |
4523c271e8019885abc663b47d0f02b3751d7cf3 | templates/config.toml.erb | templates/config.toml.erb | concurrent = <%= @concurrent %>
[[runners]]
name = "ruby-2.1"
url = "https://CI/"
token = "TOKEN"
limit = 2
executor = "shell"
builds_dir = ""
shell = "bash"
[[runners]]
name = "ruby-2.1-docker"
url = "https://CI/"
token = "TOKEN"
limit = 0
executor = "docker"
builds_dir = ""
[runners.dock... | Add template for config file | Add template for config file
| HTML+ERB | apache-2.0 | Jeoffreybauvin/gitlab-ci-multi-runner,Jeoffreybauvin/gitlab-ci-multi-runner | |
f79f588a2d6a1479b240228f048e5a95b148bcc8 | app/views/spree/users/_drop_ship_orders.html.erb | app/views/spree/users/_drop_ship_orders.html.erb | <% if @user.has_supplier? %>
<h2>Drop Ship Orders</h2>
<% if @user.supplier.orders.present? %>
<table class="order-summary" width="545">
<thead>
<tr>
<th><%= t("order_number") %></th>
<th><%= t("total") %></th>
<th><%= t("sent_at") %></th>
<th><%= t("confirm... | <% if @user.has_supplier? %>
<h3>Drop Ship Orders</h3>
<% if @user.supplier.orders.present? %>
<table class="order-summary" width="545">
<thead>
<tr>
<th><%= t("order_number") %></th>
<th><%= t("total") %></th>
<th><%= t("sent_at") %></th>
<th><%= t("confirm... | Fix markup for new styles. | Fix markup for new styles.
| HTML+ERB | bsd-3-clause | boomerdigital/solidus_marketplace,spree-contrib/spree_drop_ship,pjar/spree_drop_ship,pjar/spree_drop_ship,firmanm/spree_drop_ship,firman/spree_drop_ship,boomerdigital/solidus_marketplace,sunny2601/spree_drop_ship,fiftin/spree_drop_ship,sunny2601/spree_drop_ship,firman/spree_drop_ship,reinaris/spree_drop_ship,fiftin/spr... |
2440f93873486ea7d1097c022653682876308f94 | source/classes.html.erb | source/classes.html.erb | ---
title: All Classes
---
<!-- Copyright (c) 2013, 2014 ICRL
See the file license.txt for copying permission. -->
<%= partial "partials/classnavlinks" %>
<h3>First Time Coders:</h3>
<%= partial "partials/webdevelopmentprimer" %>
<hr>
<hr>
<h3>Become a Junior Developer:</h3>
<%= partial "partials/frontendfreelancin... | ---
title: All Classes
---
<!-- Copyright (c) 2013, 2014 ICRL
See the file license.txt for copying permission. -->
<%= partial "partials/classnavlinks" %>
<h3>Build Your Skills:</h3>
<%= partial "partials/datavisualization" %>
<hr>
<hr>
<h3>Coming Soon:</h3>
<%= partial "partials/mobile-ios" %>
<hr>
<hr>
<h3>First... | Move Data Viz and iOS to the top of the All Classes page | Move Data Viz and iOS to the top of the All Classes page
| HTML+ERB | mit | portlandcodeschool/portlandcodeschool,portlandcodeschool/portlandcodeschool,portlandcodeschool/portlandcodeschool,portlandcodeschool/portlandcodeschool,portlandcodeschool/portlandcodeschool,portlandcodeschool/portlandcodeschool,portlandcodeschool/portlandcodeschool,portlandcodeschool/portlandcodeschool |
371240652c9fc150263449732ea1b14c9eb266f3 | app/views/spree/admin/shared/_tabs.html.erb | app/views/spree/admin/shared/_tabs.html.erb | <%= tab :overview, :route => :admin, :icon => 'icon-dashboard' %>
<%= tab :orders, :payments, :creditcard_payments, :shipments, :credit_cards, :return_authorizations, :url => admin_orders_path('q[s]' => 'completed_at desc'), :icon => 'icon-shopping-cart' %>
<%= tab :products , :option_types, :properties, :prototypes, :... | <%= tab :dashboard, :route => :admin, :icon => 'icon-dashboard' %>
<%= tab :orders, :payments, :creditcard_payments, :shipments, :credit_cards, :return_authorizations, :url => admin_orders_path('q[s]' => 'completed_at desc'), :icon => 'icon-shopping-cart' %>
<%= tab :products , :option_types, :properties, :prototypes, ... | Change 'Overview' menu item to 'Dashboard' | Change 'Overview' menu item to 'Dashboard'
| HTML+ERB | agpl-3.0 | ltrls/openfoodnetwork,MikeiLL/openfoodnetwork,MikeiLL/openfoodnetwork,oeoeaio/openfoodnetwork,oeoeaio/openfoodnetwork,Matt-Yorkley/openfoodnetwork,ecocitycore/openfoodnetwork,ltrls/openfoodnetwork,lin-d-hop/openfoodnetwork,lin-d-hop/openfoodnetwork,lin-d-hop/openfoodnetwork,Matt-Yorkley/openfoodnetwork,folklabs/openfoo... |
68126253a6887be2f83f50f6fd47a3af6aae4adb | app/views/votes/_vote.erb | app/views/votes/_vote.erb | <form method="post" action='/voteable_type/<%= .id %>/upvote' class="inline">
<button type="submit" name="submit_param" value="submit_value" class="fa fa-sort-desc vote-button upvote-button"></button>
</form>
<p>
<span class='votes'><%= .votes %></span>
</p>
<form method="post" action='/voteable_type/<%= .id %>/dow... | Edit vote view filename to reflect partial | Edit vote view filename to reflect partial
| HTML+ERB | mit | katekourbatova/helium-overflow,katekourbatova/helium-overflow,katekourbatova/helium-overflow |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.