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 |
|---|---|---|---|---|---|---|---|---|---|
ffc2a7f95448784b1c6c11047935153973ed3fd5 | app/views/import_mailer/lga_import_exception_aborted.text.erb | app/views/import_mailer/lga_import_exception_aborted.text.erb | Hi <%= @user.name %>
Your import of '<%= @importer.filename %>' was aborted.
The first 1000 items were invalid, we've aborted the import for you.
<% @importer.statistics.each do |name, value| %>
<%= name.to_s.humanize %>: <%= value %>
<% end %>
Cheers,
The ePlanning Team
<%= @host_name %>
| Hi <%= @user.name %>
Your import of '<%= @importer.filename %>' was aborted.
The first 1000 items were invalid, so we've aborted the import for you.
<% @importer.statistics.each do |name, value| %>
<%= name.to_s.humanize %>: <%= value %>
<% end %>
Cheers,
The ePlanning Team
<%= @host_name %>
| Add "so" to aborted message | Add "so" to aborted message
| HTML+ERB | apache-2.0 | NSWPlanning/data-verification-tool,NSWPlanning/data-verification-tool,NSWPlanning/data-verification-tool |
99f995868dfcb4381027f0cd6c78a2f1e7001045 | modules/govuk_jenkins/templates/jobs/build_offsite_backup.yaml.erb | modules/govuk_jenkins/templates/jobs/build_offsite_backup.yaml.erb | ---
- scm:
name: govuk_offsitebackups-puppet_Build-Offsite-Backup
scm:
- git:
url: git@github.com:alphagov/govuk_offsitebackups-puppet.git
branches:
- vcloud
- job:
name: Build-Offsite-Backup
display-name: Build-Offsite-Backup
project-type: freestyle
... | ---
- scm:
name: govuk_offsitebackups-puppet_Build-Offsite-Backup
scm:
- git:
url: git@github.com:alphagov/govuk_offsitebackups-puppet.git
branches:
- vcloud
- job:
name: Build-Offsite-Backup
display-name: Build-Offsite-Backup
project-type: freestyle
... | Remove email alert for offsite backups task | Remove email alert for offsite backups task
I believe this job is only run manually, so we don't need notifications
or a Icinga alert.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
db21dc96cf3794a88b0d52db32fafeea4cb36578 | lib/tent-status/views/auth.erb | lib/tent-status/views/auth.erb | <form class='form-horizontal' action='<%= full_path('/auth/tent') %>' method='POST'>
<div class='control-group'>
<label class='control-label'>Your Entity URI</label>
<div class='controls'>
<input class='input-xlarge' type='text' name='entity' placeholder='https://johndoe.example.com' />
<inp... | <form class='form-horizontal' action='<%= full_path('/auth/tent') %>' method='POST'>
<div class='control-group'>
<label class='control-label'>Your Entity URI</label>
<div class='controls'>
<input class='input-xlarge' type='text' name='entity' placeholder='https://example.com' />
<input class... | Update login form placeholder text | [Standalone] Update login form placeholder text
| HTML+ERB | bsd-3-clause | tent/tent-status,tent/tent-status |
a555b69c13386cfaac0e01d27a6093e9526a8d5a | app/views/calculators/take_whole_pot/_form.html.erb | app/views/calculators/take_whole_pot/_form.html.erb | <%
form = local_assigns[:form]
errors = form&.errors
%>
<h2 id="calculator">Estimate what you’d get after tax</h2>
<%= render 'calculators/error_summary', messages: errors&.messages if form&.invalid? %>
<form action="/take-whole-pot/estimate#calculator" method="get">
<%= render 'calculators/form_input_curren... | <%
form = local_assigns[:form]
errors = form&.errors
%>
<h2 id="calculator">Estimate what you’d get after tax</h2>
<%= render 'calculators/error_summary', messages: errors&.messages if form&.invalid? %>
<form action="/take-whole-pot/estimate#calculator" method="get">
<%= render 'calculators/form_input_curren... | Update whole pot calculator copy | Update whole pot calculator copy
Removed contraction 'What's' and changed to 'What is' to make clearer for people with low literacy. | HTML+ERB | mit | guidance-guarantee-programme/pension_guidance,guidance-guarantee-programme/pension_guidance,guidance-guarantee-programme/pension_guidance |
1d903638d729498dd4619845e9ec3d92e0eaf2bd | app/views/assessment/scribing_questions/_form.html.erb | app/views/assessment/scribing_questions/_form.html.erb | <%= simple_form_for [@course, @assessment, @question],
html: { :class => 'form-horizontal', multipart: true } do |f| %>
<%= f.input :title %>
<%= f.input :description, as: :text, input_html:{class: "span7 text-area html-editor", rows:10} %>
<%= f.input :max_grade, as: :integer, input_ht... | <%= simple_form_for [@course, @assessment, @question],
html: { :class => 'form-horizontal', multipart: true } do |f| %>
<%= f.input :title %>
<%= f.input :description, as: :text, input_html:{class: "span7 text-area html-editor", rows:10} %>
<%= f.input :max_grade, as: :integer, input_ht... | Add canvas to individual scribing question edit page so the picture will also load when editing an individual question. | Add canvas to individual scribing question edit page so the picture will
also load when editing an individual question.
| HTML+ERB | mit | allenwq/coursemology.org,Coursemology/coursemology.org,dariusf/coursemology.org,allenwq/coursemology.org,allenwq/coursemology.org,allenwq/coursemology.org,dariusf/coursemology.org,Coursemology/coursemology.org,nnamon/coursemology.org,dariusf/coursemology.org,Coursemology/coursemology.org,nnamon/coursemology.org,dariusf... |
ae1db900497e95ee255b253e2705018756bc0828 | app/views/onboarding/school_details/new.html.erb | app/views/onboarding/school_details/new.html.erb | <div class="row justify-content-md-center">
<div class="col col-md-10 col-lg-8">
<h1>Step 2: Tell us about <%= @school_onboarding.school_name %></h1>
<p>
Tell us about your school so that we can tailor the activities and insights
we provide to you and user pupils, so that you can get the best from ou... | <div class="row justify-content-md-center">
<div class="col col-md-10 col-lg-8">
<h1>Step 2: Tell us about your school</h1>
<p>
Tell us about your school so that we can tailor the activities and insights
we provide to you and your pupils, so that you can get the best from our
service.
</p>
... | Tweak wording on tell us about your school | Tweak wording on tell us about your school
| HTML+ERB | mit | BathHacked/energy-sparks,BathHacked/energy-sparks,BathHacked/energy-sparks,BathHacked/energy-sparks |
9c92f6aa5e7c374c5b01c47d1b0e0fe8b5ac478d | app/views/alchemy/admin/elements/_element_footer.html.erb | app/views/alchemy/admin/elements/_element_footer.html.erb | <div class="element-footer">
<% if element.has_validations? %>
<p class="validation_notice">
<span class="validation_indicator">*</span> <%= Alchemy.t('Mandatory') %>
</p>
<% end %>
<button type="submit" <%= "disabled" unless element.public? %> form="element_<%= element.id %>_form" class="button" d... | <div class="element-footer">
<% if element.has_validations? %>
<p class="validation_notice">
<span class="validation_indicator">*</span> <%= Alchemy.t('Mandatory') %>
</p>
<% end %>
<button type="submit" form="element_<%= element.id %>_form" class="button" data-alchemy-button>
<%= Alchemy.t(:sa... | Allow to safe hidden elements | Allow to safe hidden elements
In b3a2763b21753a0ec3e9d9c311cbee9736dbb4db we disabled the
element safe button for hidden elements.
It turns out that users are actually update hidden elements to make them
visible shortly after.
| HTML+ERB | bsd-3-clause | AlchemyCMS/alchemy_cms,robinboening/alchemy_cms,AlchemyCMS/alchemy_cms,robinboening/alchemy_cms,robinboening/alchemy_cms,AlchemyCMS/alchemy_cms |
293209dfaea198ef0aaa99e1c67fd53e38f8549f | app/views/pages/more_info/budgets/_welcome_header_finished.html.erb | app/views/pages/more_info/budgets/_welcome_header_finished.html.erb | <div class="expanded header">
<div class="row no-margin-top padding">
<div class="small-12 medium-8 column">
<h1>Resultados<br>Presupuestos participativos 2017</h1>
<div class="small-12 medium-11">
<p class="lead">
Mira qué proyectos ciudadanos se ejecutarán a partir de 2018 con los... | <div class="expanded header">
<div class="row no-margin-top padding">
<div class="small-12 medium-8 column">
<h1>Resultados<br>Presupuestos participativos 2017</h1>
<div class="small-12 medium-11">
<p class="lead">
Mira qué proyectos ciudadanos se ejecutarán a partir de 2018 con los... | Correct view results button on budgets finished header | Correct view results button on budgets finished header
| HTML+ERB | agpl-3.0 | AyuntamientoMadrid/consul,AyuntamientoMadrid/consul,AyuntamientoMadrid/consul,AyuntamientoMadrid/consul |
bad432c6f8549d829ceee8b4caf5bb86571e58b8 | app/views/locations/show.html.erb | app/views/locations/show.html.erb | <% content_for(:page_title, "#{@location.name} - Pension Wise") %>
<% content_for(:meta_description, "Find out the address, booking hours and how to book a Pension Wise appointment at the #{@location.name}") %>
<h1 class="t-name"><%= @location.name %></h1>
<h2 class="heading-small">Address</h2>
<p class="t-address"><... | <% content_for(:page_title, "#{@location.name} - Pension Wise") %>
<% content_for(:meta_description, "Find out the address, booking hours and how to book a Pension Wise appointment at the #{@location.name}") %>
<h1 class="t-name"><%= @location.name %></h1>
<h2 class="heading-small">Address</h2>
<p class="t-address"><... | Format location booking hours over multiple lines | Format location booking hours over multiple lines
| HTML+ERB | mit | guidance-guarantee-programme/pension_guidance,guidance-guarantee-programme/pension_guidance,guidance-guarantee-programme/pension_guidance |
401dbb7038224aff7b8dd99a6f31fd24aaabd2d8 | frontend/app/views/spree/shared/_link_to_account.html.erb | frontend/app/views/spree/shared/_link_to_account.html.erb | <% if try_spree_current_user %>
<%= link_to Spree.t('nav_bar.my_account'), spree.account_path, class: 'dropdown-item' if spree.respond_to?(:account_path) %>
<%= link_to Spree.t('nav_bar.admin_panel'), spree.admin_orders_path, class: 'dropdown-item text-uppercase' if try_spree_current_user.has_spree_role?(:admin) %>... | <% if try_spree_current_user %>
<%= link_to Spree.t('nav_bar.my_account'), spree.account_path, class: 'dropdown-item' if spree.respond_to?(:account_path) %>
<%= link_to Spree.t('nav_bar.admin_panel'), spree.admin_orders_path(locale: nil), class: 'dropdown-item text-uppercase' if try_spree_current_user.has_spree_rol... | Drop locale when linking to Admin Panel | Drop locale when linking to Admin Panel
| HTML+ERB | bsd-3-clause | imella/spree,imella/spree,imella/spree |
9669f9381bb932321b9bcae655a2716a1e4eb3c8 | files/gitlab-cookbooks/gitlab/templates/default/nginx.conf.erb | files/gitlab-cookbooks/gitlab/templates/default/nginx.conf.erb | # This file is managed by gitlab-ctl. Manual changes will be
# erased! To change the contents below, edit /etc/gitlab/gitlab.rb
# and run `sudo gitlab-ctl reconfigure`.
user <%= node['gitlab']['web-server']['username'] %> <%= node['gitlab']['web-server']['username']%>;
worker_processes <%= @worker_processes %>;
error_... | # This file is managed by gitlab-ctl. Manual changes will be
# erased! To change the contents below, edit /etc/gitlab/gitlab.rb
# and run `sudo gitlab-ctl reconfigure`.
user <%= node['gitlab']['web-server']['username'] %> <%= node['gitlab']['web-server']['group']%>;
worker_processes <%= @worker_processes %>;
error_log... | Use the correct group for NGINX workers | Use the correct group for NGINX workers
| HTML+ERB | apache-2.0 | gitlabhq/omnibus-gitlab,felixbuenemann/omnibus-gitlab,gitlabhq/omnibus-gitlab,gitlabhq/omnibus-gitlab,copystudy/omnibus-gitlab,copystudy/omnibus-gitlab,gitlabhq/omnibus-gitlab,aleksandrs-ledovskis/omnibus-gitlab,aleksandrs-ledovskis/omnibus-gitlab,felixbuenemann/omnibus-gitlab,aleksandrs-ledovskis/omnibus-gitlab,felixb... |
d1e52688197dd0cf02a5507d1d6eb1d12d99cfe2 | lib/smart_answer_flows/check-uk-visa/outcomes/outcome_medical_n.erb | lib/smart_answer_flows/check-uk-visa/outcomes/outcome_medical_n.erb | <% text_for :title do %>
You won’t need a visa to visit the UK
<% end %>
<% govspeak_for :body do %>
You can stay in the UK for up to 6 months without a visa.
However, you should bring the [same documents](/government/publications/visitor-visa-guide-to-supporting-documents) you’d need to apply for a [Standard V... | <% text_for :title do %>
You won’t need a visa to visit the UK
<% end %>
<% govspeak_for :body do %>
You can stay in the UK for up to 6 months without a visa.
However, you should bring the [same documents](/government/publications/visitor-visa-guide-to-supporting-documents) you’d need to apply for a [Standard V... | Add line about Standard Visa for longer medical stays | Add line about Standard Visa for longer medical stays
| HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
39363c3d9d15aee8bf04f8f096837f33cc3fb13b | cookbooks/planet/templates/default/planet-update-file.erb | cookbooks/planet/templates/default/planet-update-file.erb | #!/bin/sh
# DO NOT EDIT - This file is being maintained by Chef
# setup
SUFFIX="osh.pbf"
PLANETDIR="/var/lib/planet"
PLANETPREV="${PLANETDIR}/planet-previous.${SUFFIX}"
PLANETCURR="${PLANETDIR}/planet.${SUFFIX}"
PLANETNEW="${PLANETDIR}/planet-new.${SUFFIX}"
PLANETTMP="${PLANETDIR}/planet-tmp.${SUFFIX}"
pyosmium-up... | #!/bin/sh
# DO NOT EDIT - This file is being maintained by Chef
# setup
SUFFIX="osh.pbf"
PLANETDIR="/var/lib/planet"
PLANETPREV="${PLANETDIR}/planet-previous.${SUFFIX}"
PLANETCURR="${PLANETDIR}/planet.${SUFFIX}"
PLANETNEW="${PLANETDIR}/planet-new.${SUFFIX}"
PLANETTMP="${PLANETDIR}/planet-tmp.${SUFFIX}"
pyosmium-up... | Increase log verbosity level of planet update | Increase log verbosity level of planet update
Increase verbosity level of pyosmium-up-to-date in /usr/local/bin/planet-update to help finding out why it fails so often. | HTML+ERB | apache-2.0 | openstreetmap/chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,openstreetmap/chef,openstreetmap/chef,... |
5bbe92b3a89e97f2d8c86fd9af827b5a64da16cf | spec/rails_app/app/views/layouts/_breadcrumbs.html.erb | spec/rails_app/app/views/layouts/_breadcrumbs.html.erb | <% if breadcrumbs? %>
<ul id='breadcrumbs'>
<% breadcrumbs do |name, url, styles| %>
<li class="<%= styles %>">
<%= link_to name, url %>
<span><%= styles == 'selected' ? '' : '::' %></span>
</li>
<% end %>
</ul>
<% end %>
| <% if breadcrumbs? %>
<ul id='breadcrumbs'>
<% breadcrumbs do |name, url, styles| %>
<li class="<%= styles %>">
<%= link_to name, url, class: styles %>
<% unless styles.include?('selected') %>
<span>::</span>
<% end %>
</li>
<% end %>
</ul>
<% end %>
| Change to show breadcrumb trail separators | Change to show breadcrumb trail separators
| HTML+ERB | mit | peter-murach/loaf,peter-murach/loaf,piotrmurach/loaf,piotrmurach/loaf,piotrmurach/loaf,piotrmurach/loaf |
1210ea726718508de0522409e45864ec31b36c7c | app/views/answers/_votes.html.erb | app/views/answers/_votes.html.erb | <div class="vote">
<%= form_for answer, url: answers_upvote_path, method: :post do |f| %>
<input type="image" src="<%= image_path("upArrow.png") %>" alt="submit"/>
<input type="hidden" name="id" value="<%= answer.id %>"/>
<% end %>
<%= form_for answer, url: answers_downvote_path, method: :post do |f| %>
... | <div class="vote">
<%= form_for answer, url: answers_upvote_path, method: :post, html: {class: "upvote_answer"} do |f| %>
<input type="image" src="<%= image_path("upArrow.png") %>" alt="submit"/>
<input type="hidden" name="id" value="<%= answer.id %>"/>
<% end %>
<%= form_for answer, url: answers_downvote... | Add classes to vote forms for answers | Add classes to vote forms for answers
| HTML+ERB | mit | JamesAnthonyLow/whopperflow,nyc-fireflies-2015/whopperflow,JamesAnthonyLow/whopperflow,nyc-fireflies-2015/whopperflow,JamesAnthonyLow/whopperflow,nyc-fireflies-2015/whopperflow |
4c7ea42d339451d051cdfdaacbfc621b4ab0d90a | app/views/events/_events.html.erb | app/views/events/_events.html.erb | <%# Requires parameter events %>
<table class="table table-condensed table-striped">
<thead>
<tr>
<th>Name</th>
<th>Date and Time</th>
<th>Details</th>
<th></th>
</tr>
</thead>
<tbody>
<% events.each do |event| %>
<tr>
<td><strong><%= link_to event.name, event_path(event) %></... | <%# Requires parameter events %>
<table class="table table-condensed table-striped">
<thead>
<tr>
<th>Name</th>
<th>Date and Time</th>
<th>Details</th>
<th></th>
</tr>
</thead>
<tbody>
<% events.each do |event| %>
<tr>
<td><strong><%= link_to event.name, event_path(event) %></... | Change Available Live links to buttons. | Change Available Live links to buttons.
| HTML+ERB | mit | voltagead/OpenSplitTime,SplitTime/OpenSplitTime,voltagead/OpenSplitTime,voltagead/OpenSplitTime,SplitTime/OpenSplitTime,SplitTime/OpenSplitTime |
5c7265afc582074156b5408ed3679cb67473cd59 | app/views/layouts/player.html.erb | app/views/layouts/player.html.erb | <!DOCTYPE html>
<html ng-app="DashPlayer">
<head>
<title>EbuOndemand Player</title>
<%= stylesheet_link_tag "#{request.headers["HTTP_X_PLUGIT_BASE_URL"]}media/application", media: "all", "data-turbolinks-track" => true %>
<%= yield :additional_styles %>
<%= javascript_include_tag "#{request.headers["HTTP_X_P... | <!DOCTYPE html>
<html ng-app="DashPlayer">
<head>
<title>EbuOndemand Player</title>
<%= plugit_stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
<%= yield :additional_styles %>
<%= plugit_javascript_include_tag "application", "data-turbolinks-track" => true %>
<%= yield :a... | Fix player layout for production | Fix player layout for production
| HTML+ERB | bsd-3-clause | ebu/test-engine-ondemand,ebu/test-engine-ondemand,ebu/test-engine-ondemand |
394a0ad028d9d740e4b81cb8a5629b2111262c92 | app/views/messages/created.js.erb | app/views/messages/created.js.erb | <% if @message.persisted? %>
$('#messages-new-partial')
.before("<%= j(render 'messages/message', message: @message, thread: @thread ) %>")
.html("<%= j(render 'messages/new') %>")
window.streetViewInit()
window.leafletMapInit()
window.initImageEdit()
$('#messages-new-partial').find(".tabs").parent().... | <% if @message.persisted? %>
tinyMCE.remove()
$('#messages-new-partial')
.before("<%= j(render 'messages/message', message: @message, thread: @thread ) %>")
.html("<%= j(render 'messages/new') %>")
window.streetViewInit()
window.leafletMapInit()
window.initImageEdit()
$('#messages-new-partial').find... | Fix tinymce after message posting | Fix tinymce after message posting
Fixes #894
| HTML+ERB | mit | cyclestreets/cyclescape,cyclestreets/cyclescape,cyclestreets/cyclescape |
a63cd60409aa52c6d6603b503a6fa878f9e16d33 | app/views/services/_form.html.erb | app/views/services/_form.html.erb | <%= simple_form_for service do |f| %>
<%= render "layouts/application/form_errors", object: service %>
<%= f.input :service_name %>
<%= f.input :description, as: :text, hint: 'Maximum 2000 characters.' %>
<%= f.input :price, as: :decimal %>
<%= f.input :start_time, selected: Time.current, as: :time,... | Create form partial for services | Create form partial for services
| HTML+ERB | mit | Dom-Mc/fetch_it,Dom-Mc/fetch_it,Dom-Mc/fetch_it | |
b7621a952330c76c1d52c9a70accf75195cc7fb2 | app/views/shared/_navbar.html.erb | app/views/shared/_navbar.html.erb | <div data-role="navbar">
<ul>
<li><%= link_to 'Back', :back, "data-ajax" => "false" %></li>
<% if current_user && current_user.verified? %>
<li><%= link_to "Home", home_path, "data-ajax" => "false"%></li>
<li><%= link_to("Profile", edit_profile_path, "data-ajax" => "false") %></li>
... | <div data-role="navbar">
<ul>
<li><%= link_to 'Back', :back, "data-ajax" => "false" %></li>
<% if current_user && current_user.verified? %>
<li><%= link_to "Home", home_path, "data-ajax" => "false"%></li>
<li><%= link_to("Profile", edit_profile_path, "data-ajax" => "false") %></li>
... | Fix bug that caused logout to fail under some circumstances | Fix bug that caused logout to fail under some circumstances
| HTML+ERB | mpl-2.0 | MozillaHive/HiveCHI-rwm,MozillaHive/HiveCHI-rwm,MozillaHive/HiveCHI-rwm,MozillaHive/HiveCHI-rwm |
2ffe572eb60fea142b8ad5897a24528352b6540d | know-your-values/app/views/values/_ifnotfriend.html.erb | know-your-values/app/views/values/_ifnotfriend.html.erb | <div id='friend_page_add'>
<form class='add' action='/friends/<%= friend.id %>' method='POST'>
<input type="hidden" name="_method" value="PUT">
<input id='friendID' type="hidden" value=<%= friend.id %>>
<button type="submit" >add <%= friend.first_name %> to give values</button>
</form>
<% if request... | <div id='friend_page_add'>
<% if request_received %>
<h3><%= friend.first_name %> added you.</h3>
<h3>Add back to give values.</h3><br>
<%= button_to "add", friend_path(friend), method: :put, id: 'add_back_button' %>
<% else %>
<%= button_tag "add #{friend.first_name} to give values", method: :pos... | Use button_tag for add a friend. | Use button_tag for add a friend.
| HTML+ERB | mit | haileyR/Know-Your-Values-on-Rails,haileyR/Know-Your-Values-on-Rails,haileyR/Know-Your-Values-on-Rails |
b0fc679459a8e83eb1608435dbf99b00e9daae67 | publify_core/app/views/admin/articles/_article_list.html.erb | publify_core/app/views/admin/articles/_article_list.html.erb | <% if @articles.empty? %>
<tr>
<td colspan="6">
<%= t('.no_articles') %>
</td>
</tr>
<% end %>
<% for article in @articles %>
<tr>
<td>
<% if article.published? %>
<%= link_to_permalink(article, article.title, style: 'published') %>
<% else %>
<%= link_to(article.titl... | <% if @articles.empty? %>
<tr>
<td colspan="7">
<%= t('.no_articles') %>
</td>
</tr>
<% end %>
<% for article in @articles %>
<tr>
<td>
<% if article.published? %>
<%= link_to_permalink(article, article.title, style: 'published') %>
<% else %>
<%= link_to(article.titl... | Fix colspans in article list | Fix colspans in article list
| HTML+ERB | mit | publify/publify,publify/publify,publify/publify |
898a61ff9ae99270f717c65f7968939a5407a0ab | templates/usr/local/sbin/restore-mysql-database.sh.erb | templates/usr/local/sbin/restore-mysql-database.sh.erb | #!/usr/bin/env bash
# This file is managed by Puppet
if [ -z "$1" ]; then
echo "usage: $0 <database>" 1>2&
exit 1
fi
if [ "$EUID" -ne "0" ]; then
echo "This script must be run as root." 1>2&
exit 2
fi
DATABASE="$1"
DUMP_FILE="<%= @backup_dir %>/$DATABASE.sql.gz"
MYSQL_CREDENTIALS="--defaults-file=<%= @optio... | #!/usr/bin/env bash
# This file is managed by Puppet
if [ -z "$1" ]; then
echo "usage: $0 <database>" 1>2&
exit 1
fi
if [ "$EUID" -ne "0" ]; then
echo "This script must be run as root." 1>2&
exit 2
fi
DATABASE="$1"
DUMP_FILE="<%= @backup_dir %>/$DATABASE.sql.gz"
MYSQL_CREDENTIALS="--defaults-file=<%= @optio... | Purge output of service check | Purge output of service check
| HTML+ERB | apache-2.0 | tohuwabohu/puppet-duplicity_mysql,tohuwabohu/puppet-duplicity_mysql |
d79fff93be52a8a94ddf47be7555ece7dd711aa0 | custom/cookbooks/simplerock/templates/default/pf_ring.conf.erb | custom/cookbooks/simplerock/templates/default/pf_ring.conf.erb | transparent_mode=0
min_num_slots=8192
enable_tx_capture=1
enable_ip_defrag=0
quick_mode=0
| transparent_mode=0
min_num_slots=8192
enable_tx_capture=0
enable_ip_defrag=0
quick_mode=0
| Disable tx capture with pf_ring | Disable tx capture with pf_ring | HTML+ERB | unknown | CyberAnalyticDevTeam/SimpleRock,rocknsm/rock,rocknsm/rock,CyberAnalyticDevTeam/SimpleRock,rocknsm/rock,rocknsm/SimpleRock,rocknsm/SimpleRock,spartan782/rock,spartan782/rock,spartan782/rock,rocknsm/SimpleRock,CyberAnalyticDevTeam/SimpleRock |
107ad2ecdba971de778186a20603693cec07e555 | app/views/exception_handler/mailers/new_exception.html.erb | app/views/exception_handler/mailers/new_exception.html.erb | <%= t('exception.exception_report',
host: ENV['URL_HOST']) %>
<strong>
<%= @exception.response %> (<%= @exception.status %>)
</strong>
<p>
<%= @exception.message %>
</p>
<div><pre><%= @exception.trace %></pre></div> | <%= t('exception.exception_report',
host: ENV['URL_HOST']) %>
<strong>
<%= @exception.response %> (<%= @exception.status %>)
</strong>
<p>
<%= @exception.message %>
</p>
<div><pre><%= @exception.trace %></pre></div>
<div>
<h3>Request Params</h3>
<%= @exception.request.params.to_s
%></div> | Add some information from the request object | Add some information from the request object
| HTML+ERB | mit | fosterfarrell9/mampf,fosterfarrell9/mampf,fosterfarrell9/mampf,fosterfarrell9/mampf |
5912af9e39733135aa5d01e5a8fcdb571687544d | app/views/stash_datacite/licenses/_review_license.html.erb | app/views/stash_datacite/licenses/_review_license.html.erb | <h2 class="o-heading__page-span">Choose License & Publication Date</h2>
<% if @resource.current_state.blank? || @resource.rights.empty? %>
<%= render partial: "licenses/#{current_tenant.default_license}_review" %>
<% elsif @resource.current_state.resource_state == 'in_progress' %>
<% @resource.rights.each do |r|... | <h2 class="o-heading__page-span">License</h2>
<% if @resource.current_state.blank? || @resource.rights.empty? %>
<%= render partial: "licenses/#{current_tenant.default_license}_review" %>
<% elsif @resource.current_state.resource_state == 'in_progress' %>
<% @resource.rights.each do |r|
l_id = StashEngine:... | Change 'Choose License & Publication Date' section header to 'License' on review page | Change 'Choose License & Publication Date' section header to 'License' on review page
| HTML+ERB | mit | CDLUC3/stash_datacite,CDLUC3/stash,CDLUC3/stash,CDLUC3/stash,CDLUC3/stash_datacite,CDLUC3/stash_datacite,CDLUC3/stash |
4125d27baef0cff6a07033ced23ed1c9aa82bde8 | app/views/admin/shared/_footer.html.erb | app/views/admin/shared/_footer.html.erb | <p><a href="http://intraducibles.com/projects/typus">Typus</a> is the effortless backend interface for <a href="http://rubyonrails.org/">Ruby on Rails</a> applications.</p> | <p><%= link_to "Typus", "http://intraducibles.com/projects/typus" %> is the effortless backend interface for <%= link_to "Ruby on Rails", "http://rubyonrails.org/" %> applications.</p> | Use link_to instead a href. | Use link_to instead a href.
| HTML+ERB | mit | typus/typus,chiragshah/typus,brainsome-de/typus,wollzelle/typus,burn-notice/typus,typus/typus,gkleiman/typus_3dglabs,baban/typus,typus/typus,readyfor/typus,typus/typus,burn-notice/typus,oruen/typus,burn-notice/typus,chiragshah/typus,readyfor/typus,wollzelle/typus,thirdthing/typus,baban/typus,baban/typus,thirdthing/typu... |
dc4d0b1db81017aea23a1486bae5326a22d2ea36 | app/views/shared/_social_media.html.erb | app/views/shared/_social_media.html.erb | <%= link_to "https://twitter.com/intent/tweet?text=#{create_page_title}Big Earth Blockchain Explorer - #{request.original_url}", class: 'btn btn-lg' do %> <span class="fa fa-twitter"></span> <% end %>
<%= link_to "https://www.facebook.com/sharer/sharer.php?u=#{request.original_url}", class: 'btn btn-lg' do %>
<span c... | <%= link_to "https://twitter.com/intent/tweet?text=#{create_page_title}Big Earth Blockchain Explorer - #{request.original_url}", class: 'btn btn-lg' do %>
<span class="fa fa-twitter"></span>
<% end %>
<%= link_to "https://www.facebook.com/sharer/sharer.php?u=#{request.original_url}", class: 'btn btn-lg' do %>
<sp... | Format and add Remove icon w/ delete all text to bookmark manager. | Format and add Remove icon w/ delete all text to bookmark manager.
| HTML+ERB | mit | cgcardona/blockchain.bigearth.io,cgcardona/blockchain.bigearth.io |
da4b9551a24da4f0739dcbb9ca9b0d2a37f502ba | app/views/streams/_share_verse.html.erb | app/views/streams/_share_verse.html.erb | <div id="share-verse">
<%= form_for Verse.new do |form| %>
<%= hidden_field_tag :redirect_to, request.fullpath %>
<p>
<%= t('verses.type_a_reference_below_and_hit_enter') %>
</p>
<p>
<%= text_field_tag :id, nil, :style => 'border:1px solid #ccc;width:100px;' %>
<%= submit_tag t('vers... | <div id="share-verse">
<%= form_for Verse.new do |form| %>
<%= hidden_field_tag :redirect_to, request.fullpath %>
<p>
<%= t('verses.add_a_verse') %>
</p>
<p>
<%= text_field_tag :id, nil, :placeholder => t('verses.example_verse') %>
<%= submit_tag t('verses.add_verse') %>
</p>
<... | Fix verse form on homepage. | Fix verse form on homepage.
| HTML+ERB | agpl-3.0 | dorman/onebody,mattraykowski/onebody,hooray4me/onebody,Capriatto/onebody,mattraykowski/onebody,moss-zc/sns_shop,acbilimoria/onebody,davidleach/onebody,davidleach/onebody,acbilimoria/onebody,cessien/onebody,kevinjqiu/onebody,brunoocasali/onebody,0612800232/sns_shop,tmecklem/onebody,hooray4me/onebody2,kevinjqiu/onebody,t... |
c3a36a5e55bcaa2ad470f0a83036707482471a38 | app/views/notifier/password_reset_instructions.text.erb | app/views/notifier/password_reset_instructions.text.erb | <%- if @people.many? -%>
Hi <%= @people.map(&:name).select(&:present?).to_sentence(:two_words_connector => "or", :last_word_connector => "or") %>
You all share the same email address, so we're not quite sure which <%= RacingAssociation.current.name %> password to reset.
<%- @people.each_with_index do |person, inde... | <%- if @people.many? -%>
Hi <%= @people.map(&:name).select(&:present?).to_sentence(:two_words_connector => " or ", :last_word_connector => " or ") %>
You share the same email address, so we're not quite sure which <%= RacingAssociation.current.name %> password to reset.
<%- @people.each_with_index do |person, in... | Add sensible line breaks to password reset email | Add sensible line breaks to password reset email
| HTML+ERB | mit | scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails |
3b750ba939be18dc1209b4d20a75ed2d920b93ce | app/views/booking_requests/_hidden_inputs_for_calendars.html.erb | app/views/booking_requests/_hidden_inputs_for_calendars.html.erb | <div class="hidden--js-enabled">
<% #byebug; :wtf %>
<% 3.times do |i| %>
<% if f.object.next_slot_to_fill == i.to_s %>
<%=
single_field(
f, :"option_#{i}", :select,
slot_options_reflecting_existing_selections(f.object),
{ include_blank: t("remove_slot", scope: 'booki... | <div class="hidden--js-enabled">
<% #byebug; :wtf %>
<% 3.times do |i| %>
<% if f.object.next_slot_to_fill == i.to_s %>
<%=
single_field(
f, :"option_#{i}", :select,
slot_options_reflecting_existing_selections(f.object),
{ include_blank: t("remove_slot", scope: 'booki... | Add GOVUK form element style to select | Add GOVUK form element style to select | HTML+ERB | mit | ministryofjustice/prison-visits-public,ministryofjustice/prison-visits-public,ministryofjustice/prison-visits-public,ministryofjustice/prison-visits-public |
c5869f3782e9bf57ef4951db4bf131c2deb4be2f | gitconfig.erb | gitconfig.erb | [user]
name = <%= print("Your Name: "); STDOUT.flush; STDIN.gets.chomp %>
email = <%= print("Your Email: "); STDOUT.flush; STDIN.gets.chomp %>
[alias]
co = checkout
lg = "log -5"
[color]
diff = auto
status = auto
branch = auto
[push]
default = tracking
[branch]
autosetuprebase = always
[branch "master"]
r... | [user]
name = <%= print("Your Name: "); STDOUT.flush; STDIN.gets.chomp %>
email = <%= print("Your Email: "); STDOUT.flush; STDIN.gets.chomp %>
[alias]
co = checkout
lg = "log -5"
news = "log -p HEAD@{1}..HEAD@{0}"
[color]
diff = auto
status = auto
branch = auto
[push]
default = tracking
[branch]
autosetup... | Add git news to see what has changed since last time | Add git news to see what has changed since last time | HTML+ERB | mit | balinterdi/dotfiles,balinterdi/dotfiles,balinterdi/dotfiles |
58bbf0e033d72bad329708956d73bff2873474a5 | views/home.erb | views/home.erb | <h2>Package Statistics</h2>
<div class="well">
<h4>Packages per category:</h4>
<%=pie_chart(redis_to_hash($redis.keys('meta_total_*'), 'total'), :library => {:pieSliceText => 'none'})%>
<h4>License popularity:</h4>
<%=pie_chart(redis_to_hash($redis.keys('meta_license_*'),'license'), :library => {:pieSliceText =... | Make some pretty charts from the metadata | Make some pretty charts from the metadata
| HTML+ERB | agpl-3.0 | p8952/gentoo-packages | |
c96bcd8391abb16ffc6bf915571027cce2944128 | template/files/app/views/layouts/application.html.slim.erb | template/files/app/views/layouts/application.html.slim.erb | doctype 5
html
head
meta[charset="utf-8"]
/[if lt IE 9]
meta[content="text/html; charset=utf-8" http-equiv="Content-Type"]
= javascript_include_tag "//html5shiv.googlecode.com/svn/trunk/html5.js"
meta[name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scala... | doctype 5
html
head
meta[charset="utf-8"]
/[if lt IE 9]
meta[content="text/html; charset=utf-8" http-equiv="Content-Type"]
= javascript_include_tag "//html5shiv.googlecode.com/svn/trunk/html5.js"
meta[name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scala... | Add `layouts` folder to render flash partial | Add `layouts` folder to render flash partial
| HTML+ERB | mit | codelandev/codeland-starter,codelandev/codeland-starter |
452547d820f53602ed0d337012940ffd0e94a5e5 | app/views/documents/index.html.erb | app/views/documents/index.html.erb | <% content_for :breadcrumbs do %>
<li class='active'><%= current_format.title.pluralize %></li>
<% end %>
<h1 class="page-header"><%= current_format.title.pluralize %></h1>
<div class="row">
<div class="sidebar col-md-3">
<%= link_to "New #{current_format.title}", new_document_path(document_type: current_form... | <% content_for :breadcrumbs do %>
<li class='active'><%= current_format.title.pluralize %></li>
<% end %>
<h1 class="page-header"><%= current_format.title.pluralize %></h1>
<div class="row">
<div class="sidebar col-md-3">
<%= link_to "New #{current_format.title}", new_document_path(current_format.document_typ... | Remove unecessary arguements in `link_to` | Remove unecessary arguements in `link_to`
Passing these as named arguements isn't required.
| HTML+ERB | mit | alphagov/specialist-publisher-rebuild,alphagov/specialist-publisher-rebuild,alphagov/specialist-publisher,alphagov/specialist-publisher,alphagov/specialist-publisher,alphagov/specialist-publisher-rebuild,alphagov/specialist-publisher-rebuild |
4e56b10899060a949fda5973d2261fecf1f30942 | lib/libra2/app/views/curation_concerns/base/_form.html.erb | lib/libra2/app/views/curation_concerns/base/_form.html.erb | <%= simple_form_for [main_app, @form], html: { multipart: true } do |f| %>
<div id="works_edit">
<h2 class="non lower">Describe Your Work</h2>
<p>The more descriptive information you provide the better we can serve your needs.</p>
<p>Please consider releasing your work as an <span class="label label-succe... | Remove batch mode in metadata form | LIBRA-94: Remove batch mode in metadata form
| HTML+ERB | apache-2.0 | uvalib/Libra2,uvalib/Libra2,uvalib/Libra2,uvalib/Libra2,uvalib/Libra2 | |
628fcafee4b04470c5cc091570a97ed10054098f | modules/govuk/templates/static_extra_nginx_config.conf.erb | modules/govuk/templates/static_extra_nginx_config.conf.erb | location ~ ^/government/(assets|uploads|placeholder$)/ {
proxy_set_header Host <%= @whitehall_frontend_host %>;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host;
proxy_pass... | location ~ ^/government/(assets|uploads|placeholder$)/ {
proxy_set_header Host <%= @whitehall_frontend_host %>;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host;
proxy_pass... | Add Strict-Transport-Security header for /media requests | Add Strict-Transport-Security header for /media requests
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
5e581bffca9c88c35f6e4ca1dbe6063a93b25ff4 | app/views/materials/index.html.erb | app/views/materials/index.html.erb | <%- model_class = MaterialFolder -%>
<div class="page-header">
<h1>Materials: <%= @folder.name %></h1>
<%
current = @folder
parents = []
while current do
parents << current
current = current.parent_folder
end
parents.reverse_each { |folder|
%>/<%= link_to folder.name, course_material_folder_pat... | <%- model_class = MaterialFolder -%>
<div class="page-header">
<h1>Materials: <%= @folder.name %></h1>
<%
current = @folder
parents = []
while current do
parents << current
current = current.parent_folder
end
parents.reverse_each { |folder|
%>/<%= link_to folder.name, course_material_folder_pat... | Move folder controls above tree for consistency with IVLE. Heh. | Move folder controls above tree for consistency with IVLE. Heh.
| HTML+ERB | mit | Coursemology/coursemology.org,nnamon/coursemology.org,allenwq/coursemology.org,Coursemology/coursemology.org,Coursemology/coursemology.org,nusedutech/coursemology.org,nusedutech/coursemology.org,nusedutech/coursemology.org,allenwq/coursemology.org,nusedutech/coursemology.org,nnamon/coursemology.org,dariusf/coursemology... |
898d409c47c9ba522cc59d6e6ac06d51d0a8fc37 | app/views/users/_proposal.html.erb | app/views/users/_proposal.html.erb | <tr id="proposal_<%= proposal.id %>">
<td class="small-9">
<strong>
<%= link_to proposal.title, proposal, proposal.retired? ? { class: "retired" } : {} %>
</strong>
<br>
<%= proposal.summary %>
</td>
<td class="small-2 text-center">
<% if proposal.retired? %>
<span class="label ale... | <tr id="proposal_<%= proposal.id %>">
<td class="small-7">
<strong>
<%= link_to proposal.title, proposal, proposal.retired? ? { class: "retired" } : {} %>
</strong>
<br>
<%= proposal.summary %>
</td>
<td class="small-2 text-center">
<% if proposal.retired? %>
<span class="label ale... | Improve layout for user proposal view | Improve layout for user proposal view
| HTML+ERB | agpl-3.0 | usabi/consul_san_borondon,consul/consul,consul/consul,consul/consul,AyuntamientoPuertoReal/decidePuertoReal,usabi/consul_san_borondon,consul/consul,usabi/consul_san_borondon,consul/consul,usabi/consul_san_borondon,AyuntamientoPuertoReal/decidePuertoReal,AyuntamientoPuertoReal/decidePuertoReal |
ac8b6f33e33f67420d7fdbc75284e4f5c8b8ed2d | site-modules/profile/templates/unbound/forwarders.conf.erb | site-modules/profile/templates/unbound/forwarders.conf.erb | # File managed by puppet (class profile::unbound), all changes will be lost
<% if not @forwarders.empty? -%>
forward-zone:
name: "."
<% @forwarders.each do |forwarder| -%>
forward-addr: <%= forwarder %>
<% end -%>
<% end -%>
<% @forward_zones.each do |zone, forwarders| -%>
forward-zone:
name: "<%= zone %>... | # File managed by puppet (class profile::unbound), all changes will be lost
<% if not @forwarders.empty? -%>
forward-zone:
name: "."
<% @forwarders.each do |forwarder| -%>
forward-addr: <%= forwarder %>
<% end -%>
<% end -%>
<% @forward_zones.each do |zone, forwarders| -%>
forward-zone:
name: "<%= zone %>... | Allow unbound to forward requests to in-addr.arpa zones | Allow unbound to forward requests to in-addr.arpa zones
| HTML+ERB | apache-2.0 | SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site |
7b774c072360bb96dd5c6d75a8a0e7136376af4f | lib/smart_answer_flows/coronavirus-employee-risk-assessment/coronavirus_employee_risk_assessment.erb | lib/smart_answer_flows/coronavirus-employee-risk-assessment/coronavirus_employee_risk_assessment.erb | <% text_for :title do %>
Check if you should go back into work
<% end %>
<% text_for :meta_description do %>
Use this service to find out if you should go back to work during this phase of coronavirus lockdown, and what you can do if you should not be going into work.
<% end %>
<% govspeak_for :body do %>
Use t... | <% text_for :title do %>
Check if you should go back into work
<% end %>
<% text_for :meta_description do %>
Use this service to find out if you should go back to work during this phase of coronavirus lockdown, and what you can do if you should not be going into work.
<% end %>
<% govspeak_for :body do %>
Use t... | Add link to local lockdown guidance for Leicester. | Add link to local lockdown guidance for Leicester.
This is for the Coronavirus employee risk assessment.
| HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
491b8daa5363d6b0a6252afc14c77d17cfbb5926 | app/views/profiles/show.html.erb | app/views/profiles/show.html.erb | <div id="profile">
<div id="info" class="profile">
<%= render partial: "profile_info" %>
</div>
<% unless @profile.address.blank? && current_user_profile?(@profile) %>
<%= render partial: "profile_congresspeople" %>
<% end %>
<div id="votes" class="profile">
<h4>Votes</h4>
<p>Up votes: <%= @... | <div id="profile">
<div id="info" class="profile">
<%= render partial: "profile_info" %>
</div>
<% unless @profile.address.blank? && current_user_profile?(@profile) %>
<%= render partial: "profile_congresspeople" %>
<% end %>
<% if current_user_profile?(@profile) %>
<div id="votes" class="profil... | Make votes only visible to profile owner | Make votes only visible to profile owner
| HTML+ERB | mit | travisvalentine/POP,travisvalentine/POP,travisvalentine/POP |
c40acabd8495bcf66168b13dbbafc8dde2563208 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Fooddragon</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>Fooddragon</title>
<%= stylesheet_link_tag '//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css' %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<%= yield %>
<%= javascript_incl... | Add Bootstrap to base layout | Add Bootstrap to base layout
| HTML+ERB | mit | f3r/fooddragon,f3r/fooddragon |
e0d61112a893a421c17eaa8fe308927e7ecc43aa | app/views/saml/complete.html.erb | app/views/saml/complete.html.erb | <html>
<body>
<p>Logged in. You have the following attributes:</p>
<% if @attrs.any? %>
<table><thead><th>Name</th><th>Values</th></thead><tbody>
<% @attrs.each_pair do |key,attr_value| %>
<tr><td><%= key %></td>
<td>
<% if attr_value.values.any? %>
<ul>
<% attr_value.values.each do ... | <html>
<body>
<p>Logged in. You have the following attributes:</p>
<% if @attrs.any? %>
<table><thead><th>Name</th><th>Values</th></thead><tbody>
<% @attrs.each do |key,attr_value| %>
<tr><td><%= key %></td>
<td>
<% if attr_value.any? %>
<ul>
<% attr_value.each do |val| %>
... | Rewrite attribute iterator on the template. The ruby-saml lib changed the way to handle attributes | Rewrite attribute iterator on the template. The ruby-saml lib changed the way to handle attributes
| HTML+ERB | mit | onelogin/ruby-saml-example,onelogin/ruby-saml-example,onelogin/ruby-saml-example |
a63b2e5e609035f929f78d90cd0a5249afec79a6 | app/views/step_nav/show.html.erb | app/views/step_nav/show.html.erb | <% content_for :title, step_by_step.title %>
<% content_for :meta_tags do %>
<meta name="govuk:content-id" content="<%= step_by_step.content_id %>">
<meta name="description" content="<%= step_by_step.description %>">
<% end %>
<div class="grid-row">
<div class="column-two-thirds">
<%= render 'govuk_componen... | <% content_for :title, step_by_step.title %>
<% content_for :meta_tags do %>
<meta name="description" content="<%= step_by_step.description %>">
<% end %>
<div class="grid-row">
<div class="column-two-thirds">
<%= render 'govuk_component/title',
title: step_by_step.title,
average_title_length:... | Move content id meta tag | Move content id meta tag
This is now part of the analytics component, which should be deployed at
the same time.
See https://github.com/alphagov/static/pull/1375
| HTML+ERB | mit | alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections |
6291aff780b713397d03d88d2efa3370f0442eea | app/views/admin/email_notifications/create.js.erb | app/views/admin/email_notifications/create.js.erb | wrapper = $("#email_notification_" + "<%= @email_notification.kind %>");
<% if @email_notification.valid? %>
$("ul.notifications", wrapper).append('<%= escape_javascript(render "admin/settings/notification", notification: @email_notification.decorate) %>');
$(".notification-edit-form, .notification-form", wrapper)... | wrapper = $("#email_notification_" + "<%= @email_notification.kind %>");
<% if @email_notification.valid? %>
$("ul.notifications", wrapper).append('<%= escape_javascript(render "admin/settings/notification", notification: @email_notification.decorate) %>');
$(".notification-edit-form, .notification-form", wrapper)... | Make selector more restrictive for schedule form | Make selector more restrictive for schedule form
| HTML+ERB | mit | bitzesty/qae,bitzesty/qae,bitzesty/qae,bitzesty/qae |
0e6775b7a40b6371cbbbe54b62d7519d7b1ab31b | app/views/search/_protected_area.html.erb | app/views/search/_protected_area.html.erb | <li class='result'>
<%= protected_area_cover model %>
<div class="inner-result">
<h3><a href='/<%= model.slug %>'><%= model.name %></a>, <small><%= model.designation.name %></small></h3>
<p>
<% model.countries.each do |country| %>
<a href="<%= country_stats_path(iso: country.iso) %>"><%= coun... | <li class='result'>
<a href="/<%= model.slug %>">
<%= protected_area_cover model %>
</a>
<div class="inner-result">
<h3><a href='/<%= model.slug %>'><%= model.name %></a>, <small><%= model.designation.name %></small></h3>
<p>
<% model.countries.each do |country| %>
<a href="<%= country... | Remove region link from search results and add link to image | Remove region link from search results and add link to image
| HTML+ERB | bsd-3-clause | unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet |
f2a2c9549dd50a6caf3203a1d72a081009448a9e | modules/govuk_jenkins/templates/jobs/record_taxonomy_metrics.yaml.erb | modules/govuk_jenkins/templates/jobs/record_taxonomy_metrics.yaml.erb | ---
- job:
name: record-taxonomy-metrics
display-name: Record metrics about the Topic Taxonomy
project-type: freestyle
description: |
This job runs a rake task in Content Tagger to send metrics
about the Topic Taxonomy to statsd.
logrotate:
numToKeep: 30
artifactDaysToKeep: 3... | ---
- job:
name: record-taxonomy-metrics
display-name: Record metrics about the Topic Taxonomy
project-type: freestyle
description: |
This job runs a rake task in Content Tagger to send metrics
about the Topic Taxonomy to statsd.
logrotate:
numToKeep: 30
artifactDaysToKeep: 3... | Fix the record taxonomy metrics jenkins job | Fix the record taxonomy metrics jenkins job
I forgot a closing ".
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
9209964d37139226a1a65167847f4c21c37bf0be | source/index.html.erb | source/index.html.erb | <div class="profile-row">
<div class="profile">
<%= image_tag Gravatar.new(gravatar_email_address).image_url(size: 200) %>
</div>
<div class="bio">
<h2>Hello there! I'm <%= full_name %>.</h2>
<h3>I'm a full-stack web developer living in <%= city %>.</h3>
<!-- Short bio about yourself, your skills... | <div class="profile-row">
<div class="profile">
<%= image_tag Gravatar.new(gravatar_email_address).image_url(size: 200) %>
</div>
<div class="bio">
<h2>Hello there! I'm <%= full_name %>.</h2>
<h3>I'm a full-stack web developer living in <%= city %>.</h3>
<!-- Short bio about yourself, your skills... | Switch ordering of blog posts on homepage. | Switch ordering of blog posts on homepage.
[Closes #1]
| HTML+ERB | mit | SeBecker/sebecker.github.io,SeBecker/sebecker.github.io,SeBecker/sebecker.github.io |
dea560f36ff369e3fee2f0bce1abfccd0d4a0615 | app/views/shared/_ga.html.erb | app/views/shared/_ga.html.erb | <script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.j... | <script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.j... | Add project language to tracking | Add project language to tracking
| HTML+ERB | mit | inch-ci/inch_ci-web,inch-ci/inch_ci-web,inch-ci/inch_ci-web |
6e178ede4a4a6d4c31d31047bc0ba6ebf66ea8ab | app/views/users/edit.html.erb | app/views/users/edit.html.erb | <div id="edit-user">
<%= form_for @user do |f| %>
<%= f.label :name%>:<br>
<%= f.text_field :name%><br>
<%= f.label :avatar_url%>
<%= f.text_field%>
<%= f.label :bio%>:<br>
<%= f.text_area :bio, sixe: "50x10"%>
<%= f.submit %>
<% end %>
</div>
| Add edit form for user | Add edit form for user
| HTML+ERB | mit | chi-squirrels-2015/Yoon-Overflow,chi-squirrels-2015/Yoon-Overflow,chi-squirrels-2015/Yoon-Overflow,thejdavid/Yoon-Overflow,thejdavid/Yoon-Overflow,thejdavid/Yoon-Overflow | |
f47440ccae61deb14636de25e715f26c433ec4ac | modules/backup/templates/etc/automysqlbackup/postbackup.erb | modules/backup/templates/etc/automysqlbackup/postbackup.erb | if [ "$E" == "0" ]; then
NAGIOS_CODE=0
NAGIOS_MESSAGE="OK: automysqlbackup succeeded"
elif [ -n "$E" ]; then
NAGIOS_CODE=2
NAGIOS_MESSAGE="CRITICAL: automysqlbackup encountered errors"
else
NAGIOS_CODE=2
NAGIOS_MESSAGE="CRITICAL: unable to determine automysqlbackup status"
fi
printf "<%= @ipaddress %>\t<%=... | if [ "$E" == "0" ]; then
NAGIOS_CODE=0
NAGIOS_MESSAGE="OK: automysqlbackup succeeded"
elif [ -n "$E" ]; then
NAGIOS_CODE=2
NAGIOS_MESSAGE="CRITICAL: automysqlbackup encountered errors"
else
NAGIOS_CODE=2
NAGIOS_MESSAGE="CRITICAL: unable to determine automysqlbackup status"
fi
printf "<%= @ipaddress %>\t<%=... | Set ownership of s3 tmpdir correctly after setting to root:root for autobackup | Set ownership of s3 tmpdir correctly after setting to root:root for autobackup
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
790f4450cc6ae4b86c093510d64268bc561ac782 | app/views/global_activities/_top_pane.html.erb | app/views/global_activities/_top_pane.html.erb | <h3 class="ga-title">
<%= t('activities.index.global_activities_title') %>
</h3>
<div class="ga-top-actions">
<a id="global-activities-expand-all" href="#" data-turbolinks="false">
<i class="fas fa-caret-square-down"></i>
<%= t('activities.index.expand_all') %>
</a>
<a id="global-activities-colapse-all"... | <h3 class="ga-title">
<%= t('activities.index.global_activities_title') %>
</h3>
<div class="ga-top-actions">
<a id="global-activities-expand-all" href="#" data-turbolinks="false">
<i class="fas fa-caret-square-down"></i>
<%= t('activities.index.expand_all') %>
</a>
<a id="global-activities-colapse-all"... | Comment out search field for global activities | Comment out search field for global activities
| HTML+ERB | mpl-2.0 | Ducz0r/scinote-web,mlorb/scinote-web,mlorb/scinote-web,mlorb/scinote-web,Ducz0r/scinote-web,Ducz0r/scinote-web |
f89b3270209e5d713bdf951f00851a2d7b273795 | templates/default/init_system/upstart/airflow-scheduler.conf.erb | templates/default/init_system/upstart/airflow-scheduler.conf.erb | # Copyright 2015 Sergey Bahchissaraitsev
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in ... | # Copyright 2015 Sergey Bahchissaraitsev
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in ... | Correct the PID path for the scheduler | Correct the PID path for the scheduler
The scheduler upstart script is trying to remove the webserver PID file. | HTML+ERB | apache-2.0 | bahchis/airflow-cookbook,bahchis/airflow-cookbook |
665d216fd597581f0a5b380b8f0de7a88caa9bde | cookbooks/planet/templates/default/logrotate.apache.erb | cookbooks/planet/templates/default/logrotate.apache.erb | # DO NOT EDIT - This file is being maintained by Chef
/var/log/apache2/*.log {
weekly
missingok
rotate 52
compress
delaycompress
notifempty
create 640 root adm
sharedscripts
postrotate
/etc/init.d/apache2 reload > /dev/null
rsync /var/log/apache2/planet.openstreetmap.org-access.log.2.gz horntail::logs/pla... | # DO NOT EDIT - This file is being maintained by Chef
/var/log/apache2/*.log {
weekly
missingok
rotate 52
compress
delaycompress
notifempty
create 640 root adm
sharedscripts
postrotate
/etc/init.d/apache2 reload > /dev/null
rsync /var/log/apache2/planet.openstreetmap.org-access.log.2.gz ironbelly::logs/pl... | Send planet logs to ironbelly | Send planet logs to ironbelly
| HTML+ERB | apache-2.0 | Firefishy/chef,gravitystorm/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,Firefishy/chef,gravitystorm/chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,Firefishy/chef,gravitystorm/chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,gravitystorm/chef,zerebubuth/openstreetmap-chef,openstreetmap/che... |
c877c135df2c90d9ffeabef002e021975f1cfd03 | plugins/responsive/views/search/_results_header.html.erb | plugins/responsive/views/search/_results_header.html.erb | <% unless theme_responsive? %>
<%= render file: "#{Rails.root}/app/#{__FILE__[__FILE__.index('views/')..-1]}" %>
<% else %>
<div class="row">
<div class="col-lg-8 col-md-8 col-sm-6 text-left"><%= filter_title(@asset, @filter) %></div>
<div class="col-lg-4 col-md-4 col-sm-6">
<%= display_selector(@asset, pa... | <% unless theme_responsive? %>
<%= render file: "#{Rails.root}/app/#{__FILE__[__FILE__.index('views/')..-1]}" %>
<% else %>
<div class="row">
<div class="col-lg-8 col-md-8 col-sm-6 text-left"><h2><%= filter_title(@asset, @filter) %></h2></div>
<div class="col-lg-4 col-md-4 col-sm-6">
<%= display_selector(@... | Adjust results title to be like other results titles | Adjust results title to be like other results titles | HTML+ERB | agpl-3.0 | blogoosfero/noosfero,coletivoEITA/noosfero-ecosol,EcoAlternative/noosfero-ecosol,blogoosfero/noosfero,blogoosfero/noosfero,samasti/noosfero,EcoAlternative/noosfero-ecosol,coletivoEITA/noosfero-ecosol,blogoosfero/noosfero,EcoAlternative/noosfero-ecosol,EcoAlternative/noosfero-ecosol,CIRANDAS/noosfero-ecosol,EcoAlternati... |
bba1a5941e6fad2a64ef82447dd25b40d57fe04a | app/views/spree/admin/payment_methods/_default_display_on.html.erb | app/views/spree/admin/payment_methods/_default_display_on.html.erb | <script type="text/javascript">
$(document).ready(function() {
$provider_select = $("#gtwy-type");
<% if Gem::Version.new(Spree.solidus_version) < Gem::Version.new('2.1.0') %>
$display_on_select = $("#payment_method_display_on");
$provider_select.on("change", function(e) {
if (e.val == '... | <script type="text/javascript">
$(document).ready(function() {
$provider_select = $("#gtwy-type");
<% if (Spree.respond_to?(:solidus_version) && Gem::Version.new(Spree.solidus_version) < Gem::Version.new('2.1.0')) || !Spree.respond_to?(:solidus_version) %>
$display_on_select = $("#payment_method_displa... | Update for compatibility with Spree | Update for compatibility with Spree | HTML+ERB | apache-2.0 | bitspire/solidus_klarna_payments,bitspire/solidus_klarna_payments,bitspire/solidus_klarna_payments |
c269753c40f52e89eb3bc022743d2f1ef1449b0d | app/views/devise/mailer/reset_password_instructions.html.erb | app/views/devise/mailer/reset_password_instructions.html.erb | <p>Hello <%= @resource.email %>!</p>
<p>Someone has requested a link to change your password. You can do this through the link below.</p>
<p><%= link_to 'Change my password', edit_password_url(@resource, reset_password_token: @token) %></p>
<p>If you didn't request this, please ignore this email.</p>
<p>Your passwor... | <p>Hello <%= @resource.email %>!</p>
<p>Someone has requested a link to change your password. You can do this through the link below.</p>
<p><%= link_to 'Change my password', new_password_path(@resource, reset_password_token: @token) %></p>
<p>If you didn't request this, please ignore this email.</p>
<p>Your passwor... | Modify link path in reset_password_instructions email | Modify link path in reset_password_instructions email
| HTML+ERB | mit | bdisney/eShop,bdisney/eShop,bdisney/eShop |
80cacb394047c5ac0a12d3bfdc8bd89b36e15041 | app/views/refinery/products/categories/index.html.erb | app/views/refinery/products/categories/index.html.erb | <% content_for :body do %>
<ul id="categories">
<% @categories.each do |category| %>
<li>
<%= link_to category.title, refinery.products_category_path(category) %>
</li>
<% end %>
</ul>
<% end %>
<%= render '/refinery/content_page' %>
| <% content_for :body do %>
<ul id="categories">
<% @categories.each do |category| %>
<li>
<%= link_to category.title, refinery.products_category_path(category) %>
</li>
<% end %>
</ul>
<%= link_to t('.back_to'), refinery.products_root_path %>
<% end %>
<%= render '/refinery/content_p... | Add link back to for categories index view | Add link back to for categories index view
| HTML+ERB | mit | bisscomm/refinerycms-products,bisscomm/refinerycms-products,bisscomm/refinerycms-products |
f53c36f4eafbe6c00a54b8f4449dc8285ba57c86 | cookbooks/delayed_job/templates/default/dj.monitrc.erb | cookbooks/delayed_job/templates/default/dj.monitrc.erb | check process <%= @worker_name %>
with pidfile /var/run/engineyard/dj/<%= @app_name %>/dj_<%= @worker_name %>.pid
start program = "bundle exec /engineyard/bin/dj <%= @app_name %> start <%= @framework_env %> <%= @worker_name %>" with timeout 60 seconds
stop program = "bundle exec /engineyard/bin/dj <%= @app_name %... | check process <%= @worker_name %>
with pidfile /var/run/engineyard/dj/<%= @app_name %>/dj_<%= @worker_name %>.pid
start program = "/usr/bin/bundle exec /engineyard/bin/dj <%= @app_name %> start <%= @framework_env %> <%= @worker_name %>" with timeout 60 seconds
stop program = "/usr/bin/bundle exec /engineyard/bin/... | Use full path to bundle executable. | Use full path to bundle executable.
| HTML+ERB | mit | GlobalNamesArchitecture/GNITE,GlobalNamesArchitecture/GNITE,GlobalNamesArchitecture/GNITE |
88ae6f2b30c27e650b9f7fa64aa87e0fb15d4d78 | lib/views/alaveteli_pro/info_requests/_new_request_advice.html.erb | lib/views/alaveteli_pro/info_requests/_new_request_advice.html.erb | <p>
<strong>
<%= _("Are you sure the information you’re after isn’t available " \
"elsewhere?") %>
</strong>
<%= _("Check the authority’s responses on {{site_name}} or conduct " \
"a quick Internet search.", site_name: site_name) %>
<p>
<%= _("Once you’re happy with your request, click previe... | Add base template from core Alaveteli for Pro requesting advice | Add base template from core Alaveteli for Pro requesting advice
| HTML+ERB | mit | mysociety/whatdotheyknow-theme,mysociety/whatdotheyknow-theme,mysociety/whatdotheyknow-theme | |
33687bd35e58adb8b3da518680d47233c4a9b4d8 | app/views/rails_admin/main/transfer_casebook_ownership.html.erb | app/views/rails_admin/main/transfer_casebook_ownership.html.erb | <div><%= 'Current owner'.pluralize(@object.owners.count) %></div>
<% @object.owners.each do |owner| %>
<div class="owner-block">
<ul>
<li><%= owner.display %></li>
<li><%= owner.email_address %></li>
<li><%= owner.id %></li>
</ul>
<%= form_tag transfer_casebook_ownership_path, :method =>... |
<h4>Transfer Casebook Ownership</h4>
<div><%= 'Current owner'.pluralize(@object.owners.count) %></div>
<% @object.owners.each do |owner| %>
<div class="owner-block">
<ul>
<li><%= owner.display %></li>
<li><%= owner.email_address %></li>
<li><%= owner.id %></li>
</ul>
<button class="rem... | Revert "Button passes user value" | Revert "Button passes user value"
This reverts commit 7f7247507b6bd15c551ce5192d8747e93f45a291.
| HTML+ERB | agpl-3.0 | harvard-lil/h2o,harvard-lil/h2o,harvard-lil/h2o,harvard-lil/h2o |
4f25eef49b2ddeed85ef5b1e8504526e25391313 | app/assets/javascripts/refinery/admin/wymeditor_monkeypatch.js.erb | app/assets/javascripts/refinery/admin/wymeditor_monkeypatch.js.erb | <%#encoding: UTF-8 %>
wymeditor_boot_options.toolsItems.push({'name': 'AddVideo', 'title': 'Add_Video', 'css': 'wym_tools_add_video'});
<% locales = %w(en es sk pt-BR zh-CN ru)%>
<% locales.each do |locale| %>
if (WYMeditor.STRINGS['<%=locale%>']) WYMeditor.STRINGS['<%=locale%>']['Video'] = WYMeditor.STRINGS['<%=loc... | <%#encoding: UTF-8 %>
wymeditor_boot_options.toolsItems.push({'name': 'AddVideo', 'title': 'Add_Video', 'css': 'wym_tools_add_video'});
<% locales = %w(en es sk pt-BR zh-CN ru)%>
<% locales.each do |locale| %>
if (WYMeditor.STRINGS['<%=locale%>']) WYMeditor.STRINGS['<%=locale%>']['Video'] = WYMeditor.STRINGS['<%=loc... | Change I18n lookup for WYMEditor buttin | Change I18n lookup for WYMEditor buttin
| HTML+ERB | mit | zuf/refinerycms-videojs,zuf/refinerycms-videojs |
dbbb522feac7510174c8a08e8a6075b06a6c1aaf | app/views/businesses/show.html.erb | app/views/businesses/show.html.erb | <div class='section container'>
<div class='centered'>
<div class='box'>
<h2><%= @business.name %></h2>
<h3>Neighborhood: <%= @details.address_components[2]["long_name"] %></h3>
<p>
<%= @details.formatted_address.split(',')[0] %></br>
<%= @details.formatted_address.split(',')[1] ... | <div class='section container'>
<div class='centered'>
<div class='box'>
<h2><%= @business.name %></h2>
<h3>Neighborhood: <%= @details.address_components[2]["long_name"] %></h3>
<p>
<%= @details.formatted_address.split(',')[0] %></br>
<%= @details.formatted_address.split(',')[1] ... | Add conditional logic to business show page to handle nil values in details. | Add conditional logic to business show page to handle nil values in details.
| HTML+ERB | mit | DBC-Huskies/flight-app,DBC-Huskies/flight-app,DBC-Huskies/flight-app |
b97853085dc88b4c769f145b3d2e2c8a2c47db32 | app/views/spree/layouts/spree_application.html.erb | app/views/spree/layouts/spree_application.html.erb | <!doctype html>
<!--[if lt IE 7 ]> <html class="ie ie6" lang="<%= I18n.locale %>"> <![endif]-->
<!--[if IE 7 ]> <html class="ie ie7" lang="<%= I18n.locale %>"> <![endif]-->
<!--[if IE 8 ]> <html class="ie ie8" lang="<%= I18n.locale %>"> <![endif]-->
<!--[if IE 9 ]> <html class="ie ie9" lang="<%= I1... | <!doctype html>
<!--[if lt IE 7 ]> <html class="ie ie6" lang="<%= I18n.locale %>"> <![endif]-->
<!--[if IE 7 ]> <html class="ie ie7" lang="<%= I18n.locale %>"> <![endif]-->
<!--[if IE 8 ]> <html class="ie ie8" lang="<%= I18n.locale %>"> <![endif]-->
<!--[if IE 9 ]> <html class="ie ie9" lang="<%= I1... | Delete one div wraper from spree layout | Delete one div wraper from spree layout
| HTML+ERB | bsd-3-clause | gilbertoTN/spree_skins,gilbertoTN/spree_skins |
a06b97a5d39d63f59f930134c1a2f0038ea8191c | cookbooks/imagery/templates/default/index.html.erb | cookbooks/imagery/templates/default/index.html.erb | <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title><%= @title %></title>
<link rel="stylesheet" href="imagery.css" type="text/css" media="all" />
<link rel="stylesheet" h... | <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title><%= @title %></title>
<link rel="stylesheet" href="imagery.css" type="text/css" media="all" />
<link rel="stylesheet" h... | Add CSS to not print leaflet-control | Add CSS to not print leaflet-control
| HTML+ERB | apache-2.0 | gravitystorm/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,Firefishy/chef,openstreetmap/chef,Firefishy/chef,zerebubuth/openstreetmap-chef,gravitystorm/chef,openstreetmap/chef,Firefishy/chef,Firefishy/chef,openstreetmap/chef,Firefishy/chef,gravitystorm/chef,zerebubuth/openstreetmap-c... |
8da66b7a4e2c10cd98a7b771b586ed8109d8ba95 | app/views/metric_observations/_metric_observation.html.erb | app/views/metric_observations/_metric_observation.html.erb | <% vm_instance = metric_observation.virtual_machine_instance %>
<% benchmark_execution = vm_instance.benchmark_execution %>
<tr>
<td><%= link_to formatted_time(benchmark_execution.benchmark_start_time), benchmark_execution %></td>
<td><%= vm_instance.provider_name %></td>
<td><%= vm_instance.provider_instance_id ... | <% vm_instance = metric_observation.virtual_machine_instance %>
<% benchmark_execution = vm_instance.benchmark_execution # MAY be the cause of the metrics link bug ?!? %>
<tr>
<td><%= link_to formatted_time(benchmark_execution.benchmark_start_time), benchmark_execution %></td>
<td><%= vm_instance.provider_name %></... | Add comment about potential metric link bug issue | Add comment about potential metric link bug issue
| HTML+ERB | apache-2.0 | sealuzh/cloud-workbench,sealuzh/cloud-workbench,sealuzh/cloud-workbench |
a1be2823ba7c74c94653978fcfbfcec9247577b5 | plugins/fb_app/views/fb_app_plugin_page_tab/_config.html.erb | plugins/fb_app/views/fb_app_plugin_page_tab/_config.html.erb | <div id="page-tab-<%= page_tab.id || 'new' %>" class='page-tab'>
<% if page_tab.page_id %>
<h3>
<%= page_tab.name %>
<%= button_to_function_without_text 'edit', t('fb_app_plugin.views.myprofile.catalog.see_page'), "jQuery('#edit_tab_"+page_tab.id.to_s+"').toggle()" %>
<%# button nil, t('fb_app... | <div id="page-tab-<%= page_tab.id || 'new' %>" class='page-tab'>
<% if page_tab.page_id %>
<h3>
<%= page_tab.name %>
<%= button_to_function_without_text 'edit', t('fb_app_plugin.views.myprofile.catalog.see_page'), "jQuery('#edit_tab_"+page_tab.id.to_s+"').toggle()", class: 'edit-tab-button' %>
... | Allow user to remove a catalog | Allow user to remove a catalog | HTML+ERB | agpl-3.0 | CIRANDAS/noosfero-ecosol,coletivoEITA/noosfero-ecosol,coletivoEITA/noosfero-ecosol,CIRANDAS/noosfero-ecosol,blogoosfero/noosfero,blogoosfero/noosfero,EcoAlternative/noosfero-ecosol,samasti/noosfero,EcoAlternative/noosfero-ecosol,EcoAlternative/noosfero-ecosol,blogoosfero/noosfero,samasti/noosfero,coletivoEITA/noosfero-... |
666a79ce8e5b7550b49eda4c3615066cdec43855 | app/views/crops/new.html.erb | app/views/crops/new.html.erb | <div class="small-12 columns">
<div class="row">
<div class="large-8 medium-10 small-12 small-centered columns">
<h1>Add a new crop!</h1>
<%= form_for @crop do |f| %>
<%= f.label :name, 'Crop Name' %>
<%= f.text_field :name %>
<%= f.label :binomial_name, 'Binomial Name' %>
... | <div class="small-12 columns">
<div class="row">
<div class="large-8 medium-10 small-12 small-centered columns">
<h1>Add a new crop!</h1>
<%= form_for @crop do |f| %>
<%= f.label :name, 'Crop Name' %>
<%= f.text_field :name %>
<%= f.label :binomial_name, 'Binomial Name' %>
<%=... | Remove days to maturity from new crop | Remove days to maturity from new crop
| HTML+ERB | mit | roryaronson/OpenFarm,simonv3/OpenFarm,CloCkWeRX/OpenFarm,tomazin/OpenFarm,roryaronson/OpenFarm,slacker87/OpenFarm,tomazin/OpenFarm,RickCarlino/OpenFarm,tomazin/OpenFarm,tomazin/OpenFarm,RickCarlino/OpenFarm,CloCkWeRX/OpenFarm,simonv3/OpenFarm,slacker87/OpenFarm,openfarmcc/OpenFarm,openfarmcc/OpenFarm,slacker87/OpenFarm... |
b39ff97d339fb8c558f60dcb5e5b064bf726bf8e | app/views/mocks/new.html.erb | app/views/mocks/new.html.erb | <% @title = "Upload Mocks" %>
<% content_for :head do %>
<%= stylesheet_link_tag "shared/form",
"mocks/new" %>
<%= javascript_include_tag "plugins/jquery.ui.widget",
"plugins/jquery.iframe-transport",
"plugins/jquery.fileupload",
... | <% @title = "Upload Mocks" %>
<% content_for :head do %>
<%= stylesheet_link_tag "shared/form",
"mocks/new" %>
<%= javascript_include_tag "plugins/jquery.ui.widget",
"plugins/jquery.iframe-transport",
"plugins/jquery.fileupload",
... | Remove "Back to Home" link from mock upload form | Remove "Back to Home" link from mock upload form
| HTML+ERB | mit | causes/mockr,causes/mockr,causes/mockr |
11ea9bd41458be742a6fec8d12f61f3716f796a9 | app/views/tree/_dep.html.erb | app/views/tree/_dep.html.erb | <% version = dep[:version] %>
<% project = version.project %>
<% requirements = dep[:requirements] %>
<li>
<%= link_to project, version_path(version.to_param) %>
-
<%= link_to version.number, version_path(version.to_param), class: 'tip', title: 'Resolved version' %>
-
<em class='text-muted'>
<span class="... | <% version = dep[:version] %>
<% project = version.project %>
<% requirements = dep[:requirements] %>
<li>
<%= link_to project, version_path(version.to_param) %>
-
<%= link_to version.number, version_path(version.to_param), class: 'tip', title: 'Resolved version' %>
-
<em class='text-muted'>
<span class="... | Disable dependency flags on tree view for now | Disable dependency flags on tree view for now
| HTML+ERB | agpl-3.0 | abrophy/libraries.io,abrophy/libraries.io,librariesio/libraries.io,abrophy/libraries.io,tomnatt/libraries.io,tomnatt/libraries.io,tomnatt/libraries.io,librariesio/libraries.io,librariesio/libraries.io,librariesio/libraries.io |
71207ccddb76f72a45aa78165ea4d0585d47b489 | app/views/mailers/user_mailer/reply_leave_applicaiton_email.text.erb | app/views/mailers/user_mailer/reply_leave_applicaiton_email.text.erb | 嗨 <%= @leave_application.user.name %>,
你的 <%= l @leave_application.start_time, format: :long%> 的 <%= LeaveApplication.human_enum_value(:leave_type, @leave_application.leave_type) %> 已經被 <%= LeaveApplication.human_enum_value(:status, @leave_application.status) %> 囉!
<%= link_to "點此連結查看詳情:)", leave_application_url(nil, @... | 嗨 <%= @leave_application.user.name %>,
你的 <%= l @leave_application.start_time, format: :long%> 的 <%= LeaveApplication.human_enum_value(:leave_type, @leave_application.leave_type) %> 已經被 <%= LeaveApplication.human_enum_value(:status, @leave_application.status) %> 囉!
<%= link_to "點此連結查看詳情:)", leave_application_url(nil, @... | Fix invalid syntex in reply leave application | Fix invalid syntex in reply leave application
| HTML+ERB | apache-2.0 | 5xRuby/daikichi,5xRuby/daikichi,5xRuby/daikichi,5xRuby/daikichi |
d71fee900f4f5ada827f5f9c52f8946916bc6b37 | views/new.erb | views/new.erb | <h2>Add New Post</h2>
<p>
<form role="form">
<textarea class="form-control" rows="6"></textarea><br/>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
</p> | <h2>Add New Post</h2>
<p>
<form action="/new" method="POST"role="form">
<textarea class="form-control" rows="6"></textarea><br/>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
</p> | Add action method atribute to form | Add action method atribute to form
| HTML+ERB | mit | Alekskojem/leprosorium,Alekskojem/leprosorium |
6ba052115544795ba5d7a7024b6d3110fa449820 | backend/app/views/spree/admin/shared/_navigation_header.html.erb | backend/app/views/spree/admin/shared/_navigation_header.html.erb | <header class="admin-nav-header">
<%= link_to spree.admin_path do %>
<%= image_tag(Spree::Config[:admin_interface_logo]) %>
<%- end %>
</header>
| <header class="admin-nav-header">
<%= link_to spree.admin_path, class: 'brand-link' do %>
<%= image_tag(Spree::Config[:admin_interface_logo]) %>
<%- end %>
</header>
| Put back class on admin logo | Put back class on admin logo
- available for replace by Deface overrides
- as well pointed out by @tvdeyen
| HTML+ERB | bsd-3-clause | pervino/solidus,pervino/solidus,pervino/solidus,pervino/solidus |
312a39d22a4d62507d939b919b80ffd50f511be3 | app/views/spree/blog_entries/_blog_entry_details.html.erb | app/views/spree/blog_entries/_blog_entry_details.html.erb | <div class="blog_entry_details">
<%= Spree.t(:posted_on) %> <span class="blog_entry_date"><%= l(blog_entry.published_at, :format => :blog_date) %></span>
<% unless blog_entry.author.blank? %>
<%= Spree.t(:by) %> <%= link_to blog_entry.author.nickname, blog_author_path(:author => blog_entry.author.nickname), cla... | <div class="blog_entry_details">
<%= Spree.t(:posted_on) %> <span class="blog_entry_date"><%= l(blog_entry.published_at, :format => :blog_date) %></span>
<% unless blog_entry.author.blank? or blog_entry.author.nickname.blank? %>
<%= Spree.t(:by) %> <%= link_to blog_entry.author.nickname, blog_author_path(:autho... | Fix error when author name is blank. | Fix error when author name is blank.
| HTML+ERB | bsd-3-clause | dgross881/spree_blog,gdsn13/spree-blogging-spree,human-nyc/spree-blogging-spree,JuandGirald/spree-blogging-spree,bricesanchez/spree-blogging-spree,bricesanchez/spree-blogging-spree,human-nyc/spree-blogging-spree,JuandGirald/spree-blogging-spree,DigitalReflow/solidus-blogging,acreilly/spree-blogging-spree,tkwl/spree-blo... |
3c56118b57f32f107510708a707318eed85e9c04 | app/views/permit_steps/display_permits.html.erb | app/views/permit_steps/display_permits.html.erb | <%= render partial: "layouts/sidebar", locals: {cur_step: 2} %>
<div class="step ha-waypoint" id="renovation-rules" data-animate-down="50%" data-animate-up="34%">
<h1>Here's the permit you need to apply for</h1>
<h2 class="grant-total permits-req">Permits Required</h2>
<div class="w-row">
<div class="w-col">... | <%= render partial: "layouts/sidebar", locals: {cur_step: 2} %>
<div class="step ha-waypoint" id="renovation-rules" data-animate-down="50%" data-animate-up="34%">
<h1>This is the permit you need to apply for</h1>
<h2 class="grant-total permits-req">Permits Required</h2>
<div class="w-row">
<div class="w-col"... | Change header on display_permits from Here's the permit to This is the permit | Change header on display_permits from Here's the permit to This is the permit
| HTML+ERB | isc | schlos/homebase,codeforamerica/homebase,codeforamerica/homebase,randy-r-masters/homebase,schlos/homebase,codeforamerica/homebase,schlos/homebase,randy-r-masters/homebase,randy-r-masters/homebase |
a8ceea6e717866aceb6f1cafa92910cd7b6db503 | app/views/plans/new.html.erb | app/views/plans/new.html.erb | <h1>Generate a new Meal Plan</h1>
<div class="container">
<%= form_for @plan do |f| %>
<div class="form-group">
<%= f.label :name, "Meal Plan Name" %>
<%= f.text_filed :name %>
</div>
<div class="form-group">
<%= f.label :calories %>
<%= f.number_field :calories %>
</div>
<div class="form-group">... | <h1>Generate a new Meal Plan</h1>
<div class="container">
<%= form_for @plan do |f| %>
<div class="form-group">
<%= f.label :plan_name, "Meal Plan Name" %>
<%= f.text_field :plan_name %>
</div>
<div class="form-group">
<%= f.label :calories %>
<%= f.number_field :calories %>
</div>
<div class="fo... | Fix typo in plan form | Fix typo in plan form
| HTML+ERB | mit | kevmcgovern/EZMeals,kevmcgovern/EZMeals,kevmcgovern/EZMeals |
cd2553188aaede2d9f936051850697924cf4adbe | lib/views/general/_topnav.html.erb | lib/views/general/_topnav.html.erb | <div id="topnav">
<ul id="navigation">
<li class="<%= 'selected' if params[:controller] == 'request' and ['new', 'select_authority'].include?(params[:action]) %>"><%= link_to _("Make a request"), select_authority_url, :id => 'make-request-link' %></li>
<li class="<%= 'selected' if params[:controller... | <div id="topnav">
<ul id="navigation">
<li class="<%= 'selected' if params[:controller] == 'request' and ['new', 'select_authority'].include?(params[:action]) %>"><%= link_to _("Make a request"), select_authority_url, :id => 'make-request-link' %></li>
<li class="<%= 'selected' if params[:controller... | Change blog link to go directly to OAF site | Change blog link to go directly to OAF site
We're doing this because the blog feed is broken, see #305. This
should be reverted when we fix #305 by fixing #311.
| HTML+ERB | mit | openaustralia/righttoknow,openaustralia/righttoknow,openaustralia/righttoknow |
1800531734023ec423437a6197d3864fadf5ca53 | modules/monitoring/templates/check_aws_iam_key_age.cfg.erb | modules/monitoring/templates/check_aws_iam_key_age.cfg.erb | define command {
command_name check_aws_iam_key_age
command_line /usr/lib/nagios/plugins/check_aws_aws_iam_key_age --key <%= @access_key %> --secret <%= @secret_key %> --region <%= @region %> --days <%= @max_aws_iam_key_age %>
}
| define command {
command_name check_aws_iam_key_age
command_line /usr/lib/nagios/plugins/check_aws_iam_key_age --key <%= @access_key %> --secret <%= @secret_key %> --region <%= @region %> --days <%= @max_aws_iam_key_age %>
}
| Remove duplicate aws in check_aws_iam_key_age command | Remove duplicate aws in check_aws_iam_key_age command
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
aa8ef25185d4fa7c1fc24485d49dfa00ef2f0311 | app/views/_museum_card.html.erb | app/views/_museum_card.html.erb | <div class="card-block col-sm-6" data-free="<%= museum.is_free %>">
<%= link_to image_tag(museum.photos, class:"img card-img"),museum_path(museum.id) %><br>
<div class="card-text pull-xs-right">
<div class="museum-info"><h3><%= link_to museum.name, museum_path(museum.id) %></h3>
<div class="address"><%= link_to... | <div class="card-block col-sm-6" data-free="<%= museum.is_free %>">
<%= link_to image_tag(museum.photo, class:"img card-img"),museum_path(museum.id) %><br>
<div class="card-text pull-xs-right">
<div class="museum-info"><h3><%= link_to museum.name, museum_path(museum.id) %></h3>
<div class="address"><%= link_to ... | Update museum card to reference image as photo instead of photos | Update museum card to reference image as photo instead of photos
| HTML+ERB | mit | nyc-fiery-skippers-2016/museum-finder,nyc-fiery-skippers-2016/museum-finder,nyc-fiery-skippers-2016/museum-finder |
15dce141ca494cc940c38b34256c8432ff3c059d | app/views/contacts/new.html.erb | app/views/contacts/new.html.erb | <h2>Contact us</h2>
<%= form_for :contact, url: '/contacts' do |f| %>
<p>
<%= f.label :email %><br />
<%= f.text_field :email %>
</p>
<p>
<%= f.label :message %><br />
<%= f.text_area :message %>
</p>
<p>
<%= f.submit %>
</p>
<% end %> | <h2>Contact us</h2>
<%= form_for :contact, url: contacts_path do |f| %>
<p>
<%= f.label :email %><br />
<%= f.text_field :email %>
</p>
<p>
<%= f.label :message %><br />
<%= f.text_area :message %>
</p>
<p>
<%= f.submit %>
</p>
<% end %> | Change url: from '/contacts' to contacts_path | Change url: from '/contacts' to contacts_path
| HTML+ERB | mit | Kraykin/Blog-sample,Kraykin/Blog-sample,Kraykin/Blog-sample |
e3fb01bae06e0648fdc3ab6108190b8fd00bef24 | app/views/messages/index.js.erb | app/views/messages/index.js.erb | retrieve = function() {
window.on_loading = true
$.getScript("<%= messages_path(max_id: @messages.first.id, format: 'js') %>")
.always(function() {
window.on_loading = false
});
};
(function () {
var offset = $('#messages').scrollBottom();
$('#messages').prepend('<%= j(render @messages) %>');
$... | retrieve = function() {
window.on_loading = true
$.getScript("<%= messages_path(max_id: @messages.first.id - 1, format: 'js') %>")
.always(function() {
window.on_loading = false
});
};
(function () {
var offset = $('#messages').scrollBottom();
$('#messages').prepend('<%= j(render @messages) %>');... | Fix load offset of timeline | Fix load offset of timeline
| HTML+ERB | mit | ueokande/dabell,ueokande/dabell,ueokande/dabell |
637d243fb9b5d7a91b0ee8df3e4e34b02062f284 | app/views/records/edit_fields/_description.html.erb | app/views/records/edit_fields/_description.html.erb | <div <% if index == 0 %> id="additional_<%= key.to_s %>_clone" <% end %>>
<% required = render_req && (index == 0) && f.object.required?(key) %>
<% if f.object.class.multiple?(key) %>
<%= f.text_area :description, name:"#{ActiveModel::Naming.singular(f.object)}[#{key.to_s}][]", id: "#{Ac... | <div <% if index == 0 %> id="additional_<%= key.to_s %>_clone" <% end %>>
<% required = render_req && (index == 0) && f.object.required?(key) %>
<% if f.object.class.multiple?(key) %>
<%= f.text_area :description, name:"#{ActiveModel::Naming.singular(f.object)}[#{key.to_s}][]", id: "#{Ac... | Check for uniqueness of the field by using the existing class method | Check for uniqueness of the field by using the existing class method
| HTML+ERB | apache-2.0 | samvera/hyrax,samvera/hyrax,samvera/hyrax,samvera/hyrax |
43bb9d805ad776ba8ab198ffe3f493870ae1401c | views/new.erb | views/new.erb | <h2>Add new post</h2>
<p>
<form>
<textarea class="form-control" rows="6"></textarea>
<br>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
</p> | <h2>Add new post</h2>
<p>
<form action="/new" method="POST">
<textarea class="form-control" rows="6"></textarea>
<br>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
</p> | Add action, method to the form | Add action, method to the form
| HTML+ERB | mit | Natellus/Application2,Natellus/Application2 |
8deb78fa09a57204110da9aa18ca717afdec32bf | deployment/puppet/nailgun/templates/rsyncd.conf.erb | deployment/puppet/nailgun/templates/rsyncd.conf.erb | [puppet]
path = <%= @puppet_folder %>
read only = true
uid = 0
gid = 0
use chroot = no
| [puppet]
path = <%= @puppet_folder %>
read only = true
uid = 0
gid = 0
use chroot = no
[plugins]
path = /var/www/nailgun/plugins
read only = true
uid = 0
gid = 0
use chroot = no | Add fuel plugins folder to rsync | Add fuel plugins folder to rsync
implements: blueprint cinder-neutron-plugins-in-fuel
Change-Id: I1c48315f0944485f7379249abbe5802dc04e2b4e
| HTML+ERB | apache-2.0 | SmartInfrastructures/fuel-library-dev,zhaochao/fuel-library,ddepaoli3/fuel-library-dev,zhaochao/fuel-library,ddepaoli3/fuel-library-dev,huntxu/fuel-library,SmartInfrastructures/fuel-library-dev,eayunstack/fuel-library,xarses/fuel-library,stackforge/fuel-library,zhaochao/fuel-library,Metaswitch/fuel-library,huntxu/fuel-... |
834efd9d4804a497a17068356c5bc100e5e629db | examples/address_book/app/views/home/index.html.erb | examples/address_book/app/views/home/index.html.erb | <h1>Welcome to AddressBook</h1>
<p>A basic Rails application serving as an example of the <i>Respect for Rails</i> plugin</p>
| <h1>Welcome to AddressBook</h1>
<p>A basic Rails application serving as an example of the <i>Respect for Rails</i> plugin.</p>
<%= link_to "REST API documentation", respect.doc_path %>
| Add a link to the documentation on the homepage. | Add a link to the documentation on the homepage.
| HTML+ERB | mit | nicolasdespres/respect-rails,nicolasdespres/respect-rails,nicolasdespres/respect-rails |
9ee418492f9470116daafa1bdbfcdd8903d95a2d | app/views/accounts/new.erb | app/views/accounts/new.erb | <%= render :partial => 'shared/create_account' %>
| <h2 class='main-header'><%= t(:create_an_account) %></h2>
<%= render :partial => 'shared/create_account' %>
| Move header from partial to main template - don't want to use it in popup. | Move header from partial to main template - don't want to use it in popup.
| HTML+ERB | agpl-3.0 | mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport |
532a545243f13163cc317dc5ceadd5840997de3b | modules/govuk_aws_xray_daemon/templates/etc/amazon/xray/cfg.yaml.erb | modules/govuk_aws_xray_daemon/templates/etc/amazon/xray/cfg.yaml.erb | # Maximum buffer size in MB (minimum 3). Choose 0 to use 1% of host memory.
TotalBufferSizeMB: 0
# Maximum number of concurrent calls to AWS X-Ray to upload segment documents.
Concurrency: 8
# Send segments to AWS X-Ray service in a specific region
Region: "eu-west-1"
# Change the X-Ray service endpoint to which the da... | # Maximum buffer size in MB (minimum 3). Choose 0 to use 1% of host memory.
TotalBufferSizeMB: 0
# Maximum number of concurrent calls to AWS X-Ray to upload segment documents.
Concurrency: 8
# Send segments to AWS X-Ray service in a specific region
Region: "eu-west-1"
# Change the X-Ray service endpoint to which the da... | Revert "Trigger reload of xray deamon" | Revert "Trigger reload of xray deamon"
This reverts commit ae09ae600499a61a59ac87ba0b6142895db030c5.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
0e966cdb1b9c12196178f34de1a414dd028d949a | app/views/bar/_races.html.erb | app/views/bar/_races.html.erb | <% if race -%>
<table class="centered top_margin">
<%- race.event.races.map(&:category).sort.each_row_with_index do |row, row_index| -%>
<tr>
<td style="margin-right: 18px;">
<%= link_to row.first.name, bar_path(:category => row.first.friendly_param, :year => race.year, :discipline => Discipline[race.discip... | <% if race -%>
<table class="centered top_margin">
<%- race.event.races.map(&:category).sort.each_row_with_index do |row, row_index| -%>
<tr>
<td style="margin-right: 18px;">
<%= link_to row.first.name, bar_path(race.year, Discipline[race.discipline].to_param, row.first.friendly_param) %>
</td>
<t... | Use simpler path method signature | Use simpler path method signature
| HTML+ERB | mit | scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails |
4e2fd37073c5d20dc492aa3f54900708c648c34b | app/views/trips/show.html.erb | app/views/trips/show.html.erb | <p id="notice"><%= notice %></p>
<div class="container-jumbo">
<div class="header-image"></div>
<div class="header-title"><%= @trip.location %> Trip</div>
</div>
<div class="container">
<div class="row">
<h2>Start date:</h2>
<h3><%= @trip.start_date %></h3>
<h2>End date:</h2>
... | <p id="notice"><%= notice %></p>
<div class="container-jumbo">
<div class="header-image"></div>
<div class="header-title"><%= @trip.location %> Trip</div>
</div>
<div class="container">
<div class="row">
<h2>Start date:</h2>
<h3><%= @trip.start_date %></h3>
<h2>End date:</h2>
... | Reformat 'voted on by' list | Reformat 'voted on by' list
| HTML+ERB | mit | sushiogoto/trabble,sushiogoto/trabble |
9ce707915e14d2b1e08121a92893d3f3927fff22 | app/views/users/show.html.erb | app/views/users/show.html.erb | <h1><%= @user.screen %></h1>
<% if @articles.present? %>
<h2>Recent Articles</h2>
<% @articles.each do |article| %>
<%= render "shared/article", article: article %>
<% end %>
<% end %>
<% if @products.present? %>
<h2>Products</h2>
<% @products.each do |product| %>
<%= render "shared/product", product... | <h1><%= @user.screen %></h1>
<% if @articles.present? %>
<h2>Recent Articles</h2>
<% @articles.each do |article| %>
<%= render "shared/article", article: article %>
<% end %>
<% end %>
<% if @products.present? %>
<h2>Recent Products</h2>
<% @products.each do |product| %>
<%= render "shared/product", ... | Change to 'Recent Products' for consistency | Change to 'Recent Products' for consistency
| HTML+ERB | apache-2.0 | NigoroJr/nigorojr.com,NigoroJr/nigorojr.com |
f97020960b72c4f7e40644f44606e1dc0e40ecac | lib/generators/templates/views/sessions/new.html.erb | lib/generators/templates/views/sessions/new.html.erb | <%%= form_for :session, url: sessions_path do |f| %>
<p>
<%%= f.label :email %>
<%%= f.text_field :email %>
</p>
<p>
<%%= f.label :password %>
<%%= f.password_field :password %>
</p>
<%%= submit_tag %>
<%%= link_to("Forgot password?", forgot_password_path) %>
<%% end %>
| <%%= form_for :session, url: sessions_path do |f| %>
<p>
<%%= f.label :email %>
<%%= f.text_field :email %>
</p>
<p>
<%%= f.label :password %>
<%%= f.password_field :password %>
</p>
<%%= submit_tag 'Sign In' %>
<%%= link_to("Forgot password?", forgot_password_path) %>
<%% end %>
| Use descriptive label for sign in button | Use descriptive label for sign in button | HTML+ERB | mit | tonywok/auto_auth,tonywok/auto_auth,tonywok/auto_auth |
9438224c47cb220ebcfa48ed41835659c90f928c | app/assets/javascripts/uploadcare/widget/templates/styles.jst.ejs.erb | app/assets/javascripts/uploadcare/widget/templates/styles.jst.ejs.erb | <%=
raw = Rails.application.assets.find_asset('uploadcare/widget.css').body
YUI::CssCompressor.new.compress(raw)
%>
| // = depend_on uploadcare/widget.css
<%=
raw = Rails.application.assets.find_asset('uploadcare/widget.css').body
YUI::CssCompressor.new.compress(raw)
%>
| Recompile styles JST on source change | Recompile styles JST on source change
| HTML+ERB | bsd-2-clause | uploadcare/uploadcare-widget,prognostikos/uploadcare-widget,toscale/uploadcare-widget,toscale/uploadcare-widget,toscale/uploadcare-widget,prognostikos/uploadcare-widget,uploadcare/uploadcare-widget,BIGWOO/uploadcare-widget,BIGWOO/uploadcare-widget,prognostikos/uploadcare-widget,BIGWOO/uploadcare-widget |
4323835deae7524fc23c0eb36548d7a78c084385 | app/views/home/index.html.erb | app/views/home/index.html.erb | <div class="alert">
<%= link_to 'How to create composite source images screencast', 'http://www.youtube.com/watch?v=pvuPnjccrgA' %>
</div>
<% unless current_user %>
<p>
<%= link_to "Login", new_session_path %> to upload source images and create source sets.
</p>
<% end %>
<% unless @src_sets.empty? %>... | <% unless current_user %>
<p>
<%= link_to "Login", new_session_path %> to upload source images and create source sets.
</p>
<% end %>
<% unless @src_sets.empty? %>
<%= render :partial => 'src_sets/src_sets' %>
<% end %>
<% if @gend_images %>
<%= render :partial => 'gend_images/gend_images' %>
<%... | Remove composite source image screencast link. | Remove composite source image screencast link.
| HTML+ERB | mit | mmb/meme_captain_web,patrickmcguire/meme,mmb/meme_captain_web,patrickmcguire/meme,mmb/meme_captain_web,mmb/meme_captain_web |
619b15eae4c34334059950d33dbfa727630bd2fe | app/views/plants/new.html.erb | app/views/plants/new.html.erb | <div class="container">
<header class="page-header">
<h1>New Plant</h1>
</header>
<div>
<%= button_to 'Back to my plants', [:plants] %>
</div>
<div class="row">
<div class="col-sm-6 col-sm-offset-1">
<%= form_for @plant, url: plants_path do |form| %>
<% if form.object.errors.... | <div class="container">
<header class="page-header">
<h1>New Plant</h1>
</header>
<div>
<%= link_to 'Back', :plants, class: 'button' %>
</div>
<div class="row">
<div class="col-sm-6 col-sm-offset-1">
<%= form_for @plant, url: plants_path do |form| %>
<% if form.object.errors.... | Fix back button on Create Plant page | Fix back button on Create Plant page
| HTML+ERB | mit | Plantia/app,Plantia/app,Plantia/app |
743214efc360a68c98b84034b0ce364a11ed72e9 | app/views/users/show.html.erb | app/views/users/show.html.erb | <center><h1> PICK HISTORY </h1> </center>
<center> <p class="history-description"> here are your lottery picks</p> </center>
<center>
<div class="user-picks">
<% @session_id = session[:user_id] %>
<div class="pick-history-list">
<% @user.picks.each do |pick| %>
<div class="pick-items">
... | <center><%= link_to 'CREATE A PICK', pick_path, class: "button medium default radius nav-button" %></center>
<center><h1> PICK HISTORY </h1> </center>
<center> <p class="history-description"> here are your lottery picks</p> </center>
<center>
<div class="user-picks">
<% @session_id = session[:user_id] %>
<... | Change location of create pick button | Change location of create pick button
| HTML+ERB | mit | drodriguez56/lotifyMe,drodriguez56/lotifyMe,drodriguez56/lotifyMe |
f732c73f0f3f515a084f8c3afaa5dfd0a4e317a3 | app/views/users/show.html.erb | app/views/users/show.html.erb | <div class="l-box">
<h1><%= @user.username %>'s profile</h1>
<p>
Joined <%= @user.created_at.strftime('%Y-%m-%d') %>.
<%= @user.images.count %> images uploaded.
</p>
<div id="recent_uploads">
<h2>Recent uploads</h2>
<% if @user.has_images? %>
<%= render 'images/tiles', :images => @recent... | <div class="l-box">
<h1><%= @user.username %>'s profile</h1>
<p>
<strong><%= @user.images.count %></strong> images uploaded.
Joined <strong><%= @user.created_at.strftime('%Y-%m-%d') %></strong>.
</p>
<div id="recent_uploads">
<h2>Recent uploads</h2>
<% if @user.has_images? %>
<%= render ... | Put join date after upload count | Put join date after upload count
| HTML+ERB | mit | Margatroid/uploadstuffto.me,Margatroid/uploadstuffto.me |
f7055a8c5bdac39e3d7b97e6aeb398eb1a380d51 | source/views/layouts/partials/_after_header.html.erb | source/views/layouts/partials/_after_header.html.erb | <div class="indicator cf">
<p>
<strong><%= config_item(:phase).to_s.capitalize %>:</strong>
This is a new service -
<% if content_for?(:feedback_link) %>
<%= yield(:feedback_link) %>
<% else %>
<a href="<%= "#{config_item(:feedback_url)}" %>">your feedback</a>
... | <!--[if gt IE 6]><!--><script>document.body.className = document.body.className.replace('js-enabled','');</script><!--<![endif]-->
<div class="indicator cf">
<p>
<strong><%= config_item(:phase).to_s.capitalize %>:</strong>
This is a new service -
<% if content_for?(:feedback_link) %>
... | Remove js-enabled class for IE6 | Remove js-enabled class for IE6
| HTML+ERB | mit | ministryofjustice/moj_template,ministryofjustice/moj_template,ministryofjustice/moj_template,ministryofjustice/moj_template,ministryofjustice/moj_template |
970d80013134bebb1d598e6e9bc2462518edc4be | app/views/site/admin.html.erb | app/views/site/admin.html.erb | <div class='row'>
<h2>Welcome <%= "#{@admin.first_name} #{@admin.last_name }"%>!</h2><br /><br />
<div class='container' id="admin_panel">
<nav id='admin_navbar'>
<ul class='nav nav-pills'>
<li role='presentation' class='active'><%= link_to "Manage Meetings", '#' %></li>
<li role='presenta... | <div class='row'>
<h2>Welcome <%= "#{@admin.first_name} #{@admin.last_name }"%>!</h2><br /><br />
<div class='container' id="admin_panel">
<nav id='admin_navbar'>
<ul class='nav nav-pills'>
<li role='presentation' class='active'><%= link_to "Manage Meetings", '#', onclick: 'return false;' %></li>
... | Add onclick: return false so it doesn't reload the page every time a navigation pill is clicked | Add onclick: return false so it doesn't reload the page every time a navigation pill is clicked
| HTML+ERB | unlicense | danascheider/testrubypdx,danascheider/testrubypdx,danascheider/testrubypdx |
db68caa66166d264ee383c0e7a6801e6604c9e04 | app/views/home/_rsvp_form.html.erb | app/views/home/_rsvp_form.html.erb | <div id="rsvp-form-container">
<div class="rsvp-left"> </div>
<div class="rsvp-right">
<h3> RSVP </h3>
<%= form_tag('/guests/create', method: :post) do %>
<%= render partial: '/guests/new' %>
<div class="additional-guests"> </div>
<a href="#" class="add-new-guest"> Add Another Guest </a>
... | <div id="rsvp-form-container">
<div class="rsvp-left"> </div>
<div class="rsvp-right">
<h3> RSVP </h3>
<%= form_tag('/guests/create', method: :post) do %>
<%= render partial: '/guests/new' %>
<div class="additional-guests"> </div>
<a href="#" class="add-new-guest"> Add Another Guest </a>
... | Update rsvp form for spacing | Update rsvp form for spacing
| HTML+ERB | mit | nperri6/molly_nick,nperri6/molly_nick,nperri6/molly_nick |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.