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 |
|---|---|---|---|---|---|---|---|---|---|
86668bda96d5c032a984529d76ad00d40d3170d9 | app/views/requests/user_actions/_menu.html.erb | app/views/requests/user_actions/_menu.html.erb | <div class="row">
<div class="col-md-12" id="js-user-actions-div">
<a href="#" data-toggle="modal" data-target="#js-share-link">Share this request</a>
</div>
</div>
<div class="modal fade" id="js-share-link" tabindex="-1" role="dialog" aria-labelledby="js-share-link-modal " aria-hidden="true">
<div class="mo... | <div class="row">
<div class="col-md-12" id="js-user-actions-div">
<a href="#" data-toggle="modal" data-target="#js-share-link">Share this request</a>
</div>
</div>
<div class="modal fade" id="js-share-link" tabindex="-1" role="dialog" aria-labelledby="js-share-link-modal " aria-hidden="true">
<div class="mo... | Remove 'save changes' button. Nothing to save. Derrr. | Remove 'save changes' button. Nothing to save. Derrr.
| HTML+ERB | mit | rehttp/rehttp,rehttp/rehttp,rehttp/rehttp |
5e59ebbea2ff5431f9977bcc69f645d6ee0882b4 | app/views/nearby_searches/show.html.erb | app/views/nearby_searches/show.html.erb | <h1>Poi: <%= @poi.name %></h1>
<ul>
<% @nearby_pois.each do |poi| %>
<%= content_tag :li, poi.name %>
<% end %>
</ul>
| <h1>Poi: <%= @poi.name %></h1>
<ul>
<% @nearby_pois.each do |poi| %>
<%= content_tag :li do %>
<%= link_to poi.name, nearby_search_path(id: poi.id) %>
<% end %>
<% end %>
</ul>
| Add links to navigate between Pois | Add links to navigate between Pois
| HTML+ERB | mit | michrome/heroku-starter-project,michrome/heroku-starter-project,michrome/heroku-starter-project,michrome/heroku-starter-project |
530bb846158c47b340a683bcb9e2858fcede5cd2 | app/views/application/_navbar.html.erb | app/views/application/_navbar.html.erb | <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button"
class="navbar-toggle collapsed"
data-toggle="collapse"
data-target="#navbar-links">
<span class="sr-only">Toggle ... | <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button"
class="navbar-toggle collapsed"
data-toggle="collapse"
data-target="#navbar-links">
<span class="sr-only">Toggle ... | Use user_signed_in? to reveal those intentions | Use user_signed_in? to reveal those intentions
| HTML+ERB | mit | codecation/trailmix,codecation/trailmix,codecation/trailmix,codecation/trailmix |
d63f725771eb11278b1fb4c24106f55c6ee75889 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<%= javascript_include_tag :defaults %>
<%= csrf_meta_tag %>
</head>
<body>
<div id='header'>
<% if signed_in? -%>
<%= link_to t('.sign_out'), sign_out_path, :method => :delete %>
<% else -%>
<%= link_to t('.sign_in'), sign_in_path %>
<% end -%>
</div>
<d... | <!DOCTYPE html>
<html>
<head>
<%= javascript_include_tag 'application' %>
<%= csrf_meta_tag %>
</head>
<body>
<div id='header'>
<% if signed_in? -%>
<%= link_to t('.sign_out'), sign_out_path, :method => :delete %>
<% else -%>
<%= link_to t('.sign_in'), sign_in_path %>
<% end -%>
</div>
... | Change JavaScript tag to Rails default | Change JavaScript tag to Rails default
https://github.com/rails/rails/blob/master/railties/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb.tt#L6
| HTML+ERB | mit | thoughtbot/clearance,thoughtbot/clearance,benlivermore/clearance,zernie/clearance,zernie/clearance,pedrosmmoreira/clearance,naveed-ahmad/clearance,janusnic/clearance,pedrosmmoreira/clearance,pedrosmmoreira/clearance,benlivermore/clearance,zernie/clearance,janusnic/clearance,janusnic/clearance,sferik/clearance,naveed-ah... |
4a9773af78d4190381c3a7185dc5ac1f2818b4b6 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>LiarsDiceServer</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<% if notice %><p class="alert alert-success... | <!DOCTYPE html>
<html>
<head>
<title>LiarsDiceServer</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<% if notice %><p class="alert alert-success... | Use the correct conditional when deciding whether or not to show the alert flash. | Use the correct conditional when deciding whether or not to show the alert flash.
| HTML+ERB | agpl-3.0 | bschmeck/two_sixes,bschmeck/two_sixes |
2fc90782454b402d13e50c7179ff06c8e68e0527 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Protest45</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<p class="notice"><%= notice %></p>
<p class="alert"... | <!DOCTYPE html>
<html>
<head>
<title>Protest45</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<nav>
<ul>
<% if current_user %>
<li><a href="/u... | Add conditional navigation links to app layout | Add conditional navigation links to app layout
| HTML+ERB | mit | ChristynBudzyna/protest45,ChristynBudzyna/protest45,ChristynBudzyna/protest45 |
1c285084b677fa2c2d08264c3a6ff7745e562c37 | app/views/parcels/_match_trip.html.erb | app/views/parcels/_match_trip.html.erb | <%= trip.driver.username %><br>
Trip leave: <%= trip.leaving_at %><br>
Trip arriving: <%= trip.arriving_at %><br>
<%= button_to 'Book' %> | <%= trip.driver.username %><br>
Trip leave: <%= trip.leaving_at %><br>
Trip arriving: <%= trip.arriving_at %><br>
Price per cubic foot <% trip.rate %><br>
<%= button_to 'Book' %> | Add rate to matched trips partials | Add rate to matched trips partials
| HTML+ERB | mit | grantziolkowski/caravan,grantziolkowski/caravan,grantziolkowski/caravan,nyc-rock-doves-2015/caravan,nyc-rock-doves-2015/caravan,bicyclethief/caravan,bicyclethief/caravan,bicyclethief/caravan,nyc-rock-doves-2015/caravan |
0554dad9497b5aaefe5981a8a01775146623f4ff | app/views/questions/_question.html.erb | app/views/questions/_question.html.erb | <h2><%= question.title%></h2>
<p><%= question.content%></p>
<%= link_to "comment", new_question_response_path(@question) %>
| <h2><%= question.title%></h2>
<p><%= question.content%></p>
| Move link_to create a comment onto the question show page | Move link_to create a comment onto the question show page
| HTML+ERB | mit | jeder28/stack_overphil,jeder28/stack_overphil,jeder28/stack_overphil |
9626c5d3d61c87fca44e668d7c389bd260f557d5 | app/views/shared/_breadcrumbs.html.erb | app/views/shared/_breadcrumbs.html.erb | <nav class="breadcrumbs" role="navigation" aria-label="<%= t('breadcrumbs.aria_label') %>">
<ul class="unstyled-list">
<li class="breadcrumbs__item"><%= link_to(t('layouts.home'), root_path) %></li>
<% categories.each do |category| %>
<li class="breadcrumbs__item" itemscope itemtype="http://data-vocabu... | <nav class="breadcrumbs" role="navigation" aria-label="<%= t('breadcrumbs.aria_label') %>">
<ul class="unstyled-list">
<li class="breadcrumbs__item" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<%= link_to root_path, itemprop: "url" do %>
<span itemprop="title"><%= t('layouts.home') %><... | Add micro data to home li item | Add micro data to home li item
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
d06924c8c6843a5ba971fd3856c8375052042e82 | app/views/tasks/_dependencies.html.erb | app/views/tasks/_dependencies.html.erb | <fieldset id="task_dependencies">
<legend><%=_ "Dependencies"%></legend>
<label for="dependencies_input"><%=_ 'Depends on'%></label>
<% if perms['edit'].empty? %>
<input name="dependencies[]" size="12" type="text" id="dependencies_input" title="<%=_("Search by task number or title")%>" class="tooltip" >
... | <fieldset id="task_dependencies">
<legend><%=_ "Dependencies"%></legend>
<label for="dependencies_input"><%=_ 'Depends on'%></label>
<% if perms['edit'].empty? %>
<input name="dependencies[]" size="12" type="text" id="dependencies_input" title="<%=_("Search by task number or title")%>" class="tooltip" >
... | Use full partial name in tasks view, this view is use by templates controller. | Use full partial name in tasks view, this view is use by templates controller.
| HTML+ERB | agpl-3.0 | xuewenfei/jobsworth,webstream-io/jobsworth,webstream-io/jobsworth,ari/jobsworth,arunagw/clockingit,evinoca/clockingit,arunagw/clockingit,rafaspinola/jobsworth,digitalnatives/jobsworth,digitalnatives/jobsworth,rafaspinola/jobsworth,rafaspinola/jobsworth,digitalnatives/jobsworth,evinoca/clockingit,rafaspinola/jobsworth,a... |
d6beb05d37cffdff1f1e270b088639096804c966 | lib/chef-dk/skeletons/code_generator/templates/default/inspec_default_test.rb.erb | lib/chef-dk/skeletons/code_generator/templates/default/inspec_default_test.rb.erb | # encoding: utf-8
# InSpec test for recipe <%= cookbook_name %>::<%= recipe_name %>
# The InSpec reference, with examples and extensive documentation, can be
# found at http://inspec.io/docs/reference/resources/
unless os.windows?
# This is an example test, replace with your own test.
describe user('root'), :ski... | # InSpec test for recipe <%= cookbook_name %>::<%= recipe_name %>
# The InSpec reference, with examples and extensive documentation, can be
# found at http://inspec.io/docs/reference/resources/
unless os.windows?
# This is an example test, replace with your own test.
describe user('root'), :skip do
it { shoul... | Remove encoding line in generated tests | Remove encoding line in generated tests
Signed-off-by: Jerry Aldrich <a91ad57971d7c99b11248006963b5e1a3230cc0a@gmail.com>
| HTML+ERB | apache-2.0 | chef/chef-dk,chef/chef-dk,chef/chef-dk |
e04b5e3d9fb2cade636eeef769965bd3195c769b | app/views/pulitzer/post_type_content_element_types/_new.html.erb | app/views/pulitzer/post_type_content_element_types/_new.html.erb | <%= form_for ptcet, html: ajax_form_hash("#post_type_content_element_types_container_#{dom_id(ptcet.post_type)}", insert_method: 'append', sub_class: "AddALineForm", container: "#new_post_type_content_element_type_#{dom_id(ptcet.post_type)}") do |f| %>
<%= render partial: 'form_fields', locals: { f: f, ptcet: ptcet }... | <%= form_for ptcet, html: ajax_form_hash("#post_type_content_element_types_container_#{dom_id(ptcet.post_type)}", insert_method: 'append', sub_class: "AddALineForm", container: "#new_post_type_content_element_type_#{dom_id(ptcet.post_type)}") do |f| %>
<%= render partial: 'form_fields', locals: { f: f, ptcet: ptcet }... | Fix submit label in post type form | Fix submit label in post type form | HTML+ERB | mit | edraut/pulitzer,edraut/pulitzer,edraut/pulitzer |
a2a04e523c55495ec8f909d8fbaedeabf4bc6d48 | files/private-chef-cookbooks/private-chef/templates/default/redis.conf.erb | files/private-chef-cookbooks/private-chef/templates/default/redis.conf.erb | daemonize no
pidfile <%=@dir%>/lb-redis.pid
port <%= @port %>
bind <%= @bind %> <%= @listen == @bind ? "" : @listen %>
tcp-keepalive <%= @keepalive %>
timeout <%= @timeout %>
loglevel <%= @loglevel %>
logfile ""
databases <%= @databases %>
<% @save_frequency.each do |dur, freq| %>
save <%=dur%> <%=freq%>
<% end %>
... | daemonize no
pidfile <%=@dir%>/lb-redis.pid
port <%= @port %>
<% if (@listen != "0.0.0.0") && (@listen != "::") %>
bind <%= @bind %> <%= @listen == @bind ? "" : @listen %>
<% end %>
tcp-keepalive <%= @keepalive %>
timeout <%= @timeout %>
loglevel <%= @loglevel %>
logfile ""
databases <%= @databases %>
<% @save_freq... | Fix redis to listen to all networks in HA mode. | Fix redis to listen to all networks in HA mode.
We use 0.0.0.0 as the default bind address in HA mode. Redis doesn't understand that properly, and instead wants the bind clause to be dropped entirely. | HTML+ERB | apache-2.0 | chef/opscode-omnibus,itmustbejj/chef-server,poliva83/chef-server,poliva83/chef-server,vladuemilian/chef-server,rmoorman/chef-server,rmoorman/chef-server,chef/chef-server,marcparadise/chef-server,stephenbm/chef-server,charlesjohnson/chef-server,stephenbm/chef-server,marcparadise/chef-server,Minerapp/chef-server,vladuemi... |
db9deb4c96141f97a5915cab75d3ea92a22bb04e | deploy-apps/trusted-system-certificates.html.md.erb | deploy-apps/trusted-system-certificates.html.md.erb | ---
title: Trusted System Certificates
---
<strong><%= modified_date %></strong>
The Cloud Foundry Administrator can deploy a set of trusted system certificates to be made available in Linux-based application instances running on the Diego backend. Such instances include buildpack-based apps using the cflinuxfs2 stac... | ---
title: Trusted System Certificates
---
<strong><%= modified_date %></strong>
The Cloud Foundry Administrator can deploy a set of trusted system certificates to be made available in Linux-based application instances running on the Diego backend. Such instances include buildpack-based apps using the cflinuxfs2 stac... | Update trusted system certs doc | Update trusted system certs doc
with information about the new environment variable CF_SYSTEM_CERTS.
[#151430242]
| HTML+ERB | apache-2.0 | cloudfoundry/docs-dev-guide |
b4a401536a55327e30c74edcd1fb4c351d175fea | app/views/requests/new.html.erb | app/views/requests/new.html.erb | <% content_for(:back_url, services_path) %>
<% content_for(:header_title, @request.service.name) %>
<%= render 'form' %>
| <% content_for(:back_url, services_path) %>
<% content_for(:header_title, service_name(@request.service)) %>
<%= render 'form' %>
| Change title to have service_name in form page. | Change title to have service_name in form page.
| HTML+ERB | mit | ironweb/avertislaville,ironweb/avertislaville |
067d71239da54316f249b08dd7432415331b4ab0 | app/views/discover/updates.html.erb | app/views/discover/updates.html.erb | <% title 'Updates' %>
<% activate_nav! :platform_updates %>
<%= render 'shared/navbar' %>
<div class="page page-flat">
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="row">
<div class="col-md-9">
<% @page.each do |post| %>
... | <% title 'Updates' %>
<% activate_nav! :platform_updates %>
<%= render 'shared/navbar' %>
<div class="page page-flat">
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="row">
<div class="col-md-9">
<% @page.each do |post| %>
... | Make the update product titles clickable | Make the update product titles clickable
| HTML+ERB | agpl-3.0 | assemblymade/meta,lachlanjc/meta,assemblymade/meta,lachlanjc/meta,assemblymade/meta,assemblymade/meta,lachlanjc/meta,lachlanjc/meta |
f3a57ab3d4e6e8b22fda48aa2cd6d2f20918b70f | modules/govuk/templates/sidekiq_monitoring_nginx_config.conf.erb | modules/govuk/templates/sidekiq_monitoring_nginx_config.conf.erb | server {
server_name <%= @full_domain %>;
listen localhost:80;
proxy_connect_timeout 1s;
proxy_read_timeout 15s;
access_log /var/log/nginx/<%= @full_domain %>-access.log timed_combined;
access_log /var/log/nginx/<%= @full_domain %>-json.event.access.log json_event;
error_log /var/log/nginx/<%= @full_do... | server {
server_name <%= @full_domain %>;
listen localhost:80;
proxy_connect_timeout 1s;
proxy_read_timeout 15s;
access_log /var/log/nginx/<%= @full_domain %>-access.log timed_combined;
access_log /var/log/nginx/<%= @full_domain %>-json.event.access.log json_event;
error_log /var/log/nginx/<%= @full_do... | Add path for email-campaign-api sidekiq-monitoring under its vhost | Add path for email-campaign-api sidekiq-monitoring under its vhost
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
0e385c19cb1db5b56b79d2860326f52ca2f0ae2a | cookbooks/planet/templates/default/replication.cron.erb | cookbooks/planet/templates/default/replication.cron.erb | # DO NOT EDIT - This file is being maintained by Chef
TZ=UTC
MAILTO=brett@bretth.com
* * * * * planet /usr/local/bin/osmosis -q --replicate-apidb authFile=/etc/replication/auth.conf validateSchemaVersion=false --write-replication workingDirectory=/store/planet/replication/minute
2 * * * * planet /usr/local/bin/osmos... | # DO NOT EDIT - This file is being maintained by Chef
TZ=UTC
MAILTO=brett@bretth.com
* * * * * planet /usr/local/bin/osmosis -q --replicate-apidb authFile=/etc/replication/auth.conf validateSchemaVersion=false --write-replication workingDirectory=/store/planet/replication/minute
2 * * * * planet /home/bretth/bin/osm... | Use Brett's osmosis build for the hourly/daily replication for now | Use Brett's osmosis build for the hourly/daily replication for now
| HTML+ERB | apache-2.0 | zerebubuth/openstreetmap-chef,gravitystorm/chef,Firefishy/chef,Firefishy/chef,openstreetmap/chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,gravitystorm/chef,gravitystorm/chef,zerebubuth/openstreetmap-chef,Firefishy/chef,zerebubuth/openstreetmap-chef,Firefishy/chef,zerebubut... |
6fc852b03b9fca873c81c23f4a1ab84ead44889f | app/views/admin/roles/_form.html.erb | app/views/admin/roles/_form.html.erb | <% role_type = role.type %>
<%= form_for [:admin, role.becomes(Role)], as: :role do |form| %>
<%= form.errors %>
<fieldset>
<%= form.text_field :name %>
<%= form.label :type %>
<%= form.select :type, grouped_options_for_select(role_type_options, role_type_option_value_for(role, role_type)) %>
<%= f... | <% role_type = role.type %>
<%= form_for [:admin, role.becomes(Role)], as: :role do |form| %>
<%= form.errors %>
<fieldset>
<%= form.text_field :name %>
<%= form.label :type %>
<%= form.select :type, grouped_options_for_select(role_type_options, role_type_option_value_for(role, role_type)) %>
<%= f... | Update roles form to associate worldwide offices | Update roles form to associate worldwide offices
| HTML+ERB | mit | hotvulcan/whitehall,robinwhittleton/whitehall,alphagov/whitehall,askl56/whitehall,YOTOV-LIMITED/whitehall,ggoral/whitehall,askl56/whitehall,ggoral/whitehall,robinwhittleton/whitehall,hotvulcan/whitehall,robinwhittleton/whitehall,alphagov/whitehall,alphagov/whitehall,alphagov/whitehall,YOTOV-LIMITED/whitehall,hotvulcan/... |
de1915a93b41a4d9b51780af3011c897f7f6913b | lib/smart_answer_flows/uk-benefits-abroad/uk_benefits_abroad.erb | lib/smart_answer_flows/uk-benefits-abroad/uk_benefits_abroad.erb | <% text_for :title do %>
UK benefits if you’re going or living abroad
<% end %>
<% text_for :meta_description do %>
Find out what benefits you might be able to receive while you’re abroad and how to export them from the UK or claim them while abroad
<% end %>
<% govspeak_for :body do %>
Find out which UK benefi... | <% text_for :title do %>
UK benefits if you’re going or living abroad
<% end %>
<% text_for :meta_description do %>
Find out what benefits you might be able to receive while you’re abroad and how to export them from the UK or claim them while abroad
<% end %>
<% govspeak_for :body do %>
Find out which UK benefi... | Remove callout on start page for UK Benefits Abroad | Remove callout on start page for UK Benefits Abroad
This will no longer be applicable after 31 Dec 2020.
| HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
05505110bd9c5a4c8827d56d9734598a3e7b8da8 | app/views/kata/_view_test.html.erb | app/views/kata/_view_test.html.erb | <%= render partial: 'editor_tab_size' %>
<%= render partial: 'traffic_lights_scroller' %>
<%= render partial: 'run_tests' %>
<%= form_tag( action: 'run_tsets', id: @id ) do %>
<%= render partial: 'image_name' %>
<%= render partial: 'index' %>
<%= render partial: 'max_seconds' %>
<div class="left-column">
<... | <%= render partial: 'editor_tab_size' %>
<%= render partial: 'traffic_lights_scroller' %>
<%= render partial: 'run_tests' %>
<%= form_tag( action: 'run_tests', id: @id ) do %>
<%= render partial: 'image_name' %>
<%= render partial: 'index' %>
<%= render partial: 'max_seconds' %>
<div class="left-column">
<... | Fix view-test template error causing 500 error | Fix view-test template error causing 500 error
| HTML+ERB | bsd-2-clause | cyber-dojo/web,cyber-dojo/web,cyber-dojo/web,cyber-dojo/web |
fb56c184d296232194e82daf51649e8f0c41ab88 | app/views/welcome/index.html.erb | app/views/welcome/index.html.erb | <% title "Welcome to Cartoque!" %>
<div id="welcome-container">
<%= welcome_box do %>
<%= render 'stats_general' %>
<% end %>
<%= welcome_box do %>
<%= render 'stats_databases' %>
<% end %>
<%= welcome_box do %>
<%= render 'stats_storage' %>
<% end %>
<%= welcome_box do %>
<%= render 'stats_maintenance' %>... | <% title "Welcome to Cartoque!" %>
<div id="welcome-container">
<%= welcome_box do %>
<%= render 'stats_general' %>
<% end %>
<%= welcome_box do %>
<%= render 'stats_databases' %>
<% end %>
<%= welcome_box do %>
<%= render 'stats_storage' %>
<% end %>
<%= welcome_box do %>
<%= render 'stats_maintenance' %>... | Revert "Disable comparison boxes on welcome page, they're not ready for the moment" | Revert "Disable comparison boxes on welcome page, they're not ready for the moment"
This reverts commit 150c6be0d9644e99a378e63a5989b9c80943d3a1.
| HTML+ERB | mit | jbbarth/cartoque,cartoque/cartoque,cartoque/cartoque,skylost/cartoque,skylost/cartoque,jbbarth/cartoque,jbbarth/cartoque,cartoque/cartoque |
2827af3ab0e33073102507f36f4d57c5946dc88e | chef-repo/site-cookbooks/fio-benchmark/templates/default/fio_log_parser.rb.erb | chef-repo/site-cookbooks/fio-benchmark/templates/default/fio_log_parser.rb.erb | require 'csv'
module FioLogParser
def parse_log(log_file, results_file = 'fio_results.csv')
CSV.open(results_file, 'wb') do |csv|
CSV.foreach(log_file) do |row|
csv << [row[0], row[1].strip]
end
end
end
end | require 'csv'
class FioLogParser
def self.parse_log(log_file, results_file = 'fio_results.csv')
CSV.open(results_file, 'wb') do |csv|
CSV.foreach(log_file) do |row|
csv << [row[0], row[1].strip]
end
end
end
end | Use class instead of module for FioLogParser | Use class instead of module for FioLogParser
| HTML+ERB | apache-2.0 | sealuzh/cloud-workbench,sealuzh/cloud-workbench,sealuzh/cloud-workbench |
d060d19f86360c9b2a566e66059dca5142eeddae | app/views/admin/worldwide_organisations/offices.html.erb | app/views/admin/worldwide_organisations/offices.html.erb | <% page_title @worldwide_organisation.name %>
<div class="row-fluid organisation-header">
<div class="span8">
<h1><%= @worldwide_organisation.name %></h1>
<%= link_to "View on website", url_for(@worldwide_organisation) %>
</div>
</div>
<div class="row-fluid">
<div class="span12 organisation-details">
... | <% page_title @worldwide_organisation.name %>
<%= content_tag_for(:div, @worldwide_organisation) do %>
<div class="row-fluid organisation-header">
<div class="span8">
<h1><%= @worldwide_organisation.name %></h1>
<%= link_to "View on website", url_for(@worldwide_organisation) %>
</div>
</div>
<... | Add enclosing object id tag for worldwide orgs | Add enclosing object id tag for worldwide orgs
| HTML+ERB | mit | robinwhittleton/whitehall,robinwhittleton/whitehall,hotvulcan/whitehall,hotvulcan/whitehall,YOTOV-LIMITED/whitehall,ggoral/whitehall,ggoral/whitehall,askl56/whitehall,YOTOV-LIMITED/whitehall,alphagov/whitehall,robinwhittleton/whitehall,hotvulcan/whitehall,alphagov/whitehall,alphagov/whitehall,askl56/whitehall,YOTOV-LIM... |
9a013377c8c06c7a81255095a6a069ce7c6de585 | app/views/records/edit_fields/_rights_statement.html.erb | app/views/records/edit_fields/_rights_statement.html.erb | <% rights_statements = Hyrax.config.rights_statement_service_class.new %>
<%= f.input :rights_statement,
collection: rights_statements.select_active_options,
include_blank: true,
input_html: { class: 'form-control' } %>
| <% rights_statements = Hyrax.config.rights_statement_service_class.new %>
<%= f.input :rights_statement,
collection: rights_statements.select_active_options,
include_blank: true,
item_helper: rights_statements.method(:include_current_value),
input_html: { class: 'form-control' } %>
| Support inactive values in the rights statement field | Support inactive values in the rights statement field
This allows soft removal of rights statements from the vocabulary without
breaking forms for existing objects.
| HTML+ERB | apache-2.0 | samvera/hyrax,samvera/hyrax,samvera/hyrax,samvera/hyrax |
14c0a99ebea4da53d10c73bdfbb331d4adaeb1c9 | ecosystem/platform/server/app/components/table_header_column_component.html.erb | ecosystem/platform/server/app/components/table_header_column_component.html.erb | <%= content_tag :th, **@rest do %>
<%= content_tag :div, class: 'flex gap-2 items-center' do %>
<% if @id %>
<% if sort_arrow %>
<%= link_to href, class: 'cursor-pointer whitespace-nowrap flex gap-1 items-center items-end relative' do %>
<div class="text-teal-400 font-light absolute -left-... | <%= content_tag :th, **@rest do %>
<%= content_tag :div, class: (@rest[:align] == 'left' ? 'justify-start' : 'justify-end') + ' flex gap-2 items-center' do %>
<% if @id %>
<% if sort_arrow %>
<%= link_to href, class: 'cursor-pointer whitespace-nowrap flex gap-1 items-center items-end relative' do %>... | Add conditional for flex alignment based on table heading alignment | Add conditional for flex alignment based on table heading alignment
Closes: #1141
| HTML+ERB | apache-2.0 | aptos-labs/aptos-core,aptos-labs/aptos-core,aptos-labs/aptos-core,aptos-labs/aptos-core,aptos-labs/aptos-core,aptos-labs/aptos-core,aptos-labs/aptos-core |
8ccc50a7d95413dda65c2c2e6a6406ac7f10d0e0 | source/partials/values.html.erb | source/partials/values.html.erb | <section class="features container">
<div class="feature__item">
<div class="feature__image">
<img src="/images/features/landing-modular.svg" alt="" />
</div>
<div class="feature__content" >
<h3 class="feature__title"><%= t("features.list.n4.title") %></h3>
<p><%= t("featur... | <section class="features container">
<div class="feature__item">
<div class="feature__image">
<img src="/images/features/landing-modular.svg" alt="" />
</div>
<div class="feature__content" >
<h3 class="feature__title"><%= t("features.list.n4.title") %></h3>
<p><%= t("featur... | Fix social contract link in values button in homepage | Fix social contract link in values button in homepage
| HTML+ERB | agpl-3.0 | decidim/decidim.org,decidim/decidim.org,decidim/decidim.org |
c2be8fbf1661f4be235c6dfdbcdcf60b4af53402 | app/views/backend/navigation/items/new.html.erb | app/views/backend/navigation/items/new.html.erb | <!-- TODO breadcrumb -->
<%= simple_form_for(@model, url: backend_navigation_items_path) do |f| %>
<%= f.input :page_id, collection: ::Page.order(:description).map { |p| [p.description, p.id] }, include_blank: true %>
<%= render 'backend/form_actions', cancel_url: backend_navigations_path %>
<% end %>
| <% breadcrumb.add t('b.add'), new_backend_navigation_item_path(@navigation, @model) %>
<%= render 'backend/breadcrumbs' %>
<%= simple_form_for(@model, url: backend_navigation_items_path) do |f| %>
<%= f.input :page_id, collection: ::Page.order(:description).map { |p| [p.description, p.id] }, include_blank: true %>
... | Add breadcrumb to navigation item add. | Add breadcrumb to navigation item add.
| HTML+ERB | mit | udongo/udongo,udongo/udongo,udongo/udongo |
f2a52570517d67884d6750d98b918e38f1ce1f31 | source/_css.erb | source/_css.erb | <%=
stylesheet_link_tag "bootstrap-theme.min",
"site",
{ type: nil, rel: "prefetch" }
%>
<%=
stylesheet_link_tag "bootstrap-theme.min",
"site"
%>
<script>
var cb = function() {
var sheets = [
"https://maxcdn.bo... | <%=
stylesheet_link_tag "bootstrap-theme.min",
"site",
{ type: nil, rel: "prefetch" }
%>
<%=
stylesheet_link_tag "bootstrap-theme.min",
"site"
%>
<script>
var cb = function() {
var sheets = [
<% if false %>
... | Add commented out code to lazily load CSS. | Add commented out code to lazily load CSS.
| HTML+ERB | mit | martincostello/blog,martincostello/blog,martincostello/blog |
afc4614689800c0299c345d1a0826fbc1fe23e9c | app/views/admin/templates/_file.html.erb | app/views/admin/templates/_file.html.erb | <%
attachment = attribute.split('_file_name').first
if !@item.send(attribute).blank?
message = _("Remove {{attribute}}", :attribute => @item.class.human_attribute_name(attribute).downcase)
label_text << <<-HTML
<small>#{link_to message, { :action => 'detach',
:id => @item,
... | <%
attachment = attribute.split('_file_name').first
if !@item.send(attribute).blank?
message = _("Remove {{attribute}}", :attribute => @item.class.human_attribute_name(attribute).downcase)
label_text << <<-HTML
<small>#{link_to message, { :action => 'detach',
:id => @item,
... | Use raw on the label | Use raw on the label
| HTML+ERB | mit | oruen/typus,brainsome-de/typus,thirdthing/typus,wollzelle/typus,typus/typus,brainsome-de/typus,baban/typus,baban/typus,brainsome-de/typus,thirdthing/typus,burn-notice/typus,burn-notice/typus,brainsome-de/typus,chiragshah/typus,chiragshah/typus,readyfor/typus,typus/typus,chiragshah/typus,readyfor/typus,thirdthing/typus,... |
54225c1ace60ae3afa76f38bd3d268b2873c486f | app/views/catalog/_show_default.html.erb | app/views/catalog/_show_default.html.erb | <% if document.has_thumbnail? %>
<div class="dulhydra-image dulhydra-thumbnail" style="float: right;">
<%= image_tag "#{datastream_path(document.id, 'thumbnail')}?download=1" %>
</div>
<% end %>
<%# default partial to display solr document fields in catalog show view -%>
<dl class="dl-horizontal dl-invert">
... | <% if document.has_thumbnail? %>
<div class="dulhydra-image dulhydra-thumbnail" style="float: right;">
<%= image_tag thumbnail_path(document.id), :alt => "Thumbnail image for #{document.id}" %>
</div>
<% end %>
<%# default partial to display solr document fields in catalog show view -%>
<dl class="dl-horizont... | Use new path for thumnail; added alt tag to thumbnail | Use new path for thumnail; added alt tag to thumbnail
| HTML+ERB | bsd-3-clause | projecthydra-labs/fcrepo-admin,projecthydra-labs/fcrepo-admin |
9b6e9bb18c5fbce33685c64f58c9bf199b97804a | app/views/settings/types/_image.html.erb | app/views/settings/types/_image.html.erb | <div class="row">
<div class="col-sm-6">
<%= f.input :value, as: :image, label: false, input_html: { field_name: 'setting_value', img_src: @setting.value, path_only: true } %>
</div>
<div class="col-sm-6">
<%= f.input :value, label: 'Image URL', readonly: true %>
</div>
</div>
| <div class="image-to-path-wrapper">
<div class="row">
<div class="col-sm-6">
<%= f.input :value, as: :image, label: false, input_html: { field_name: 'setting_value', img_src: @setting.value, path_only: true } %>
</div>
<div class="col-sm-6">
<%= f.input :value, label: 'Image URL', readonly: tr... | Fix image-to-path image setting issue | Fix image-to-path image setting issue
| HTML+ERB | mit | dylanfisher/forest,dylanfisher/forest,dylanfisher/forest |
87a61e823683a8c662d5fc1bb499f8b903072722 | app/views/shared/_related_links.html.erb | app/views/shared/_related_links.html.erb | <div class="related-links">
<h2 class="visually-hidden">Related content</h2>
<% categories.each do |category| %>
<div class="related-links__category">
<h3 class="related-links__heading">
<%= category.title %>
</h3>
<ul class="unstyled-list">
<% category.contents.each do |articl... | <div class="related-links">
<h2 class="related-links__heading visually-hidden">Related content</h2>
<% categories.each do |category| %>
<div class="related-links__category">
<h3 class="related-links__category-heading">
<%= link_to category.title, category.path %>
</h3>
<ul class="unsty... | Revert "Add new HTML to the related links component" | Revert "Add new HTML to the related links component"
This reverts commit bcf1cd827a90909292f07106447d66d4057393bd.
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
67d6bb8a919d6df0c59b73a51af40d8fd4cf1677 | views/index.erb | views/index.erb | <form class="" action="search" method="get">
<input type="text" name="gem" value="" placeholder="i.e. mandrill_mailer">
<input type="button" name="Search" value="Check">
</form>
| <form class="" action="search" method="get">
<input type="text" name="gem" value="" placeholder="i.e. mandrill_mailer">
<input type="submit" name="Search" value="Check">
</form>
| Make sure to submit form when clicking on the button | Make sure to submit form when clicking on the button
| HTML+ERB | mit | olivierlacan/depend,olivierlacan/depend |
7820d0e84bfbc2503636954bb2121303bf827c19 | views/index.erb | views/index.erb | <%#
# encoding: utf-8
#--
# Copyright (C) 2012-2013 Gitorious AS
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any lat... | <%#
# encoding: utf-8
#--
# Copyright (C) 2012-2013 Gitorious AS
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any lat... | Use a table in repo listing | Use a table in repo listing
| HTML+ERB | agpl-3.0 | Gitorious-backup/libdolt,rae/gitorious-libdolt,Gitorious-backup/libdolt,rae/gitorious-libdolt |
45d5df6d8d0b8b30f2bd71b3f93907e5d83d0111 | views/index.erb | views/index.erb | <% questions.each do |q| %>
<h3><%= q.text %><% if q.closed? %>(Voting is closed)<% end %></h3>
<h4>Voting Progress: <%= q.taken_votes %> / <%= q.possible_votes %> (<%= '%0.2f' % q.voted_percentage %>%)</h4>
<table>
<% q.vote_breakdown do |answer, count| %>
<tr>
<th><%= answer.text %></th>
... | <% questions.each do |q| %>
<h3><%= q.text %><% if q.closed? %>(Voting is closed)<% end %></h3>
<h4>Voting Progress: <%= q.cast_votes %> / <%= q.possible_votes %> (<%= '%0.2f' % q.percentage_cast %>%)</h4>
<table class='table'>
<% q.vote_breakdown.each do |answer, count| %>
<tr>
<th><%= answer.t... | Update template for new logic | Update template for new logic
| HTML+ERB | mit | sstelfox/voting_prototype,sstelfox/voting_prototype |
12c2f0eadaadf2b12b63dce30d67aa5cb1fdad4d | source/layout.erb | source/layout.erb | <!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv='X-UA-Compatible' content='IE=edge;chrome=1' />
<title>Blog Title<%= ' - ' + current_article.title unless current_article.nil? %></title>
<%= feed_tag :atom, "#{blog.options.prefix.to_s}/feed.xml", title: "Atom Feed" %>
</head>
... | <!doctype html>
<html>
<body>
<aside>
<h2>Recent Articles</h2>
<ol>
<% blog.articles[0...10].each do |article| %>
<li><%= link_to article.title, article %> <span><%= article.date.strftime('%b %e') %></span></li>
<% end %>
</ol>
<h2>Tags</h2>
<ol>
<%... | Remove some html stuff (file will be remove later). | Remove some html stuff (file will be remove later).
| HTML+ERB | mit | Dexyne/tab2space.ws,Dexyne/tab2space.ws,Dexyne/tab2space.ws |
56739df9f6e067d5c8574fc4b84f21a6776a92c4 | templates/component_map.vhd.erb | templates/component_map.vhd.erb | <%= "component_#{name}" %>: <%= name %>
<%- unless generics.size.empty? %>
generic map(
<%= generic_mappings %>
)
<%- end %>
<%- unless ports.size.empty? %>
port map(
<%= port_mappings %>
)
<%- end %>
;
| <%= "component_#{name}" %>: <%= name %>
<%- unless generics.empty? -%>
generic map(
<%= generic_mappings %>
)
<%- end -%>
<%- unless ports.empty? -%>
port map(
<%= port_mappings %>
)
<%- end -%>
;
| Fix component_map template type error | Fix component_map template type error
| HTML+ERB | mit | tomoasleep/vhdl_connector |
ddcf81fb703206073e0b300926d1c38a85141efc | views/layout.erb | views/layout.erb | <!DOCTYPE html>
<html>
<head>
<title><%= yield_content :page_title %>- GOV.UK</title>
<link rel="stylesheet" href="stylesheets/main.css">
<link rel="stylesheet" href="stylesheets/prototypes.css">
</head>
<body>
<div id="wrapper" class="guide">
<main id="content" role="main" class="group">
<header class="pag... | <!DOCTYPE html>
<html>
<head>
<title><%= yield_content :page_title %>- GOV.UK</title>
<link rel="stylesheet" href="stylesheets/main.css">
<link rel="stylesheet" href="stylesheets/prototypes.css">
</head>
<body>
<div id="wrapper" class="guide">
<main id="content" role="main" class="group">
<div class="inner-... | Update h1 to fix indentation | Update h1 to fix indentation | HTML+ERB | mit | guidance-guarantee-programme/alpha,guidance-guarantee-programme/alpha,guidance-guarantee-programme/alpha |
3591626b819c26145b5bd8d1eeb362bb20267e55 | lib/views/general/frontpage.html.erb | lib/views/general/frontpage.html.erb | <%# TODO: Cache for 5 minutes %>
<div id="frontpage_splash">
<div id="frontpage_right_to_know">
<%= render :partial => 'frontpage_intro_sentence' %>
</div>
<div id="frontpage_start_request">
<%= render :partial => "frontpage_new_request" %>
</div>
<div id="frontpage_search_box">
... | <%# TODO: Cache for 5 minutes %>
<div id="frontpage_splash">
<div id="frontpage_right_to_know">
<%= render :partial => 'frontpage_intro_sentence' %>
</div>
<div id="frontpage_start_request">
<%= render :partial => "frontpage_new_request" %>
</div>
<div id="frontpage_search_box">
... | Add an explanation of how it works "1. 2. 3" - merged in from app | Add an explanation of how it works "1. 2. 3" - merged in from app
| HTML+ERB | mit | openaustralia/righttoknow,openaustralia/righttoknow,openaustralia/righttoknow |
5fb75915e64bb506150a457c081acb700c6b76c5 | app/views/groups/new.html.erb | app/views/groups/new.html.erb | <h1>Start your own band!</h1>
<%= form_for @group, html: {class: "pure-form pure-form-aligned new-group-form"} do |f|%>
<%= f.label :name, "Your awesome band name:" %><br>
<%= f.text_field :name %><br><br>
<%= f.label :password, "Band Access Key:" %><br>
<%= f.password_field :password %><br>
<br>
<%= f.s... |
<h1>Start your own band!</h1>
<%= form_for @group, html: {class: "pure-form pure-form-aligned new-group-form"} do |f|%>
<%= f.label :name, "Your awesome band name:" %><br>
<%= f.text_field :name %><br><br>
<%= f.label :password, "Band Access Key:" %><br>
<%= f.password_field :password %><br>
<br>
<%= f.... | Create a group new view. | Create a group new view.
| HTML+ERB | mit | pdynowski/best-thing-ever,pdynowski/best-thing-ever,pdynowski/best-thing-ever |
b70314893e9319c3034fba78f716231fb0b192d5 | app/views/notes/show.html.erb | app/views/notes/show.html.erb | <p id="notice"><%= notice %></p>
<p>
<strong>Title:</strong>
<%= @note.title %>
</p>
<p>
<strong>Contents:</strong>
<%= @note.contents %>
</p>
<p>
<strong>Last viewed at:</strong>
<%= @note.last_viewed_at %>
</p>
<%= link_to 'Edit', edit_note_path(@note) %> |
<%= link_to 'Back', notes_path %>
| <p id="notice"><%= notice %></p>
<p>
<strong>Title:</strong>
<%= @note.title %>
</p>
<p>
<strong>Contents:</strong>
<%= @note.contents %>
</p>
<p>
<strong>Last viewed at:</strong>
<%= @note.last_viewed_at %>
</p>
<%= link_to 'New Note', new_note_path %> |
<%= link_to 'Edit', edit_note_path(@note) %> |
<... | Add new link to shortcut | Add new link to shortcut
| HTML+ERB | mit | riseshia/reit-rails,riseshia/reit-rails,riseshia/reit-rails |
32a8f2cb4671ffeefa559ce13b1018a99722ad3b | app/views/users/show.html.erb | app/views/users/show.html.erb | <h1><%= @user.first_name %>'s CityGems</h1>
<h2>Gems I've created</h2>
<% if @created.length > 0 %>
<ol id="created-gems">
<% @created.each do |pin| %>
<li>
<strong> <%= link_to pin.name, pin_path(pin) %></strong>
<p>Appeal: <%= pin.appeal %></p>
</li>
<% end %>
</ol>
<% else %>
... | <h1><%= @user.first_name %>'s CityGems</h1>
<h2>Gems I've created</h2>
<% if @created.length > 0 %>
<ol id="created-gems">
<% @created.each do |pin| %>
<li>
<strong> <%= link_to pin.name, pin_path(pin) %></strong>
<p>Appeal: <%= pin.appeal %></p>
</li>
<% end %>
</ol>
<% else %>
... | Make comments label display the correct plural/singular form | Make comments label display the correct plural/singular form
| HTML+ERB | mit | TEAM-KAST/City_Gems,TEAM-KAST/City_Gems,TEAM-KAST/City_Gems |
5f19791e1fcecb99eb80c258f1cc4477e7414258 | modules/hdo/templates/upstart-google-drive-sync.conf.erb | modules/hdo/templates/upstart-google-drive-sync.conf.erb | # http://upstart.ubuntu.com/wiki/Stanzas
description <%= @description %>
author <%= @author %>
stop on shutdown
respawn
respawn limit 20 5
script
exec google-drive-sync \
--out-dir <%= @output_dir %> \
--credentials <%= @credentials_path %> \
--plugins <%= @plugin_path %> \
--interval <%= @in... | # This file is managed by Puppet, do not edit manually, your changes will be overwritten.
# http://upstart.ubuntu.com/wiki/Stanzas
description <%= @description %>
author <%= @author %>
start on filesystem and net-device-up IFACE!=lo
stop on shutdown
respawn
respawn limit 20 5
script
exec google-drive-sync \
... | Make sure google-drive-sync starts on boot | Make sure google-drive-sync starts on boot
| HTML+ERB | bsd-3-clause | holderdeord/hdo-puppet,holderdeord/hdo-puppet,holderdeord/hdo-puppet,holderdeord/hdo-puppet,holderdeord/hdo-puppet |
ad8529c0a6cce8a83010113ab50a05689e0bdab0 | example-product/migration_templates/example_credhub_credential_migration.js.erb | example-product/migration_templates/example_credhub_credential_migration.js.erb | exports.migrate = function(input) {
// To view JavaScript console logs in the Rails debug log, be sure to make them single value and to only pass them
// strings. JSON.stringify is an easy way to dump a structure.
console.log('the properties passed to migrate are: ');
console.log(JSON.stringify(input));
inpu... | exports.migrate = function(input) {
// To view JavaScript console logs in the Rails debug log, be sure to make them single value and to only pass them
// strings. JSON.stringify is an easy way to dump a structure.
console.log('the properties passed to migrate are: ');
console.log(JSON.stringify(input));
//mi... | Add a migration to migrate an rsa pkey credential | Add a migration to migrate an rsa pkey credential
[#143464505]
Signed-off-by: Tom Dunlap <329c7d75de881b58d3d971dc02fa4530c06ae3cb@pivotal.io>
| HTML+ERB | apache-2.0 | pivotal-cf-experimental/ops-manager-example,pivotal-cf-experimental/ops-manager-example,pivotal-cf-experimental/ops-manager-example,pivotal-cf-experimental/ops-manager-example |
d332801885092531bd7f53514ca39c056672a84f | spec/rails_app/app/views/activity_notification/optional_targets/admins/amazon_sns/comment/_default.text.erb | spec/rails_app/app/views/activity_notification/optional_targets/admins/amazon_sns/comment/_default.text.erb | [This notification is delivered by Amazon SNS]
Dear <%= @target.printable_target_name %>
<%= @notification.notifier.present? ? @notification.notifier.printable_notifier_name : 'Someone' %> notified you of <%= @notification.notifiable.printable_notifiable_name(@notification.target) %><%= " in #{@notification.group.pri... | [This notification is delivered by ActivityNotification with Amazon SNS]
Dear <%= @target.printable_target_name %>
<%= @notification.notifier.present? ? @notification.notifier.printable_notifier_name : 'Someone' %> notified you of <%= @notification.notifiable.printable_notifiable_name(@notification.target) %><%= " in... | Update sample view for Amazon SNS optional target | Update sample view for Amazon SNS optional target
| HTML+ERB | mit | simukappu/activity_notification,simukappu/activity_notification,simukappu/activity_notification,simukappu/activity_notification |
564dabe7b23852c814b17200332329351bcdc363 | core/app/views/users/invitations/new.html.erb | core/app/views/users/invitations/new.html.erb | <h2>Send invitation</h2>
<%= form_for resource, :as => resource_name, :url => invitation_path(resource_name), :html => {:method => :post, :class => "form-horizontal"} do |f| %>
<fieldset>
<legend>
Invitations left: <%= current_user.invitation_limit %>
</legend>
<%= devise_error_messages! %>
<%... | <h2>Send invitation</h2>
<%= form_for resource, :as => resource_name, :url => invitation_path(resource_name), :html => {:method => :post, :class => "form-horizontal"} do |f| %>
<fieldset>
<legend>
Invitations left: <%= current_user.invitation_limit %>
</legend>
<%= devise_error_messages! %>
<%... | Disable "Send an invitation"-button on click | Disable "Send an invitation"-button on click
Signed-off-by: tomdev <96835dd8bfa718bd6447ccc87af89ae1675daeca@codigy.nl>
| HTML+ERB | mit | Factlink/factlink-core,daukantas/factlink-core,Factlink/factlink-core,daukantas/factlink-core,Factlink/factlink-core,Factlink/factlink-core,daukantas/factlink-core,daukantas/factlink-core |
03e1dd80526241953251f43d600b2ecb57ce45b0 | source/layouts/manual_layout.html.erb | source/layouts/manual_layout.html.erb | <% breadcrumb = "<p><a href='/manual.html##{section_url}'>#{current_page.data.section}</a></p>" %>
<% html = "#{breadcrumb} <h1 id='header'>#{current_page.data.title}</h1>#{yield}" %>
<% content_for :page_description, Snippet.generate(html) %>
<% content_for :sidebar do %>
<a href='/manual.html' class="toc__back-li... | <%
breadcrumb = if current_page.data.section == "Icinga alerts"
""
else
"<p><a href='/manual.html##{section_url}'>#{current_page.data.section}</a></p>"
end
%>
<% html = "#{breadcrumb} <h1 id='header'>#{current_page.data.title}</h1>#{yield}" %>
<% conten... | Stop generating 'Icinga alerts' breadcrumb for non-existing anchor | Stop generating 'Icinga alerts' breadcrumb for non-existing anchor
There is no 'Icinga alerts' section on manual.html, as alerts are
their own special thing. We already have logic in the manual_layout
template to do something different with Icinga Alerts, so it doesn't
seem controversial to add another conditional.
I... | HTML+ERB | mit | alphagov/govuk-developer-docs,alphagov/govuk-developer-docs,alphagov/govuk-developer-docs,alphagov/govuk-developer-docs |
752001ba38ef6732218be16f2ccab9aed69a5b57 | app/views/feeds/index.html.erb | app/views/feeds/index.html.erb | <h1>Listing feeds</h1>
<table>
<tr>
<th></th>
<th></th>
</tr>
<% @feeds.each do |feed| %>
<tr>
<td><%= link_to 'Show', feed %></td>
<td><%= link_to 'Destroy', feed, method: :delete, data: { confirm: 'Are you sure?' } %></td>
</tr>
<% end %>
</table>
<br />
| <% if @feeds.empty? %>
<div class="alert">
<strong>No news</strong> at the moment
</div>
<% else %>
<% end %>
| Add default notice for empty feed | Add default notice for empty feed
| HTML+ERB | mit | fudanchii/shreds,fudanchii/shreds,fudanchii/shreds |
40b4938c0577f71292976ebd4a9c010f75b98b1b | app/views/people/show.html.erb | app/views/people/show.html.erb | <% content_for :title, person.title %>
<%= render partial: "header", locals: { person: person } %>
<div class="govuk-grid-row">
<div class="govuk-grid-column-one-third">
<%= render "govuk_publishing_components/components/image_card", {
href: "#",
image_src: person.image_url,
image_alt: person.... | <% content_for :title, person.title %>
<%= render partial: "header", locals: { person: person } %>
<div class="govuk-grid-row">
<div class="govuk-grid-column-one-third">
<%= render "govuk_publishing_components/components/image_card", {
href: "#",
image_src: person.image_url,
image_alt: person.... | Add link to announcements to sidebar | Add link to announcements to sidebar
| HTML+ERB | mit | alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections |
d74b92b274dd088a2f3c0fc91892f1e0b0e526d8 | app/views/posts/index.html.erb | app/views/posts/index.html.erb | <div id="window-container">
<div class="window">
<img src="#">
</div>
<div class="window">
<img src="#">
</div>
<div class="window">
<img src="#">
</div>
<div class="window">
<img src="#">
</div>
</div> | Add window divs to view | Add window divs to view
| HTML+ERB | mit | jjparseghian/where_to,jjparseghian/where_to,jjparseghian/where_to | |
35cbdaa7178dd1e8647a7caea5a4d5a5ad8a4b6b | lib/nyaplot/templates/to_png.erb | lib/nyaplot/templates/to_png.erb | <div id='vis-<%= id %>'></div>
<script>
require.config({paths: {
Nyaplot: "<%= PATH_NYAPLOT %>"
}});
require(["Nyaplot"], function(Nyaplot){
var vis_id = "vis-<%= id %>";
var pr = Nyaplot.core.to_png('#'+vis_id, <%= model %>);
function searchCell(uuid){
var n = IPython.notebook.ncells();
for(... | <div id='vis-<%= id %>'></div>
<script>
require.config({paths: {
Nyaplot: "<%= PATH_NYAPLOT %>"
}});
require(["Nyaplot"], function(Nyaplot){
var vis_id = "vis-<%= id %>";
var pr = Nyaplot.core.to_png('#'+vis_id, <%= model %>);
function searchCell(uuid){
var n = IPython.notebook.ncells();
for(... | Enable to embed png to notebooks including Markdown cells | Enable to embed png to notebooks including Markdown cells
| HTML+ERB | mit | domitry/nyaplot,domitry/nyaplot |
b81ac1e90f9ad22d2ee13fd9f7700e5927ae9bb7 | templates/postgresql_database.yml.erb | templates/postgresql_database.yml.erb | development: &default
adapter: postgresql
database: <%= app_name %>_development
encoding: utf8
host: localhost
min_messages: warning
pool: <%%= Integer(ENV.fetch("DB_POOL", 5)) %>
reaping_frequency: <%%= Integer(ENV.fetch("DB_REAPING_FREQUENCY", 10)) %>
timeout: 5000
test:
<<: *default
database: <%... | development: &default
adapter: postgresql
database: <%= app_name %>_development
encoding: utf8
min_messages: warning
pool: <%%= Integer(ENV.fetch("DB_POOL", 5)) %>
reaping_frequency: <%%= Integer(ENV.fetch("DB_REAPING_FREQUENCY", 10)) %>
timeout: 5000
test:
<<: *default
database: <%= app_name %>_test... | Remove database host config for Linux support | Remove database host config for Linux support
Extracted from https://github.com/thoughtbot/administrate/pull/359.
Issue first reported in https://github.com/thoughtbot/administrate/issues/296.
Problem:
Ubuntu (and possibly other Linux distributions)
don't recognize `localhost` as a valid host parameter
in `config/da... | HTML+ERB | mit | zamith/suspenders,welaika/welaika-suspenders,lorentrogers/suspenders,lorentrogers/suspenders,pacso/suspenders,mukkoo/welaika-suspenders,delphaber/suspenders,thoughtbot/suspenders,mukkoo/welaika-suspenders,headwayio/voyage,headwayio/suspenders,Mossio/hashira-rails,headwayio/suspenders,thoughtbot/suspenders,zamith/suspen... |
bdcfd20e3f3fb5f705ec3723a1f55127f01dc4c9 | app/views/application/_adsense.html.erb | app/views/application/_adsense.html.erb | <% if Rails.env.production? && request.domain == ENV.fetch("ANNICT_JP_DOMAIN") %>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "<%= ENV.fetch('GOOGLE_AD_CLIENT_JP') %>",
enable_page_l... | <% if Rails.env.production? %>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "<%= ENV.fetch('GOOGLE_AD_CLIENT_JP') %>",
enable_page_level_ads: true
});
</script>
<% end %>
| Allow to display ads even if domain is .com | Allow to display ads even if domain is .com
| HTML+ERB | apache-2.0 | elzzup/annict,elzzup/annict,annict/annict,annict/annict,elzzup/annict,annict/annict,annict/annict |
935ac6c959b1e0955787b54760967315d0290996 | app/views/common/_category_nav.html.erb | app/views/common/_category_nav.html.erb | <ul class="nav nav-pills nav-stacked">
<% @categories.each do |category| %>
<li class="<%= @category == category ? "active" : "" %>">
<%= link_to category.description, items_path(category_id: category.id) %>
</li>
<% end %>
</ul>
<a href="<%= new_category_path %>" type="button" class="btn btn-primary ... | <ul id="category_nav" class="nav nav-pills nav-stacked">
<% @categories.each do |category| %>
<li class="<%= @category == category ? "active" : "" %>">
<%= link_to category.description, items_path(category_id: category.id) %>
</li>
<% end %>
</ul>
<a href="<%= new_category_path %>" type="button" class... | Add id to the category ul for styling | Add id to the category ul for styling
| HTML+ERB | mit | icodeclean/StockAid,on-site/StockAid,icodeclean/StockAid,on-site/StockAid,icodeclean/StockAid,on-site/StockAid |
0f9fd2350228e82201b7657bc4e7025ffa2230a1 | app/views/pageflow/pages/_page.html.erb | app/views/pageflow/pages/_page.html.erb | <%= cache page do %>
<%= content_tag :section, :id => page.perma_id, :class => page_css_class(page), :data => {:template => page.template, :id => page.id, :chapter_id => page.chapter_id} do %>
<%= render_page_template(page, entry: entry) %>
<a class="to_top" href="#content"><%= t('pageflow.public.goto_top') %... | <%= cache page do %>
<%= content_tag(:section,
id: page.perma_id,
class: page_css_class(page),
data: {
template: page.template,
id: page.id, chapter_id: page.chapter_id
}) do -%>
<% concat(render_page_t... | Move top links out of page sections | Move top links out of page sections
Fix React render warnings by removing whitespace and other nodes which
are not rendered by React from page section elements.
| HTML+ERB | mit | codevise/pageflow,codevise/pageflow,tf/pageflow,tf/pageflow,codevise/pageflow,codevise/pageflow,tf/pageflow,tf/pageflow |
82b0ed6ac790d238c62bd4688ec6948c00f22b9c | app/views/reviews/_new_comment.html.erb | app/views/reviews/_new_comment.html.erb |
<div class = container>
<%= form_for [@review,@comment] do |f|%>
<div class="field">
<%= f.label :body %>
<%= f.text_field :body %>
</div>
<div class="field">
<%= f.check_box :anonymous,{}, checked_value = true, unchecked_value = false %>
<%= f.label :anonymous %>
</div>
<div class="act... | Create new partital for the comment | Create new partital for the comment
| HTML+ERB | mit | husseinmaad/open-div,husseinmaad/open-div,husseinmaad/open-div | |
7590097397d47febd7ad02bf145ba40ee5c2716f | 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:
daysToKeep: 30
triggers:
- time... | ---
- 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:
daysToKeep: 30
triggers:
- time... | Update record taxonomy metrics Jenkins job | Update record taxonomy metrics Jenkins job
Running the tasks to record taxonomy metrics is consolidated in
a single 'record_all' Rake task. This change changes the Jenkins
job to run this single task instead of the individual recording
tasks.
See also: https://github.com/alphagov/content-tagger/pull/611
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
96dd4253c1fb3521aa77764cd41b3380d6be2b77 | recycling-helper/app/views/cities/show.html.erb | recycling-helper/app/views/cities/show.html.erb | <p id="notice"><%= notice %></p>
<h2>Welcome to <%= @city.name %>, <%= @city.state %> </h2>
<h4><%= @city.state %>, <%= @city.zip %></h4>
<!-- <p>
<strong>Name:</strong>
<%= @city.name %>
</p>
<p>
<strong>State:</strong>
<%= @city.state %>
</p>
<p>
<strong>Zip:</strong>
<%= @city.zip %>
</p> -->
<% @city... | <p id="notice"><%= notice %></p>
<h2>Welcome to <%= @city.name %>, <%= @city.state %> </h2>
<h4><%= @city.zip %></h4>
<% @city.bins.each do |bin| %>
<div>The following items can be thrown in the <%= bin.name %> bin: </div>
<p><% bin.categories.each do |category| %>
<p><b><div><%= category.name %></div></b></p>
... | Fix issue where all items for a category were displayed on city show. | Fix issue where all items for a category were displayed on city show.
Instead, we display only the items in that category which can be
recycled by the city.
| HTML+ERB | mit | hmc-cs-rpan/cs121-recycling,hmc-cs-rpan/cs121-recycling,hmc-cs-rpan/cs121-recycling |
aebf96ae95e82c7ed3e3ea67850b934ac2655c6e | lib/smart_answer_flows/marriage-abroad/outcomes/countries/south-africa/third_country/partner_other/_opposite_sex.govspeak.erb | lib/smart_answer_flows/marriage-abroad/outcomes/countries/south-africa/third_country/partner_other/_opposite_sex.govspeak.erb |
Contact the [relevant local authorities](http://www.dha.gov.za/index.php/civic-services/marriage-certificates) in South Africa to find out about local marriage laws, including what documents you’ll need.
^You should [get legal advice](/government/collections/list-of-lawyers) and check the [travel advice for South Afr... |
Contact the [relevant local authorities](http://www.dha.gov.za/index.php/civic-services/marriage-certificates) in South Africa to find out about local marriage laws, including what documents you’ll need.
^You should [get legal advice](/government/collections/list-of-lawyers) and check the [travel advice for South Afr... | Add appointment link for explanatory letter | Add appointment link for explanatory letter | HTML+ERB | mit | aledelcueto/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers |
e952edaaa5383d98e242332016e9d547b2c510e1 | app/views/yoolk_styleguide/components/panels/_heading_right.html.erb | app/views/yoolk_styleguide/components/panels/_heading_right.html.erb | <h3 id="panels-heading-right">Panel with heading right</h3>
<div class="bs-example">
<div class="panel">
<div class="panel-heading">
<h3 class="panel-title">Panel title</h3>
<span class="panel-heading-right"><span class="label">Default</span></span>
</div>
Panel content
</div>
</div>
<%= hi... | <h3 id="panels-heading-right">Panel with heading right</h3>
<div class="bs-example">
<div class="panel">
<div class="panel-heading">
<h3 class="panel-title">Panel title</h3>
<span class="panel-heading-right"><span class="label label-default">Default</span></span>
</div>
Panel content
</div>
... | Add label-default to panel heading right | Add label-default to panel heading right
| HTML+ERB | mit | yoolk/yoolk-styleguide,yoolk/yoolk-styleguide |
721a101f120897e46e685460cac51a46bfb665c1 | puppet/zulip/templates/uwsgi.ini.template.erb | puppet/zulip/templates/uwsgi.ini.template.erb | [uwsgi]
socket=/home/zulip/deployments/uwsgi-socket
module=zproject.wsgi:application
chdir=/home/zulip/deployments/current/
master=true
chmod-socket=700
chown-socket=zulip:zulip
processes=<%= @uwsgi_processes %>
harakiri=20
buffer-size=<%= @uwsgi_buffer_size %>
listen=<%= @uwsgi_listen_backlog_limit %>
post-buffering=4... | [uwsgi]
# Basic environment
env=LANG=C.UTF-8
uid=zulip
gid=zulip
# Where the main application is located
chdir=/home/zulip/deployments/current/
module=zproject.wsgi:application
# Start a master process listening on this socket
master=true
chmod-socket=700
chown-socket=zulip:zulip
socket=/home/zulip/deployments/uwsgi-... | Reorganize and comment uwsgi.ini file. | puppet: Reorganize and comment uwsgi.ini file.
As the uwsgi documentation is somewhat obtuse, more comments are added
here than might usually be.
| HTML+ERB | apache-2.0 | rht/zulip,andersk/zulip,rht/zulip,rht/zulip,zulip/zulip,zulip/zulip,zulip/zulip,andersk/zulip,rht/zulip,andersk/zulip,zulip/zulip,andersk/zulip,zulip/zulip,zulip/zulip,rht/zulip,andersk/zulip,rht/zulip,andersk/zulip,andersk/zulip,rht/zulip,zulip/zulip |
f72158fda25731d02c6a00da7e183fe223398531 | app/flows/marriage_abroad_flow/outcomes/countries/peru/uk/partner_local/_same_sex.erb | app/flows/marriage_abroad_flow/outcomes/countries/peru/uk/partner_local/_same_sex.erb | You may be able to register a civil partnership or get married at the British embassy or consulate in Peru.
[Make an appointment at the embassy in Lima.](https://www.book-consular-appointment.service.gov.uk/TimeSelection?location=125&service=10)
##What documents you’ll need
You need to have been living in Peru for 2... | It’s not possible to get legal recognition for your same-sex relationship in Jordan.
| Remove same-sex option for Peru - UK, local 1 | Remove same-sex option for Peru - UK, local 1 | HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
4a585e939d5e0e75cbc39f6efe4c81b1e8e545b0 | lib/smart_answer_flows/childcare-costs-for-tax-credits/questions/old_weekly_amount_1.govspeak.erb | lib/smart_answer_flows/childcare-costs-for-tax-credits/questions/old_weekly_amount_1.govspeak.erb | <% content_for :title do %>
What was the old average weekly amount you gave the Tax Credit Office?
<% end %>
<% content_for :body do %>
If you don’t know what your previous childcare costs were, check your award or renewal notice.
Round the total up to the nearest pound.
<% end %>
| <% content_for :title do %>
What was the old average weekly amount you gave the Tax Credit Office?
<% end %>
<% content_for :post_body do %>
If you don’t know what your previous childcare costs were, check your award or renewal notice.
<% end %>
<% content_for :hint do %>
Round the total up to the nearest pound... | Split body into post_body and hint | Split body into post_body and hint
| HTML+ERB | mit | aledelcueto/smart-answers,alphagov/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers |
2a94a51f01a33aff9be11c3b0064131c8c472bca | lib/smart_answer_flows/marriage-abroad/outcomes/countries/mayotte/_title.govspeak.erb | lib/smart_answer_flows/marriage-abroad/outcomes/countries/mayotte/_title.govspeak.erb | <% if calculator.want_to_get_married? %>
Marriage in Mayotte
<% else %>
PACS in Mayotte
<% end %>
| <% if calculator.ceremony_country_is_french_overseas_territory? %>
Marriage in Mayotte
<% end %>
| Add correct title for Mayotte as French Overseas Territory | Add correct title for Mayotte as French Overseas Territory
| HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
2c6f8639fd645234b08654538e20bf5bf0f257ec | lib/smart_answer_flows/business-coronavirus-support-finder/business_coronavirus_support_finder.govspeak.erb | lib/smart_answer_flows/business-coronavirus-support-finder/business_coronavirus_support_finder.govspeak.erb | <% content_for :title do %>
Find coronavirus financial support for your business
<% end %>
<% content_for :meta_description do %>
Coronavirus (COVID-19) support is available to employers and the
self-employed. You may be eligible for loans, tax relief and cash grants,
whether your business is open or closed.
<... | <% content_for :title do %>
Find coronavirus financial support for your business
<% end %>
<% content_for :meta_description do %>
Coronavirus (COVID-19) support is available to employers and the
self-employed. You may be eligible for loans, tax relief and cash grants,
whether your business is open or closed.
<... | Fix missing content coronavirus business support start page. | Fix missing content coronavirus business support start page.
Content was added to the meta description, but missed for the
description block.
| HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
74b73fca651c497fc361b37ebd70bcf785a83d85 | cookbooks/tilecache/templates/default/logrotate.squid.erb | cookbooks/tilecache/templates/default/logrotate.squid.erb | # DO NOT EDIT - This file is being maintained by Chef
/var/log/squid/*.log {
daily
compress
compresscmd /usr/bin/xz
uncompresscmd /usr/bin/unxz
compressext .xz
rotate 2
missingok
nocreate
sharedscripts
postrotate
test ! -e /var/run/squid.pid || /usr/sbin/squid -k rotate
/usr/bin/rsync /var/... | # DO NOT EDIT - This file is being maintained by Chef
/var/log/squid/*.log {
daily
compress
compresscmd /usr/bin/xz
uncompresscmd /usr/bin/unxz
compressext .xz
rotate 2
missingok
nocreate
sharedscripts
postrotate
test ! -e /var/run/squid.pid || /usr/sbin/squid -k rotate
endscript
lastaction... | Move log copying to a lastaction scriptlet | Move log copying to a lastaction scriptlet
| HTML+ERB | apache-2.0 | tomhughes/openstreetmap-chef,openstreetmap/chef,gravitystorm/chef,gravitystorm/chef,Firefishy/chef,openstreetmap/chef,Firefishy/chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,gravitystorm/chef,Firefishy/chef,Firefishy/chef,zerebubuth/openstreetmap-chef,gravitystorm... |
61f4fbd1d43ef403022c52a3291d771abad16d80 | app/views/users/settings/organizations/_destroy_user_organization_modal_body.html.erb | app/views/users/settings/organizations/_destroy_user_organization_modal_body.html.erb | <%= bootstrap_form_for user_organization, url: destroy_user_organization_path(user_organization, format: :json), remote: :true, method: :delete, data: { id: "destroy-user-organization-form" } do |f| %>
<p><%= t("users.settings.organizations.edit.destroy_uo_message", user: user_organization.user.full_name, org: user_o... | <%= bootstrap_form_for user_organization, url: destroy_user_organization_path(user_organization, format: :json), remote: :true, method: :delete, data: { id: "destroy-user-organization-form" } do |f| %>
<p><%= t("users.settings.organizations.edit.destroy_uo_message", user: user_organization.user.full_name, org: user_o... | Remove warning info when removing pending user from organization | Remove warning info when removing pending user from organization
| HTML+ERB | mpl-2.0 | Ducz0r/scinote-web,Ducz0r/scinote-web,mlorb/scinote-web,mlorb/scinote-web,Ducz0r/scinote-web,mlorb/scinote-web |
c3f6477063e8eaa38c3098e79de23ade28fd345b | plugins/fb_app/views/fb_app_plugin_page_tab/_configure_query.html.erb | plugins/fb_app/views/fb_app_plugin_page_tab/_configure_query.html.erb | <%= f.label t("fb_app_plugin.views.myprofile.catalogs.query_label") %>
<%= f.text_field :query, placeholder: t('fb_app_plugin.views.page_tab.query.placeholder') %>
| <%= f.label t("fb_app_plugin.views.myprofile.catalogs.query_label") %>
<%= f.text_field :query, placeholder: t('fb_app_plugin.views.page_tab.query.placeholder'), class: 'form-control' %>
| Add form-control to query select | Add form-control to query select | HTML+ERB | agpl-3.0 | coletivoEITA/noosfero-ecosol,blogoosfero/noosfero,blogoosfero/noosfero,blogoosfero/noosfero,blogoosfero/noosfero,blogoosfero/noosfero,CIRANDAS/noosfero-ecosol,EcoAlternative/noosfero-ecosol,EcoAlternative/noosfero-ecosol,samasti/noosfero,blogoosfero/noosfero,EcoAlternative/noosfero-ecosol,coletivoEITA/noosfero-ecosol,s... |
5fb6cb53c27714c654915537a8ad38cf56668c69 | modules/foreman/templates/assets.erb | modules/foreman/templates/assets.erb | <Directory /usr/share/foreman/public/assets>
# Use standard http expire header for assets instead of ETag
<IfModule mod_expires.c>
Header unset ETag
FileETag None
ExpiresActive On
ExpiresDefault "access plus 1 year"
</IfModule>
# Return compressed assets if they are precompiled
<IfModule mod... |
# Use standard http expire header for assets instead of ETag
<IfModule mod_expires.c>
Header unset ETag
FileETag None
ExpiresActive On
ExpiresDefault "access plus 1 year"
</IfModule>
# Return compressed assets if they are precompiled
<IfModule mod_rewrite.c>
RewriteEngine on
# Make s... | Add rewrite rules in the right section for Foreman vhost | Add rewrite rules in the right section for Foreman vhost
| HTML+ERB | apache-2.0 | apache/infrastructure-puppet,stumped2/infrastructure-puppet,chtyim/infrastructure-puppet,bdube/infrastructure-puppet,stumped2/infrastructure-puppet,chtyim/infrastructure-puppet,apache/infrastructure-puppet,sebbASF/infrastructure-puppet,stumped2/infrastructure-puppet,bdube/infrastructure-puppet,sebbASF/infrastructure-pu... |
a140e8f7d29379991f53327452b47cfbce7c652d | app/views/layouts/_google_analytics.html.erb | app/views/layouts/_google_analytics.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.i... | <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.i... | Fix bug in google_analytics partial so tid is passed as a string. | Fix bug in google_analytics partial so tid is passed as a string.
| HTML+ERB | mit | SplitTime/OpenSplitTime,voltagead/OpenSplitTime,voltagead/OpenSplitTime,SplitTime/OpenSplitTime,SplitTime/OpenSplitTime,voltagead/OpenSplitTime |
005292df06e585eb17d89470eded56f59d04d2a5 | app/views/shared/_introduce_podcast_apps.html.erb | app/views/shared/_introduce_podcast_apps.html.erb | <section id="app" class="text-center grayscale-bg" style="padding-top: 50px; padding-bottom: 100px;">
<h3 id="subscribe" style="text-align: center; padding-top: 50px; padding-bottom: 10px;">🎧 アプリで聴く</h3>
<a href="https://podcasts.apple.com/us/podcast/dojocast/id1458122473?itsct=podcast_box&itscg=30200" style="... | <section id="app" class="text-center grayscale-bg" style="padding-top: 50px; padding-bottom: 100px;">
<h3 id="subscribe" style="text-align: center; padding-top: 50px; padding-bottom: 10px;">🎧 アプリで聴く</h3>
<a href="https://podcasts.apple.com/us/podcast/dojocast/id1458122473?itsct=podcast_box&itscg=30200" style="... | Enable lazyload for Listen on Apple image | Enable lazyload for Listen on Apple image
| HTML+ERB | mit | yasslab/coderdojo.jp,coderdojo-japan/coderdojo.jp,coderdojo-japan/coderdojo.jp,yasslab/coderdojo.jp,yasslab/coderdojo.jp,coderdojo-japan/coderdojo.jp,coderdojo-japan/coderdojo.jp |
53266c101ee06aa10441b485526f692ddb6ee143 | app/views/styleguide/pages/locations_invalid.erb | app/views/styleguide/pages/locations_invalid.erb | <% content_for(:page_title, t('styleguide.title', page_title: 'Locations near you')) %>
<h1>Face-to-face appointments near sw</h1>
<p class="t-invalid-postcode"><strong>sw</strong> is not a valid postcode. Please try again.</p>
<form action="/styleguide/pages/locations-index" method="get">
<label class="form-label... | <% content_for(:page_title, t('styleguide.title', page_title: 'Locations near you')) %>
<h1>Face-to-face appointments near sw</h1>
<form action="/styleguide/pages/locations-index" method="get">
<div class="form-group error">
<label class="form-label-bold" for="location">
<span class="visuallyhidden">Find ... | Improve invalid postcode feedback in style guide | Improve invalid postcode feedback in style guide
| HTML+ERB | mit | guidance-guarantee-programme/pension_guidance,guidance-guarantee-programme/pension_guidance,guidance-guarantee-programme/pension_guidance |
b96a03136b2bfa21a73219020a8a0b9bc6eb346b | source/partials/_navigation.erb | source/partials/_navigation.erb | <div class="navigation">
<nav role="navigation">
<ul class="navigation-menu">
<li class="nav-link"><%= link_to "home", '/' %></li>
<li class="nav-link"><%= link_to "jots", '/jots' %></li>
<li class="nav-link"><%= link_to "projects", '/projects' %></li>
</ul>
</nav>
<div id="search">
... | <div class="navigation">
<nav role="navigation">
<ul class="navigation-menu">
<li class="nav-link"><%= link_to "home", '/' %></li>
<li class="nav-link"><%= link_to "jots", '/jots' %></li>
<li class="nav-link"><%= link_to "projects", '/projects' %></li>
<li class="nav-link"><%= link_to "aca... | Add an “academia” section to the main nav | Add an “academia” section to the main nav
| HTML+ERB | mit | smargh/fractaled_mind,smargh/fractaled_mind,fractaledmind/fractaled_mind,smargh/fractaled_mind,fractaledmind/fractaled_mind,smargh/fractaled_mind,fractaledmind/fractaled_mind,fractaledmind/fractaled_mind |
123ff106a0e6a41c223755cf5b9c1273ea4847fe | app/views/pages/privacy.html.erb | app/views/pages/privacy.html.erb | <p>
<h1>Trailmix Privacy Policy</h1>
</p>
<h3>Your entries are private.</h3>
<p>
Your entries are not publicly-accessible. They can only be viewed by logging
into your account or when sent to you via email.
</p>
<p>
We will never view your entries unless absolutely necessary for technical
reasons, such as ... | <p>
<h1>Trailmix Privacy Policy</h1>
</p>
<h3>Your entries are private.</h3>
<p>
Your entries are not publicly-accessible. They can only be viewed by logging
into your account or when sent to you via email.
</p>
<p>
We will never view your entries unless absolutely necessary for technical
reasons, such as ... | Clarify users can delete their own accounts | Clarify users can delete their own accounts
| HTML+ERB | mit | codecation/trailmix,codecation/trailmix,codecation/trailmix,codecation/trailmix |
a740395150a2c3afeed975f99cd92df1611a6b8f | app/views/projects/show.html.erb | app/views/projects/show.html.erb | <h1><%= @project.title %></h1>
<% if is_professor? %>
<h3><%= @project.remaining_time %> hours remaining</h3>
<% if @project.remaining_time < 0 %>
<div id="errors">
<h4>over budget</h4>
</div>
<% end %>
<% elsif is_student? %>
<h3><%= @student_total_hours %> hours worked on this project</h3>
<% end %>
<h3><%=... | <h1><%= @project.title %></h1>
<% if is_professor? %>
<h3><%= @project.remaining_time %> hours remaining</h3>
<% if @project.remaining_time < 0 %>
<div id="errors">
<h4>over budget</h4>
</div>
<% end %>
<% elsif is_student? %>
<h3><%= @student_total_hours %> hours worked on this project</h3>
<% end %>
<h3><%=... | Add errors to the project show page for when records are created | Add errors to the project show page for when records are created
| HTML+ERB | mit | Kunal57/Research_Tracker,Kunal57/Research_Tracker,Kunal57/Research_Tracker |
77d421aae70b2d40dd82e82671186f8fbf51d788 | app/views/welcome/index.html.erb | app/views/welcome/index.html.erb | <%= render 'requests/new_request_form', request: Request.new %>
<%= button_to 'Group Activity', river_path, method: 'get' %>
<%= button_to 'Active Requests', active_path, method: 'get' %>
<%= button_to 'Your History', history_path, method: 'get' %>
<%= button_to 'Moved? Update Your Neighborhood', groups_assign_path, me... | <%= render 'requests/new_request_form', request: Request.new %>
<%= button_to 'Group Activity', river_path, method: 'get' %>
<%= button_to 'Active Requests', active_path, method: 'get' %>
<%= button_to 'Your History', history_path, method: 'get' %>
<%= button_to 'Moved? Update Your Neighborhood', groups_assign_path, me... | Add a small styling fix. | Add a small styling fix.
| HTML+ERB | mit | nyc-mud-turtles-2015/nghborly,kimchanyoung/nghborly,nyc-mud-turtles-2015/nghborly,kimchanyoung/nghborly,kimchanyoung/nghborly,nyc-mud-turtles-2015/nghborly |
e33c378c7844f9694950b9e8762dd7062620fda3 | app/views/questions/new.html.erb | app/views/questions/new.html.erb | <div class="questionapp">
<section id="question_builder">
<header class="question_header">
<h1>New Question</h1>
<textarea class="new_question" placeholder="What would you like to know?" cols="75" rows="1" autofocus></textarea>
<button>Formulate</button>
</header>
<section class="formulated_question">... | <div class="questionapp">
<section id="question_builder">
<header class="question_header">
<h1>New Question</h1>
<textarea class="new_question" placeholder="What would you like to know?" cols="75" rows="1" autofocus></textarea>
<button>Formulate</button>
</header>
<section class="formulated_question">... | Add potential templates for tags and questions using handlebars templating to new question view | Add potential templates for tags and questions using handlebars templating to new question view
| HTML+ERB | cc0-1.0 | red-spotted-newts-2014/food-overflow,red-spotted-newts-2014/food-overflow |
94ff09042c95afb4466f1ca47c56dc748a1ba1b5 | app/views/responses/new.html.erb | app/views/responses/new.html.erb |
<%= form_for @response, url: {action: "create"} do |f| %>
<div>
<%= f.label :content, 'Make a Comment:'%><br>
<%= f.text_area :content, size: "24x6" %>
</div>
<div>
<%= f.submit 'comment' %>
</div>
<% end %>
| Add view to create new comment | Add view to create new comment
| HTML+ERB | mit | jeder28/stack_overphil,jeder28/stack_overphil,jeder28/stack_overphil | |
665bbd38e3a9d36176b96845ad1467d3e83bc9e3 | app/views/suspensions/edit.html.erb | app/views/suspensions/edit.html.erb | <% content_for :title, "Suspend [#{@user.name}]" %>
<ol class="breadcrumb">
<li><%= link_to @user.name, user_path(@user) %></li>
<li class="active">Suspend</li>
</ol>
<h1 class="page-title">Suspend “<%= @user.name %>”</h1>
<%= form_tag suspension_path(@user), method: "put", :class => 'well remove-top... | <% content_for :title, "Suspend [#{@user.name}]" %>
<ol class="breadcrumb">
<li><%= link_to @user.name, user_path(@user) %></li>
<li class="active">Suspend</li>
</ol>
<h1 class="page-title">Suspend “<%= @user.name %>”</h1>
<%= form_tag suspension_path(@user), method: "put", :class => 'well remove-top... | Add note about password reset after unsuspension | Add note about password reset after unsuspension
| HTML+ERB | mit | alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2 |
4bf88291b8f19895f782ad4395e73ab1a8a601b0 | app/views/users/_new_modal.html.erb | app/views/users/_new_modal.html.erb | <div id='modal-register' class='modal'>
<div class='modal-content'>
<span class='close'>x</span>
<div class="pure-g">
<div class="pure-u-1-3">
<% if flash[:user_create_error] %>
<div class="error"><%= flash[:user_create_error] %></div>
<% end %>
<% if flash[:user_su... | <div id='modal-register' class='modal'>
<div class='modal-content'>
<span class='close'>x</span>
<div class="pure-g">
<div class="pure-u-1">
<% if flash[:user_create_error] %>
<div class="error"><%= flash[:user_create_error] %></div>
<% end %>
<% if flash[:user_succ... | Update pure grid to u-1. | Update pure grid to u-1.
| HTML+ERB | mit | pdynowski/best-thing-ever,pdynowski/best-thing-ever,pdynowski/best-thing-ever |
d40a2cff05298b0bb7da96aa1f51350811b8115f | app/views/walls/_wall_post.html.erb | app/views/walls/_wall_post.html.erb | <%= link_to_function 'Post a message', "Element.show('wall_message'); $('message_body').focus();" %>
on <%=h @person.name_possessive %> wall.
<div id="wall_message">
<% form_for Message.new(:wall => @person), :html => {:style => 'border:none;'} do |form| %>
<%= form.hidden_field :wall_id %>
<em>All users wil... | <%= link_to_function 'Post a message', "Element.show('wall_message'); $('message_body').focus();" %>
on <%=h @person.name_possessive %> wall.
<div id="wall_message">
<% form_for Message.new(:wall => @person), :html => {:style => 'border:none;'} do |form| %>
<%= form.hidden_field :wall_id %>
<em>All users wil... | Fix link to new private message (thanks to Ben Hudson). | Fix link to new private message (thanks to Ben Hudson).
| HTML+ERB | agpl-3.0 | 0612800232/sns_shop,klarkc/onebody,brunoocasali/onebody,calsaviour/onebody,calsaviour/onebody,tmecklem/onebody,cessien/onebody,davidleach/onebody,AVee/onebody,ferdinandrosario/onebody,dorman/onebody,hooray4me/onebody2,Capriatto/onebody,fadiwissa/onebody,mattraykowski/onebody,moss-zc/sns_shop,pgmcgee/onebody,ferdinandro... |
67e51261831288d1790690bec471842011beca66 | app/views/assets/_asset.html.erb | app/views/assets/_asset.html.erb | <% cache [asset] do %>
<a class="deprecated-card" href="<%= asset.url %>">
<div class="deprecated-card-hero hover-toggle-wrapper" style="background-image:url(<%= firesize(asset.url, '426x284', 'g_center')%>)">
<% if signed_in? && (asset.product.core_team?(current_user) || current_user.staff?) %>
<a... | <% cache [asset] do %>
<span class="deprecated-card">
<div class="deprecated-card-hero hover-toggle-wrapper" style="background-image:url(<%= firesize(asset.url, '426x284', 'g_center')%>)">
<% if signed_in? && (asset.product.core_team?(current_user) || current_user.staff?) %>
<a href="<%= product_as... | Fix nested anchor tag issue on assets page | Fix nested anchor tag issue on assets page
Browsers were interpreting the delete button differently and occasionally making it difficult to delete an asset (in Safari, for example)
| HTML+ERB | agpl-3.0 | lachlanjc/meta,assemblymade/meta,assemblymade/meta,lachlanjc/meta,lachlanjc/meta,assemblymade/meta,assemblymade/meta,lachlanjc/meta |
2f9fd92743d33c2bf64dffeb0e2bbb75857ebc1b | app/views/welcome/index.html.erb | app/views/welcome/index.html.erb | <div id="main" class="container">
<div class="row">
<div class="main-container">
<div class="title-container">
<a href="/" class="title"><span class="claremont">Claremont</span><span class="dark-col">review</span></a>
<div class="title-description">Search for classes and professors.</div>
... | <div id="main" class="container">
<div class="row">
<div class="main-container">
<div class="title-container">
<a href="/" class="title"><span class="claremont">Claremont</span><span class="dark-col">review</span></a>
<div class="title-description">Search for classes, departments, and profe... | Revert "Removed departments in welcome page" | Revert "Removed departments in welcome page"
This reverts commit 46d006e565fe019bbfc46fee9fd085ccc4cbf2d6.
| HTML+ERB | mit | mesch-hmc/Claremontreview,mesch-hmc/Claremontreview,mesch-hmc/Claremontreview,mesch-hmc/Claremontreview |
b7a9b949fc214ce39bee4a8bd1621669305ded43 | core/app/views/spree/admin/shared/_tabs.html.erb | core/app/views/spree/admin/shared/_tabs.html.erb | <%= tab :overview, :route => :admin, :icon => 'icon-dashboard' %>
<%= tab :orders, :payments, :creditcard_payments, :shipments, :credit_cards, :return_authorizations, :icon => 'icon-shopping-cart' %>
<%= tab :products , :option_types, :properties, :prototypes, :variants, :product_properties, :taxons, :icon => 'icon-th-... | <%= tab :overview, :route => :admin, :icon => 'icon-dashboard' %>
<%= tab :orders, :payments, :creditcard_payments, :shipments, :credit_cards, :return_authorizations, :icon => 'icon-shopping-cart' %>
<%= tab :products , :option_types, :properties, :prototypes, :variants, :product_properties, :taxons, :icon => 'icon-th-... | Fix for improperly namespaced url in admin | Fix for improperly namespaced url in admin
Without this change controllers which are:
a) outside of the Spree module namespace and
b) inherit from Spree::Admin::BaseController and
c) are routed inside the application's routing, not Spree's
will not be able to determine the url and their views will not
compile.
Fixes... | HTML+ERB | bsd-3-clause | lzcabrera/spree-1-3-stable,lzcabrera/spree-1-3-stable,lzcabrera/spree-1-3-stable |
5b5ac64483e5571a0c518e19649c773f54cca71d | app/views/devise/sessions/new.html.erb | app/views/devise/sessions/new.html.erb | <div class="panel panel-default">
<div class="panel-heading">
<h4><%= t('.sign_in', :default => "Sign in") %></h4>
</div>
<div class="panel-body">
<%= form_for(resource, as: resource_name, url: session_path(resource_name), html: { role: "form" }) do |f| %>
<div class="form-group">
<%= f.labe... | <div class="panel panel-default">
<div class="panel-heading">
<h4><%= t('.sign_in', :default => "Sign in") %></h4>
</div>
<div class="panel-body">
<%= form_for(resource, as: resource_name, url: session_path(resource_name), html: { role: "form" }) do |f| %>
<div class="form-group">
<%= f.labe... | Fix remember_me check box in new session file | Fix remember_me check box in new session file | HTML+ERB | mit | hisea/devise-bootstrap-views,hisea/devise-bootstrap-views |
2b2db4e58c3d0f5c019b95e2a4e5a2a5154f8719 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <% content_for :head do %>
<%= stylesheet_link_tag "application", media: "all" %>
<%= javascript_include_tag 'application' %>
<%= csrf_meta_tags %>
<% end %>
<% content_for :navbar_items do %>
<% if user_can_administer_taxonomy? %>
<li class='<%= active_navigation_item == 'taggings' ? 'active' : nil %>'>
... | <% content_for :head do %>
<%= stylesheet_link_tag "application", media: "all" %>
<%= javascript_include_tag 'application' %>
<%= csrf_meta_tags %>
<% end %>
<% content_for :navbar_items do %>
<% if user_can_administer_taxonomy? %>
<li class='<%= active_navigation_item == 'taggings' ? 'active' : nil %>'>
... | Include project_content_items in the scope for the Project tab | Include project_content_items in the scope for the Project tab
| HTML+ERB | mit | alphagov/content-tagger,alphagov/content-tagger,alphagov/content-tagger |
0942373ee42a8bf747aff2cc07e1a755fb91d245 | templates/default/rspec_env.erb | templates/default/rspec_env.erb | # Copy this to .env and update values
WEB_HOST=localhost # Web host local or remote
WEB_PORT=8080 # Web port local or remote
DB_HOST=localhost # Database host local or remote
DB_PORT=3306 ... | # Copy this to .env and update values
WEB_HOST=localhost # Web host local or remote
WEB_PORT=8080 # Web port local or remote
DB_HOST=localhost # Database host local or remote
DB_PORT=3306 ... | Add platform entry to distinguish where tests fail | Add platform entry to distinguish where tests fail
| HTML+ERB | apache-2.0 | AlexHopsworks/karamel-chef_dela,SirOibaf/karamel-chef,hopshadoop/karamel-chef,SirOibaf/karamel-chef,hopshadoop/karamel-chef,hopshadoop/karamel-chef,SirOibaf/karamel-chef,AlexHopsworks/karamel-chef_dela,hopshadoop/karamel-chef,SirOibaf/karamel-chef,AlexHopsworks/karamel-chef_dela,AlexHopsworks/karamel-chef_dela |
040e7c3a925f26a759722e90dcfb26a832c75a2a | test/dummy/app/views/events/_simple_form.html.erb | test/dummy/app/views/events/_simple_form.html.erb | <%= simple_form_for(@event, remote: true, authenticity_token: true) do |f| %>
<% if @event.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@event.errors.count, "error") %> prohibited this event from being saved:</h2>
<ul>
<% @event.errors.full_messages.each do |message| %>
... | <%= simple_form_for(@event, remote: true, authenticity_token: true) do |f| %>
<% if @event.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@event.errors.count, "error") %> prohibited this event from being saved:</h2>
<ul>
<% @event.errors.full_messages.each do |message| %>
... | Add form-group class to simple form | Add form-group class to simple form
| HTML+ERB | mit | benignware/schedulable,benignware/schedulable,benignware/schedulable |
c9f0fe19ee96a2efd788cad4583fd86bc2d2631f | lib/generators/hyrax/work/templates/model.rb.erb | lib/generators/hyrax/work/templates/model.rb.erb | # Generated via
# `rails generate hyrax:work <%= class_name %>`
class <%= class_name %> < ActiveFedora::Base
include ::Hyrax::WorkBehavior
# This must come after the WorkBehavior because it finalizes the metadata
# schema (by adding accepts_nested_attributes)
include ::Hyrax::BasicMetadata
self.indexer = <%... | # Generated via
# `rails generate hyrax:work <%= class_name %>`
class <%= class_name %> < ActiveFedora::Base
include ::Hyrax::WorkBehavior
self.indexer = <%= class_name %>Indexer
# Change this to restrict which works can be added as a child.
# self.valid_child_concerns = []
validates :title, presence: { mes... | Work generator: move BasicMetadata mixin to bottom of class | Work generator: move BasicMetadata mixin to bottom of class
| HTML+ERB | apache-2.0 | samvera/hyrax,samvera/hyrax,samvera/hyrax,samvera/hyrax |
94d0d28d56e75db52dad34c2963fa6ad36062836 | app/views/jobs/show.html.erb | app/views/jobs/show.html.erb | <div id="individual-job">
<p><%= link_to 'Back to search results', :back %></p>
<h1><%= @job['title'] %></h1>
<p class="employer"><%= @job['employer_name'].presence || "No employer information." %></p>
<p class="location"><%= @job['location_name'].presence || "No location information." %></p>
<div class="jo... | <div id="individual-job">
<p><%= link_to 'Back to search results', :back %></p>
<h1><%= @job['title'] %></h1>
<p class="employer"><%= @job['employer_name'].presence || "No employer information." %></p>
<p class="location"><%= @job['location_name'].presence || "No location information." %></p>
<div class="jo... | Remove messages from an individual job. | Remove messages from an individual job.
| HTML+ERB | mit | gds-attic/jobs,gds-attic/jobs,gds-attic/jobs |
91dc91b72563aa1096613d9890ffffd3c3bba639 | website/docs/source/404.html.erb | website/docs/source/404.html.erb | <h2>Page Not Found</h4>
<p>
Sorry, the page you tried to visit doesn't exist. This could be our fault,
and if so we'll fix that up right away. Please go back, or go back
<a href="/">home</a> to get back on track.
</p>
| <h2>Page Not Found</h2>
<p>
Sorry, the page you tried to visit doesn't exist. This could be our fault,
and if so we'll fix that up right away. Please go back, or go back
<a href="/">home</a> to get back on track.
</p>
| Fix invalid closing tag for 404 page | website: Fix invalid closing tag for 404 page
| HTML+ERB | mit | KillerDesigner/vagrant-parallels,legal90/vagrant-parallels,legal90/vagrant-parallels,KillerDesigner/vagrant-parallels,KillerDesigner/vagrant-parallels,legal90/vagrant-parallels,Parallels/vagrant-parallels,Parallels/vagrant-parallels,Parallels/vagrant-parallels |
7d956c9c901b61f9b3ffa6d64eec321d10aa6003 | lib/smart_answer_flows/business-coronavirus-support-finder/questions/annual_turnover.govspeak.erb | lib/smart_answer_flows/business-coronavirus-support-finder/questions/annual_turnover.govspeak.erb | <% content_for :title do %>
What is your annual turnover?
<% end %>
<% options(
"500m_and_over": "£500m and over",
"45m_to_500m": "£45m, and over, and under £500m",
"85k_to_45m": "£85,000, and over, and under £45m",
"under_85k": "Under £85,000",
) %>
| <% content_for :title do %>
What is your annual turnover?
<% end %>
<% options(
"500m_and_over": "£500 million and over",
"45m_to_500m": "£45 million to £500 million",
"85k_to_45m": "£85,000 to £45 million",
"under_85k": "Under £85,000",
) %>
| Update copy for annual turnover question | Update copy for annual turnover question
| HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
fb945937376a009bca4bffd594da7c978ad3410f | app/views/employees/new.html.erb | app/views/employees/new.html.erb | <h3>New employee</h3>
<%= form_for :employee, url: employees_path do |f| %>
<p>
<label>Name</label><br />
<%= f.text_field :name %>
</p>
<p>
<label>Contacts</label><br />
<%= f.text_area :contact %>
</p>
<p>
<label>Avaliable for job</label><br />
<%= f.check_box :search %>
</p>
<p>
<label>Money ... | <h3>New employee</h3>
<%= form_for :employee, url: employees_path do |f| %>
<p>
<label>Name</label><br />
<%= f.text_field :name %>
</p>
<p>
<label>Phone or mail</label><br />
<%= f.text_area :contact %>
</p>
<p>
<label>Avaliable for job</label><br />
<%= f.check_box :search %>
</p>
<p>
<label>M... | Update new view for employees | Update new view for employees
| HTML+ERB | mit | andyvesel/agency,andyvesel/agency,andyvesel/agency |
a318042f742ed8bc21d1a340ef1f92913e63280d | app/views/students/show.html.erb | app/views/students/show.html.erb | <p id="notice"><%= notice %></p>
<%= link_to 'Edit', edit_student_path(@student) %> |
<%= link_to 'Back', students_path %>
<%= link_to 'New Quiz Result', new_student_quiz_result_path(@quiz_result, student_id: @student.student_id) %>
<%= @student.category %>
<% @quiz_results.each do |r| %>
<hr>
<p> <b>Created at: <... | <p id="notice"><%= notice %></p>
<%= link_to 'Edit', edit_student_path(@student) %> |
<%= link_to 'Back', students_path %>
<br>
<p> Category: <%= @student.category %> </p>
<% if not current_admin %>
<%= link_to 'Take Quiz', new_student_quiz_result_path(@quiz_result, student_id: @student.student_id), class: 'btn btn... | Hide student links from admin | Hide student links from admin
| HTML+ERB | mit | famendola1/Worksheet-Digitalization,famendola1/Worksheet-Digitalization,famendola1/Worksheet-Digitalization |
ef8228bd34c9236484b7d274e670d383b0b7841d | core/app/views/spree/admin/payments/_form.html.erb | core/app/views/spree/admin/payments/_form.html.erb | <div data-hook="admin_payment_form_fields">
<p>
<%= f.label :amount, t(:amount) %>
<%= f.text_field :amount, :size => 8, :value => @order.outstanding_balance %>
</p>
<% @payment_methods.each do |method| %>
<label data-hook="payment_method">
<%= radio_button_tag 'payment[payment_method_id]', me... | <div data-hook="admin_payment_form_fields">
<p>
<%= f.label :amount, t(:amount) %>
<%= f.text_field :amount, :size => 8, :value => @order.outstanding_balance %>
</p>
<% @payment_methods.each do |method| %>
<label data-hook="payment_method_field">
<%= radio_button_tag 'payment[payment_method_id... | Rename payment_method hook in admin/payments/_form to payment_method_field | Rename payment_method hook in admin/payments/_form to payment_method_field
This hook conflicts with the hook in payment_methods/_form
Fixes #1737
| HTML+ERB | bsd-3-clause | omarsar/spree,dafontaine/spree,ckk-scratch/solidus,progsri/spree,locomotivapro/spree,RatioClothing/spree,maybii/spree,pulkit21/spree,Mayvenn/spree,bonobos/solidus,miyazawatomoka/spree,TrialGuides/spree,dotandbo/spree,Kagetsuki/spree,LBRapid/spree,NerdsvilleCEO/spree,FadliKun/spree,adaddeo/spree,pervino/solidus,keatonro... |
349dc894c746525c056cbba794e795329e9100f5 | lib/smart_answer_flows/am-i-getting-minimum-wage/questions/what_would_you_like_to_check.govspeak.erb | lib/smart_answer_flows/am-i-getting-minimum-wage/questions/what_would_you_like_to_check.govspeak.erb | <% content_for :title do %>
What would you like to check?
<% end %>
<% options(
"current_payment": "If you're getting the National Minimum Wage (from October 2015)",
"past_payment": "If an employer owes you past payments (before October 2015)",
) %>
| <% content_for :title do %>
What would you like to check?
<% end %>
<% options(
"current_payment": "If you're getting the National Minimum Wage (from October 2015) or the National Living Wage (from April 2016)",
"past_payment": "If an employer owes you past payments (before October 2015)"
) %>
| Update options copy of Question: `what_would_you_like_to_check` | Update options copy of Question: `what_would_you_like_to_check`
Copy should be updated to support the National Living Wage from
April 2016
| HTML+ERB | mit | stwalsh/smart-answers,alphagov/smart-answers,alphagov/smart-answers,stwalsh/smart-answers,alphagov/smart-answers,alphagov/smart-answers,stwalsh/smart-answers,aledelcueto/smart-answers,stwalsh/smart-answers,aledelcueto/smart-answers,aledelcueto/smart-answers,aledelcueto/smart-answers |
aa12ece10da19f9323f26a996131e20b05553ad1 | app/config.yml.erb | app/config.yml.erb | :base_path: <%= "#{ENV['GEMSTASH_HOME']}/data" %>
:cache_type: memory
:rubygems_url: https://rubygems.org
:puma_threads: 16
:bind: tcp://0.0.0.0:9292
:protected_fetch: false
:fetch_timeout: 20
:log_file: :stdout
<% if ENV['GEMSTASH_DB_ADAPTER'] == 'mysql2' %>
# mysql2 adapter
:db_adapter: mysql2
:db_url: <%= "mysql2:/... | :base_path: <%= "#{ENV['GEMSTASH_HOME']}/data" %>
:cache_type: memory
:rubygems_url: https://rubygems.org
:puma_threads: 16
:bind: tcp://0.0.0.0:9292
:protected_fetch: false
:fetch_timeout: 20
:log_file: :stdout
<% if ENV['GEMSTASH_DB_ADAPTER'] == 'mysql2' %>
# mysql2 adapter
:db_adapter: mysql2
:db_url: {}
:db_connec... | Configure mysql2 adapter as per official documentation | Configure mysql2 adapter as per official documentation
http://sequel.jeremyevans.net/rdoc/files/doc/opening_databases_rdoc.html#label-mysql2
http://www.rubydoc.info/gems/mysql2#Connection_options
| HTML+ERB | mit | Intellection/docker-gemstash,Intellection/docker-gemstash |
3b71c5633510ee910ef0ba0649f303d3000b902e | app/views/users/new.html.erb | app/views/users/new.html.erb | <div id="hero-background-register">
<h1 id="login-title">Move</h1>
<%= form_for(@user, url: {action: 'auth_local'}, html: { class: "card", role: "form", id: "login-form"}) do |f| %>
<div class="card-content">
<div class="row">
<div class="input-field col s12">
... | Make the register template for user registration. | New: Make the register template for user registration.
| HTML+ERB | mit | juanhenriquez/move-rails,juanhenriquez/move-rails,juanhenriquez/move-rails | |
ac5e1b2df871e2b1a86f9ccfc77f7b4bc79d8925 | app/views/users/new.html.erb | app/views/users/new.html.erb | <div class="login">
<h2>How does your communication stack up?</h2>
<div id="controls">
<label class="range-negative"><em>Negative</em></label>
<label class="range-positive"><em>Positive</em></label>
<input class="sentiment-spacing" type="range">
</div>
<p id="google-login"><%= link_to "Sign in with ... | <p id="google-login"><%= link_to "SIGN IN", "/auth/google_oauth2", id: "sign_in" %></p>
<div class="login">
<h1>TheFeels</h1>
<i class="fa fa-heart-o fa-5x fa-landing" aria-hidden="true"></i> <i class="fa fa-heart-o fa-5x fa-landing" aria-hidden="true"></i> <i class="fa fa-heart-o fa-5x fa-landing" aria-hidden="tru... | Change text for landing page and add font awesome heart | Change text for landing page and add font awesome heart
| HTML+ERB | apache-2.0 | sarahikeda/TheFeels,sarahikeda/TheFeels,sarahikeda/TheFeels |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.