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 |
|---|---|---|---|---|---|---|---|---|---|
adf4f92ffbc5192a00e682484847ef8073d07594 | app/views/spree/layouts/admin/_login_nav.html.erb | app/views/spree/layouts/admin/_login_nav.html.erb | <% if spree_current_user %>
<ul id="login-nav" class="inline-menu">
<li data-hook="user-logged-in-as"><%= t(:logged_in_as) %>: <%= spree_current_user.email %></li>
<li data-hook="user-account-link"><i class="icon-user"></i><%= link_to t(:account), spree.edit_user_path(spree_current_user) %></li>
<li data-... | <% if spree_current_user %>
<ul id="login-nav" class="inline-menu">
<li data-hook="user-logged-in-as"><%= t(:logged_in_as) %>: <%= spree_current_user.email %></li>
<li data-hook="user-account-link"><i class="icon-user"></i><%= link_to t(:account), spree.edit_user_path(spree_current_user) %></li>
<li data-... | Store links to root_path instead of product_path | Store links to root_path instead of product_path
| HTML+ERB | agpl-3.0 | Em-AK/openfoodnetwork,KateDavis/openfoodnetwork,MikeiLL/openfoodnetwork,ecocitycore/openfoodnetwork,Em-AK/openfoodnetwork,Matt-Yorkley/openfoodnetwork,folklabs/openfoodnetwork,MikeiLL/openfoodnetwork,Matt-Yorkley/openfoodnetwork,mkllnk/openfoodnetwork,stveep/openfoodnetwork,Matt-Yorkley/openfoodnetwork,MikeiLL/openfood... |
2b7bd30991c32369eea584944a0114ea86594150 | cookbooks/nagios/templates/default/hosts.cfg.erb | cookbooks/nagios/templates/default/hosts.cfg.erb | # Host definitions
#
# Autogenerated by Chef.
<% @nodes.each do |n| -%>
define host {
use server
address <%= n['ipaddress'] %>
host_name <%= n['hostname'] %>
<% if node['nagios']['multi_environment_monitoring'] -%>
<% if n.run_list.roles.nil? || n.run_list.roles.length == 0 -%>
hostgroups all,<%= n.os %>,<... | # Host definitions
#
# Autogenerated by Chef.
<% @nodes.each do |n| -%>
define host {
use server
address <%= (!n['cloud'].nil? && n['cloud'] != node['cloud']) ? n['cloud']['public_ipv4'] : n['ipaddress'] %>
host_name <%= n['hostname'] %>
<% if node['nagios']['multi_environment_monitoring'] -%>
<% if n.run_li... | Add an upstream pull request for ec2 internal IPs to the hosts template in Nagios | Add an upstream pull request for ec2 internal IPs to the hosts template in Nagios
| HTML+ERB | apache-2.0 | scottymarshall/rundeck,scottymarshall/rundeck,scottymarshall/rundeck |
b829cc62c07e59192b3904de733f3feebed97b66 | app/views/subscribers/_form.html.erb | app/views/subscribers/_form.html.erb | <p>
<%= f.label :name %>
<%= f.text_field :name %>
</p>
<p>
<%= f.label :email %>
<%= f.text_field :email %>
</p>
<p>
<%= f.label :password %><br />
<%= f.password_field :password %>
</p>
<p>
<%= f.label :password_confirmation, "Confirm Password" %><br />
<%= f.password_field :password_confirmation %>
</p>
... | <p>
<%= f.label :name %>
<%= f.text_field :name %>
</p>
<p>
<%= f.label :email %>
<%= f.text_field :email %>
</p>
<p>
<%= f.label :password %><br />
<%= f.password_field :password %>
</p>
<p>
<%= f.label :password_confirmation, "Confirm Password" %><br />
<%= f.password_field :password_confirmation %>
</p>
| Revert the AJAX checkbox till it's done | Revert the AJAX checkbox till it's done
| HTML+ERB | mit | bensie/zlist,jfqd/zlist,jfqd/zlist,bensie/zlist,jfqd/zlist |
92330b52203f34fc3de50ac65fe8e1adbb761aa1 | spec_app/app/views/compiler_test/timestamp.erb | spec_app/app/views/compiler_test/timestamp.erb | <script>
up.compiler('.timestamp', (element) => {
var now = new Date()
element.innerText = now
})
</script>
<div class="timestamp">
Uncompiled
| <script>
up.compiler('.timestamp', (element) => {
var now = new Date()
element.innerText = now
})
</script>
<div class="timestamp">
Uncompiled
</div>
| Update invalid HTML in spec_app | Update invalid HTML in spec_app
| HTML+ERB | mit | unpoly/unpoly,unpoly/unpoly,unpoly/unpoly |
41a07dc857562b595d0b303bb9b1e9f0342f95a7 | lib/smart_answer_flows/maternity-paternity-calculator/outcomes/_must_be_on_payroll.govspeak.erb | lib/smart_answer_flows/maternity-paternity-calculator/outcomes/_must_be_on_payroll.govspeak.erb | you must be liable for their secondary Class 1 National Insurance contributions - ie you will be if they’re on your payroll
| you must be liable for their secondary Class 1 National Insurance contributions - you are if they’re on your payroll
| Add minor change to maternity leave wording | Add minor change to maternity leave wording
Trello card: https://trello.com/c/QUboSszZ/1159-employers-maternity-calculator-new-question-in-maternity-branch
| HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
d49360f43d8b44a6d27569b83ac293b5a37bc50a | domgen/domgen/templates/iris/module.erb | domgen/domgen/templates/iris/module.erb | /* DO NOT EDIT: File is autogenerated */
package <%= schema.java.package %>;
<% set_iris_mode %>
@javax.annotation.Generated( "Domgen" )
@SuppressWarnings( { "UnusedDeclaration" } )
public class <%= schema.name %>Module
{
public static final Class<?>[] LOAD_AT_STARTUP =
{
<%= schema.object_types.sele... | /* DO NOT EDIT: File is autogenerated */
package <%= schema.java.package %>;
<% set_iris_mode %>
@javax.annotation.Generated( "Domgen" )
@SuppressWarnings( { "UnusedDeclaration" } )
public class <%= schema.name %>Module
{
public static final Class<?>[] LOAD_AT_STARTUP =
{
<%= schema.object_types.sele... | Add type codes used in transmission across the wire | Add type codes used in transmission across the wire
| HTML+ERB | apache-2.0 | icaughley/domgen,realityforge/domgen,william-ml-leslie/domgen,icaughley/domgen,realityforge/domgen |
d1507e7b9978bc7d4e162a1aa2ea556740c3a243 | source/index.html.erb | source/index.html.erb | ---
title: RxSwift Community Projects
---
<%=
opener = <<-EOS
<div class="row">
<div class="col-lg-10 col-lg-offset-1">
EOS
closer = <<-EOS
</div>
</div>
</div>
EOS
data.items.sections.map do |section|
section_name = section['name']
header = <<-EOS
<div class="page-header">
<h2> #{se... | ---
title: RxSwift Community Projects
---
<%=
opener = <<-EOS
<div class="row">
<div class="col-lg-10 col-lg-offset-1">
EOS
closer = <<-EOS
</div>
</div>
</div>
EOS
data.items.sections.map do |section|
section_name = section['name']
header = <<-EOS
<div class="page-header">
<h2> #{se... | Sort items by last GitHub update first, and alphabetically next | Sort items by last GitHub update first, and alphabetically next
| HTML+ERB | mit | RxSwiftCommunity/rxswiftcommunity.github.io,RxSwiftCommunity/rxswiftcommunity.github.io,RxSwiftCommunity/rxswiftcommunity.github.io |
f7c3fc63c12475496ce0a22d6b304a14dfc65e38 | app/views/content/_actions.html.erb | app/views/content/_actions.html.erb | <% @decorated_content.action_buttons.each do |action| %>
<% if action[:link_to] %>
<%= link_to action[:text], action[:path], class: action[:class], method: (action[:method] || :post ), type: action[:type] %>
<% elsif action[:button_to] %>
<%= button_to action[:text], action[:path], class: action[:class], me... | <% @decorated_content.action_buttons.each do |action| %>
<% if action[:link_to] %>
<%= link_to action[:text], action[:path], class: action[:class], method: (action[:method] || :post ), type: action[:type], role: "button", data: { disable_with: action[:text]} %>
<% elsif action[:button_to] %>
<%= button_to a... | Add disable with to link_to and button_to. | Add disable with to link_to and button_to.
| HTML+ERB | agpl-3.0 | harvard-lil/h2o,harvard-lil/h2o,harvard-lil/h2o,harvard-lil/h2o |
48133038c97ab612ad1df00729bcab58c98e52ed | app/views/profiles/_splits.html.erb | app/views/profiles/_splits.html.erb | <section id="splits">
<h3>Splits</h3>
<p>The following directories will be split in rsyncs for A-Z, a-z and 0-9. This increases performance for very large directories. Files and directories starting with other characters will not be backupped!</p>
<ul>
<% @profile.splits.each do | split | %>
<li><%=h split.path %... | <section id="splits">
<h3>Splits</h3>
<p>The following directories will be split in rsyncs for A-Z, a-z and 0-9. This increases performance for very large directories. Files and directories starting with other characters will not be backed up!</p>
<ul>
<% @profile.splits.each do | split | %>
<li><%=h split.path %... | Change wording. Patch by Bert Driehuis | Change wording. Patch by Bert Driehuis
| HTML+ERB | isc | driehuis/retcon-web,driehuis/retcon-web,Wijnand/retcon-web,Wijnand/retcon-web,driehuis/retcon-web,driehuis/retcon-web |
489ec06a5c5a6e86ea15de9ac04ce07bd25415b0 | app/views/schools/_results.html.erb | app/views/schools/_results.html.erb | <h6>search results: <%= @results.length %></h5>
<ul class="list-group results-list">
<% @results.each do |item| %>
<div class="result-item clickable">
<a data-toggle="modal" data-target="#schoolModal" data-dbn="<%= item.dbn%>" data-school="<%= item.school %>" data-enrollment=<%= item.total_enrollment %> data-o... | <h6>search results: <%= @results.length %></h5>
<ul class="list-group results-list">
<% @results.each do |item| %>
<div class="result-item clickable">
<a data-toggle="modal" data-target="#schoolModal" data-dbn="<%= item.dbn%>" data-school="<%= item.school %>" data-enrollment=<%= item.total_enrollment %> data-o... | Add district information to search results list | Add district information to search results list
| HTML+ERB | mit | fma2/cfe-money,fma2/cfe-money,fma2/cfe-money |
620a305f4e722b7f23d035d8b51256a4d71d0043 | app/views/todo_lists/index.html.erb | app/views/todo_lists/index.html.erb | <h1>Listing todo_lists</h1>
<table>
<thead>
<tr>
<th>Title</th>
<th>Description</th>
<th></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<% @todo_lists.each do |todo_list| %>
<tr>
<td><%= todo_list.title %></td>
<td><%= todo_list.description %></t... | <h1>Listing todo_lists</h1>
<table>
<thead>
<tr>
<th>Title</th>
<th>Description</th>
<th></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<% @todo_lists.each do |todo_list| %>
<tr id="<%= dom_id(todo_list) %>">
<td><%= todo_list.title %></td>
<td><... | Add tests for editing todo lists | Add tests for editing todo lists
| HTML+ERB | mit | travisjaldrich/todo-list-treehouse,travisjaldrich/todo-list-treehouse,travisjaldrich/todo-list-treehouse |
0b0c8720fb824bdead1720f84e71a520059b4e6d | app/views/admin/operators/_form.erb | app/views/admin/operators/_form.erb | <%- if !@operator.errors.empty? %>
<div class='form-error'>
<%= t('admin.operator_form_error') %>
</div>
<%- end %>
<div class='form-field'>
<%- if @operator.errors.on(:name) %>
<div class='error'>
<%= error_message_on @operator, :name %>
</div>
<%-end %>
<%= raw f.label :name %>
<%= raw ... | <%- if !@operator.errors.empty? %>
<div class='form-error'>
<%= t('admin.operator_form_error') %>
</div>
<%- end %>
<div class='form-field'>
<%- if @operator.errors.on(:name) %>
<div class='error'>
<%= error_message_on @operator, :name %>
</div>
<%-end %>
<%= raw f.label :name %>
<%= raw ... | Add fields for company_no, url and address. | Add fields for company_no, url and address.
| HTML+ERB | agpl-3.0 | mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport |
59b51bae9bc8b8a3f6611aa11423b2c306718abe | app/views/root/related.raw.html.erb | app/views/root/related.raw.html.erb | <% if artefact && artefact.present? %>
<!-- related -->
<div class="related-positioning">
<div class="related-container">
<div class="related">
<div class="inner group">
<h2>Related topics</h2>
<nav role="navigation">
<ul>
<% if artefact.related_items.size > 0 %>
... | <% if artefact %>
<!-- related -->
<div class="related-positioning">
<div class="related-container">
<div class="related">
<div class="inner group">
<h2>Related topics</h2>
<nav role="navigation">
<ul>
<% if artefact["related_items"].any? %>
<% artefact[... | Update related template to work with a plain hash | Update related template to work with a plain hash
Necessary to work with slimmer 2.0. Will be backwards compatible with
slimmer 1.x as it uses a GdsApi::Response which behaves like a hash.
| HTML+ERB | mit | tadast/static,kalleth/static,robinwhittleton/static,kalleth/static,tadast/static,alphagov/static,alphagov/static,robinwhittleton/static,robinwhittleton/static,tadast/static,tadast/static,kalleth/static,alphagov/static,kalleth/static,robinwhittleton/static |
d849a0c4de85452e6eedc31f4582d2cfcca1b3ee | app/views/gobierto_admin/gobierto_common/custom_fields/custom_fields/_plugin_configuration_form.html.erb | app/views/gobierto_admin/gobierto_common/custom_fields/custom_fields/_plugin_configuration_form.html.erb | <h4 class="options compact"><%= t(".configuration") %></h4>
<div class="field_item_def_cont">
<div class="form_item textarea">
<%= text_area_tag "custom_field[plugin_configuration]", f.object.plugin_configuration.present? ? JSON.pretty_generate(f.object.plugin_configuration) : nil %>
</div>
</div>
| <h4 class="options compact">
<%= t(".configuration") %>
<%= link_to "#{module_doc_url}#section-plugin", target: "_blank" do %>
<i class="fas fa-question-circle"></i>
<% end %>
</h4>
<div class="field_item_def_cont">
<div class="form_item textarea">
<%= text_area_tag "custom_field[plugin_configuration]"... | Add link to documentation from plugin options field | Add link to documentation from plugin options field
| HTML+ERB | agpl-3.0 | PopulateTools/gobierto-dev,PopulateTools/gobierto,PopulateTools/gobierto-dev,PopulateTools/gobierto,PopulateTools/gobierto-dev,PopulateTools/gobierto-dev,PopulateTools/gobierto,PopulateTools/gobierto |
c9b58f32f699a82a0c41c01a5e2f7a3db3157e40 | app/views/layouts/_analytics.html.erb | app/views/layouts/_analytics.html.erb | <% unless Rails.env.test? %>
<%= javascript_include_tag "https://www.googletagmanager.com/gtag/js?id=G-08J9WTTHMP", async: true %>
<% end %>
<%= javascript_tag nonce: true do %>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-0... | <% unless Rails.env.test? %>
<%= javascript_include_tag "https://www.googletagmanager.com/gtag/js?id=G-08J9WTTHMP", async: true %>
<% end %>
<%= javascript_tag nonce: true do %>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-0... | Add GA Universal tracking ID | Add GA Universal tracking ID
| HTML+ERB | mit | buildkite/docs,buildkite/docs,buildkite/docs,buildkite/docs |
9ac181f897b25068eacb99daea15109668654196 | app/views/layouts/mocks/show.html.erb | app/views/layouts/mocks/show.html.erb | <html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<title><%= @title || '' %> | Mockr</title>
<link rel="shortcut icon" href="/images/feelings/happy.gif" />
<%= stylesheet_link_tag "base" %>
<%= stylesheet_link_tag "layouts/application" %>
<%= javascrip... | <html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<title><%= @title || '' %> | Mockr</title>
<link rel="shortcut icon" href="/images/feelings/happy.gif" />
<%= stylesheet_link_tag "base" %>
<%= stylesheet_link_tag "layouts/application" %>
<%= javascrip... | Remove mention of fullscreen mode | Remove mention of fullscreen mode
| HTML+ERB | mit | causes/mockr,causes/mockr,causes/mockr |
389f7d47e3d143aac7ada458e422586f056b78b8 | gitconfig.erb | gitconfig.erb | [user]
name = <%= print("Your Name: "); STDOUT.flush; STDIN.gets.chomp %>
email = <%= print("Your Email: "); STDOUT.flush; STDIN.gets.chomp %>
[color]
ui = auto
[core]
excludesfile = <%= ENV['HOME'] %>/.gitignore
editor = mvim -f
[apply]
whitespace = nowarn
[format]
; pretty = %C(yellow)%h%Cred%d %Creset%... | [user]
name = <%= print("Your Name: "); STDOUT.flush; STDIN.gets.chomp %>
email = <%= print("Your Email: "); STDOUT.flush; STDIN.gets.chomp %>
[color]
ui = auto
[core]
excludesfile = <%= ENV['HOME'] %>/.gitignore
editor = mvim -f
[apply]
whitespace = nowarn
[format]
; pretty = %C(yellow)%h%Cred%d %Creset%... | Update git aliases, add pull --rebase by default | Update git aliases, add pull --rebase by default
| HTML+ERB | mit | carlosantoniodasilva/dotfiles,carlosantoniodasilva/dotfiles |
da72b4f28a1a7a5222531ca5afae1fa387df5d3a | jobs/proxy/templates/route-registrar_ctl.erb | jobs/proxy/templates/route-registrar_ctl.erb | #!/bin/bash
set -e # exit immediately if a simple command exits with a non-zero status
set -u # report the usage of uninitialized variables
JOB_NAME=route-registrar
RUN_DIR=/var/vcap/sys/run/cf-mysql-broker
LOG_DIR=/var/vcap/sys/log/cf-mysql-broker
PIDFILE=$RUN_DIR/route-registrar.pid
CONFIG_FILE=/var/vcap/jobs/prox... | #!/bin/bash
set -e # exit immediately if a simple command exits with a non-zero status
set -u # report the usage of uninitialized variables
JOB_NAME=route-registrar
RUN_DIR=/var/vcap/sys/run/proxy
LOG_DIR=/var/vcap/sys/log/proxy
PIDFILE=$RUN_DIR/route-registrar.pid
CONFIG_FILE=/var/vcap/jobs/proxy/config/route-regis... | Fix run and log dirs for route-registrar on proxy | Fix run and log dirs for route-registrar on proxy
- Was previously called "cf-mysql-broker"
[#116578267]
| HTML+ERB | apache-2.0 | cloudfoundry/cf-mysql-release,cloudfoundry/cf-mysql-release,cloudfoundry/cf-mysql-release,cloudfoundry/cf-mysql-release |
49628531307ba535df751c840b7f42dd16d18cb6 | app/flows/marriage_abroad_flow/outcomes/countries/peru/third_country/partner_other/_same_sex.erb | app/flows/marriage_abroad_flow/outcomes/countries/peru/third_country/partner_other/_same_sex.erb | You may be able to register a civil partnership or get married at the British embassy or consulate in Peru.
[Make an appointment at the embassy in Lima.](https://www.book-consular-appointment.service.gov.uk/TimeSelection?location=125&service=10)
##What documents you’ll need
You need to have been living in Peru for 2... | It’s not possible to get legal recognition for your same-sex relationship in Peru.
| Remove same-sex option for Peru - other, other 1 | Remove same-sex option for Peru - other, other 1 | HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
9c75f79e048d7ebbc44864cefee7469649e3c36d | recycling-helper/app/views/articles/index.html.erb | recycling-helper/app/views/articles/index.html.erb | <% if current_admin %>
<%= link_to 'New Article', new_article_path, class: 'btn btn-default' %>
<% end %>
<% @articles.each do |article| %>
<div class="panel panel-default article clickable" onclick="location.href='<%= article_path(article) %>'" >
<div class="panel-heading">
<h3 class="panel-title arti... | <% if current_admin %>
<%= link_to 'New Article', new_article_path, class: 'btn btn-default' %>
<% end %>
<% @articles.order(created_at: :desc).each do |article| %>
<div class="panel panel-default article clickable" onclick="location.href='<%= article_path(article) %>'" >
<div class="panel-heading">
<h... | Make the articles index more intuitive. | Make the articles index more intuitive.
* Articles are sorted by recency
* Article previews end with a "(more)" link.
| HTML+ERB | mit | hmc-cs-rpan/cs121-recycling,hmc-cs-rpan/cs121-recycling,hmc-cs-rpan/cs121-recycling |
8d1dd75c379822a36b66ae6fbdbbd8f2e0e398aa | templates/default/upstart/mysqld.erb | templates/default/upstart/mysqld.erb | # <%= @mysql_name %> Service
description "MySQL service <%= @mysql_name %>"
author "chef-client"
start on runlevel [2345]
stop on starting rc RUNLEVEL=[016]
respawn
respawn limit 2 5
env HOME=/etc/<%= @mysql_name %>
umask 007
kill timeout 300
pre-start script
[ -d <%= @socket_dir %> ] || install -m 7... | # <%= @mysql_name %> Service
description "MySQL service <%= @mysql_name %>"
author "chef-client"
start on runlevel [2345]
stop on starting rc RUNLEVEL=[016]
respawn
respawn limit 2 5
env HOME=/etc/<%= @mysql_name %>
umask 007
kill timeout 300
pre-start script
[ -d /run/<%= @mysql_name %> ] || install... | Add back in creating the appropriate run directory, otherwise pid file cannot be placed, and MySQL may fail to start. | Add back in creating the appropriate run directory, otherwise pid file cannot be placed, and MySQL may fail to start.
| HTML+ERB | apache-2.0 | mattray/mysql,ffuenf/mysql,martinb3-cookbooks/mysql,geleman/mysql,chef-cookbooks/mysql,umegaya/mysql,acoulton/mysql,OSLL/mariadb-cookbooks,umegaya/mysql,edmunds-chef/mysql,ffuenf/mysql,chef-cookbooks/mysql,zuazo-forks/chef-cookbooks-mysql,martinb3-cookbooks/mysql,chef-cookbooks/mysql,Krzana/mysql,geleman/mysql,nkadel-s... |
0dca14aec5bb788e2260ca5eee6ad9c667f25847 | app/views/user/dashboard.erb | app/views/user/dashboard.erb | <div id="dashboard">
<h1><%= @user.name %>'s Movies: </h1>
<table>
<tr>
<th>Title</th>
<th>Rating</th>
<th>Genre</th>
<th>Edit<th>
</tr>
<tr>
<% @user.movies.each do |movie| %>
<td><%= movie.name %></td>
<td><%= movie.rating %></td>
<td><%= movie.ge... | <div id="dashboard">
<h1><%= @user.name %>'s Movies: </h1>
<table>
<tr>
<th>Title</th>
<th>Rating</th>
<th>Genre</th>
<th>Edit<th>
</tr>
<% @user.movies.each do |movie| %>
<tr>
<td><%= movie.name %></td>
<td><%= movie.rating %></td>
<td><%= movie.genr... | Move erb iteration to outside of table row tag | Move erb iteration to outside of table row tag
| HTML+ERB | mit | SputterPuttRedux/phase_3_audition,SputterPuttRedux/phase_3_audition |
d494a142c0dd49d0539437bee92256319cb7902b | lib/smart_answer_flows/coronavirus-employee-risk-assessment/questions/are_you_vulnerable.govspeak.erb | lib/smart_answer_flows/coronavirus-employee-risk-assessment/questions/are_you_vulnerable.govspeak.erb | <% render_content_for :title do %>
Are you clinically vulnerable?
<% end %>
<% render_content_for :body do %>
You are clinically vulnerable if you are aged 70 or older (regardless of medical condition), pregnant, or under 70 with an underlying health condition listed below:
- chronic (long-term) mild to moderat... | <% render_content_for :title do %>
Are you clinically vulnerable?
<% end %>
<% render_content_for :body do %>
You are clinically vulnerable if you are:
- aged 70 or older (regardless of medical condition)
- pregnant
If you are under 70, you are also clinically vulnerable if you have an underlying health co... | Update content for the Coronavirus employee risk assessment flow | Update content for the Coronavirus employee risk assessment flow
This makes the question about whether you are clinically vulnerable more
easy to understand.
| HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
4efd67f70b103de661b8f78a09f165c3cf3e767d | app/views/admin/guides/index.html.erb | app/views/admin/guides/index.html.erb | <div id="guide-nav">
<ul>
<li><a href="#new">New</a></li>
<li><a href="#published">Published</a></li>
<li><a href="#archive">Archive</a></li>
<li><a href="#review-requested">Review Requested</a></li>
</ul>
<div id="new">
<table cellspacing="0">
<thead>
<tr>
<th>Title</... | <div id="guide-nav">
<ul>
<li><a href="#new">New</a></li>
<li><a href="#published">Published</a></li>
<li><a href="#archive">Archive</a></li>
<li><a href="#review-requested">Review Requested</a></li>
</ul>
<div id="new">
<table cellspacing="0">
<thead>
<tr>
<th>Title</... | Make sure 'edit' link works. Add some basic content for the other tabs in the guide list so we can test them | Make sure 'edit' link works. Add some basic content for the other tabs in the guide list so we can test them
| HTML+ERB | mit | telekomatrix/publisher,theodi/publisher,theodi/publisher,alphagov/publisher,leftees/publisher,leftees/publisher,telekomatrix/publisher,telekomatrix/publisher,alphagov/publisher,leftees/publisher,telekomatrix/publisher,alphagov/publisher,leftees/publisher,theodi/publisher,theodi/publisher |
504171f6eacc6fb39d0c99bfd1c623441406603b | app/views/blogit/posts/index.html.erb | app/views/blogit/posts/index.html.erb | <%= login_required class: "actions", id: "new_blog_post_link" do %>
<%= link_to t(:new_blog_post, scope: 'blogit.posts'), new_post_path %>
<% end %>
<% if @posts.any? %>
<%= render partial: "blogit/posts/post",
collection: @posts,
spacer_template: "blog_post_spacer",
locals: {show_comments_count: true... | <%= login_required class: "actions", id: "new_blog_post_link" do %>
<%= link_to t(:new_blog_post, scope: 'blogit.posts'), new_post_path %>
<% end %>
<% if @posts.any? %>
<%= render partial: "blogit/posts/post",
collection: @posts,
spacer_template: "blog_post_spacer",
locals: {show_comments_count: (Blo... | Remove comments count if not using active record comments | Remove comments count if not using active record comments
| HTML+ERB | mit | tfe/blogit,Bodacious/blogit-admin,t-zubyak/blogit,jasonbuehler/blogit,KatanaCode/blogit,foraker/blogit,Bodacious/blogit,kassi/blogit,kassi/blogit,jasonbuehler/blogit,KatanaCode/blogit,t-zubyak/blogit,Bodacious/blogit-admin,sadaf2605/blogit,foraker/blogit,jasonbuehler/blogit,t-zubyak/blogit,foraker/blogit,tfe/blogit,sad... |
7d0a34919f260832affe4ef1a25b3c98277c757d | app/views/forem/forums/_head.html.erb | app/views/forem/forums/_head.html.erb | <div id='forum'>
<h2><%= link_to forum.title, forum %></h2>
<div class='description'>
<%= forum.description %>
</div>
<div class='secondary-nav'>
<%= link_to t('forem.forum.forums'), forums_path, :class => 'forums' %>
</div>
<menu>
<% unless @topic && @topic.new_record? %>
<%= link_to t('f... | <div id='forum'>
<h2><%= link_to t('forem.forum.header', :title => forum.title), forum %></h2>
<div class='secondary-nav'>
<%= link_to t('forem.forum.forums'), forums_path, :class => 'forums' %>
</div>
<menu>
<% unless @topic && @topic.new_record? %>
<%= link_to t('forem.topic.links.post'), new_fo... | Simplify forum header, don't show description | Simplify forum header, don't show description
| HTML+ERB | mit | 0xCCD/forem,codev/forem,kenmazaika/forem,gabriel-dehan/forem,knewter/forem,tomkrus/forem,devleoper/forem,codev/forem,zhublik/forem,kunalchaudhari/forem,etjossem/Goodsmiths-Hub,abrambailey/forem,ascendbruce/forem,bbatsov/forem,bcavileer/forem,kl/forem,code-mancers/forem,zshannon/forem,mmcc/forem,SamLau95/forem,impact11/... |
78dbafff8848f843c3c9fc00df87c73a954dd64b | app/views/profiles/_register.html.erb | app/views/profiles/_register.html.erb | <div class="col-sm-6 col-md-4 col-lg-3 my-3 profile-box register">
<div class="outer fit-height">
<div class="photo--grey border border-primary stretch outer">
<div class="stretch top">
<div class="profile-subtitle"><b>We need more women on stages</b></div>
</div>
<div class="middle">
... | <div class="col-sm-6 col-md-4 col-lg-3 my-3 profile-box register">
<div class="outer fit-height">
<div class="border border-primary stretch outer">
<div class="stretch top">
<div class="profile-subtitle"><b>We need more women on stages</b></div>
</div>
<div class="middle">
<p>If ... | Make 'Register as a speaker' box green without hover | Make 'Register as a speaker' box green without hover
| HTML+ERB | mit | rubymonsters/speakerinnen_liste,rubymonsters/speakerinnen_liste,rubymonsters/speakerinnen_liste |
7d9d469e17f3ff8826ee6f74c4b3ff7fcf7fbd72 | lib/smart_answer_flows/marriage-abroad/outcomes/countries/south-africa/uk/partner_british/_opposite_sex.govspeak.erb | lib/smart_answer_flows/marriage-abroad/outcomes/countries/south-africa/uk/partner_british/_opposite_sex.govspeak.erb |
Contact the [relevant local authorities](http://www.dha.gov.za/index.php/civic-services/marriage-certificates) in South Africa to find out about local marriage laws, including what documents you’ll need.
^You should [get legal advice](/government/collections/list-of-lawyers) and check the [travel advice for South Afr... |
Contact the [relevant local authorities](http://www.dha.gov.za/index.php/civic-services/marriage-certificates) in South Africa to find out about local marriage laws, including what documents you’ll need.
^You should [get legal advice](/government/collections/list-of-lawyers) and check the [travel advice for South Afr... | Add appointment link for explanatory letter | Add appointment link for explanatory letter | HTML+ERB | mit | alphagov/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers |
e46416c1a0e0ad2ade95b353eed26f3b737a4dcd | app/views/issues/_valence_issue.html.erb | app/views/issues/_valence_issue.html.erb | <figure class="position">
<% @issue.valence_issue_explanations.each do |explanation| %>
<div class="row-fluid" style="margin-bottom: 20px;">
<div class="span4">
<div class="canvas parties_<%= explanation.parties.size %>">
<% explanation.parties.sort_by(&:name).each do |party| %>
... | <figure class="position">
<% @issue.valence_issue_explanations.each do |explanation| %>
<div class="row-fluid" style="margin-bottom: 20px;">
<div class="span4">
<div class="canvas parties_<%= explanation.parties.size %>">
<% explanation.parties.sort_by(&:name).each do |party| %>
... | Remove sharing buttons from valence issues (for now) | Remove sharing buttons from valence issues (for now)
| HTML+ERB | bsd-3-clause | holderdeord/hdo-site,holderdeord/hdo-site,holderdeord/hdo-site,holderdeord/hdo-site |
cd41eab2960b6ab00012c1114271bedfc47792e2 | app/views/shared/_references.html.erb | app/views/shared/_references.html.erb | <section class="info-box__column">
<h2 class="info-box__header header-with-delimiter header-with-delimiter--bold">References</h2>
<div class="info-box__body">
<div class="reference">
<h3 id="ref1" class="reference__title">(Ref 1)</h3>
<p class="reference__body">UNEP-WCMC (2017). Global statistics fr... | Move references to a partial for future use | Move references to a partial for future use
| HTML+ERB | bsd-3-clause | unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet | |
e8b43184f0eecee05902b9ebebd7f1ae03d91dd7 | app/views/transactions/index.html.erb | app/views/transactions/index.html.erb | <% @transactions.each do |transaction| %>
<li><%= render 'transaction.html.erb', transaction: transaction %></li>
<% end %> | <ul class='transactions'>
<% @transactions.each do |transaction| %>
<li><%= render 'transaction.html.erb', transaction: transaction %></li>
<% end %>
</ul> | Add class name to transaction ul | Add class name to transaction ul
| HTML+ERB | mit | nyc-mud-turtles-2015/nghborly,nyc-mud-turtles-2015/nghborly,kimchanyoung/nghborly,kimchanyoung/nghborly,nyc-mud-turtles-2015/nghborly,kimchanyoung/nghborly |
af12b1131e7ca3af7e0c5ec39c3a21b7fed82178 | app/views/dna_analyses/_show.html.erb | app/views/dna_analyses/_show.html.erb | <%= data_row(heading: t("myplaceonline.dna_analyses.status"), content: obj.import.import_status, enumeration: Import::IMPORT_STATUSES) %>
| <% if !obj.import.nil? %>
<%= data_row(heading: t("myplaceonline.dna_analyses.status"), content: obj.import.import_status, enumeration: Import::IMPORT_STATUSES) %>
<% end %>
| Handle blank dna analysis import | Handle blank dna analysis import
| HTML+ERB | agpl-3.0 | myplaceonline/myplaceonline_rails,myplaceonline/myplaceonline_rails,myplaceonline/myplaceonline_rails |
f963ebfad94db17fd47946748583572854d44aa4 | app/views/spree/products/_properties.html.erb | app/views/spree/products/_properties.html.erb | <% unless @product_properties.empty? %>
<h6 class="product-section-title"><%= Spree.t('properties')%></h6>
<table id="product-properties" class="table-display" data-hook>
<tbody>
<% @product_properties.each do |product_property| %>
<% css_class = cycle('even', 'odd', :name => "properties") %>
... | Bring in product properties partial from spree. | Bring in product properties partial from spree.
| HTML+ERB | mit | StemboltHQ/spree_product_property_categories,freerunningtech/spree_product_property_categories,freerunningtech/spree_product_property_categories,StemboltHQ/spree_product_property_categories | |
e73e7a057e04a69dffe43cb7c5f5534b89c957cb | app/views/documents/_header.html.erb | app/views/documents/_header.html.erb | <%
header_title ||= ""
policies ||= nil
topics ||= []
%>
<%= render partial: 'shared/heading',
locals: { type: header_title,
heading: document.title,
extra: true } %>
<%= render('documents/archive_notice', document: document, type: header_title) if document.archi... | <%
header_title ||= ""
policies ||= nil
topics ||= []
%>
<%= render partial: 'shared/heading',
locals: { type: header_title,
heading: document.title,
extra: true } %>
<%= render('documents/archive_notice', document: document, type: document.format_name) if docume... | Use document format name to describe document | Use document format name to describe document
header_title is set to "Operations in #{location}" for fatality
notices.
| HTML+ERB | mit | alphagov/whitehall,robinwhittleton/whitehall,alphagov/whitehall,ggoral/whitehall,YOTOV-LIMITED/whitehall,YOTOV-LIMITED/whitehall,robinwhittleton/whitehall,hotvulcan/whitehall,hotvulcan/whitehall,ggoral/whitehall,askl56/whitehall,alphagov/whitehall,askl56/whitehall,askl56/whitehall,YOTOV-LIMITED/whitehall,robinwhittleto... |
d501593b347afe7cbf2f944e42fe8c3045331725 | app/views/mailer/activation.text.erb | app/views/mailer/activation.text.erb | <%
#--
# Copyright (C) 2012 Gitorious AS
# Copyright (C) 2009 Fabio Akita <fabio.akita@gmail.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the Licen... | <%
#--
# Copyright (C) 2012 Gitorious AS
# Copyright (C) 2009 Fabio Akita <fabio.akita@gmail.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the Licen... | Fix the path to ssh key add form in activation email | Fix the path to ssh key add form in activation email
| HTML+ERB | agpl-3.0 | elcom/gitorious,rae/gitorious-mainline,spencerwp/mainline,Gitorious-backup/mainline,elcom/gitorious,elcom/gitorious,spencerwp/mainline,tigefa4u/gitorious-mainline,rae/gitorious-mainline,tigefa4u/gitorious-mainline,rae/gitorious-mainline,SamuelMoraesF/Gitorious,SamuelMoraesF/Gitorious,gitorious/mainline,gitorious/mainli... |
4fb3c195657463ea3626b8e08952669ed710c663 | activeSchemaMaker/app/views/projects/show.html.erb | activeSchemaMaker/app/views/projects/show.html.erb | <div class="canvas debug">
<div class="nav-bar align-r shdw debug">
<nav><%= link_to "New Schema", "#" %><%= link_to "Log Out", "#" %><%= link_to "Save", "#" %></nav>
</div>
<%= render '/tables/form' %>
</div>
| <div class="canvas debug">
<div class="nav-bar align-r shdw debug">
<nav><%= link_to "Save", "#" %></nav>
</div>
<%= render '/tables/form' %>
</div>
| Move links from tool bar to layout menu, also | Move links from tool bar to layout menu, also
| HTML+ERB | mit | NorCalDavid/ActiveSchemaDesigner,NorCalDavid/ActiveSchemaDesigner,NorCalDavid/ActiveSchemaDesigner |
0cda955e0c6c0d467b8833085edfba462dc7de22 | app/views/active_blog/blog_posts/_sidebar.html.erb | app/views/active_blog/blog_posts/_sidebar.html.erb | <%= blog_sidebar do %>
<div class='section active_blog sidebar'>
<h6>Recent posts</h6>
</div>
<ul class='unstyled recent'>
<% @recent_blog_posts.each do |recent_blog_post| %>
<li><a href='<%= active_blog_post_path(recent_blog_post.cached_slug) %>' itemscope itemprop='url' itemscope itemprop='url' ti... | <%= blog_sidebar do %>
<div class='section active_blog sidebar'>
<h6>Recent posts</h6>
</div>
<ul class='unstyled recent'>
<% @recent_blog_posts.each do |recent_blog_post| %>
<li><a href='<%= active_blog_post_path(recent_blog_post.cached_slug) %>' title='<%= recent_blog_post.title %>'><%= recent_blo... | Remove schemas from side bar, for now | Remove schemas from side bar, for now
| HTML+ERB | mit | mchung/active_blog,mchung/active_blog,mchung/active_blog |
dee1324a73b2ca7aa0465b498e5d37b6beaa93aa | lib/views/general/_popup_banner.html.erb | lib/views/general/_popup_banner.html.erb | We're hiring for an exciting new project. <a href="https://mysociety.workable.com/" target="_blank">Come and join our friendly team.</a>
| Help keep our sites running in 2018. <a href="https://www.mysociety.org/donate/" target="_blank">Please donate today</a>.
| Replace hiring banner with donate | Replace hiring banner with donate
| HTML+ERB | mit | mysociety/whatdotheyknow-theme,mysociety/whatdotheyknow-theme,mysociety/whatdotheyknow-theme |
09ade98b9cc0e11b0eb05c42a10791400939bf42 | app/views/entries/_article.html.erb | app/views/entries/_article.html.erb | <% present entry, local_assigns do |entry_presenter| %>
<header class="entry-header">
<%= link_to entry.fully_qualified_url, target: '_blank', rel: 'noopener noreferrer', id: 'source_link' do %>
<h1><%= entry_presenter.entry_view_title %></h1>
<% end %>
<p class="post-meta">
... | <% present entry, local_assigns do |entry_presenter| %>
<header class="entry-header">
<%= link_to entry.fully_qualified_url, target: '_blank', rel: 'noopener noreferrer', id: 'source_link' do %>
<h1><%= entry_presenter.entry_view_title %></h1>
<% end %>
<p class="post-meta">
... | Add share data to entry. | Add share data to entry.
| HTML+ERB | mit | feedbin/feedbin,feedbin/feedbin,feedbin/feedbin,feedbin/feedbin |
94d9640dc6c7b9ce10ed3308f5d5850223235d41 | app/views/layouts/koi/body.html.erb | app/views/layouts/koi/body.html.erb | <% content_for :html do %>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<%= link_to koi_engine.dashboard_path, class: "logo-header" do %>
<%= image_tag "koi/application/logo-katalyst.png", border: 0 %>
<% end %>
... | <% content_for :html do %>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<%= link_to koi_engine.dashboard_path, class: "logo-header" do %>
<%= image_tag "koi/application/logo-katalyst.png", border: 0 %>
<% end %>
... | Make some space between the bottom of the page and the window. | Make some space between the bottom of the page and the window.
| HTML+ERB | mit | katalyst/koi,katalyst/koi,katalyst/koi |
5f2ff9e342348d64906555ab3ce5e91fdd6bd436 | lib/smart_answer_flows/state-pension-age/questions/which_calculation.govspeak.erb | lib/smart_answer_flows/state-pension-age/questions/which_calculation.govspeak.erb | <% content_for :title do %>
What would you like to calculate?
<% end %>
<% options(
"age": "State Pension age - including pension credit age",
"bus_pass": "Bus pass age - find out when you’ll get free bus travel"
) %>
| <% content_for :title do %>
What would you like to calculate?
<% end %>
<% options(
"age": "State Pension age - including Pension Credit qualifying age",
"bus_pass": "Bus pass age - find out when you’ll get free bus travel"
) %>
| Update option copy in which calculation question | Update option copy in which calculation question
Add capitalisation and the word qualifying to ‘pension credit age’, inline with other occurrences in the smart answer
| HTML+ERB | mit | alphagov/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,alphagov/smart-answers,stwalsh/smart-answers,alphagov/smart-answers,stwalsh/smart-answers,aledelcueto/smart-answers,stwalsh/smart-answers,aledelcueto/smart-answers,aledelcueto/smart-answers,stwalsh/smart-answers |
1b39b248ab3e068365cb8bd8ff19264222541762 | app/views/collections/show.html.erb | app/views/collections/show.html.erb | <div class="custcontainer">
<u><h1><%= @collection.name %></h1></u>
<div class="custbtn-container">
<!-- <%= button_to "Search a Book", collection_search_book_path(@collection.id), method: 'get', class: "btn btn-block" %> -->
<%= button_to "Add a Book", new_collection_book_path(@collection.id), method: 'ge... | <div class="custcontainer">
<u><h1><%= @collection.name %></h1></u>
<div class="custbtn-container">
<%= button_to "Add a Book", new_collection_book_path(@collection.id), method: 'get', class: "btn btn-block" %>
</div>
<div class="custlist">
<% if @collection.books.empty? %>
<h5>It's kinda lonely... | Remove search a book button | Remove search a book button
| HTML+ERB | mit | evanscloud/monocle,evanscloud/monocle,evanscloud/monocle |
3f87b4ab2d574d26cce065ad183cab5af68987fd | app/views/leaflet/_leaflet.html.erb | app/views/leaflet/_leaflet.html.erb | <% content_for :scripts do %>
<script type="text/javascript" charset="utf-8">
<%=raw generate_map(options) %>
</script>
<% end %>
<div id="<%= options[:mapid] %>" class="<%= options[:class] unless options[:class].nil? %>" style="<%= options[:style] unless options[:style].nil? %>"></div>
| <% content_for :scripts do %>
<script type="text/javascript" charset="utf-8">
<%=raw generate_map(options) %>
</script>
<% end %>
<div id="<%= options[:mapid] %>" class="<%= options[:class] unless options[:class].nil? %>" style="<%= options[:style] unless options[:style].nil? %>">
<%= render @map_panels unless ... | Allow the caller app to inject additional content into the map tab to enable viewing in full screen mode | Allow the caller app to inject additional content into the map tab to enable viewing in full screen mode
| HTML+ERB | mit | julianray/leaflet_gem,julianray/leaflet_gem,julianray/leaflet_gem |
a502dac734a8680f2b980fb452439c998b01ad1d | app/views/sketchily/_embed.html.erb | app/views/sketchily/_embed.html.erb | <% # Clients of this partial must supply the following variables:
# id
# value
#
# Additionally, they may override the following variables:
show_menu ||= false
hide_image_tool ||= false
canvas_width ||= 640
canvas_height ||= 480
canvas_expansion ||= 3
hide_rulers ||= false
width ||= "75... | <% # Clients of this partial must supply the following variables:
# id
# value
#
# Additionally, they may override the following variables:
show_menu ||= false
hide_image_tool ||= false
canvas_width ||= 640
canvas_height ||= 480
canvas_expansion ||= 3
hide_rulers ||= false
width ||= "75... | Use tag helper to generate iframe | Use tag helper to generate iframe
| HTML+ERB | mit | concord-consortium/sketchily,lml/sketchily,concord-consortium/sketchily,lml/sketchily |
b2e5b954a3a2ae87176322a87398f9b2d9882336 | app/views/home/show.html.erb | app/views/home/show.html.erb | <% set_meta_tags(canonical: root_url,
alternate: alternate_home_map,
description: t('.description').strip) %>
<%= render 'shared/trust_banner' %>
<%= render 'shared/directory',
items: t('.featured') %>
<%= render 'shared/promo', items: t('.promoted') %>
<%= render 'share... | <% set_meta_tags(canonical: root_url,
alternate: alternate_home_map,
description: t('.description').strip) %>
<%= render 'shared/trust_banner' %>
<%= render 'shared/directory',
items: t('.featured') %>
<%= render 'shared/promo', items: t('.promoted') %>
| Remove old contact section from the homepage | Remove old contact section from the homepage
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
c7384e6f00203c52b427e72bbec836d3a2a9ba72 | app/views/memes/new.html.erb | app/views/memes/new.html.erb | <% provide(:title, 'New Meme') %>
<h1>New Meme</h1>
<div class="row">
<div class="span6 offset3">
<%= form_for(@meme) do |f| %>
<%= render 'shared/error_messages' %>
<%= f.label :title %>
<%= f.text_field :title %>
<%= f.label :top_text %>
<%= f.text_field :top_text %>
<%= f.... | <% provide(:title, 'New Meme') %>
<h1>New Meme</h1>
<div class="row">
<div class="span4 offset1">
<%= form_for(@meme) do |f| %>
<%= render 'shared/error_messages' %>
<%= f.label :title %>
<%= f.text_field :title %>
<%= f.label :top_text %>
<%= f.text_field :top_text %>
<%= f.... | Improve formatting of new meme page. | Improve formatting of new meme page.
| HTML+ERB | mit | zachlatta/easymeme,zachlatta/easymeme |
5ea8464b652516bb3344ec3230dfca73b67b2687 | app/views/picks/new.html.erb | app/views/picks/new.html.erb | <%= form_tag(picks_path, method: "post") do %>
<% if !session[:user_id] %>
<%= email_field_tag 'pick[email]',nil, placeholder: 'email' %>
<% end %>
<%= number_field_tag 'pick[number]',nil, placeholder:'number' %>
<%= text_field_tag 'pick[game]',nil, placeholder: 'game' %>
<%= date_field_tag 'pick[draw_date]',n... | <%= form_tag(picks_path, method: "post") do %>
<% if !session[:user_id] %>
<%= email_field_tag 'pick[email]',nil, placeholder: 'email' %>
<% end %>
<%= text_field_tag 'pick[game]',nil, placeholder: 'game' %>
<%= number_field_tag 'pick[number1]',nil, placeholder:'0' %>
<%= number_field_tag 'pick[number2]',nil, p... | Add separate number fields to form | Add separate number fields to form
| HTML+ERB | mit | drodriguez56/lotifyMe,drodriguez56/lotifyMe,drodriguez56/lotifyMe |
e2c407ed7f9628f2cebeba2e8b0eed9ffb726195 | app/views/ajax_history/_table.html.erb | app/views/ajax_history/_table.html.erb | <%
columns = [
{ },
{ label: :zip, sort: 'zip', width: 120 },
{ label: :city, sort: 'city', width: 200 },
{ label: :county, sort: 'county', width: 200 },
{ label: :state, sort: 'states.name', width: 150 }
]
actions = [
{ label: :export, url: '#', "data-toggle" => 'modal', "data-target" => "#e... | <%
columns = [
{ },
{ label: :zip, sort: 'zip', width: 120 },
{ label: :city, sort: 'city', width: 200 },
{ label: :county, sort: 'county', width: 200 },
{ label: :state, sort: 'states.name', width: 150 }
]
actions = [
{ label: :export, url: '#', "data-toggle" => 'modal', "data-target" => "#e... | Fix for ajax history table | Fix for ajax history table
| HTML+ERB | mit | equallevel/grapple-demo,equallevel/grapple-demo,equallevel/grapple-demo,equallevel/grapple-demo |
ccb9cba32a28643718f4b1c8b932ae68d2a83446 | app/views/devise/sessions/new.html.erb | app/views/devise/sessions/new.html.erb | <h2>Sign in</h2>
<%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %>
<div><%= f.label :email %><br />
<%= f.email_field :email %></div>
<div><%= f.label :password %><br />
<%= f.password_field :password %></div>
<% if devise_mapping.rememberable? -%>
<div><%= f.c... | <h2>Sign in</h2>
<%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %>
<div>
<%= f.label :email %>
<%= f.email_field :email %>
</div>
<div>
<%= f.label :password %>
<%= f.password_field :password %>
</div>
<div>
<br />
<%= f.submit "Sign in" %>
... | Clean up login page styling | Clean up login page styling
| HTML+ERB | bsd-3-clause | codeforamerica/opencounter,codeforamerica/opencounter,codeforamerica/opencounter,codeforamerica/opencounter |
302bab7e9b0e60e3ec1ad15ccb7520ada663d06c | app/views/documents/_document.html.erb | app/views/documents/_document.html.erb | <%
if url
doc_title = File.basename(url)
doc_url = url
else
doc_title = "{{filename}}"
doc_url = "{{url}}"
end
%>
<div class="doc-preview">
<div class="doc-preview__info">
<h4><%= doc_title %></h4>
<%= hidden_field_tag 'documents', doc_url, name: 'step[documents][]' %>
<p class="text--help"><%= l... | <%
if url
doc_title = File.basename(url)
doc_url = url
else
doc_title = "{{filename}}"
doc_url = "{{url}}"
end
%>
<div class="doc-preview">
<div class="doc-preview__info">
<h4><%= doc_title %></h4>
<%= hidden_field_tag 'documents', doc_url, name: 'step[documents][]' %>
<p class="text--help"><%= l... | Add error message for small photo sizes | Add error message for small photo sizes
| HTML+ERB | mit | codeforamerica/michigan-benefits,codeforamerica/michigan-benefits,codeforamerica/michigan-benefits,codeforamerica/michigan-benefits |
b995f856f9dbdb684dda7814e2fd3814ac4f3134 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title><% if @publication %><%= page_title(@artefact, @publication) %><% else %><%= yield :title %><% end %></title>
<%= yield :extra_stylesheets %>
<% if @publication and @publication.overview.present? %>
<meta name="description"... | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title><% if @publication %><%= page_title(@artefact, @publication) %><% else %><%= yield :title %><% end %></title>
<%= yield :extra_stylesheets %>
<% if @publication and @publication.overview.present? %>
<meta name="description"... | Add the ability to push classes into the body for individual views | Add the ability to push classes into the body for individual views
| HTML+ERB | mit | alphagov/frontend,alphagov/frontend,alphagov/frontend,alphagov/frontend |
31dbae6478740c7651f6be44a5c921ea53baa877 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head><%= render 'layouts/head' %></head>
<body>
<script type="text/javascript">
// a function to use in .html.erb view to run jquery query when it was loaded
function defer(method) {
if (window.jQuery)
method();
else
setTimeout(function() { defer... | <!DOCTYPE html>
<html>
<head><%= render 'layouts/head' %></head>
<body>
<script type="text/javascript">
// a function to use in .html.erb view to run jquery query when it was loaded
function defer(method) {
if (window.jQuery)
method();
else
setTimeout(function() { defer... | Correct first css error loading | Correct first css error loading
| HTML+ERB | mit | madeindjs/raspberry_cook,RaspberryCook/website,madeindjs/raspberry_cook,RaspberryCook/website,RaspberryCook/website,madeindjs/raspberry_cook |
5255dfbb1a4677ba5db579cff51ef31c0251d993 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Best Thing Ever</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<header class="pure-menu pure-menu-horizonta... | <!DOCTYPE html>
<html>
<head>
<title>Best Thing Ever</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<header class="pure-menu pure-menu-horizonta... | Add correct links to navbar. | Add correct links to navbar.
| HTML+ERB | mit | pdynowski/best-thing-ever,pdynowski/best-thing-ever,pdynowski/best-thing-ever |
f769b829cd420cbe9615757ac1014d8e95e918a8 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title><%= full_title(yield(:title)) %></title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= render 'layouts/favicon' %>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta content='IE=... | <!DOCTYPE html>
<html>
<head>
<title><%= full_title(yield(:title)) %></title>
/* Stylesheets need to be before meta tags. New Relic
creates a script tag that gets inserted after meta content='IE=edge' */
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= render 'layou... | Move stylesheets before New Relic script tag is inserted. | Move stylesheets before New Relic script tag is inserted.
| HTML+ERB | mit | downeyd27/personal_website,downeyd27/personal_website,downeyd27/personal_website |
304cc3067ec12bf5af38b2d62b4d71e52e9ca8ce | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title><%= title %></title>
<%= csrf_meta_tag %>
<%= render 'layouts/stylesheets' %>
<%= render 'shared/google_analytics' %>
<%= render 'shared/feedback_banner' %>
<%= yield :head %>
</head>
<body>
<div class="container">
<%= render 'layouts/header' ... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title><%= title %></title>
<%= csrf_meta_tag %>
<%= render 'layouts/stylesheets' %>
<%= render 'shared/google_analytics' %>
<%= render 'shared/feedback_banner' %>
<%= yield :head %>
</head>
<body>
<div class="container">
<... | Make HTML utf-8 encoding explicit | Make HTML utf-8 encoding explicit
| HTML+ERB | mit | abevoelker/menosgrande,abevoelker/menosgrande |
6444d68249ae62eede46d888e653b30eef4224d4 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Don't Park There CHI</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" />
<%= javascript_include_tag 'application', 'data-turbolinks-track' ... | <!DOCTYPE html>
<html>
<head>
<title>Don't Park There CHI</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" />
<%= javascript_include_tag 'application', 'data-turbolinks-track' ... | Add link to favicon in view | Add link to favicon in view
| HTML+ERB | mit | kaplali/parkstorm,lrakhman/DontParkThereChicago,lrakhman/DontParkThereChicago,lrakhman/DontParkThereChicago,kaplali/parkstorm,kaplali/parkstorm |
63a298355c077cee7c6f311bbeff452f3243973c | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Pushificator</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<%= yield %>
</body>
</html>
| <!DOCTYPE html>
<html>
<head>
<title>Pushificator</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<p class="notice"><%= notice %></p>
<p class="ale... | Add flash to application layout | Add flash to application layout | HTML+ERB | mit | enoliglesias/pushificator,enoliglesias/pushificator,enoliglesias/pushificator |
e80cc671d1dd50f11c6df5450c9bd3ddf891e0fe | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Dabell</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='global_nav'>
<ul>
<li>
... | <!DOCTYPE html>
<html>
<head>
<title>Dabell</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='global_nav'>
<ul>
<li>
... | Add link to edit profile | Add link to edit profile
| HTML+ERB | mit | ueokande/dabell,ueokande/dabell,ueokande/dabell |
ac55425d218991d459c1234d12a4179a9f7ca22e | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>DynamicPlaylister</title>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application', 'http://localhost:9292/faye.js' %>
<%= csrf_meta_tags %>
<%= analytics_init if Rails.env.production? %>
</head>
<body>
<%= render 'layouts/header' ... | <!DOCTYPE html>
<html>
<head>
<title>DynamicPlaylister</title>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application', 'http://localhost:9292/faye.js' %>
<%= csrf_meta_tags %>
<%= analytics_init if Rails.env.production? %>
</head>
<body>
<script>var current_user_i... | Fix javascript breaking outside of playlists | Fix javascript breaking outside of playlists
| HTML+ERB | mit | bycEEE/dynamic-playlister,bycEEE/dynamic-playlister,bycEEE/dynamic-playlister |
1fa980a3a0ac518948d69e273c1ff501ff3f23b6 | app/views/hub/topics/_topic.html.erb | app/views/hub/topics/_topic.html.erb | <%= render partial: 'topic_common', locals: { topic: topic, refresh_heads_bar: true } -%>
| <%= render partial: 'topic_common', locals: { topic: topic, refresh_heads_bar: refresh_heads_bar } -%>
| Refresh heads bar are required to get from index and show page. | Refresh heads bar are required to get from index and show page.
| HTML+ERB | mit | bayetech/hubs,bayetech/hubs,bayetech/hubs,bayetech/hubs |
904bcba7f03397949e7b571e2edf91f3c7739c85 | app/views/layouts/_messages.html.erb | app/views/layouts/_messages.html.erb | <% flash.each do |name, msg| %>
<% if msg.is_a?(String) %>
<div ng-non-bindable class="alert alert-<%= name == :notice ? "success" : "error" %>">
<a class="close" data-dismiss="alert">×</a>
<%= content_tag :div, msg, :id => "flash_#{name}" %>
</div>
<% end %>
<% end %>
| <% flash.each do |name, msg| %>
<% if msg.is_a?(String) %>
<div ng-non-bindable class="alert alert-<%= name == "notice" ? "success" : "danger" %>">
<a class="close" data-dismiss="alert">×</a>
<%= content_tag :div, msg, :id => "flash_#{name}" %>
</div>
<% end %>
<% end %>
| Fix the way that Bootstrap errors are rendered | Fix the way that Bootstrap errors are rendered
* In Bootstrap 3, the -danger suffix is used, not -error.
* The name parameter is a string, so the symbol comparison was failing.
| HTML+ERB | apache-2.0 | thooams/promdash,alonpeer/promdash,lborguetti/promdash,thooams/promdash,prometheus/promdash,lborguetti/promdash,prometheus/promdash,alonpeer/promdash,juliusv/promdash,jonnenauha/promdash,prometheus/promdash,alonpeer/promdash,lborguetti/promdash,juliusv/promdash,prometheus/promdash,jonnenauha/promdash,jonnenauha/promdas... |
5ba99a6d4d54970bcd79daeb0544e4df40d801d9 | app/views/layouts/cms/_news-and-stories.html.erb | app/views/layouts/cms/_news-and-stories.html.erb | <%
results = {
title: 'Title',
total: 1,
cards: [
{ date: '02 December 2019', image: 'image', summary: 'summary', title: 'title', url: 'http://google.com' }
]
}.to_json
%>
<div class="page--news">
<%= render partial: "./layouts/partials/hero-small", locals: {
classes: @cms_page[:slug],
hero_im... | <%
results = {
title: 'Title',
total: 1,
cards: [
{ date: '02 December 2019', image: 'image', summary: 'summary', title: 'title', url: 'http://google.com' }
]
}.to_json
%>
<div class="page--news">
<%= render partial: "./layouts/partials/hero-small", locals: {
classes: @cms_page[:slug],
hero_im... | Add in page id for the news page | Add in page id for the news page
| HTML+ERB | bsd-3-clause | unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet |
2e3c8255f9e682c0bfa55d362c7fded8328f573f | source/admin/config.yml.erb | source/admin/config.yml.erb | backend:
name: github
repo: datacite/blog
branch: master
base_url: <%= ENV['AUTH_URL'] %>
display_url: <%= ENV['SITE_URL'] %>
publish_mode: editorial_workflow
media_folder: "source/images/uploads"
public_folder: "/images/uploads"
collections:
- name: "post"
label: "Post"
folder: "source/posts"
cre... | backend:
name: github
repo: datacite/blog
branch: master
display_url: <%= ENV['SITE_URL'] %>
publish_mode: editorial_workflow
media_folder: "source/images/uploads"
public_folder: "/images/uploads"
collections:
- name: "post"
label: "Post"
folder: "source/posts"
create: true
extension: "html.md"
... | Remove netlify custom auth url | Remove netlify custom auth url
| HTML+ERB | mit | datacite/blog,datacite/blog,datacite/blog |
5b173e2e5564a6f23e1cb4bcd6db534c7aefcc13 | go/index.html.md.erb | go/index.html.md.erb | ---
title: Go Buildpack
owner: Buildpacks
---
<strong><%= modified_date %></strong>
## <a id='buildpack'></a>About the Go Buildpack ##
For information about using and extending the Go buildpack in Cloud Foundry, see
the [go-buildpack GitHub repo](https://github.com/cloudfoundry/go-buildpack).
You can find current i... | ---
title: Go Buildpack
owner: Buildpacks
---
<strong><%= modified_date %></strong>
## <a id='buildpack'></a>Using the Go Buildpack ##
This buildpack will get used if you have any files with the `.go` extension in your repository, or you request the buildpack with
```bash
cf push my_app -b go_buildpack
```
If your... | Improve documentation for the Go Buildpack | Improve documentation for the Go Buildpack
[#115740799]
- Closes cloudfoundry/go-buildpack#33
Signed-off-by: David Jahn <ea2208fe99a56ed20c9ae20b0a1446b61f13a269@gmail.com>
| HTML+ERB | apache-2.0 | cloudfoundry/docs-buildpacks,TimGerlach/docs-buildpacks |
b751ec5761a9bbe60c4ba7b0665e3b9af89bfce6 | cookbooks/nginx/templates/default/nginx.conf.erb | cookbooks/nginx/templates/default/nginx.conf.erb | # DO NOT EDIT - This file is being maintained by Chef
user nginx;
worker_processes 4;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
log_format mai... | # DO NOT EDIT - This file is being maintained by Chef
<% if node[:lsb][:release].to_f >= 14.04 -%>
user www-data;
<% else -%>
user nginx;
<% end -%>
worker_processes <%= node['cpu']['total'] %>;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
... | Support nginx on 14.04 + dynamic number of worker processes based on CPUs | Support nginx on 14.04 + dynamic number of worker processes based on CPUs
| HTML+ERB | apache-2.0 | zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,Firefishy/chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,gravitystorm/chef,Firefishy/chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,zerebubuth/openstreetmap-che... |
aa637c1cd213eef6af39c01bec47cc24b0a9bd2e | lib/views/general/frontpage.html.erb | lib/views/general/frontpage.html.erb | <%# TODO: Cache for 5 minutes %>
<div id="frontpage_splash">
<div id="frontpage_right_to_know">
<%= render :partial => 'frontpage_intro_sentence' %>
</div>
<div id="frontpage_start_request">
<%= render :partial => "frontpage_new_request" %>
</div>
<div id="frontpage_search_box">
... | <div id="frontpage_splash">
<div id="frontpage_right_to_know">
<%= render :partial => 'frontpage_intro_sentence' %>
</div>
<div id="frontpage_start_request">
<%= render :partial => "frontpage_new_request" %>
</div>
<div id="frontpage_search_box">
<%= render :partial => "frontpag... | Add caching on frontpage (merged in from app) | Add caching on frontpage (merged in from app)
| HTML+ERB | mit | openaustralia/righttoknow,openaustralia/righttoknow,openaustralia/righttoknow |
9ed480c5ade3583560383495a8956a45bd126889 | app/views/admin/teams/_team.html.erb | app/views/admin/teams/_team.html.erb | <tr class="<%= cycle("even", "odd") %>" id="team_<%= team.id %>_row">
<td>
<div class="record" id="team_<%= team.id %>">
<%= in_place_editor_field(:team, :name, team, true) %>
</div>
</td>
<td class="not_editable">
<%= render(:partial => 'aliases', :locals => { :team => team }) %>
</td>
<td ... | <tr class="<%= cycle("even", "odd") %>" id="team_<%= team.id %>_row">
<td>
<div class="record" id="team_<%= team.id %>">
<%= in_place_editor_field(:team, :name, team, true) %>
</div>
</td>
<td class="not_editable">
<%= render(:partial => 'aliases', :locals => { :team => team }) %>
</td>
<td ... | Use correct team results URL | Use correct team results URL
| HTML+ERB | mit | scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails |
c44cc6f9a05db5f511728df434975bb574a85d3d | app/views/shared/_chartbeat.html.erb | app/views/shared/_chartbeat.html.erb | <% if Rails.env.production? -%>
<script type="text/javascript">
var _sf_async_config = { uid: <%= ENV["CHARTBEAT_UID"] -%>, domain: <%= ENV["CHARTBEAT_HOSTNAME"] -%>, useCanonical: true };
(function() {
function loadChartbeat() {
window._sf_endpt = (new Date()).getTime();
var e = document.createElem... | <% if Rails.env.production? -%>
<script type="text/javascript">
var _sf_async_config = { uid: <%= ENV["CHARTBEAT_UID"] -%>, domain: '<%= ENV["CHARTBEAT_HOSTNAME"] -%>', useCanonical: true };
(function() {
function loadChartbeat() {
window._sf_endpt = (new Date()).getTime();
var e = document.createEl... | Fix chartbeat config by quoting string value | Fix chartbeat config by quoting string value
Close #289
| HTML+ERB | agpl-3.0 | opengovernment/askthem,mapineda/askthem,mapineda/askthem,opengovernment/askthem,mapineda/askthem,opengovernment/askthem,opengovernment/askthem,mapineda/askthem |
a9b7b5f1df25cf09f258ffe05b20b6bbe247b60d | app/views/layout.erb | app/views/layout.erb | <!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="/css/normalize.css">
<link rel="stylesheet" href="/css/application.css">
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="/js/application.js"></script>
<title></title>
</head>
<body>
<div cl... | <!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="/css/normalize.css">
<link rel="stylesheet" href="/css/application.css">
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="/js/application.js"></script>
<title></title>
</head>
<body>
<div cl... | Add live links to main gray menu | Add live links to main gray menu
| HTML+ERB | mit | chi-dragonflies-2015/stack-underflow,chi-dragonflies-2015/stack-underflow,chi-dragonflies-2015/stack-underflow |
8829a912126b2aa2cc1063e8b03f31cdafe9de0d | app/views/holidays/index.html.erb | app/views/holidays/index.html.erb | <div class="page-header">
<ol class="breadcrumb">
<li><a href="<%= root_path %>">Home</a></li>
<li class="active">Holidays</li>
</ol>
<h1>Holidays</h1>
</div>
<div data-module="HolidaysCalendar"></div>
| <div class="page-header">
<ol class="breadcrumb">
<li><a href="<%= root_path %>">Home</a></li>
<li class="active">Holidays</li>
</ol>
<h1>Holidays</h1>
</div>
<div data-module="HolidaysCalendar" data-default-date="<%= Time.zone.now %>"></div>
| Use server clock to set current date | Use server clock to set current date
This allows us to time travel successfully in our feature specs and ends
a whole class of spec bugs caused by @AndrewVos' incompetence.
| HTML+ERB | mit | guidance-guarantee-programme/telephone_appointment_planner,guidance-guarantee-programme/telephone_appointment_planner,guidance-guarantee-programme/telephone_appointment_planner |
0994fd71d510937a056ac9528a92790807aa5450 | app/views/people/_lookup.html.erb | app/views/people/_lookup.html.erb | <%= form_tag people_path, method: :get do %>
<div class="row">
<div class="col-xs-6">
<div class="input-group">
<span class="input-group-btn">
<%= text_field_tag 'filter[search]',
params[:filter] && params[:filter][:search],
... | <%= form_tag people_path, method: :get do %>
<div class="row">
<div class="col-xs-6">
<div class="input-group">
<span class="input-group-btn">
<%= text_field_tag 'filter[search]',
prepared_params[:search],
placeholder:... | Fix search placeholder in views/people/_lookup partial. | Fix search placeholder in views/people/_lookup partial.
| HTML+ERB | mit | SplitTime/OpenSplitTime,SplitTime/OpenSplitTime,SplitTime/OpenSplitTime |
d3e752256d0c85acb8edc549f70d1f6b52800c3e | app/views/vehicles/_form.html.erb | app/views/vehicles/_form.html.erb | <%= twitter_bootstrap_form_for @vehicle, layout: :horizontal do |f| %>
<%= render 'shared/error_messages', model: @vehicle %>
<%= f.text_field :name %>
<%= f.text_field :open, {value: @vehicle.open.strftime("%H:%M"), input_group: t('all.unit.hour_minute')} do %>
<p class="help-block"><%= t '.open_help' %></p>... | <%= twitter_bootstrap_form_for @vehicle, layout: :horizontal do |f| %>
<%= render 'shared/error_messages', model: @vehicle %>
<%= f.text_field :name %>
<%= f.text_field :open, {value: @vehicle.open ? @vehicle.open.strftime("%H:%M") : nil, input_group: t('all.unit.hour_minute')} do %>
<p class="help-block"><%=... | Fix error on empty time in vehicle edit | Fix error on empty time in vehicle edit
| HTML+ERB | agpl-3.0 | fab-girard/mapotempo-web,fab-girard/mapotempo-web,fab-girard/mapotempo-web |
622d745120b7c475e2da55e4730902f1d7605cb5 | app/views/page/_static_page.html.erb | app/views/page/_static_page.html.erb | <%= content_for :meta_title, title %>
<div id="location_header_section">
<h1><%= title %></h1><br>
<b><a href="/"> « <%= t('nlt.back') %></a></b>
</div>
<div>
<%= yield %>
</div>
| <%= content_for :meta_title, title %>
<div class="panel panel-default">
<div id="location_header_section" class="panel-heading">
<h1><%= title %></h1><br>
<b><a href="/"> « <%= t('nlt.back') %></a></b>
</div>
<div class="panel-body">
<%= yield %>
</div>
</div>
| Use bootstrap panels for nicer appearance | Use bootstrap panels for nicer appearance
| HTML+ERB | agpl-3.0 | alabs/nolotiro.org,alabs/nolotiro.org,alabs/nolotiro.org,alabs/nolotiro.org |
418747de0706cdb766326d70468be39c611845d0 | app/views/postits/_modal_form.js.erb | app/views/postits/_modal_form.js.erb | $('.has-postit').popover('hide')
$('#postit .postit-body').html("<%= j render 'form' %>")
$('#postit .postit-header').html('')
$('#postit .postit-body h3').appendTo('#postit .postit-header')
<% if @postit.persisted? %>
$("<div class=delete-postit><%= j PostitDecorator.decorate(@postit).remote_delete_link %></div>").a... | $('.has-postit').popover('hide')
$('#postit .postit-body').html("<%= j render 'form' %>")
$('#postit .postit-header').html('')
$('#postit .postit-body h3').appendTo('#postit .postit-header')
$('#postit .delete-postit').remove()
<% if @postit.persisted? %>
$("<div class=delete-postit><%= j PostitDecorator.decorate(@po... | Remove postit destroy link in any case, otherwise delete links may be added each time the user clicks | Remove postit destroy link in any case, otherwise delete links may be added each time the user clicks
| HTML+ERB | mit | jbbarth/cartoque,cartoque/cartoque,skylost/cartoque,jbbarth/cartoque,cartoque/cartoque,skylost/cartoque,cartoque/cartoque,jbbarth/cartoque |
43137df4a53afec9228c1c37a0ade8a05eb0cd70 | app/views/admin/budgets/_heading.html.erb | app/views/admin/budgets/_heading.html.erb | <tr id="heading-<%=heading.id%>">
<td>
<%= heading.name %>
</td>
<td>
<%= heading.price %>
</td>
<td>
<%= heading.population %>
</td>
<td>
<%= link_to t("admin.actions.edit"),
edit_admin_budget_budget_group_budget_heading_path(budget_id: group.budget.id, budget_group_id: group.... | <tr id="heading-<%=heading.id%>">
<td>
<%= heading.name %>
</td>
<td>
<%= heading.budget.formatted_heading_price(heading) %>
</td>
<td>
<%= heading.population %>
</td>
<td>
<%= link_to t("admin.actions.edit"),
edit_admin_budget_budget_group_budget_heading_path(budget_id: group.... | Format heading price at admin table | Format heading price at admin table
| HTML+ERB | agpl-3.0 | consul/consul,consul/consul,AyuntamientoPuertoReal/decidePuertoReal,deivid-rodriguez/participacion,lalibertad/consul,AyuntamientoMadrid/consul,AyuntamientoMadrid/consul,consul/consul,CDJ11/CDJ,AyuntamientoPuertoReal/decidePuertoReal,AyuntamientoMadrid/participacion,lalibertad/consul,AyuntamientoMadrid/consul,Ayuntamien... |
4fa141cf5aa39f928742b4937dc4d6b3f68d1c39 | app/views/media_objects/_supplemental_files.html.erb | app/views/media_objects/_supplemental_files.html.erb | <dl>
<% @masterFiles.each do |section| %>
<dt><%= section.display_title %></dt>
<% next if section.supplemental_files.blank? %>
<% section.supplemental_files.each do |file| %>
<dd><%= link_to file.label, master_file_supplemental_file_path(master_file_id: section.id, id: file.id) %></dd>
... | <dl>
<% @masterFiles.each do |section| %>
<% next if section.supplemental_files.blank? %>
<dt><%= section.display_title %></dt>
<% section.supplemental_files.each do |file| %>
<dd><%= link_to file.label, master_file_supplemental_file_path(master_file_id: section.id, id: file.id) %></dd>
... | Remove section title in files tab when there are no files | Remove section title in files tab when there are no files
| HTML+ERB | apache-2.0 | uvalib/avalon,avalonmediasystem/avalon,uvalib/avalon,avalonmediasystem/avalon,nulib/avalon,nulib/avalon,uvalib/avalon,avalonmediasystem/avalon,uvalib/avalon,nulib/avalon,nulib/avalon,avalonmediasystem/avalon |
fce5fd1805fa8e440d2c7a3afa9272f3a0182a36 | jobs/caddy/templates/warm_buildpack_cache.sh.erb | jobs/caddy/templates/warm_buildpack_cache.sh.erb | #!/bin/bash -l
set -e -x
export PATH=/var/vcap/packages/cf-cli/bin:$PATH
cells=<%= properties.performance_tests.num_cells %>
api_url=<%= properties.stress_tests.api %>
api_user=<%= properties.stress_tests.admin_user %>
api_password=<%= properties.stress_tests.admin_password %>
cf login -a $api_url -u $api_user -p $... | #!/bin/bash -l
set -e -x
export PATH=/var/vcap/packages/cf-cli/bin:$PATH
cells=<%= properties.performance_tests.num_cells %>
api_url=<%= properties.stress_tests.api %>
api_user=<%= properties.stress_tests.admin_user %>
api_password='<%= properties.stress_tests.admin_password %>'
cf login -a $api_url -u $api_user -p... | Add quotes around api_password when setting it | Add quotes around api_password when setting it
Without these there will be a syntax error if the password
contains (.
$ api_password=a(b
-bash: syntax error near unexpected token `('
| HTML+ERB | apache-2.0 | cloudfoundry-incubator/diego-perf-release,cloudfoundry-incubator/diego-perf-release |
313d234e181a1e38e3d80691c65f4e52ffa0b2a5 | templates/fleet-environment.conf.erb | templates/fleet-environment.conf.erb | # This file is managed by Puppet. DO NOT EDIT
[Service]
Environment="FLEET_PUBLIC_IP=<%= @ipaddress %>"
Environment="FLEET_METADATA=region=<%= @etcd_region %>,has_ups=<%= @has_ups %>"
| # This file is managed by Puppet. DO NOT EDIT
[Service]
Environment="FLEET_PUBLIC_IP=<%= @ipaddress %>"
<%
metadata = { "region" => @etcd_region, "has_ups" => @has_ups }
# TODO: query PuppetDB to find out the list of existing CoreOS versions!
for milestone in [717, 723, 766, 835, 877]
if Integer(@operatingsys... | Add CoreOS milestones to FLEET_METADATA | Add CoreOS milestones to FLEET_METADATA
| HTML+ERB | mit | epfl-sti/cluster.coreos.puppet,epfl-sti/cluster.coreos.puppet,epfl-sti/cluster.coreos.puppet |
ed1d9c716c99494c857655769a92c8d127a029bd | templates/haproxy_balancermember.erb | templates/haproxy_balancermember.erb | <% Array(@ipaddresses).zip(Array(@server_names)).each do |ipaddress,host| -%>
server <%= host %> <%= ipaddress %>:<%= Array(@ports).collect {|x|x.split(',')}.flatten.join(",#{ipaddress}:") %> <%= if @define_cookies then "cookie " + host end %> <%= Array(@options).join(" ") %>
<% end -%>
| <% Array(@ipaddresses).zip(Array(@server_names)).each do |ipaddress,host| -%>
server <%= host %> <%= ipaddress %>:<%= Array(@ports).collect {|x|x.split(',')}.flatten.join(",#{ipaddress}:") %> <%= if @define_cookies then "cookie " + host end %> <%= Array(@options).sort.join(" ") %>
<% end -%>
| Fix ordering of options changing | Fix ordering of options changing
The order of the options kept changing on each puppet run for me. Adding the sort makes the order consistent on each puppet run. | HTML+ERB | apache-2.0 | DavidS/puppetlabs-haproxy,oshaughnessy/puppetlabs-haproxy,zoojar/puppetlabs-haproxy,x-way/puppetlabs-haproxy,andyh2/puppetlabs-haproxy,automaticserver/puppet-haproxy,DavidS/puppetlabs-haproxy,oshaughnessy/puppetlabs-haproxy,daugustus/puppetlabs-haproxy,exo-puppet/puppetlabs-haproxy,fuel-infra/puppetlabs-haproxy,blackco... |
f0d6e18efac5caa83a89ed0542d6755f06ca7894 | app/views/home/index.html.erb | app/views/home/index.html.erb | <p>
This is a JSON API for sport data.
You can find fixtures, rosters and match events here.
</p>
<p>
Read API documentation <%= link_to "here", "http://docs.hackday1.apiary.io/" %>
</p>
<p>
See the source code <%= link_to "here", "https://github.com/footballhackday/football-api/" %>
</p>
<h3>Example endpoin... | <p>
This is a JSON API for sport data.
You can find fixtures, rosters and match events here.
</p>
<p>
Read API documentation <%= link_to "here", "http://docs.hackday1.apiary.io/" %>
</p>
<p>
See the source code <%= link_to "here", "https://github.com/footballhackday/football-api/" %>
</p>
<h3>Example endpoin... | Add a link to event codes endpoint | Add a link to event codes endpoint
| HTML+ERB | mit | footballhackday/football-api,footballhackday/football-api,footballhackday/football-api |
d1e860d8915162a780e6d38ad9c1a5b8e29fbfb4 | app/views/admin/github_repositories/show.html.erb | app/views/admin/github_repositories/show.html.erb | <%= render 'admin/nav' %>
<div class="row">
<%= simple_form_for(@github_repository, url: admin_github_repository_path(@github_repository.id), html: { class: 'form-vertical col-md-6' }) do |form| %>
<h2>
Admin / <%= link_to @github_repository.full_name, github_repository_path(@github_repository.owner_name, @... | <%= render 'admin/nav' %>
<div class="row">
<div class="col-md-6">
<h2>
Admin / <%= link_to @github_repository.full_name, github_repository_path(@github_repository.owner_name, @github_repository.project_name) %>
<%= link_to fa_icon('github'), @github_repository.url, target: :blank %>
</h2>
<p... | Add deprecate buttons to admin repo edit page | Add deprecate buttons to admin repo edit page
| HTML+ERB | agpl-3.0 | abrophy/libraries.io,samjacobclift/libraries.io,librariesio/libraries.io,samjacobclift/libraries.io,tomnatt/libraries.io,tomnatt/libraries.io,abrophy/libraries.io,samjacobclift/libraries.io,librariesio/libraries.io,tomnatt/libraries.io,librariesio/libraries.io,librariesio/libraries.io,abrophy/libraries.io |
601e8dda104c29c09acdedbfb6dcc1aa98f3fd07 | lib/app/views/application/nav/account.erb | lib/app/views/application/nav/account.erb | <li class="dropdown">
<a class="dropdown-toggle" id="drop-account" href="#" data-toggle="dropdown">
<%= gravatar_tag current_user.avatar_url, size: 20 %>
<%= current_user.username %> <b class="caret"></b>
</a>
<ul class="dropdown-menu" role="menu">
<li><a role="menuitem" tabindex="-1" href="/<%= curr... | <li class="dropdown">
<a class="dropdown-toggle" id="drop-account" href="#" data-toggle="dropdown">
<%= gravatar_tag current_user.avatar_url, size: 20 %>
<%= current_user.username %> <b class="caret"></b>
</a>
<ul class="dropdown-menu" role="menu">
<li><a role="menuitem" tabindex="-1" href="/<%= curr... | Rename exercises to profile in dropdown menu | Rename exercises to profile in dropdown menu
The name was clashing with the new inbox menu item.
See discussion in #2525
| HTML+ERB | agpl-3.0 | bmulvihill/exercism.io,copiousfreetime/exercism.io,sheekap/exercism.io,treiff/exercism.io,bmulvihill/exercism.io,amar47shah/exercism.io,chinaowl/exercism.io,jtigger/exercism.io,RaptorRCX/exercism.io,Tonkpils/exercism.io,RaptorRCX/exercism.io,tejasbubane/exercism.io,jtigger/exercism.io,nathanbwright/exercism.io,bmulvihi... |
e1129f8d0cdfbe025782cdc902aefc1db7fbf532 | app/views/layouts/_navigation.html.erb | app/views/layouts/_navigation.html.erb | <nav id="site-navigation">
<div id="right-nav">
<% if !session[:user_id] %>
<a href="/" class="nav-link">Lotify Me</a>
<a href="/login" class="nav-link">Login</a>
<a href="/signup" class="nav-link">Signup</a>
<% else %>
<% @session_id = session[:user_id] %>
<a href="/" class="nav-link">Lotify Me... | <nav class="top-bar" data-topbar role="navigation">
<ul class="title-area">
<li class="name">
<h1><a href="#">Lotify Me</a></h1>
</li>
</ul>
<section class="top-bar-section">
<ul class="right">
<li class="has-dropdown">
<% if !session[:user_id] %>
<li><%= link_to 'LOGIN', signup_path... | Add nav_bar layout with Foundation. | Add nav_bar layout with Foundation.
| HTML+ERB | mit | drodriguez56/lotifyMe,drodriguez56/lotifyMe,drodriguez56/lotifyMe |
1955f22ebb854162d7b2d534e84ee05407859976 | cookbooks/chef/templates/default/report.rb.erb | cookbooks/chef/templates/default/report.rb.erb | # DO NOT EDIT - This file is being maintained by Chef
require "rubygems"
class Chef
class Handler
class Email < Chef::Handler
attr_reader :config
def initialize(config = {})
@config = config
@config[:from] ||= "root@openstreetmap.org"
@config
end
def report
... | # DO NOT EDIT - This file is being maintained by Chef
require "rubygems"
class Chef
class Handler
class Email < Chef::Handler
attr_reader :config
def initialize(config = {})
@config = config
@config[:from] ||= "root@openstreetmap.org"
@config
end
def report
... | Fix delivery method configuration for chef reports | Fix delivery method configuration for chef reports
| HTML+ERB | apache-2.0 | openstreetmap/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,z... |
7d8a3cec42e9a63e34b8a1f8cd7e07c74dc7de02 | app/views/make-survey/make-survey.erb | app/views/make-survey/make-survey.erb | <h1>Make A Survey</h1>
<%= erb :'make-survey/_question' %>
| <h1>Make A Survey</h1>
<p><input type="text" name="title" placeholder="Survey Title"></p>
<%= erb :'make-survey/_question' %>
| Add survey title input to survey creation view | Add survey title input to survey creation view
| HTML+ERB | mit | nyc-rock-doves-2015/survey-werewolf,nyc-rock-doves-2015/survey-werewolf,nyc-rock-doves-2015/survey-werewolf |
3e4b9256837d0bd7217d46999e1aa4f4faa30c2a | app/views/layout.erb | app/views/layout.erb | <!DOCTYPE html>
<html lang="en">
<head>
<!--
normalize.css removes cross-browser differences in defaults, e.g.,
differences in how form elements appear between Firefox and IE
See: http://necolas.github.com/normalize.css/
-->
<link rel="stylesheet" href="/stylesheets/normalize.css">
<!--
applicat... | <!DOCTYPE html>
<html lang="en">
<head>
<!--
normalize.css removes cross-browser differences in defaults, e.g.,
differences in how form elements appear between Firefox and IE
See: http://necolas.github.com/normalize.css/
-->
<link rel="stylesheet" href="/stylesheets/normalize.css">
<!--
applicat... | Change the url in the tweet text when share button clicked | Change the url in the tweet text when share button clicked
- when twitter share button is clicked, it will include a link to our app domain/home page
| HTML+ERB | mit | tweet-squared/Tweets-Squared-App,tweet-squared/Tweets-Squared-App,tweet-squared/Tweets-Squared-App |
cf68edcb125186ce8c82a2d28414df917e54ae7c | templates/classroom_pkgs.erb | templates/classroom_pkgs.erb | <% if @build_name == "master" %>
https://s3-us-west-2.amazonaws.com/education-packages/gitea-1.0-1.x86_64.rpm
<% end %>
| <% if @build_name == "master" %>
https://s3-us-west-2.amazonaws.com/education-packages/gitea-1.0-1.x86_64.rpm
<% end %>
https://s3-us-west-2.amazonaws.com/education-packages/google-droid-sans-mono-1.0-1.x86_64.rpm
| Add Droid Sans Mono font for branding | Add Droid Sans Mono font for branding
This will allow PDFs to build with the right branded font | HTML+ERB | apache-2.0 | puppetlabs/pltraining-localrepo,puppetlabs/pltraining-localrepo |
93b07caa9e43566f58c033eb30ba0c32511b91ed | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Heall</title>
<%= javascript_include_tag 'application','jquery', 'data-turbolinks-track' => true %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= csrf_meta_tags %>
<link href="https://fonts.googleapis.com... | <!DOCTYPE html>
<html>
<head>
<title>Heall</title>
<%= javascript_include_tag 'application','jquery', 'data-turbolinks-track' => true %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= csrf_meta_tags %>
<link href="https://fonts.googleapis.com... | Change to gem to just google web fonts to support rails 5 | Change to gem to just google web fonts to support rails 5
| HTML+ERB | mit | yaritzape9/heall,yaritzape9/heall,yaritzape9/heall |
b8bffe0f1a2fcbbe21d80d38b94819a7876cc821 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Dabell</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='global_nav'>
<ul>
<li>
... | <!DOCTYPE html>
<html>
<head>
<title>Dabell</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='global_nav'>
<ul>
<% if user_s... | Hide global navigation items when not uesr signed in | Hide global navigation items when not uesr signed in
| HTML+ERB | mit | ueokande/dabell,ueokande/dabell,ueokande/dabell |
30abe1a4955b1ab3e8fc19b8b4c40bdaee0041bb | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>TraitDB</title>
<%= stylesheet_link_tag "application", :media => "all" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
</head>
<body style="padding-top: 40px;">
<div class="container">
<div class="navbar navbar-fixed-top">
<div class="navbar-inn... | <!DOCTYPE html>
<html>
<head>
<title>TraitDB</title>
<%= stylesheet_link_tag "application", :media => "all" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
</head>
<body style="padding-top: 40px;">
<div class="container">
<div class="navbar navbar-fixed-top">
<div class="navbar-inn... | Update navigation bar to include username | Update navigation bar to include username
Some minor restyling
username shows a dropdown
| HTML+ERB | mit | NESCent/TraitDB,NESCent/TraitDB,NESCent/TraitDB |
e90e3981a2b21f721eb50fa20f7cf882d3177911 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html lang="en">
<head>
<%= render partial: "layouts/head" %>
</head>
<body class="app-bento">
<a id="skip" class="skip sr sr-focusable" href="#content-main">Skip to main content</a>
<div class="wrap-page">
<%= render partial: "layouts/global_alert" %>
<%= render partial... | <!DOCTYPE html>
<html lang="en">
<head>
<%= render partial: "layouts/head" %>
</head>
<body class="app-bento">
<a id="skip" class="skip sr sr-focusable" href="#content-main">Skip to main content</a>
<div class="wrap-page">
<%= render partial: "layouts/global_alert" %>
<%= render partial... | Remove info block on feedback page | Remove info block on feedback page
https://mitlibraries.atlassian.net/browse/DI-349
| HTML+ERB | apache-2.0 | MITLibraries/bento,MITLibraries/bento,MITLibraries/bento,MITLibraries/bento |
fc6d5fbde61b5c505fc66c8fe869c2685fc40278 | app/views/admin/places/_edit.html.erb | app/views/admin/places/_edit.html.erb | <%= semantic_form_for @latest_edition, :url => admin_place_edition_path(@place, @latest_edition), :as => :edition do |f| %>
<%= f.inputs do %>
<%= f.input :title, :label => "Name of place thing", :input_html => {:autofocus => true} %>
<%= f.input :alternative_title %>
<%= f.input :overview, :as => :text, ... | <%= semantic_form_for @latest_edition, :url => admin_place_edition_path(@place, @latest_edition), :as => :edition do |f| %>
<%= f.inputs do %>
<%= f.input :title, :label => "Name of place thing", :input_html => {:autofocus => true} %>
<%= f.input :alternative_title %>
<%= f.input :overview, :as => :text, ... | Add a hint to make the connection between 'place type' in publisher and 'slug' in imminence (not ideal, but at least a bit clearer) | Add a hint to make the connection between 'place type' in publisher and 'slug' in imminence (not ideal, but at least a bit clearer)
| HTML+ERB | mit | leftees/publisher,theodi/publisher,alphagov/publisher,telekomatrix/publisher,leftees/publisher,leftees/publisher,telekomatrix/publisher,alphagov/publisher,telekomatrix/publisher,alphagov/publisher,theodi/publisher,theodi/publisher,telekomatrix/publisher,theodi/publisher,leftees/publisher |
6496d279cc9ed04a8da82445caf431cbbab78b8b | app/views/blogit/posts/index.html.erb | app/views/blogit/posts/index.html.erb | <%= login_required class: "actions", id: "new_blog_post_link" do %>
<%= link_to t(:new_blog_post, scope: 'blogit.posts'), new_post_path %>
<% end %>
<%= render partial: "blogit/posts/sidebar" %>
<% if @posts.any? %>
<%= render partial: "blogit/posts/post_preview",
collection: @posts,
as: :post,
space... | <%= login_required class: "actions", id: "new_blog_post_link" do %>
<%= link_to t(:new_blog_post, scope: 'blogit.posts'), new_post_path %>
<% end %>
<%= render partial: "blogit/posts/sidebar" %>
<% if @posts.any? %>
<section class="blog_posts">
<%= render partial: "blogit/posts/post_preview",
collection... | Add a wrapper for all blog posts on index. | Add a wrapper for all blog posts on index.
| HTML+ERB | mit | tfe/blogit,tfe/blogit,tfe/blogit |
a7cd3e81beeb7de0522765d0d4b6ce24b8e490eb | app/views/detour/shared/_nav.html.erb | app/views/detour/shared/_nav.html.erb | <nav class="navbar navbar-default" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#feature-flags-nav">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
... | <nav class="navbar navbar-default" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#feature-flags-nav">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
... | Use flaggable type table_name for flag routes | Use flaggable type table_name for flag routes | HTML+ERB | mit | jclem/detour,jclem/detour |
14e6a67b904ea1f24c8cd57544e9733170e2498e | app/views/tasks/_attachments.html.erb | app/views/tasks/_attachments.html.erb | <fieldset id="task_attachments">
<legend>
Files attached to this task
</legend>
<div id="task_attached_files">
<% for file in @task.attachments %>
<% if file.thumbnail? %>
<div>
<%= link_to image_tag("/project_files/thumbnail/#{file.id}"), {:controller => 'project... | <% if @task.attachments.count > 0 %>
<fieldset id="task_attachments">
<legend>Files attached to this task</legend>
<div id="task_attached_files">
<% for file in @task.attachments %>
<% if file.thumbnail? %>
<div>
<%= link_to image_tag("/project_files/thumbnail/#{file.id}"), {:controller => 'projec... | Hide attachments block when there aren't any. | Hide attachments block when there aren't any.
| HTML+ERB | agpl-3.0 | webstream-io/jobsworth,ari/jobsworth,digitalnatives/jobsworth,rafaspinola/jobsworth,digitalnatives/jobsworth,rafaspinola/jobsworth,ari/jobsworth,xuewenfei/jobsworth,xuewenfei/jobsworth,evinoca/clockingit,evinoca/clockingit,webstream-io/jobsworth,rafaspinola/jobsworth,webstream-io/jobsworth,arunagw/clockingit,rafaspinol... |
6d56f5f27936e362e85c140190d87d675b98bea1 | templates/opt/splunk/etc/passwd.erb | templates/opt/splunk/etc/passwd.erb | <%= @splunkadmin %>
<% if @type == 'search' and @localusers != :undef then -%>
<% localusers.each do |user| -%>
<%= user %>
<% end -%>
<% end -%>
| <%= @splunkadmin %>
<% if @type == 'search' and @localusers then -%>
<% @localusers.each do |user| -%>
<%= user %>
<% end -%>
<% end -%>
| Fix comparison of @localusers to undef for puppet3.7/ruby1.8 | Fix comparison of @localusers to undef for puppet3.7/ruby1.8
Catalog compilation fails with puppet 3.7 on ruby 1.8 (centos6) with
error calling .each on undef, due to failing comparison of @localusers
to :undef. Replace witha simple truthyness test of @localusers.
| HTML+ERB | mit | huit/puppet-splunk,huit/puppet-splunk,tfhartmann/puppet-splunk,tfhartmann/puppet-splunk,huit/puppet-splunk,tfhartmann/puppet-splunk,huit/puppet-splunk,huit/puppet-splunk,tfhartmann/puppet-splunk,tfhartmann/puppet-splunk |
2d8856164f0ea071ff53e400a6564c42aeaa13e6 | app/views/api/tours/show_feed.json.erb | app/views/api/tours/show_feed.json.erb | <% cache "feed_tour-#{I18n.locale}" do %>
{
"i18n": {
"nextBtn": "<%= t 'read.tours.feed.nextBtn' %>",
"doneBtn": "<%= t 'read.tours.feed.doneBtn' %>",
"closeTooltip": "<%= t 'read.tours.feed.closeTooltip' %>"
},
"steps": [
{
"target": "#feed-title",
"placement": "... | <% cache "feed_tour-#{I18n.locale}" do %>
{
"i18n": {
"nextBtn": "<%= t 'read.tours.feed.nextBtn' %>",
"doneBtn": "<%= t 'read.tours.feed.doneBtn' %>",
"closeTooltip": "<%= t 'read.tours.feed.closeTooltip' %>"
},
"steps": [
{
"target": "#feed-title",
"placement": "... | Move tour step a bit to the left so that it isn't outside the viewport in tablets. | Move tour step a bit to the left so that it isn't outside the viewport in tablets.
| HTML+ERB | mit | jmwenda/feedbunch,amatriain/feedbunch,amatriain/feedbunch,amatriain/feedbunch,jmwenda/feedbunch,amatriain/feedbunch,jmwenda/feedbunch |
26067c656d663b45a93eaa194239c156c872c2cc | app/views/housing_forms/index.html.erb | app/views/housing_forms/index.html.erb | <h1>Listing housing_forms</h1>
<table>
<tr>
<th>Name</th>
<th>Uri</th>
<th></th>
<th></th>
<th></th>
</tr>
<% @housing_forms.each do |housing_form| %>
<tr>
<td><%= housing_form.name %></td>
<td><%= housing_form.uri %></td>
<td><%= link_to 'Show', housing_form %></td>
<td><%= ... | <h1>Available housing forms</h1>
<table>
<tr>
<th>Name</th>
<th>Uri</th>
<th></th>
<th></th>
<th></th>
</tr>
<% @housing_forms.each do |housing_form| %>
<tr>
<td><%= housing_form.name %></td>
<td><%= housing_form.uri %></td>
<td><%= link_to 'Show', housing_form %></td>
<td><%... | Change the title on the housing forms index | Change the title on the housing forms index
It's slightly more human-like.
| HTML+ERB | mit | codefordc/districthousing,meiao/districthousing,MetricMike/districthousing,adelevie/districthousing,adelevie/districthousing,MetricMike/districthousing,jrunningen/districthousing,dmjurg/districthousing,dmjurg/districthousing,lankyfrenchman/dchousing-apps,jrunningen/districthousing,adelevie/districthousing,codefordc/dis... |
7f8a060b08824ec9c872bb2a008fa36346d9e36b | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Lesperance</title>
<meta name="description" content="L'Espérance">
<meta name="keywords" content="Francois Xavier Dufour, Francois Xavier Bernardin, espérance, dieu, café, chrétien, église">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
... | <!DOCTYPE html>
<html>
<head>
<title>Lesperance</title>
<meta name="description" content="L'Espérance">
<meta name="keywords" content="Francois Xavier Dufour, Francois Xavier Bernardin, espérance, dieu, café, chrétien, église">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
... | Fix JS for last slide | Fix JS for last slide
| HTML+ERB | mit | Goldenson/lesperance,Goldenson/lesperance,Goldenson/lesperance |
1d553780bc1ee399744cc2b9ec20bb73f7f30d7d | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<%= stylesheet_link_tag "application", :media => "all" %>
<%= stylesheet_link_tag "print.css", media: "print" %>
<title><%= yield :title %> - GOV.UK</title>
<%= yield :head %>
<% if @content_item %>
<%= render "govuk_publishing_components/components/meta_tags",... | <!DOCTYPE html>
<html>
<head>
<%= stylesheet_link_tag "application", :media => "all" %>
<%= stylesheet_link_tag "print.css", media: "print" %>
<title><%= yield :title %> - GOV.UK</title>
<%= yield :head %>
<% if @content_item %>
<%= render "govuk_publishing_components/components/meta_tags",... | Use correctly named strip-dates param | Use correctly named strip-dates param
This was accidentally added in
https://github.com/alphagov/smart-answers/pull/3508.
| HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.