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 |
|---|---|---|---|---|---|---|---|---|---|
b0929ef5959709518a84e65605492342ec76d937 | source/error.html.erb | source/error.html.erb | ---
layout: header_footer_only
title: Page not found
---
<div class="app-pane__body">
<div class="app-pane__content">
<main id="content" class="technical-documentation">
<%= partial 'partials/header' %>
If you entered a web address please check it was correct.
</main>
</div>
</div>
| Add error page for S3 bucket | Add error page for S3 bucket
| HTML+ERB | mit | alphagov/govuk-developer-docs,alphagov/govuk-developer-docs,alphagov/govuk-developer-docs,alphagov/govuk-developer-docs | |
a804c59c182b1d1d3596758e7f4ffd564437256e | app/views/bootsy/images/_new.html.erb | app/views/bootsy/images/_new.html.erb | <h3><%= t 'bootsy.image.new' %></h3>
<%= form_for [bootsy, resource_or_nil(image.image_gallery), image], remote: true, html: {:class => 'bootsy form-inline'} do |f| %>
<% if image.errors.any? %>
<% image.errors.full_messages.each do |msg| %>
<div class="alert alert-error"><%= msg %></div>
<% end %>
<... | <h3><%= t 'bootsy.image.new' %></h3>
<%= form_for [bootsy, resource_or_nil(image.image_gallery), image], remote: true, html: {:class => 'bootsy form-inline'} do |f| %>
<%= hidden_field_tag :authenticity_token, form_authenticity_token %>
<% if image.errors.any? %>
<% image.errors.full_messages.each do |msg| %>
... | Add the form authenticity token | Add the form authenticity token
| HTML+ERB | mit | volmer/bootsy,skomputer/bootsy,shilpi230/bootsy,votio/bootsy,timrogers/bootsy,InspireNL/bootsy,jwoertink/bootsy,ethomm/bootsy-bootstrap-alpha,ethomm/bootsy-bootstrap-alpha,jwoertink/bootsy,varun-raj/bootsy,varun-raj/bootsy,InspireNL/bootsy,max-si-m/bootsy,shilpi230/bootsy,shilpi230/bootsy,max-si-m/bootsy,hasanloo/boots... |
95fd0668c40d7819dff4ce8cfd9cff1f97775d84 | app/views/bots/_collaborator.html.erb | app/views/bots/_collaborator.html.erb | <tr id="collaborator-<%= user.id %>">
<td><%= user.username %></td>
<td style="text-align:right">
<%= link_to 'Remove', remove_collaborator_path(bot: bot.id, collaborator: user.id), :method => :delete, :remote => true, :data => { :confirm => "Are you sure you want to do this?" } %>
</td>
</tr>
| <tr id="collaborator-<%= user.id %>">
<td><%= user.username %></td>
<td style="text-align:right">
<%= link_to 'Remove', remove_collaborator_path(bot: bot.id, collaborator: user.id), :method => :delete, :remote => true %>
</td>
</tr>
| Remove confirmation when removing collaborators | Remove confirmation when removing collaborators
| HTML+ERB | cc0-1.0 | NobodyNada/Redunda,NobodyNada/Redunda,SOBotics/Redunda,SOBotics/Redunda,SOBotics/Redunda,NobodyNada/Redunda |
cc1d9145f42741ad9261324b5ee8339ad1225717 | app/views/interventions/create.js.erb | app/views/interventions/create.js.erb | <%- if @intervention.present? %>
var data = {
name: "<%= @intervention.name %>",
comment: "<%= @intervention.comment %>",
start_date: "<%= @intervention.start_date.strftime('%B %e, %Y') %>",
end_date: "<%= @intervention.end_date.strftime('%B %e, %Y') if @intervention.end_date.present? %>",
educato... | <%- if @intervention.present? %>
var data = {
name: "<%= @intervention.name %>",
comment: "<%= @intervention.comment %>",
goal: "<%= @intervention.goal %>",
start_date: "<%= @intervention.start_date.strftime('%B %e, %Y') %>",
end_date: "<%= @intervention.end_date.strftime('%B %e, %Y') if @interven... | Add intervention goal to AJAX response | Add intervention goal to AJAX response
+ Fixes https://github.com/codeforamerica/somerville-teacher-tool/issues/312#issuecomment-150339290
+ #312
| HTML+ERB | mit | codeforamerica/somerville-teacher-tool,jhilde/studentinsights,studentinsights/studentinsights,erose/studentinsights,codeforamerica/somerville-teacher-tool,jhilde/studentinsights,erose/studentinsights,jhilde/studentinsights,codeforamerica/somerville-teacher-tool,erose/studentinsights,codeforamerica/somerville-teacher-to... |
20155345f5b52194b6a6b3ba460d6617b11a605c | test/apps/rails4/app/views/users/index.html.erb | test/apps/rails4/app/views/users/index.html.erb | <%= raw User.find(params[:id]).to_json %>
<%= raw inside_something(User.find(params[:id]).to_json) %>
<%= raw call_something(params).to_json %>
<%= raw params[:stuff].to_json %>
| Add the tests for to_json XSS in Rails 4 | Add the tests for to_json XSS in Rails 4
this was supposed to be part of 5ffafd809fbfdd0481609210443fcec7fd5a08b8
| HTML+ERB | mit | dfens/brakeman,liqites/brakeman,jakeatwork/brakeman,bf4/brakeman,masarakki/brakeman,bf4/brakeman,lee-leon/brakeman,bf4/brakeman,kbrock/brakeman,jlecour/brakeman,cheerfulstoic/brakeman,jeffyip/brakeman,htdc/brakeman,dfens/brakeman,github/brakeman,dfens/brakeman,spcoder/brakeman,liqites/brakeman,cheerfulstoic/brakeman,co... | |
09a49f45034fafd21927a72525cb7d1be87cf0b7 | app/assets/javascripts/firebase_listener.js.erb | app/assets/javascripts/firebase_listener.js.erb | // listen for changes in firebase
// refresh partial when change occurs
// Current user
var firebaseListen = function (userId) {
var dataRef = new Firebase('https://crossfithub.firebaseio.com/' + userId);
dataRef.on('child_added', function(snapshot) {
// remove entry from firebase to keep page from reloadi... | // listen for changes in firebase
// refresh partial when change occurs
// Current user
var firebaseListen = function (userId) {
var dataRef = new Firebase('https://crossfithub.firebaseio.com/' + userId);
dataRef.on('child_added', function(snapshot) {
// remove entry from firebase to keep page from reloadi... | Change url to point to heroku in firebase_listener | Change url to point to heroku in firebase_listener
| HTML+ERB | apache-2.0 | nicholaspsmith/crossfithub,nicholaspsmith/crossfithub,nicholaspsmith/crossfithub |
71ccfd01dd0e96ad6d498caf20f440b7da45491b | templates/travis.yml.erb | templates/travis.yml.erb | before_install:
- "echo '--colour' > ~/.rspec"
- "echo 'gem: --no-document' > ~/.gemrc"
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
before_script:
- cp .sample.env .env
<% if options[:database] == 'postgresql' %>
- psql -c 'create database "<%= app_name %>_test";' -U postgres
<% end %>
branche... | before_install:
- "echo '--colour' > ~/.rspec"
- "echo 'gem: --no-document' > ~/.gemrc"
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
before_script:
- cp .sample.env .env
<% if options[:database] == 'postgresql' %>
- psql -c 'create database "<%= app_name %>_test";' -U postgres
<% end %>
branche... | Use PostgreSQL 9.3 on Travis CI | Use PostgreSQL 9.3 on Travis CI
Heroku's default is Postgres 9.3 [1], but Travis' default is Postgres 9.1
[2]. This can occasionally cause problems which are difficult to debug.
[1]: https://devcenter.heroku.com/articles/heroku-postgresql#version-support
[2]: http://docs.travis-ci.com/user/using-postgresql/
| HTML+ERB | mit | pedrosmmoreira/suspenders,brandoncordell/suspenders,pineapplethief/suspenders,mib32/suspenders,Mossio/hashira-rails,mukkoo/welaika-suspenders,adarsh/suspenders,Mossio/hashira-rails,namuit/welaika-suspenders,delphaber/suspenders,philosophie/suspenders,headwayio/suspenders,wizarddevelopment/bowties,pedrosmmoreira/suspend... |
74a88215b13135019cdc3656fa457c54d86fe2ae | app/views/abuse_comments/_comment.html.erb | app/views/abuse_comments/_comment.html.erb | <% if comment.user.id == -1 %>
<div class="panel panel-info">
<div class="panel-heading">
<%= raw(sanitize(PostCommentsController.renderer.render(comment.text), scrubber: PostComment.scrubber)) %>
<span class="small text-muted"><%= time_ago_in_words comment.created_at %> ago</span>
</div>
</div>... | <% if comment.user.id == -1 %>
<div class="panel panel-info">
<div class="panel-heading">
<%= raw(sanitize(PostCommentsController.renderer.render(comment.text), scrubber: PostComment.scrubber)) %>
<span class="small text-muted"><%= time_ago_in_words comment.created_at %> ago</span>
</div>
</div>... | Update abuse comment view to allow core to edit/delete | Update abuse comment view to allow core to edit/delete | HTML+ERB | cc0-1.0 | Charcoal-SE/metasmoke,j-f1/forked-metasmoke,j-f1/forked-metasmoke,Charcoal-SE/metasmoke,Charcoal-SE/metasmoke,Charcoal-SE/metasmoke,j-f1/forked-metasmoke,j-f1/forked-metasmoke |
c8d3d20d6d88db8744efd116d0e57f6616b73dba | app/views/carto/admin/mobile_apps/index.html.erb | app/views/carto/admin/mobile_apps/index.html.erb | <% content_for(:page_title) do %>
Your mobile apps |
<% end %>
<%= content_for(:js) do %>
<script type="text/javascript">
var config = <%= safe_js_object frontend_config %>;
var user_data = <%= safe_js_object current_user.data.to_json %>;
var organization_notifications = <%= safe_js_object @organization... | <% content_for(:page_title) do %>
Your mobile apps |
<% end %>
<%= content_for(:js) do %>
<script type="text/javascript">
var config = <%= safe_js_object frontend_config %>;
var user_data = <%= safe_js_object current_user.data.to_json %>;
var organization_notifications = <%= safe_js_object @organization... | Remove an overlapping separator in mobile apps page | Remove an overlapping separator in mobile apps page
| HTML+ERB | bsd-3-clause | CartoDB/cartodb,CartoDB/cartodb,CartoDB/cartodb,CartoDB/cartodb,CartoDB/cartodb |
8e1f1dc442e550975a5c5e22cfc2c8ee8f4c1489 | source/jobs/_contact_us.erb | source/jobs/_contact_us.erb | <section class="component">
<div class="component__tile text-tile">
<h2 class="text-tile__title">
Send us your CV
</h2>
<p class="text-tile__paragraph--with-spacing">
Claire is our “people gardener” and she would love to hear from you.
</p>
<p class="text-tile__paragraph--with-spacin... | <section class="component">
<div class="component__tile text-tile">
<h2 class="text-tile__title">
Send us your CV
</h2>
<p class="text-tile__paragraph--with-spacing">
Claire is our “people gardener” and she would love to hear from you.
</p>
<p class="text-tile__paragraph--with-spacin... | Copy changes in jobs pages | Copy changes in jobs pages
| HTML+ERB | mit | unboxed/ubxd_web_refresh,unboxed/unboxed.co,unboxed/ubxd_web_refresh,unboxed/ubxd_web_refresh,unboxed/unboxed.co,unboxed/unboxed.co |
f03c3e865149afb6cd18ef3448aa2e9ce39315bd | app/views/links/_form.erb | app/views/links/_form.erb | <ul>
<li>
<label for="link_url">URL</label>
<input type="url" id="link_url" name="link[url]" value="<%= @link.url %>">
</li>
<li>
<label for="link_title">Title</label>
<input type="text" id="link_title" name="link[title]" value="<%= @link.title %>">
</li>
<li>
<label for="link_body">Body</label>
<tex... | <ul>
<li>
<label for="link_url">URL</label>
<input type="url" id="link_url" name="link[url]" required value="<%= @link.url %>">
</li>
<li>
<label for="link_title">Title</label>
<input type="text" id="link_title" name="link[title]" required value="<%= @link.title %>">
</li>
<li>
<label for="link_body">Bod... | Add required attribute to form fields. | Add required attribute to form fields.
| HTML+ERB | mit | jgarber623/FrancisCMS,FrancisCMS/FrancisCMS,jgarber623/FrancisCMS,FrancisCMS/FrancisCMS,FrancisCMS/FrancisCMS |
4a9bae19a7153c95484e23d9c38166824fb0092e | app/views/taxons/sections/_news_and_communications.html.erb | app/views/taxons/sections/_news_and_communications.html.erb | <%
featured_item = section[:promoted_content].first
featured_item_layout_class = "taxon-page__featured-item--single" if section[:documents].empty?
%>
<div class="grid-row">
<div class="taxon-page__featured-item column-one-third <%= featured_item_layout_class %>" <%= "data-module=track-click" if track_click?(sect... | <%
featured_item = section[:promoted_content].first
featured_item_layout_class = "taxon-page__featured-item--single" if section[:documents].empty?
%>
<div class="grid-row">
<div class="taxon-page__featured-item column-one-third <%= featured_item_layout_class %>" <%= "data-module=track-click" if track_click?(sect... | Update image card usage on topic pages | Update image card usage on topic pages
| HTML+ERB | mit | alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections |
86fe5d570c821feeed2e6460c4e73eab43a18133 | app/views/users/partials/_edit_modal_photo.html.erb | app/views/users/partials/_edit_modal_photo.html.erb | <!-- Modal Structure -->
<div id='modal-photo-<%= "#{obj.id}" %>' class="modal">
<%= form_tag user_photo_path(user_id: obj.user.id, id: obj.id), method: :put do %>
<div class="modal-content">
<h4>Edit Post</h4>
<div class="row form-color">
<div class="file-field input-field">
... | Create edit photo modal partial | Create edit photo modal partial
| HTML+ERB | mit | juanhenriquez/move-rails,juanhenriquez/move-rails,juanhenriquez/move-rails | |
ee7b27d42e8d0e8d841f290763ee859e0ea382c0 | app/views/admin/age_group_entries/_form.html.erb | app/views/admin/age_group_entries/_form.html.erb | <%= form_for([:admin, @age_group_type, @age_group_entry]) do |f| %>
<% if @age_group_entry.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@age_group_entry.errors.count, "error") %> prohibited this age_group_entry from being saved:</h2>
<ul>
<% @age_group_entry.errors.full_message... | <%= form_for([:admin, @age_group_type, @age_group_entry]) do |f| %>
<% if @age_group_entry.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@age_group_entry.errors.count, "error") %> prohibited this age_group_entry from being saved:</h2>
<ul>
<% @age_group_entry.errors.full_message... | Adjust the way that age group entries see the 'gender' options | Adjust the way that age group entries see the 'gender' options
| HTML+ERB | mit | rdunlop/unicycling-registration,rdunlop/unicycling-registration,scotthue/unicycling-registration,rdunlop/unicycling-registration,rdunlop/unicycling-registration,scotthue/unicycling-registration,scotthue/unicycling-registration |
68cf81ace6e798cb0ce6bb20248b4392a26b4fcf | tafinder/app/views/applications/index.html.erb | tafinder/app/views/applications/index.html.erb | <div class="container-fluid">
<div class="row">
<div class="col-xs-12">
<% if (@applications.empty?) %>
<div class="well well-lg text-center">
<h4>No applications to display.</h4>
</div>
<% else %>
<table class="table table-borde... | <div class="container-fluid">
<div class="row">
<div class="col-xs-12">
<% if (@applications.empty?) %>
<div class="well well-lg text-center">
<h4>No applications to display.</h4>
</div>
<% else %>
<table class="table table-borde... | Change applications index to use correct application parameters | Change applications index to use correct application parameters
| HTML+ERB | mit | BertBagM/TAFinder,BertBagM/TAFinder,BertBagM/TAFinder,BertBagM/TAFinder,BertBagM/TAFinder |
1e4854e83a354b30e1c4af29d3f51d4530e0d6cf | views/layouts/default.html.erb | views/layouts/default.html.erb | <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title><%= @title %> | Compass Poliedro</title>
<link rel="stylesheet" href="/css/features/index.css?t=<%= Time.new.to_time.to_i %>">
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif... | <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title><%= @title %> | Compass Poliedro</title>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/normalize/3.0.0/normalize.css">
<link rel="stylesheet" href="/css/features/index.css?t=<%= Time.new.to_time.to_i %>">
<!--[i... | Normalize added to features via CDN | Normalize added to features via CDN
| HTML+ERB | mit | cesarhdz/compass-poliedro,cesarhdz/compass-poliedro |
7b67702c0d2edc50eb6df5426d4291138a206f5c | lib/resgen/gwt/templates/client_bundle.java.erb | lib/resgen/gwt/templates/client_bundle.java.erb | /* DO NOT EDIT: File is auto-generated */
package <%= to_package(asset_directory.gwt.qualified_bundle_name) %>;
@javax.annotation.Generated( "Resgen" )
public interface <%= asset_directory.gwt.bundle_name %>
extends com.google.gwt.resources.client.ClientBundle<%= asset_directory.gwt.with_lookup? ? 'WithLookup' : '' ... | /* DO NOT EDIT: File is auto-generated */
package <%= to_package(asset_directory.gwt.qualified_bundle_name) %>;
@javax.annotation.Generated( "Resgen" )
public interface <%= asset_directory.gwt.bundle_name %>
extends com.google.gwt.resources.client.ClientBundle<%= asset_directory.gwt.with_lookup? ? 'WithLookup' : '' ... | Remove qualifiers implied by the context | Remove qualifiers implied by the context
| HTML+ERB | apache-2.0 | realityforge/resgen,realityforge/resgen |
df0620bc8968e3ceab0804c86c5e51ed4d07c2fa | app/views/votes/propositions.html.erb | app/views/votes/propositions.html.erb | <div class="row-fluid">
<div class="muted"><%= t('app.counts.propositions', count: @propositions.size).html_safe %></div>
<% if @layout %>
<table class="table">
<thead>
<tr>
<th>Id</th>
<th><%= Proposition.human_attribute_name :body %></th>
</tr>
</thead>
... | <div class="row-fluid">
<div class="muted"><%= t('app.counts.propositions', count: @propositions.size).html_safe %></div>
<% if @layout %>
<table class="table">
<thead>
<tr>
<th>Id</th>
<th><%= Proposition.human_attribute_name :body %></th>
</tr>
</thead>
... | Fix background color of proposition | Fix background color of proposition
| HTML+ERB | bsd-3-clause | holderdeord/hdo-site,holderdeord/hdo-site,holderdeord/hdo-site,holderdeord/hdo-site |
b7dfc3182d94f5e55a8cd1018bf5a39a5e2027a7 | app/views/pokemon_mailer/send_tos.html.erb | app/views/pokemon_mailer/send_tos.html.erb | <p><%= @pokemon.parent_name %>様</p>
<p>ポケモン素材の申し込みありがとうございます。</p>
<p>ポケモン素材の<a href="https://bit.ly/pokemon-sozai-tos">利用規約</a>をいつでも見れるように案内のメールをお送りしています。</p>
<a href="https://bit.ly/pokemon-sozai-tos">利用規約を読む</a>
| <p><%= @pokemon.parent_name %>様</p>
<p>ポケモン素材の申し込みありがとうございます。</p>
<p>ポケモン素材の利用規約を再度見れるように案内のメールをお送りしています。</p>
<p><a href="https://drive.google.com/file/d/1SS5nBuEd67jZzX2CwKjgu54W3uWY4KCq/view">コチラ</a>から利用規約をご参照ください。</p>
| Fix email message to evade spam filter | Fix email message to evade spam filter
| HTML+ERB | mit | coderdojo-japan/coderdojo.jp,coderdojo-japan/coderdojo.jp,coderdojo-japan/coderdojo.jp,yasslab/coderdojo.jp,yasslab/coderdojo.jp,yasslab/coderdojo.jp,coderdojo-japan/coderdojo.jp |
3f9e5b70d04097b70dbed7c2d094f2e94cd35b80 | frontend/app/views/spree/products/index.html.erb | frontend/app/views/spree/products/index.html.erb | <% content_for :sidebar do %>
<div data-hook="homepage_sidebar_navigation">
<% if "products" == params[:controller] && @taxon %>
<%= render :partial => 'spree/shared/filters' %>
<% else %>
<%= render :partial => 'spree/shared/taxonomies' %>
<% end %>
</div>
<% end %>
<% if params[:keywords... | <% content_for :sidebar do %>
<div data-hook="homepage_sidebar_navigation">
<% if "spree/products" == params[:controller] && @taxon %>
<%= render :partial => 'spree/shared/filters' %>
<% else %>
<%= render :partial => 'spree/shared/taxonomies' %>
<% end %>
</div>
<% end %>
<% if params[:ke... | Update controller check to have spree namespace. | Update controller check to have spree namespace.
Fixes #2686
| HTML+ERB | bsd-3-clause | abhishekjain16/spree,gautamsawhney/spree,bonobos/solidus,berkes/spree,alvinjean/spree,jsurdilla/solidus,Boomkat/spree,yiqing95/spree,devilcoders/solidus,nooysters/spree,Senjai/spree,knuepwebdev/FloatTubeRodHolders,nooysters/spree,jordan-brough/solidus,alepore/spree,miyazawatomoka/spree,gregoryrikson/spree-sample,maybii... |
d7f1d0838aa1ef3737521c56e5a19b39755763b3 | modules/projects/templates/quehambre/nginx.conf.erb | modules/projects/templates/quehambre/nginx.conf.erb | # Example template for PHP-FPM based projects
#
# The template which nginx uses within a boxen::project can be overridden
# to a specific template such as this one.
#
# You will likely need to change both the root and SCRIPT_FILENAME parameters below
# to match your setup
#
server {
access_log <%= scope.lookupvar "ng... | # Example template for PHP-FPM based projects
#
# The template which nginx uses within a boxen::project can be overridden
# to a specific template such as this one.
#
# You will likely need to change both the root and SCRIPT_FILENAME parameters below
# to match your setup
#
upstream php {
server unix:<%= scope.... | Fix quehambre nginx template with codeigniter support | Fix quehambre nginx template with codeigniter support
| HTML+ERB | mit | platanus/our-boxen,platanus/our-boxen,platanus/our-boxen |
7ae476e815d67d5865f0fa22cf405c9ac52ce4fa | app/assets/javascripts/application.js.erb | app/assets/javascripts/application.js.erb | <%
# Use local copy of jquery for development.
# see also: /app/views/layouts/application.html.erb
if Rails.env.development?
require_asset("lodash/lodash")
require_asset("jquery/jquery")
require_asset("core.js/core.js")
end
# Our dependencies and load priority sorted in this file.
require_asset("main_include")
... | <%
# Use local copy of jquery for development.
# see also: /app/views/layouts/application.html.erb
if Rails.env.development?
require_asset("lodash/lodash")
require_asset("jquery/jquery")
require_asset("core.js/core.js")
end
# Our dependencies and load priority sorted in this file.
require_asset("main_include")
... | Set message_bus base URL according to shreds relative root | Set message_bus base URL according to shreds relative root
| HTML+ERB | mit | fudanchii/shreds,fudanchii/shreds,fudanchii/shreds |
2916b322fbc06a0764ef56b168503467a2f39892 | app/views/cloud_model/web_image/mongoid.yml.erb | app/views/cloud_model/web_image/mongoid.yml.erb | <%= model.passenger_env %>:
sessions:
default:
hosts:
<% if model.deploy_mongodb_replication_set -%>
<% model.deploy_mongodb_replication_set.services.each do |service| -%>
- <%= service.guest.private_address %>:<%= service.port %>
<% end -%>
options:
read: :neare... | <%= model.passenger_env %>:
sessions:
default:
hosts:
<% if model.deploy_mongodb_replication_set -%>
<% model.deploy_mongodb_replication_set.services.each do |service| -%>
- <%= service.guest.private_address %>:<%= service.port %>
<% end -%>
options:
read: :neare... | Allow newer mongoid to find db | Allow newer mongoid to find db
| HTML+ERB | mit | cloudmodel/cloudmodel,cloudmodel/cloudmodel,cloudmodel/cloudmodel,cloudmodel/cloudmodel |
caf5f52e82e3d672212552d919aba04e80dd6e40 | app/views/endpoints/_endpoint_statuses.html.erb | app/views/endpoints/_endpoint_statuses.html.erb | <table class="simpleTable" id="endpoint_statuses">
<% if @endpoints.size %>
<tr>
<th>Name</th>
<th>Status</th>
<th>Jobs running</th>
<th>Jobs queued</th>
<th>Average runtime (s)</th>
<th> </th>
</tr>
<% end %>
<% @endpoints.each do |endpoint| %>
<%
if @endpoint_server_stat... | <table class="simpleTable" id="endpoint_statuses">
<% if @endpoints.size %>
<tr>
<th>Name</th>
<th>Status</th>
<th>Jobs running</th>
<th>Jobs queued</th>
<th>Average runtime (s)</th>
<th> </th>
</tr>
<% end %>
<% @endpoints.each do |endpoint| %>
<%
if @endpoint_server_stat... | Fix (hopefully) a continuous integration error that doesn't show up locally when running the tests | Fix (hopefully) a continuous integration error that doesn't show up locally when running the tests
| HTML+ERB | apache-2.0 | rrusk/scoop-query-composer,scoophealth/query-composer,scoophealth/query-composer,scoophealth/query-composer,rrusk/scoop-query-composer,rrusk/scoop-query-composer,rrusk/scoop-query-composer,scoophealth/query-composer,scoophealth/query-composer |
40aa4af4adec823a926776bb3189673dde62a096 | app/views/ngos/events/_event.html.erb | app/views/ngos/events/_event.html.erb | <%= link_to [:ngos, event], class: 'list-group-item' do %>
<div class="row">
<div class="col-xs-3">
<h3><%= event.description %></h3>
</div>
</div>
<div class="row">
<div class="col-xs-3">
<h4><%= event.address %> — <%= I18n.localize(event.earliest_shift.starts_at, format:'%d. %b %Y') %> <... | <%= link_to [:ngos, event], class: 'list-group-item' do %>
<div class="row">
<h3><%= event.title %></h3>
<h4><%= event.address %> — <%= I18n.localize(event.earliest_shift.starts_at, format:'%d. %b %Y') %> </h4>
<p><%= event.description %></p>
</div>
<% end %>
| Add title and clean up events list | Add title and clean up events list
| HTML+ERB | agpl-3.0 | where2help/where2help,where2help/where2help,where2help/where2help |
67640531abd0845a1448200c42a6e6229f636176 | app/views/shared/_categories.html.erb | app/views/shared/_categories.html.erb |
<% @categories.each do |category| %>
<%
bar_1 = 40 + category_profiles_ratio(category.id)
bar_2 = 100 - bar_1
%>
<div class="progress" >
<span class="child">
<div class="category_name text-right"><%= category_link(category) %></div>
<div class="category_count"><%= category_profiles_count(... | <% @categories.each do |category| %>
<%
bar_1 = 40 + category_profiles_ratio(category.id)
bar_2 = 100 - bar_1
%>
<a href="<%= category_path(category.id) %>"class="progress">
<span class="child">
<div class="category_name text-right"><%= category.name %></div>
<div class="category_count"><%... | Add the link to the whole bar when choosing a category | Add the link to the whole bar when choosing a category
| HTML+ERB | mit | rubymonsters/speakerinnen_liste,rubymonsters/speakerinnen_liste,rubymonsters/speakerinnen_liste |
36f7185188923333b5093143c1fc9fbe8039fd66 | app/views/components/_topic-list.html.erb | app/views/components/_topic-list.html.erb | <%
items ||= []
see_more_link ||= false
small ||= false
margin_bottom ||= false
component_size = "app-c-topic-list--small" if small
margin_bottom_class = "app-c-topic-list--margin-bottom" if margin_bottom
brand ||= false
brand_helper = GovukPublishingComponents::AppHelpers::BrandHelper.new(brand)
%>
<%... | <%
items ||= []
see_more_link ||= false
small ||= false
margin_bottom ||= false
component_size = "app-c-topic-list--small" if small
margin_bottom_class = "app-c-topic-list--margin-bottom" if margin_bottom
brand ||= false
brand_helper = GovukPublishingComponents::AppHelpers::BrandHelper.new(brand)
%>
<%... | Change topic-list list type from ol to ul | Change topic-list list type from ol to ul
I've inspected each use of the topic-list component in this app. There is no
clear benefit as far as I can see to having these as an ordered list.
Org pages use it to present lists of corporate information links. They are
not in any discernable order, and it would not make se... | HTML+ERB | mit | alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections |
7921c192640f933c9ba09096b69ec51ead42f672 | app/views/components/_emergency_banner.html.erb | app/views/components/_emergency_banner.html.erb | <div class="emergency-banner emergency-banner--<%= campaign_class %>" role="banner" data-nosnippet>
<div class="govuk-width-container">
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<h2 class="emergency-banner__heading"><%= heading %></h2>
<% if short_description %>... | <div class="emergency-banner emergency-banner--<%= campaign_class %>" role="banner" data-nosnippet>
<div class="govuk-width-container">
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<h2 class="emergency-banner__heading"><%= heading %></h2>
<% if short_description %>... | Remove govuk-link css from emergency banner link | Remove govuk-link css from emergency banner link
| HTML+ERB | mit | alphagov/static,alphagov/static,alphagov/static |
15d1727fd8e6e48ed9d1011ed17d7b194d2b7544 | app/views/round.erb | app/views/round.erb | <div class="container">
<% @cards.each do |card| %>
<div class="form">
<form>
<p><strong>Question <%=card.id%>) <%= card.question %></strong></p><br>
<div class="radio">
<input type="radio" name="answer<%=card.id%>" value="true" checked> True<br>
</div>
<div class="radio">
<input t... | <div class="container">
<% @cards.each do |card| %>
<div class="form">
<form>
<p><strong>Question <%=card.id%>.<br> <%= card.question %></strong></p><br>
<div class="radio">
<input type="radio" name="answer<%=card.id%>" value="true" checked> True<br>
</div>
<div class="radio">
<inp... | Add new line for question | Add new line for question
| HTML+ERB | mit | Kgiberson/learn.ly-flashcards,Kgiberson/learn.ly-flashcards,Kgiberson/learn.ly-flashcards |
f278c1166fb764ed6309a6887ee6d4145c0acc63 | app/views/admin/posts/index.html.erb | app/views/admin/posts/index.html.erb | <div class="row">
<section class="small-12 columns content-box">
<header class='section-header'>
<img src="/assets/?" class='header-icon ?'>
<h2 class="section-title">Social Media Posts</h2>
</header>
<div class='more-info'>
<a class='more-info-toggle' href='#'>
<... | <div class="row">
<section class="small-12 columns content-box">
<header class='section-header'>
<img src="/assets/suggest.svg" class='header-icon'>
<h2 class="section-title">Social Media Posts</h2>
</header>
<div class='more-info'>
<a class='more-info-toggle' href='#'>
... | Use suggest.svg for posts header icon | Use suggest.svg for posts header icon
| HTML+ERB | agpl-3.0 | Rootstrikers/vdash,Rootstrikers/vdash |
b90d06aad7df732cc58b4ce11bad48b0ff768466 | app/views/master_trees/show.html.erb | app/views/master_trees/show.html.erb | <div id="header">
<% if @master_tree.title == 'New Master Tree' %>
<input type="text" id="master_tree_title"><span>Enter a title for your newly created tree.</span>
<% else %>
<h1><%= @master_tree.title %></h1>
<% end %>
</div>
<div class="tree-column clearfix">
<div id="fluid-head"></div>
<div id="... | <div id="header">
<% if @master_tree.title == 'New Master Tree' %>
<input type="text" id="master_tree_title"><span>Enter a title for your newly created tree.</span>
<% else %>
<h1><%= @master_tree.title %></h1>
<% end %>
</div>
<div class="tree-column clearfix">
<div id="fluid-head"></div>
<div id="... | Put breadcrumb back, but simplify to show just 'master tree' | Put breadcrumb back, but simplify to show just 'master tree'
| HTML+ERB | mit | GlobalNamesArchitecture/GNITE,GlobalNamesArchitecture/GNITE,GlobalNamesArchitecture/GNITE |
97e655014d0b4aafeb21158deb8a29b2284c603f | deployment/puppet/osnailyfacter/templates/atop_retention.erb | deployment/puppet/osnailyfacter/templates/atop_retention.erb | #!/bin/bash
# Managed by puppet
# This file manages the atop binary files. It will keep binary files for last
# <%= @rotate %> days instead of 30 days provided by atop.
PATH=/sbin:/bin:/usr/sbin:/usr/bin
# remove files older than <%= @rotate %> days
find <%= @logpath %> -type f -name 'atop_*' -mtime +<%= @rotate %> -d... | #!/bin/bash
# Managed by puppet
# This file manages the atop binary files. It will keep binary files for last
# <%= @rotate %> days instead of 30 days provided by atop.
PATH=/sbin:/bin:/usr/sbin:/usr/bin
# remove files older than <%= @rotate %> days
find <%= @logpath %> -type f -name 'atop_*' -mtime +<%= @rotate %> -d... | Fix depricated variable call in template | Fix depricated variable call in template
It may fire an error in future versions
Change-Id: Icc059375ce1887029dadb4c3072bd13976bf2b8b
Closes-bug: #1554477
| HTML+ERB | apache-2.0 | stackforge/fuel-library,stackforge/fuel-library,xarses/fuel-library,xarses/fuel-library,stackforge/fuel-library,xarses/fuel-library,stackforge/fuel-library,xarses/fuel-library |
5daacb483dcc88f7f81e4e57825dfa67490a2ae8 | app/views/purchases/new.html.erb | app/views/purchases/new.html.erb | <h1>New Purchase</h1>
<%= render 'form' %>
| <header>
<h1>New Purchase</h1>
</header>
<div class="body">
<%= render 'form' %>
</div>
| Make the new purchase view popup compliant | Make the new purchase view popup compliant
| HTML+ERB | agpl-3.0 | asm-products/bit-commerce,asm-products/bit-commerce,asm-products/bit-commerce |
989c6ed5b1316700db4caded6ebc549923222a84 | lib/views/translations/index.html.erb | lib/views/translations/index.html.erb | <h1>Listing translations for <%= @locale.code %></h1>
<table>
<tr>
<th>Key</th>
<th>Value</th>
<th>Pluralization index</th>
</tr>
<% for translation in @translations %>
<tr>
<td><%=h translation.key %></td>
<td><%=h translation.value %></td>
<td><%=h translation.pluralization_index %></t... | <h1>Listing translations for <%= @locale.code %></h1>
<table>
<tr>
<th>Key</th>
<th>Value</th>
<th>Default Locale Value</th>
<th>Pluralization index</th>
</tr>
<% for translation in @translations %>
<tr>
<td><%=h translation.key %></td>
<td><%=h translation.value %></td>
<td><%=h tra... | Add locale_default_value to list of translations. | Add locale_default_value to list of translations.
| HTML+ERB | mit | dylanz/i18n_backend_database,dylanz/i18n_backend_database |
26ec940206871b9b076d2013a764381fa535cb76 | app/views/layouts/jasmine_rails/spec_runner.html.erb | app/views/layouts/jasmine_rails/spec_runner.html.erb | <!DOCTYPE html>
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type"/>
<title>Jasmine Specs</title>
<%= stylesheet_link_tag *jasmine_css_files %>
</head>
<body>
<div id="jasmine_content"></div>
<%= yield %>
<%= javascript_include_tag *jasmine_js_files %>
</bod... | <!DOCTYPE html>
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type"/>
<title>Jasmine Specs</title>
<%= stylesheet_link_tag *jasmine_css_files %>
<%= javascript_include_tag *jasmine_js_files %>
</head>
<body>
<div id="jasmine_content"></div>
<%= yield %>
</bod... | Revert "javascripts at the bottom of the <body>" | Revert "javascripts at the bottom of the <body>"
This reverts commit e0a8446a08597705b14321da441fbe0d053d28a5.
It also (supposedly) fixes #109
| HTML+ERB | mit | carwow/jasmine-rails,searls/jasmine-rails,ennova/jasmine-rails,rcode5/jasmine-rails,ennova/jasmine-rails,getaroom/jasmine-rails,mallikarjunayaddala/jasmine-rails,ennova/jasmine-rails,mallikarjunayaddala/jasmine-rails,carwow/jasmine-rails,carwow/jasmine-rails,henrik/jasmine-rails,spadin/jasmine-rails,searls/jasmine-rail... |
8026ea247b2eea7c05466b9ff26b5bafdcde208b | templates/default/systemd/default.erb | templates/default/systemd/default.erb | [Unit]
Description=<%= @daemon_name %> daemon
[Service]
User=<%= @user %>
EnvironmentFile=<%= @env_path %>
ExecStart=/bin/bash $KAFKA_RUN $KAFKA_ARGS $KAFKA_CONFIG
TimeoutSec=10
<%= if node.kafka.ulimit_file %>
LimitNOFILE=<%= node.kafka.ulimit_file %>
<% end %>
[Install]
WantedBy=multi-user.target
| [Unit]
Description=<%= @daemon_name %> daemon
[Service]
User=<%= @user %>
EnvironmentFile=<%= @env_path %>
ExecStart=/bin/bash $KAFKA_RUN $KAFKA_ARGS $KAFKA_CONFIG
TimeoutSec=10
<% if node.kafka.ulimit_file %>
LimitNOFILE=<%= node.kafka.ulimit_file -%>
<% end %>
[Install]
WantedBy=multi-user.target
| Fix syntax error in systemd template | Fix syntax error in systemd template | HTML+ERB | apache-2.0 | mthssdrbrg/kafka-cookbook,mthssdrbrg/kafka-cookbook,mthssdrbrg/kafka-cookbook |
141440e58c8c32bd0360d9baf11e70f8060ff270 | places/app/views/places/_carousel.html.erb | places/app/views/places/_carousel.html.erb | <% unless @place.photos.empty? %>
<%#= thumb_for(@place.photos.first, '80x113#') %>
<% @place.photos.each do |p| %>
<%= thumb_for(p, '80x113#') %>
<% end %>
<% end %> | <% photos = @place.photos %>
<% unless photos.empty? %>
<% if photos.length == 1 %>
<%= thumb_for(photos.first, '80x113#') %>
<% else %>
<div id="myCarousel" class="carousel slide">
<!-- Carousel items -->
<div class="carousel-inner">
<div class="active item"><%= thumb_for(photos.first, ... | Add a photo carousel when many place photos | Add a photo carousel when many place photos
| HTML+ERB | mit | honorlin/social_stream,ging/social_stream,honorlin/social_stream,honorlin/social_stream,ging/social_stream,honorlin/social_stream,ging/social_stream |
f5bf04cc39f4d735b539e657023fce66d4219e5f | app/views/devise/mailer/confirmation_instructions.ja.html.erb | app/views/devise/mailer/confirmation_instructions.ja.html.erb | <p><%= @resource.username %>さん、こんにちは。</p>
<p>Annictをご利用の前に、下のリンクをクリックしてメールアドレスの確認をお願いします。</p>
<p><%= link_to 'メールアドレスを確認する', confirmation_url(confirmation_token: @token) %></p>
| <p><%= @resource.username %>さん、こんにちは。</p>
<p>Annictをご利用の前に、下のリンクをクリックしてメールアドレスの確認をお願いします。</p>
<p><%= link_to 'メールアドレスを確認する', confirmation_url(confirmation_token: @token, host: @resource.annict_host) %></p>
| Switch host by user locale | Switch host by user locale
| HTML+ERB | apache-2.0 | annict/annict,annict/annict,annict/annict,annict/annict |
1703ba098fcb7038afdb6233f94657cadab336c4 | jobs/syslog-configurator/templates/syslog-configurator_ctl.erb | jobs/syslog-configurator/templates/syslog-configurator_ctl.erb | #!/bin/bash -e
JOB_DIR=/var/vcap/jobs/syslog-configurator
PIDFILE=/var/vcap/sys/run/syslog-configurator.pid
declare -a LOG_DIRS=(
"/var/vcap/sys/log/service-backup"
"/var/vcap/sys/log/service-metrics"
)
source /var/vcap/packages/redis-common/utils.sh
case $1 in
start)
<% if_p("syslog_aggregator.address", ... | #!/bin/bash -e
JOB_DIR=/var/vcap/jobs/syslog-configurator
PIDFILE=/var/vcap/sys/run/syslog-configurator.pid
declare -a LOG_DIRS=(
"/var/vcap/sys/log/service-backup"
"/var/vcap/sys/log/service-metrics"
)
source /var/vcap/packages/redis-common/utils.sh
case $1 in
start)
<% if_p("syslog_aggregator.address", ... | Update syslog forwarder conf filename | Update syslog forwarder conf filename
[#117896407]
Signed-off-by: Henry Stanley <b0b1d04541cab6bb75fdc9ee8f1c2e7f813af8bc@pivotal.io>
| HTML+ERB | apache-2.0 | pivotal-cf/cf-redis-release,pivotal-cf/cf-redis-release,pivotal-cf/cf-redis-release |
4fd2191f8d6da9d822b67846f2795ec6c015ac8f | app/views/manual_documents/reorder.html.erb | app/views/manual_documents/reorder.html.erb | <% content_for :breadcrumbs do %>
<li><%= link_to "Your manuals", manuals_path %></li>
<li><%= link_to manual.title, manual_path(manual) %></li>
<li class="active">Reorder sections</li>
<% end %>
<h1 class="page-header">
Reorder sections
</h1>
<div class="row">
<div class="col-md-8">
<ol class="reordera... | <% content_for :breadcrumbs do %>
<li><%= link_to "Your manuals", manuals_path %></li>
<li><%= link_to manual.title, manual_path(manual) %></li>
<li class="active">Reorder sections</li>
<% end %>
<h1 class="page-header">
Reorder sections
</h1>
<%= form_tag(update_order_manual_documents_path(manual), method: :p... | Send section IDs to reorder | Send section IDs to reorder
So that the reordering is saved, send it to the server on submit.
| HTML+ERB | mit | alphagov/specialist-publisher-rebuild,alphagov/specialist-publisher-rebuild,ministryofjustice/specialist-publisher,alphagov/specialist-publisher,ministryofjustice/specialist-publisher,alphagov/manuals-publisher,alphagov/specialist-publisher,ministryofjustice/specialist-publisher,ministryofjustice/specialist-publisher,a... |
57221042df8d9ecf411859311d32ceddbb61239e | app/views/admin/editions/_locale_fields.html.erb | app/views/admin/editions/_locale_fields.html.erb | <% if edition.locale_can_be_changed? %>
<fieldset class="foreign-language">
<div class="checkbox">
<%= label_tag :create_foreign_language_only, nil, class: [:checkbox, "js-toggle-scheduled-publication-date-picker"] do %>
<%= check_box_tag :create_foreign_language_only, "1", form.object.primary_local... | <% if edition.locale_can_be_changed? %>
<fieldset class="foreign-language">
<div class="checkbox">
<%= label_tag :create_foreign_language_only, nil, class: [:checkbox, "js-toggle-scheduled-publication-date-picker"] do %>
<%= check_box_tag :create_foreign_language_only, "1", form.object.primary_local... | Allow locale_fields partial to apply to multiple Edition types | Allow locale_fields partial to apply to multiple Edition types
| HTML+ERB | mit | alphagov/whitehall,alphagov/whitehall,alphagov/whitehall,alphagov/whitehall |
434b0ae0021acb8a37a708f5b37b67b89d4d1c46 | lib/domgen/imit/templates/client/model_module.xml.erb | lib/domgen/imit/templates/client/model_module.xml.erb | <?xml version="1.0" encoding="UTF-8"?>
<module>
<inherits name='org.realityforge.gwt.datatypes.Datatypes'/>
<inherits name="com.google.gwt.json.JSON"/>
<inherits name="org.realityforge.replicant.Replicant"/>
<% if repository.keycloak? -%>
<inherits name="org.realityforge.gwt.keycloak.Keycloak"/>
<% end -%>
<%... | <?xml version="1.0" encoding="UTF-8"?>
<!-- DO NOT EDIT: File is auto-generated -->
<module>
<inherits name='org.realityforge.gwt.datatypes.Datatypes'/>
<inherits name="com.google.gwt.json.JSON"/>
<inherits name="org.realityforge.replicant.Replicant"/>
<% if repository.keycloak? -%>
<inherits name="org.reality... | Add DO NOT EDIT banner | Add DO NOT EDIT banner
| HTML+ERB | apache-2.0 | icaughley/domgen,icaughley/domgen,realityforge/domgen,realityforge/domgen |
f080badd328f207d24ece53cdf6cbd11255dfb9b | app/views/layouts/wellspring/application.html.erb | app/views/layouts/wellspring/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Wellspring</title>
<%= stylesheet_link_tag "wellspring/application", media: "all" %>
<%= javascript_include_tag "wellspring/application" %>
<%= csrf_meta_tags %>
</head>
<body>
<nav class="side-panel">
<h1>Wellspring</h1>
<ul>
<li>
<%= link_to wel... | <!DOCTYPE html>
<html>
<head>
<title>Wellspring</title>
<%= stylesheet_link_tag "wellspring/application", media: "all" %>
<%= javascript_include_tag "wellspring/application" %>
<%= csrf_meta_tags %>
</head>
<body>
<nav class="side-panel">
<h1>Wellspring</h1>
<ul>
<li>
<%= link_to wel... | Remove "categories" from the sidebar, for now | Remove "categories" from the sidebar, for now
| HTML+ERB | mit | seanwebba/wellspring,pch/wellspring,NextAcademy/wellspring,NextAcademy/wellspring,elitwin/wellspring,geetfun/wellspring,seanwebba/wellspring,geetfun/wellspring,NextAcademy/wellspring,seanwebba/wellspring,seanwebba/wellspring,elitwin/wellspring,pch/wellspring,elitwin/wellspring,geetfun/wellspring,pch/wellspring |
c62d4123ef06c8eac2c57ee4a7336156d80214f5 | app/views/spree/products/recently_viewed.html.erb | app/views/spree/products/recently_viewed.html.erb | <% if cached_recently_viewed_products.any? %>
<div id="recently_viewed" data-hook>
<h3 class="product-section-title"><%= Spree.t(:recently_viewed_products) %></h3>
<ul id="recently_viewed_products" class="list-group">
<% cached_recently_viewed_products.each do |product| %>
<li class="list-group... | <% if cached_recently_viewed_products.any? %>
<div id="recently_viewed" class="mt-4" data-hook>
<h3 class="product-section-title"><%= Spree.t(:recently_viewed_products) %></h3>
<ul id="recently_viewed_products" class="list-group">
<% cached_recently_viewed_products.each do |product| %>
<li clas... | Update classes to use bootstrap-4 | Update classes to use bootstrap-4
| HTML+ERB | bsd-3-clause | spree-contrib/spree_recently_viewed,spree-contrib/spree_recently_viewed,spree-contrib/spree_recently_viewed |
0a531544df49a33ff8895d6ab02306b720652495 | puppet/precip/templates/php_overrides.erb | puppet/precip/templates/php_overrides.erb | ;Precip php.ini Overrides.
max_execution_time=600
max_input_time=300
post_max_size=50M
upload_max_filesize=50M
memory_limit=256M
max_input_vars=10000
realpath_cache_size=1024
display_errors=On
html_errors=On
session_save_path=/tmp
sendmail_path=/usr/bin/mailhog sendmail noreply@precip.vm
date.timezone=America/New_York | ;Precip php.ini Overrides.
max_execution_time=300
post_max_size=256M
upload_max_filesize=256M
max_input_time=120
memory_limit=384M
max_input_vars=5000
realpath_cache_size=900K
error_reporting=E_ALL
display_errors=On
display_startup_errors=1
html_errors=On
session_save_path=/tmp
sendmail_path=/usr/bin/mailhog sendmail n... | Update php settings to closer match acquia | [php-settings] Update php settings to closer match acquia
| HTML+ERB | mit | clwdev/precip,clwdev/precip,clwdev/precip,Xenza/precip,Xenza/precip,Xenza/precip,clwdev/precip,Xenza/precip |
ad4ee4782b659f0d8c08f5fe7bfe7adbe8471651 | app/views/schools/_results.html.erb | app/views/schools/_results.html.erb | <h6>search results: <%= @results.length %></h5>
<ul class="list-group results-list">
<% @results.each do |item| %>
<div class="result-item">
<a data-toggle="modal" data-target="#schoolModal" data-dbn=<%= item.dbn%> data-school="<%= item.school %>" data-enrollment=<%= item.total_enrollment %> data-owed=<%= item... | <h6>search results: <%= @results.length %></h5>
<ul class="list-group results-list">
<% @results.each do |item| %>
<div class="result-item clickable">
<a data-toggle="modal" data-target="#schoolModal" data-dbn=<%= item.dbn%> data-school="<%= item.school %>" data-enrollment=<%= item.total_enrollment %> data-owe... | Add clickable class to each result item | Add clickable class to each result item
| HTML+ERB | mit | fma2/cfe-money,fma2/cfe-money,fma2/cfe-money |
716eac2eaa6670dfa8fd14eaffab52bbb0a27c99 | modules/govuk_ci/templates/jenkins-agent.conf.erb | modules/govuk_ci/templates/jenkins-agent.conf.erb | start on runlevel [2345]
stop on runlevel [!2345]
script
test -f /etc/default/locale && . /etc/default/locale || true
export LANG
exec start-stop-daemon --start -c jenkins --exec /usr/bin/java \
--name jenkins-agent -- -jar <%= @swarm_client_dest %> \
-username ... | start on runlevel [2345]
stop on runlevel [!2345]
respawn
respawn limit 5 20
script
test -f /etc/default/locale && . /etc/default/locale || true
export LANG
exec start-stop-daemon --start -c jenkins --exec /usr/bin/java \
--name jenkins-agent -- -jar <%= @swarm_client_dest %> ... | Add respawn to jenkins-agent upstart | Add respawn to jenkins-agent upstart
We should try restarting the service if it crashes before the CI master
determines that is unable to connect to it.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
17a1e2bb93976cb2fbf5237f98f2836607064db5 | app/views/expenses/index.html.erb | app/views/expenses/index.html.erb | <div id="content">
<h2>Recent Expenses</h2>
<% @expenses.each do |group, expenses| %>
<h3><%= group %></h3>
<ul class="expenses">
<% expenses.each do |expense| -%>
<li><strong><%= number_to_currency expense.cost %></strong> on <span><%= h expense.item %></span>.</li>
<% end %>
</ul... | <div id="content">
<h2>Recent Expenses</h2>
<% if @expenses.length > 0 %>
<% @expenses.each do |group, expenses| %>
<h3><%= group %></h3>
<ul class="expenses">
<% expenses.each do |expense| -%>
<li><strong><%= number_to_currency expense.cost %></strong> on <span><%= h expense.ite... | Add a message for users with no expenses. | Add a message for users with no expenses.
| HTML+ERB | mit | Stackato-Apps/expense,Stackato-Apps/expense,tristandunn/expense |
0acac7a26b14208ec4c3f392bc869ca2d1a6d875 | app/views/homepage/about.html.erb | app/views/homepage/about.html.erb | <div class="col-md-8">
<div class="row">
<p>I am the about page. This is content. Youre reading it. High five!</p>
<p>This is a demo service-oriented architecture app which uses a stack of Rails 4, jQuery, Bootstrap, PostgreSQL,
Puma, and Heroku. Two API endpoints are utilized to return gas price infor... | <div class="col-md-8">
<div class="row">
<p>I am the about page. This is content. Youre reading it. High five!</p>
<p>This is a demo of a service-oriented architecture app. It employs a stack of Rails 4, jQuery, Bootstrap, PostgreSQL,
Puma, and Heroku. Two API endpoints are utilized to return gas price... | Correct grammar / wording on About page; | Correct grammar / wording on About page;
| HTML+ERB | mit | stratigos/gasprices,stratigos/gasprices,stratigos/gasprices |
f9deef083ffe41e33b987b44a69817c457adbe69 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="ROBOTS" content="NOODP" />
<meta name="viewport" content="initial-scale=1" />
<title><%= title %></title>
<%= favicon_link_tag "favicon.ico" %>
<%= stylesheet_link_tag :normalize, media: "all" %>
<%= stylesheet_link_tag :applicat... | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="ROBOTS" content="NOODP" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title><%= title %></title>
<%= favicon_link_tag "favicon.ico" %>
<%= stylesheet_link_tag :normalize, media: "all" %>
<%= styleshee... | Set width to device width to be nice to iPhones | Set width to device width to be nice to iPhones
| HTML+ERB | mit | codecation/trailmix,codecation/trailmix,codecation/trailmix,codecation/trailmix |
b475d8fa4122cb630f23312f29c927fa4007cf82 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<%= content_for :head %>
<meta name=viewport content="width=device-width, initial-scale=1">
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= jquery_include_tag :google %>
<%= javascript_include_tag 'application', 'data-turbolinks-trac... | <!DOCTYPE html>
<html>
<head prefix="og: http://ogp.me/ns# object: http://ogp.me/ns/object#">
<%= content_for :head %>
<meta name=viewport content="width=device-width, initial-scale=1">
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= jquery_include_tag :google %>
... | Add og namespace to <head> | Add og namespace to <head>
| HTML+ERB | mit | lulalala/mei,lulalala/mei,lulalala/mei |
7ac6581d5095365e53760182765ba94e8750814a | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>CommitAuditor</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<%= yield %>
</body>
</html>
| <!DOCTYPE html>
<html>
<head>
<title>Commit Watcher</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<%= yield %>
</body>
</html>
| Change web UI project name | Change web UI project name
| HTML+ERB | apache-2.0 | srcclr/commit-watcher,srcclr/commit-watcher,srcclr/commit-watcher,srcclr/commit-watcher |
02241abcdb8949c0a626a13b6414a83212fef582 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Mguides</title>
<%= stylesheet_link_tag :all %>
<script type="text/javascript" charset="utf-8" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<%= javascript_include_tag 'jquery.mustache.js', 'jquery-ui-1.8.14.custom.min.js' %>
<%# javascrip... | <!DOCTYPE html>
<html>
<head>
<title>Mguides</title>
<%= stylesheet_link_tag '/guide-assets/stylesheets/formtastic.css', '/guide-assets/stylesheets/formtastic_changes.css' %>
<script type="text/javascript" charset="utf-8" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<%= javasc... | Update layout to use new (correct) asset paths, and wrap content in div required by slimmer | Update layout to use new (correct) asset paths, and wrap content in div required by slimmer
| HTML+ERB | mit | theodi/publisher,telekomatrix/publisher,telekomatrix/publisher,theodi/publisher,leftees/publisher,leftees/publisher,telekomatrix/publisher,telekomatrix/publisher,theodi/publisher,alphagov/publisher,alphagov/publisher,leftees/publisher,alphagov/publisher,theodi/publisher,leftees/publisher |
c0953364ec6492c12dde1543b889c671c0da8f9a | app/views/questions/_response.html.erb | app/views/questions/_response.html.erb | <div class="response">
<h3><i class="fa fa-user"></i> <%= response.user ? response.user.name : 'Default' %></h3>
<p><%= response.content %></p>
<span><i class="fa fa-comments"></i> Comments</span>
<%= link_to 'Add Comment', new_response_comment_path(response) %>
<% response.comments.each do |comment| %>
... | <div class="response">
<h3><i class="fa fa-user"></i> <%= response.user ? response.user.name : 'Default' %></h3>
<p><%= response.content %></p>
<span><i class="fa fa-comments"></i> Comments</span>
<%= link_to 'Add Comment', new_response_comment_path(response) %>
<% response.comments.each do |comment| %>
... | Fix erb tag to populate data id attribute. | Fix erb tag to populate data id attribute.
| HTML+ERB | mit | great-horned-owls-2014/dbc-what-is-this,great-horned-owls-2014/dbc-what-is-this |
25d24cdde9e7522cceabeaef6428fb2244f92438 | app/views/responses/_response.html.erb | app/views/responses/_response.html.erb | <p><%= response.content %><br/>
Commented by: <%= response.responder_name %></p>
| <p><%= response.content %><br/>
Commented by: <%= response.responder_name %><br />
<%= render "votes/vote_count", :object => response%>
<% if !Vote.find_by(voter_id: current_user.id, votable_id: response.id, votable_type: "Response") && current_user.id != response.responder.id %>
<%= render "votes/vote_form", :objec... | Add vote count partial and vvote form partial to response partial | Add vote count partial and vvote form partial to response partial
| HTML+ERB | mit | jeder28/stack_overphil,jeder28/stack_overphil,jeder28/stack_overphil |
12ff8aed729f39d6b55c49a6c59b305049ae13bb | app/views/shared/_homepage_intro.html.erb | app/views/shared/_homepage_intro.html.erb | <div class="homepage-intro">
<h1><%= heading %></h1>
<ul class="list--benefits">
<%= summary %>
</ul>
<div id="introduction-text">
<%= introduction %>
</div>
</div> | <div>
<h1><%= heading %></h1>
<ul class="list--benefits">
<%= summary %>
</ul>
<div id="introduction-text">
<%= introduction %>
</div>
</div>
| Remove homepage intro class from view. | Remove homepage intro class from view.
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
c05a54322ec94c3e3f1bc58f06c1ba26b69a14cc | app/views/spree/social/_facebook.html.erb | app/views/spree/social/_facebook.html.erb | <% unless Spree::Config.facebook_app_id.nil? %>
<% content_for :head do %>
<meta property="og:title" content="<%= @product.name %>" />
<meta property="og:type" content="product" />
<meta property="og:url" content="<%= product_url(@product) %>" />
<meta property="og:description" content="<%= @product.d... | <% unless Spree::Config.facebook_app_id.nil? %>
<% content_for :head do %>
<meta property="og:title" content="<%= @product.name %>" />
<meta property="og:type" content="product" />
<meta property="og:url" content="<%= product_url(@product) %>" />
<meta property="og:description" content="<%= @product.d... | Remove channelUrl from FB.init call | Remove channelUrl from FB.init call
| HTML+ERB | bsd-3-clause | tfitts/spree_social_products,spree-contrib/spree_social_products,spree-contrib/spree_social_products,tfitts/spree_social_products,GraphicDesk/spree_social_products,GraphicDesk/spree_social_products,zanbee/spree_social_products,zanbee/spree_social_products,paulcc/spree_social_products,tfitts/spree_social_products,paulcc... |
144b773639ad5c50c4df478d6739e55627a65f64 | spec/dummy/app/views/layouts/application.html.erb | spec/dummy/app/views/layouts/application.html.erb | <%# blocks for govuk_admin_template %>
<% content_for :page_title do %>page_title<% end %>
<% content_for :app_title do %>app_title<% end %>
<% content_for :head do %>
<%= stylesheet_link_tag "application", :media => "all" %>
<%= javascript_include_tag "application" %>
<% end %>
<% content_for :navbar_items do %>
... | <%# blocks for govuk_admin_template %>
<% content_for :page_title do %>page_title<% end %>
<% content_for :app_title do %>app_title<% end %>
<% content_for :head do %>
<%= stylesheet_link_tag "application", :media => "all" %>
<%= javascript_include_tag "application" %>
<% end %>
<% content_for :navbar_items do %>
... | Remove comment reference to old repository | Remove comment reference to old repository
| HTML+ERB | mit | alphagov/govuk_admin_template,alphagov/govuk_admin_template,alphagov/govuk_admin_template |
fced4e68afa6ccfb16233a219b58c27e6f71034d | lib/app/views/nav.erb | lib/app/views/nav.erb | <ul class="nav">
<li><a href="/about">About</a></li>
<li><a href="/getting-started">Getting Started</a></li>
<li><a href="http://help.exercism.io">Help</a></li>
</ul>
<ul class="nav pull-right">
<% if !current_user.guest? %>
<%= erb :"nav/nitpicker_languages" %>
<%= erb :"nav/ongoing_exercises" %>
... | <ul class="nav">
<li><a href="/about">About</a></li>
<li><a href="/getting-started">Getting Started</a></li>
<li><a href="http://help.exercism.io">Help</a></li>
</ul>
<ul class="nav pull-right">
<% if !current_user.guest? %>
<%= erb :"nav/nitpicker_languages" %>
<%= erb :"nav/ongoing_exercises" %>
... | Put the backdoor back in | Put the backdoor back in
| HTML+ERB | agpl-3.0 | jtigger/exercism.io,hanumakanthvvn/exercism.io,alexclarkofficial/exercism.io,colinrubbert/exercism.io,exercistas/exercism.io,beni55/exercism.io,colinrubbert/exercism.io,emilyforst/exercism.io,hanumakanthvvn/exercism.io,copiousfreetime/exercism.io,RaptorRCX/exercism.io,emilyforst/exercism.io,nathanbwright/exercism.io,k4... |
3acbe4013ebdc8581f3737466735043d995732ca | app/views/shared/stats/facts/_iucn_categories.html.erb | app/views/shared/stats/facts/_iucn_categories.html.erb | <section class="fact">
<h2 class="fact__header">IUCN Management categories<i class="fact__external-link fa fa-external-link-square"></i></h2>
<div class="fact__body">
<table class="table js-sortable-table">
<thead>
<tr class="table__header">
<th class="table__column table__column--with-sor... | <section class="fact">
<h2 class="fact__header">IUCN Management categories<i class="fact__external-link fa fa-external-link-square"></i></h2>
<div class="fact__body">
<table class="table js-sortable-table">
<thead>
<tr class="table__header">
<th class="table__column table__column--with-sor... | Fix search under IUCN categories tab in country pages | Fix search under IUCN categories tab in country pages
| HTML+ERB | bsd-3-clause | unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet |
fc397d6bf9695f80bdcfd2db448166b8ec185659 | pages/community/index.erb | pages/community/index.erb | ---
layout: default
title: Community
---
<article>
<header>
<h3>Friends and buddies</h3>
<p>Some awesome people have taken the time to make localised Setup-style sites, picking the brains of the people around them, or those within a particular field of interest. Others have written up personal interviews wit... | ---
layout: default
title: Community
---
<article>
<header>
<h3>Friends and buddies</h3>
<p>Some awesome people have taken the time to make their localised versions of the site, picking the brains of the people around them, or those within a particular field of interest. Others have written up their own pers... | Change up the text, remove the 'Setup' bit. | Change up the text, remove the 'Setup' bit.
| HTML+ERB | mit | waferbaby/usesthis,waferbaby/usesthis,ivuk/usesthis,ivuk/usesthis |
99aa67c4274179a99dc29191de5050920cc70096 | lib/smart_answer_flows/check-uk-visa/questions/article_10_card.govspeak.erb | lib/smart_answer_flows/check-uk-visa/questions/article_10_card.govspeak.erb | <% content_for :title do %>
Do you have a valid Article 10 residence card?
<% end %>
<% content_for :body do %>
<% if calculator.family_visit? %>
The person you’re staying with must be your sponsor.
<% else %>
The person you’re visiting or travelling with must be your sponsor.
<% end %>
<% end %>
<% o... | <% content_for :title do %>
Do you have an Article 10 or 20 card?
<% end %>
<% content_for :body do %>
You only get one of these if you're both of the following:
- the family member of an EEA citizen
- living in a different EEA country than the one your family member is from
Find out more about [Article 1... | Clarify wording on article 10/20 check visa page | Clarify wording on article 10/20 check visa page
Clarify wording on check uk visa journey on article 10/20 page
Trello card: https://trello.com/c/4W4XrkFj/1872-update-article-10-20-residence-cards-in-visa-checker-tool
| HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
eb4e8528dfd1456f3013b12c3d6386dbc04e8c1f | app/views/discussions/_intro_panel.html.erb | app/views/discussions/_intro_panel.html.erb | <% if @wip.main_thread? %>
<div class="panel panel-default">
<div class="panel-heading">
<h6 class="panel-title">New here?</h6>
</div>
<div class="panel-body small">
This is a great time to briefly introduce yourself, skills you'd like to contribute, and what you'd like to get out of <%= @wip.... | <% if @wip.main_thread? && @wip.product.for_profit? %>
<div class="panel panel-default">
<div class="panel-heading">
<h6 class="panel-title">New here?</h6>
</div>
<div class="panel-body small">
This is a great time to briefly introduce yourself, skills you'd like to contribute, and what you'd ... | Hide intro link on meta products | Hide intro link on meta products
| HTML+ERB | agpl-3.0 | lachlanjc/meta,lachlanjc/meta,assemblymade/meta,lachlanjc/meta,lachlanjc/meta,assemblymade/meta,assemblymade/meta,assemblymade/meta |
0401a3f37c95d6c409216b9b8885fa0d9ea662f8 | app/views/layouts/backend/lightbox.html.erb | app/views/layouts/backend/lightbox.html.erb | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Udongo</title>
<%= stylesheet_link_tag 'backend/application', media: 'all' %>
<%= javascript_include_tag 'modernizr' %>
<%= javascript_include_tag 'backend/application' %>
<%= csrf_m... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Udongo</title>
<%= stylesheet_link_tag 'backend/application', media: 'all' %>
<%= yield(:stylesheets) %>
<%= javascript_include_tag 'modernizr' %>
<%= csrf_meta_tags %>
</head>
<bod... | Make sure the inline js loading works for the lightbox template. | Make sure the inline js loading works for the lightbox template.
| HTML+ERB | mit | udongo/udongo,udongo/udongo,udongo/udongo |
006c7756138bb7de2e4e385b11ada48402b3435a | app/views/shared/_social_media_nav.html.erb | app/views/shared/_social_media_nav.html.erb | <div class="debug socialMediaContainer" itemscope itemtype="http://schema.org/Person" role="navigation">
<h4 class="sr-only">Social Media Navigation</h4>
<%= mail_to "mailto:downeydillon@gmail.com", itemprop:"email" do %>
<%= image_tag("https://#{ENV["S3_HOST_ALIAS"]}/#{ENV["S3_BUCKET_NAME"]}/images/icons/gmail... | <div class="debug socialMediaContainer" itemscope itemtype="http://schema.org/Person" role="navigation">
<h4 class="sr-only">Social Media Navigation</h4>
<%= mail_to "mailto:downeydillon@gmail.com", itemprop:"email" do %>
<%= image_tag("https://s3-us-west-2.amazonaws.com/downeyd27/images/icons/gmail-64x64.png",... | Fix image url path to cloudfront. | Fix image url path to cloudfront.
| HTML+ERB | mit | downeyd27/personal_website,downeyd27/personal_website,downeyd27/personal_website |
1695c5d75cb08498ab7f95824c52b89323f3cd90 | app/views/static_pages/_computer_summary.html.erb | app/views/static_pages/_computer_summary.html.erb | <% img_root = "https://s3.us-east-2.amazonaws.com/pbogardcom-images/" %>
<% img_path = "computers/old/#{computer["name"].parameterize}" %>
<%
uri = URI("#{img_root}#{img_path}.png")
request = Net::HTTP.new(uri.host)
response = request.request_head(uri.path)
img = response.code.to_i == 200 ? "#{img_path}.png" : "#{img... | <% img_root = "https://s3.us-east-2.amazonaws.com/pbogardcom-images/" %>
<% img_path = "computers/old/#{computer["name"].parameterize}" %>
<%
uri = URI("#{img_root}#{img_path}.png")
request = Net::HTTP.new(uri.host)
response = request.request_head(uri.path)
img = response.code.to_i == 200 ? "#{img_path}.png" : "#{img... | Remove status text from computer summary partial | Remove status text from computer summary partial
| HTML+ERB | mit | bogardpd/portfolio,bogardpd/portfolio,bogardpd/portfolio |
a8d00891189bbab038e082076dd3f2edc28c6576 | app/views/tasuku/taskables/_illustration.html.erb | app/views/tasuku/taskables/_illustration.html.erb | <% if request.image? %>
<div class="image"><%= image_tag request.image %></div>
<% end %>
<% if request.video_id %>
<div class="video"><%= embed_video(request, '100%', '100%') %></div>
<% end %>
| <% if request.image? %>
<div class="image"><%= image_tag request.image %></div>
<% end %>
<% if request.video? %>
<div class="video"><%= embed_video(request, '100%', '100%') %></div>
<% end %>
| Use the new embeddable predicate .video? | Use the new embeddable predicate .video?
| HTML+ERB | mit | hyperoslo/tasuku,hyperoslo/tasuku,hyperoslo/tasuku |
c0a1a4c0915e47fa6690e83d86c11026f29286e7 | app/views/letter_opener_web/letters/index.html.erb | app/views/letter_opener_web/letters/index.html.erb | <div class="col left">
<h1>
Letters
<span class="float-end">
<%= link_to letters_path, class: 'btn btn-primary refresh' do %>
Refresh
<% end %>
<%= link_to clear_letters_path, method: 'delete', data: { confirm: 'Are you sure?' }, class: 'btn btn-danger' do %>
Clear
<% e... | <div class="col left">
<h1>
Letters
<span class="float-end">
<%= link_to letters_path, class: 'btn btn-primary refresh' do %>
Refresh
<% end %>
<%= link_to clear_letters_path, method: 'delete', data: { confirm: 'Are you sure?' }, class: 'btn btn-danger' do %>
Clear
<% e... | Make refresh work when no emails have been sent yet | Make refresh work when no emails have been sent yet
| HTML+ERB | mit | fgrehm/letter_opener_web,fgrehm/letter_opener_web,fgrehm/letter_opener_web,fgrehm/letter_opener_web |
0a1f0021cb32cd4f1163878c048fec4a4947a4c4 | app/views/so_tech_sha_overview_page/index.html.erb | app/views/so_tech_sha_overview_page/index.html.erb | <div class="row">
<div class="col-md-6" id="top">
<%= image_tag "sotechsha-1_book-cover.png",
class: "img-responsive center-block",
alt: "Scratchでつくる! たのしむ! プログラミング道場",
style: "width: 90%"
%>
<div style="padding: 2% 5%">
<p>ソーテック社書籍詳細は<a href="http://www.sotechsha.co.jp/pc/html/1151.htm" targ... | <div class="row">
<div class="col-md-6" id="top">
<%= image_tag "sotechsha-1_book-cover.png",
class: "img-responsive center-block",
alt: "Scratchでつくる! たのしむ! プログラミング道場",
style: "width: 90%"
%>
<div style="padding: 2% 5%">
<p>ソーテック社の書籍詳細は<a href="http://www.sotechsha.co.jp/pc/html/1151.htm" tar... | Tweak top description a bit in 公式ブック | Tweak top description a bit in 公式ブック
| HTML+ERB | mit | coderdojo-japan/coderdojo.jp,coderdojo-japan/coderdojo.jp,yasslab/coderdojo.jp,yasslab/coderdojo.jp,yasslab/coderdojo.jp,coderdojo-japan/coderdojo.jp,coderdojo-japan/coderdojo.jp |
26fd003d09917f357d552ebd2195ac90ad9af4d9 | app/views/submission_filters/participants.html.erb | app/views/submission_filters/participants.html.erb | <%= render 'filters' %>
<%= render 'result_table', { submissions: submissions_participants,
table_title: "confirmed",
filter: :participants } %>
| <%= render 'filters' %>
<% if submissions_participants.empty? %>
<%= render 'empty_table', message: "No participants confirmed attending yet" %>
<% else %>
<%= render 'result_table', { submissions: submissions_participants,
table_title: "participants",
... | Add empty box to participants if none | [144] Add empty box to participants if none
| HTML+ERB | mit | LunarLogic/rails-girls-submissions,LunarLogic/rails-girls-submissions,LunarLogic/rails-girls-submissions |
8f51bcc26439d2309395b58b79d29ed88e96aad3 | templates/ernestenv.sh.erb | templates/ernestenv.sh.erb | # Ernest environment
export ERNEST_ENV=<%= @env %>
# Rack environment
<% if @env == 'dev' %>
export RACK_ENV=development
<% elsif @env == 'test' %>
export RACK_ENV=test
<% else %>
export RACK_ENV=production
<% end %>
export NATS_URI=<%= @nats_uri %>
<% if ['dev', 'test'].include? @env %>
export NATS_URI_TEST=<%= @nat... | # Ernest environment
export ERNEST_ENV=<%= @env %>
export NATS_URI=<%= @nats_uri %>
<% if ['dev', 'test'].include? @env %>
export NATS_URI_TEST=<%= @nats_uri_test %>
<% end %>
| Remove RACK_ENV as it is not used anymore | Remove RACK_ENV as it is not used anymore
| HTML+ERB | mpl-2.0 | ErnestIO/ernest-vagrant,ErnestIO/ernest-vagrant,ErnestIO/ernest-vagrant |
e808a8746998b30fc43f0f88949edacd20e67a1d | templates/default/systemd/httpd.service.erb | templates/default/systemd/httpd.service.erb | [Unit]
Description=The Apache HTTP Server
After=network.target remote-fs.target nss-lookup.target
[Service]
<% if platform_family?('debian') %>
Type=simple
<% else %>
Type=notify
<% end %>
Environment=LANG=C
ExecStart=/usr/sbin/<%= @binary_name %> -f /etc/<%= @apache_name %>/<%= @config_relative_path %> -DFOREGROUND
... | [Unit]
Description=The Apache HTTP Server
After=network.target remote-fs.target nss-lookup.target
[Service]
<% if node['platform_family'] == 'debian' %>
Type=simple
<% else %>
Type=notify
<% end %>
Environment=LANG=C
ExecStart=/usr/sbin/<%= @binary_name %> -f /etc/<%= @apache_name %>/<%= @config_relative_path %> -DFO... | Fix a failure in the systemd template | Fix a failure in the systemd template
Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
| HTML+ERB | apache-2.0 | karmix/httpd,chef-cookbooks/httpd,karmix/httpd,chef-cookbooks/httpd,chef-cookbooks/httpd,karmix/httpd,chef-cookbooks/httpd,karmix/httpd |
68d25a5b7df15f23cc0a43fdc557ff2c612b89de | vendor/plugins/refinery/app/views/shared/_content_page.html.erb | vendor/plugins/refinery/app/views/shared/_content_page.html.erb | <%= render :partial => "/shared/submenu" if (show_submenu ||= true) and RefinerySetting.find_or_set(:show_submenu_on_content_pages, true) %>
<div id='body_content' class='clearfix'>
<h1 id='body_content_page_title'><%= page_title %></h1>
<div id='body_content_left' class='clearfix'>
<%= (body_content_left = yie... | Add new content page partial which pages can render for easier overriding of the global markup. | Add new content page partial which pages can render for easier overriding of the global markup.
| HTML+ERB | mit | rafamvc/jobs-refinery,kritik/diamond-tours,rafamvc/jobs-refinery,johnreilly/johnandkaty,ashrafuzzaman/stips,kritik/portfolio,ashrafuzzaman/stips,clanplaid/wow.clanplaid.net,captproton/fugu,clanplaid/wow.clanplaid.net,mdoyle13/haymarket-ref,mdoyle13/haymarket-ref,mdoyle13/haymarket-ref,kritik/portfolio,myabc/refinerycms... | |
04006f239f829d6ada374f92e4d1f2858d218788 | www/source/docs/using-habitat.html.md.erb | www/source/docs/using-habitat.html.md.erb | ---
title: Habitat Docs - Using Habitat
description: Documentation and tutorials for Habitat including getting started; creating, building, and running Habitat packages; and dynamic configuration updates.
---
<%
=begin
%>
For now this is incomplete. Let's wrap this in a comment and use the refactored overview until we ... | ---
title: Habitat Docs - Using Habitat
description: Documentation and tutorials for Habitat including getting started; creating, building, and running Habitat packages; and dynamic configuration updates.
---
<%
=begin
%>
For now this is incomplete. Let's wrap this in a comment and use the refactored overview until we ... | Add setting up a ring to partials | Add setting up a ring to partials
Signed-off-by: Tasha Drew <428a8f4391ea71add99cf4c8f8df7a5b6006c196@gmail.com> | HTML+ERB | apache-2.0 | nathenharvey/habitat,georgemarshall/habitat,habitat-sh/habitat,habitat-sh/habitat,georgemarshall/habitat,nathenharvey/habitat,georgemarshall/habitat,georgemarshall/habitat,rsertelon/habitat,habitat-sh/habitat,rsertelon/habitat,habitat-sh/habitat,georgemarshall/habitat,habitat-sh/habitat,nathenharvey/habitat,nathenharve... |
994448f2ed072f01a394426ddd2b24f534e67a93 | templates/default/php90kunstmaan.erb | templates/default/php90kunstmaan.erb | [kunstmaan]
max_execution_time = 7200
max_input_time = 7200
memory_limit = -1
post_max_size = 200M
upload_max_filesize = 200M
max_file_uploads = 100
date.timezone = Europe/Brussels
date.default_latitude = 50.877369
date.default_longitude = 4.684167
| [kunstmaan]
max_execution_time = 7200
max_input_time = 7200
memory_limit = -1
post_max_size = 200M
upload_max_filesize = 200M
max_file_uploads = 100
date.timezone = Europe/Brussels
date.default_latitude = 50.877369
date.default_longitude = 4.684167
xdebug.max_nesting_level = 1000
| Fix the "Maximum function nesting level of 100 reached" error with Symfony2 | Fix the "Maximum function nesting level of 100 reached" error with Symfony2
| HTML+ERB | apache-2.0 | kitchenplan/chef-applications,kitchenplan/chef-applications,lsvt-casey/chef-applications,mAAdhaTTah/chef-applications,lsvt-casey/chef-applications,mAAdhaTTah/chef-applications,lsvt-casey/chef-applications,kitchenplan/chef-applications |
1a20b5bc2b0e105ddb056b4926fc5786d6b8977d | app/views/layouts/_inside_sidebar.html.erb | app/views/layouts/_inside_sidebar.html.erb | <ul class="nav nav-list">
<% Competition.current.each do |competition| %>
<h5><%= competition.name %></h5>
<% if can? :manage, Performance %>
<li class="nav-header">Verwalten</li>
<%= nav_link_to "Benutzer", jmd_users_path if can? :manage, User %>
<%= nav_link_to "Wettbewerbe", jmd_competi... | <ul class="nav nav-list">
<% if can? :manage, Performance %>
<li class="nav-header">Verwalten</li>
<%= nav_link_to "Benutzer", jmd_users_path if can? :manage, User %>
<%= nav_link_to "Wettbewerbe", jmd_competitions_path if can? :manage, Competition %>
<%= nav_link_to "Aktuelle Vorspiele", current_jm... | Clean up sidebar for signed-in users | Clean up sidebar for signed-in users
| HTML+ERB | mit | richeterre/jumubase-rails,richeterre/jumubase-rails,richeterre/jumubase-rails |
52b02a9a42aa5a1f3c270de64b8862c425f41a1c | app/views/alchemy/admin/leave.html.erb | app/views/alchemy/admin/leave.html.erb | <%= render_message do %>
<%= Alchemy.t("You are about to leave Alchemy") %>
<% end %>
<p class="buttons">
<label><%= Alchemy.t("Do you want to") %></label>
<%= link_to Alchemy.t('stay logged in'), alchemy.root_path, class: 'button' %>
</p>
<%= form_tag Alchemy.logout_path, method: 'delete', class: 'buttons' do %>... | <%= render_message do %>
<%= Alchemy.t("You are about to leave Alchemy") %>
<% end %>
<p class="buttons">
<label><%= Alchemy.t("Do you want to") %></label>
<%= link_to Alchemy.t('stay logged in'), alchemy.root_path, class: 'button secondary' %>
</p>
<%= form_tag Alchemy.logout_path, method: 'delete', class: 'butt... | Use a secondary button in leave dialog | Use a secondary button in leave dialog
The secondary action is to stay logged in while chosing to leave alchemy admin.
| HTML+ERB | bsd-3-clause | robinboening/alchemy_cms,mamhoff/alchemy_cms,mamhoff/alchemy_cms,robinboening/alchemy_cms,AlchemyCMS/alchemy_cms,robinboening/alchemy_cms,AlchemyCMS/alchemy_cms,AlchemyCMS/alchemy_cms,mamhoff/alchemy_cms |
982a9e46e644be73e09730f101948b069b6909bf | app/views/icla_signatures/new.html.erb | app/views/icla_signatures/new.html.erb | <%= provide(:title, "Sign ICLA") %>
<div class="page withspace contribute"
<h1>Individual Contributor License Agreement <small>(ICLA)</small></h1>
<p>
You have been asked to sign an ICLA as part of the <%= link_to 'Community Contribution process', 'http://docs.opscode.com/community_contributions.html', target... | <%= provide(:title, "Sign ICLA") %>
<div class="page withspace contribute">
<h1>Individual Contributor License Agreement <small>(ICLA)</small></h1>
<p>
You have been asked to sign an ICLA as part of the <%= link_to 'Community Contribution process', 'http://docs.opscode.com/community_contributions.html', targe... | Add missing closing > on ICLA Sig new div. | Add missing closing > on ICLA Sig new div.
| HTML+ERB | apache-2.0 | robbkidd/supermarket,robbkidd/supermarket,tas50/supermarket,juliandunn/supermarket,tas50/supermarket,dpnl87/supermarket,leftathome/supermarket,nellshamrell/supermarket,jzohrab/supermarket,juliandunn/supermarket,chef/supermarket,rafaelmagu/supermarket,juliandunn/supermarket,jzohrab/supermarket,nellshamrell/supermarket,j... |
8158f523e92ffb5d876079f4b78629dec6fcc289 | app/views/layouts/_navigation.html.erb | app/views/layouts/_navigation.html.erb | <nav>
<ul>
<%= nav_item 'Browse & Vote', "/assets/book_dark.svg", links_path %>
<%= nav_item 'Learn More', "/assets/bulb_dark.svg", help_path %>
<% if current_user.try(:admin?) %>
<%= nav_item 'Top Ideas', admin_contents_path %>
<%= nav_item 'Previous Posts', admin_posts_path %>
<%= nav_item 'Notic... | <nav>
<ul>
<%= nav_item 'Browse & Vote', "/assets/book_dark.svg", links_path %>
<%= nav_item 'Learn More', "/assets/bulb_dark.svg", help_path %>
<% if current_user.try(:admin?) %>
<%= nav_item 'Top Ideas', nil, admin_contents_path %>
<%= nav_item 'Previous Posts', nil, admin_posts_path %>
<%= nav_ite... | Fix calls to nav_item for admin items | Fix calls to nav_item for admin items
| HTML+ERB | agpl-3.0 | Rootstrikers/vdash,Rootstrikers/vdash |
b803edb581a751846614346c7e3ae8c0b3b84140 | modules/cron/templates/etc/cron.d/crondotdee.erb | modules/cron/templates/etc/cron.d/crondotdee.erb | <% if @mailto %>
MAILTO=<%= @mailto %>
<% end %>
<%= @minute %> <%= @hour %> <%= @day %> <%= @month %> <%= @weekday %> <%= @user %> <%= @command %>
| <% unless @mailto.nil? || @mailto.empty? %>
MAILTO=<%= @mailto %>
<% end %>
<%= @minute %> <%= @hour %> <%= @day %> <%= @month %> <%= @weekday %> <%= @user %> <%= @command %>
| Update condition to avoid invalid mailto lines. | Update condition to avoid invalid mailto lines.
Never allow a MAILTO=, allow a MAILTO=""
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
ffd6eee80389baea8059a77b702e7ea28798c76f | app/views/user/user_page.erb | app/views/user/user_page.erb | <% current_user.rounds.each do |round| %>
<p>deck title:<%= round.deck.title %></p>
<p>times guessed:<%= round.guesses.count %></p>
<p>first time guessed: <%= round.guesses.where(times_guessed: 1).count %></p>
<% end %>
| Add stats to user page | Add stats to user page
| HTML+ERB | mit | nyc-purple-martins-2015/phlash0,nyc-purple-martins-2015/phlash0,nyc-purple-martins-2015/phlash0 | |
c056a7d599f6a7cc596b89b5d7f24dacbfb75783 | app/views/users/new.html.erb | app/views/users/new.html.erb | <h1><%= t('authentication.create_account') %></h1>
<%= simple_form_for @user, :html => { class: 'form-horizontal' } do |f| %>
<%= f.error_notification %>
<div class="form-inputs">
<%= f.input :email %>
<%= f.input :first_name %>
<%= f.input :last_name %>
<%= f.input :password %>
<%= f.input :passwor... | <h1><%= t('authentication.create_account') %></h1>
<%= simple_form_for @user, :html => { class: 'form-horizontal' } do |f| %>
<%= f.error_notification %>
<div class="form-inputs">
<%= f.input :email %>
<%= f.input :first_name %>
<%= f.input :last_name %>
<%= f.input :password %>
<%= f.input :passwor... | Call menus partial from the signup page. | Call menus partial from the signup page.
| HTML+ERB | mit | allesklar/tkh_authentication,allesklar/tkh_authentication |
551be784e764cf3f063089a2fac18f0df65df453 | app/views/users/new.html.erb | app/views/users/new.html.erb | <div id="sign_up_form">
<%= form_for(:user, url: signup_path) do |f| %>
<%= f.label :username %>
<%= f.text_field :username %>
<%= f.label :password %>
<%= f.password_field :password %>
<%= f.label :password_confirmation %>
<%= f.password_field :password_confirmation %>
<%= f.label :first_name %>... | <div id="sign_up_form">
<%= form_for(:user, url: signup_path) do |f| %>
<%= f.label :username %>
<%= f.text_field :username %>
<%= f.label :password %>
<%= f.password_field :password %>
<%= f.label :password_confirmation %>
<%= f.password_field :password_confirmation %>
<%= f.label :first_name %>... | Rename user's url form field to comply w/ field names in tables. | Rename user's url form field to comply w/ field names in tables.
| HTML+ERB | mit | pearlshin/StoryVine,SputterPuttRedux/storyvine_clone,mxngyn/StoryVine,mxngyn/StoryVine,pearlshin/StoryVine,SputterPuttRedux/storyvine_clone,SputterPuttRedux/storyvine_clone,mxngyn/StoryVine,pearlshin/StoryVine |
2c5d798a5577e977e7d92a6b0df100a6e3ac7f66 | BHCDatabase/app/views/meetings/show.html.erb | BHCDatabase/app/views/meetings/show.html.erb | <% provide(:title, @meeting.datetime) %>
<div id="meeting">
<h1>
<%= @meeting.datetime %>
</h1>
<div class="stdcontainer">
<p>
This is a test.
</p>
</div>
</div>
| <% provide(:title, @meeting.datetime) %>
<div id="meeting">
<h1>
<%= @meeting.datetime.strftime("%B %d, %Y - %H:%M") %>
</h1>
<div class="stdcontainer">
<p>
This is a test.
</p>
</div>
</div>
| Update seed file to populate meetings for one of the areas. | Update seed file to populate meetings for one of the areas. [ci skip]
| HTML+ERB | mit | DaBrown95/BHCDatabase,DaBrown95/BHCDatabase,DaBrown95/BHCDatabase |
aef3321264b9e550840d90666bbdf1898d4d3027 | TodUni/app/views/translations/index.html.erb | TodUni/app/views/translations/index.html.erb | <h1>Translations#index</h1>
<p>Find me in app/views/translations/index.html.erb</p>
<h1>Translations for <%= @locale %></h1>
<table>
<thead>
<tr>
<th>Translation Key</th>
<th>Setting</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<% translation_keys(@locale).each do |key| %>
<%... | <h1>Translations#index</h1>
<p>Find me in app/views/translations/index.html.erb</p>
<h1>Translations for <%= @locale %></h1>
<table>
<thead>
<tr>
<th>Translation Key</th>
<th>Setting</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<% translation_keys(@locale).each do |key| %>
<%... | Add New link to translations index page | Add New link to translations index page
| HTML+ERB | apache-2.0 | lalo2302/TodUni,lalo2302/TodUni,lalo2302/TodUni |
96d7ae45fd2ac3fb6a34acb3c8dd4ef8f26dbfb5 | app/views/admin/task_statuses/index.html.erb | app/views/admin/task_statuses/index.html.erb | <div id="content">
<script type="text/javascript">
$(document).ready(function(){
var update_position = function(id, direction){
$.post('<%= url_for :action => :update_position, :controller => :task_statuses %>',
{"id": id, "direction": direction }, callback, 'html');
... | <div id="content">
<script type="text/javascript">
$(document).ready(function(){
var update_position = function(id, direction){
$.post('<%= url_for :action => :update_position, :controller => :task_statuses %>',
{"id": id, "direction": direction }, callback, 'html');
... | Fix task status ajax update | Fix task status ajax update
| HTML+ERB | agpl-3.0 | jpartogi/projexion,jpartogi/projexion |
1c96430f3bc498ee6d06f61a40880425151c4443 | puppet/precip/templates/php_overrides.erb | puppet/precip/templates/php_overrides.erb | # Precip php.ini Overrides.
max_execution_time=600
max_input_time=300
post_max_size=50M
upload_max_filesize=50M
memory_limit=256M
max_input_vars=10000
realpath_cache_size=1024
display_errors=On
html_errors=On
session_save_path=/tmp
sendmail_path=/usr/bin/mailhog sendmail noreply@precip.vm
date.timezone=America/New_York | ;Precip php.ini Overrides.
max_execution_time=600
max_input_time=300
post_max_size=50M
upload_max_filesize=50M
memory_limit=256M
max_input_vars=10000
realpath_cache_size=1024
display_errors=On
html_errors=On
session_save_path=/tmp
sendmail_path=/usr/bin/mailhog sendmail noreply@precip.vm
date.timezone=America/New_York | Fix php.ini config file comment | Fix php.ini config file comment
| HTML+ERB | mit | clwdev/precip,clwdev/precip,Xenza/precip,Xenza/precip,Xenza/precip,clwdev/precip,Xenza/precip,clwdev/precip |
d1ac8fdb34384105439ba0e45f4358a2771aae00 | source/index.html.erb | source/index.html.erb | ---
title: Martin Costello's Blog
---
<div class="jumbotron">
<h1><%= blog_title %></h1>
<p class="lead"><%= blog_subtitle %></p>
</div>
<div class="row">
<% blog.articles[0..0].each do |article| %>
<div class="col-md-12">
<h2><%= link_to article.title, article %></h2>
<p><%... | ---
title: Martin Costello's Blog
---
<div class="jumbotron">
<h1><%= blog_title %></h1>
<p class="lead"><%= blog_subtitle %></p>
</div>
<div class="row">
<% blog.articles[0..0].each do |article| %>
<div class="col-md-12">
<h2><%= link_to article.title, article %></h2>
<p><%... | Fix URL not being escaped. | Fix URL not being escaped.
| HTML+ERB | mit | martincostello/blog,martincostello/blog,martincostello/blog |
d5c20179939a379a018f00aae70eab277ee00bf9 | decidim-core/app/views/decidim/participatory_processes/_promoted_process.html.erb | decidim-core/app/views/decidim/participatory_processes/_promoted_process.html.erb | <article class="card card--full card--process">
<div class="row collapse card--process__row">
<div class="columns mediumlarge-8 large-6 card--process__column">
<div class="card__content">
<%= link_to participatory_process_path(promoted_process), class: "card__link" do %>
<h2 class="card__t... | <article class="card card--full card--process">
<div class="row collapse card--process__row">
<div class="columns mediumlarge-8 large-6 card--process__column">
<div class="card__content">
<%= link_to participatory_process_path(promoted_process), class: "card__link" do %>
<h2 class="card__t... | Mark string as HTML safe to display it properly | Mark string as HTML safe to display it properly
Looks like the combination of `<%==` and `truncate` doesn't work as expected
| HTML+ERB | agpl-3.0 | Hilfe/decidim,decidim/decidim,mainio/decidim,AjuntamentdeBarcelona/decidim,codegram/decidim,decidim/decidim,mainio/decidim,codegram/decidim,AjuntamentdeBarcelona/decidim,mainio/decidim,mainio/decidim,AjuntamentdeBarcelona/decidim,AjuntamentdeBarcelona/decidim,mainio/decidim,decidim/decidim,Hilfe/decidim,Hilfe/decidim,c... |
c7f42ade942b462aebb7ceaa1b88192eda271508 | cookbooks/jenkins_integration/templates/default/run_ironcuke.sh.erb | cookbooks/jenkins_integration/templates/default/run_ironcuke.sh.erb | #!/usr/bin/env bash
source `dirname $0`/shared.inc
switch_to $TEST_PATH
export FACET=$TARGETS_SECONDARY # FIXME: only allows one
export CLUSTER=${FACET%-*}
# FIXME: This works around the difference in SSH_USER names by platform.
# It is officially ugly as hell, and deserves to be shot in the face
# as soon as a ... | #!/usr/bin/env bash
source `dirname $0`/shared.inc
switch_to $TEST_PATH
export FACET=$TARGETS_SECONDARY # FIXME: only allows one
export CLUSTER=${FACET%-*}
# FIXME: This works around the difference in SSH_USER names by platform.
# It is officially ugly as hell, and deserves to be shot in the face
# as soon as a ... | Add chef-client run to precede ironcuke run | Add chef-client run to precede ironcuke run
| HTML+ERB | apache-2.0 | infochimps-labs/ironfan-pantry,infochimps-labs/ironfan-pantry,infochimps-labs/ironfan-pantry,infochimps-labs/ironfan-pantry |
62ca800abd34c9e1a0f22d3141ec23331e00b852 | spec/integration/launcher/data/storage_profile.yaml.erb | spec/integration/launcher/data/storage_profile.yaml.erb | ---
vapps:
- name: <%= vapp_name_1 %>
vdc_name: <%= vdc_name_1 %>
catalog: <%= catalog %>
catalog_item: <%= vapp_template %>
vm:
storage_profile: <%= storage_profile %>
- name: <%= vapp_name_2 %>
vdc_name: <%= vdc_name_2 %>
catalog: <%= catalog %>
catalog_item: <%= vapp_template %>... | ---
vapps:
- name: <%= vapp_name_1 %>
vdc_name: <%= vdc_name_1 %>
catalog: <%= catalog %>
catalog_item: <%= vapp_template %>
vm:
hardware_config: &hardware_config
memory: 4096
cpu: 2
bootstrap: &bootstrap
script_path: <%= bootstrap_script %>
vars:
... | Revert "minimizing time taken by storage profile test" | Revert "minimizing time taken by storage profile test"
This reverts commit 6a957dec2987c7fa0211b5354388da8e83a3b270.
The reason for doing this is that I am reinstating a test that relies on this data. See 628e3402b for details.
Once that is addressed, this should be reverted again, because this does add ~2 minutes t... | HTML+ERB | mit | gds-operations/vcloud-launcher,gds-operations/vcloud-launcher,UKHomeOffice/vcloud-launcher,UKHomeOffice/vcloud-launcher,UKHomeOffice/vcloud-launcher,gds-operations/vcloud-launcher |
ec23b65d39c16d83db65c5d8260b44c08ca934e1 | jobs/ping-app/templates/pinger_ctl.erb | jobs/ping-app/templates/pinger_ctl.erb | #!/bin/bash
RUN_DIR=/var/vcap/sys/run/pinger
LOG_DIR=/var/vcap/sys/log/pinger
PIDFILE=${RUN_DIR}/pid
source /var/vcap/packages/common/utils.sh
case $1 in
start)
pid_guard $PIDFILE "ping-app"
mkdir -p $RUN_DIR $LOG_DIR
chown -R vcap:vcap $RUN_DIR $LOG_DIR
echo $$ > $PIDFILE
exec /var/vcap/pa... | #!/bin/bash
RUN_DIR=/var/vcap/sys/run/ping-app
LOG_DIR=/var/vcap/sys/log/ping-app
PIDFILE=${RUN_DIR}/pid
source /var/vcap/packages/common/utils.sh
case $1 in
start)
pid_guard $PIDFILE "ping-app"
mkdir -p $RUN_DIR $LOG_DIR
chown -R vcap:vcap $RUN_DIR $LOG_DIR
echo $$ > $PIDFILE
exec /var/vca... | Change job name to ping-app | Change job name to ping-app
| HTML+ERB | apache-2.0 | voelzmo/pinger-app-release |
2285d6cb377062837a3572a07a1465c71c123370 | app/views/layouts/_navigation_restaurant.html.erb | app/views/layouts/_navigation_restaurant.html.erb | <li><%= link_to "Carte", dishes_url(subdomain: @restaurant) %></li>
<% if @restaurant.module_menus %>
<li><%= link_to "Menus", menus_url(subdomain: @restaurant) %></li>
<% end %>
<% if @restaurant.module_blog %>
<li><%= link_to "Actualités", posts_url(subdomain: @restaurant) %></li>
<% end %>
<% if @restaurant... | <% if @restaurant.module_dishes %>
<li><%= link_to "Carte", dishes_url(subdomain: @restaurant) %></li>
<% end %>
<% if @restaurant.module_menus %>
<li><%= link_to "Menus", menus_url(subdomain: @restaurant) %></li>
<% end %>
<% if @restaurant.module_blog %>
<li><%= link_to "Actualités", posts_url(subdomain: @res... | Hide dishes navigation if is not activated | Hide dishes navigation if is not activated
| HTML+ERB | apache-2.0 | madeindjs/fooder,madeindjs/fooder,madeindjs/fooder |
f17a631d79e1f6c78d2f0fbcedddcf267ccf6b8a | railties/lib/rails/generators/erb/scaffold/templates/index.html.erb | railties/lib/rails/generators/erb/scaffold/templates/index.html.erb | <h1>Listing <%= plural_table_name %></h1>
<table>
<thead>
<tr>
<% attributes.each do |attribute| -%>
<th><%= attribute.human_name %></th>
<% end -%>
<th></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<%%= content_tag_for(:tr, @<%= plural_table_name %>) do |<%= singular_... | <h1>Listing <%= plural_table_name %></h1>
<table>
<thead>
<tr>
<% attributes.each do |attribute| -%>
<th><%= attribute.human_name %></th>
<% end -%>
<th></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<%%= content_tag_for(:tr, @<%= plural_table_name %>) do |<%= singular_tabl... | Fix indention issue in generated template | Fix indention issue in generated template
| HTML+ERB | mit | brchristian/rails,prathamesh-sonpatki/rails,tgxworld/rails,Edouard-chin/rails,baerjam/rails,alecspopa/rails,illacceptanything/illacceptanything,kddeisz/rails,assain/rails,joonyou/rails,coreyward/rails,illacceptanything/illacceptanything,kaspth/rails,baerjam/rails,mohitnatoo/rails,tgxworld/rails,repinel/rails,Vasfed/rai... |
23fd759183c82c42bc94169bb0903e902df8014f | app/views/admin/searches/new.html.erb | app/views/admin/searches/new.html.erb | <p>
You can enter:
</p>
<br/>
<ul>
<li>an id to find a petition with that id;
<li>an email address to see all petitions that that email address has signed.
</ul>
<br/>
<%= render 'form', :query => @query %>
| <p>
You can enter:
</p>
<br/>
<ul>
<li>an id to find a petition with that id;</li>
<li>an email address to see all petitions that that email address has signed;</li>
<li>a keyword to find all petitions that contain the keyword in their Action, Background or Additional details fields.</li>
</ul>
<br/>
<%= rend... | Update text on search explaining new functionality | Update text on search explaining new functionality
| HTML+ERB | mit | telekomatrix/e-petitions,alphagov/e-petitions,ansonK/e-petitions,unboxed/e-petitions,oskarpearson/e-petitions,StatesOfJersey/e-petitions,alphagov/e-petitions,oskarpearson/e-petitions,telekomatrix/e-petitions,unboxed/e-petitions,ansonK/e-petitions,unboxed/e-petitions,telekomatrix/e-petitions,StatesOfJersey/e-petitions,j... |
3a5dd58c927c35d1c4536c014305a09038c6d62c | app/views/shared/_location_marker.erb | app/views/shared/_location_marker.erb | <%- if location.is_a?(Route) or location.is_a?(SubRoute) %>
<%- if location.show_as_point %>
<a class="location-marker" href="<%=map_link_url(location, link_type) %>" data-id="<%=location.id %>" data-lon="<%= location.lon %>" data-lat="<%= location.lat %>" >
<img src="<%=stop_icon(location, main, small)%>.p... | <%- if location.is_a?(Route) or location.is_a?(SubRoute) %>
<%- if location.show_as_point %>
<a class="location-marker" href="<%=map_link_url(location, link_type) %>" data-id="<%=location.id %>" data-lon="<%= location.lon %>" data-lat="<%= location.lat %>" >
<img src="<%=stop_icon(location, main, small)%>.p... | Set routes as non-main for now | Set routes as non-main for now
| HTML+ERB | agpl-3.0 | mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport |
5f85425f5a4d36b4af0e239fd1482a07ac412c8f | modules/icinga/templates/check_mapit.cfg.erb | modules/icinga/templates/check_mapit.cfg.erb | define command {
command_name check_mapit
<%- if scope.lookupvar('::aws_migration') %>
command_line /usr/lib/nagios/plugins/check_http -H mapit.<%= @app_domain_internal %> -u /postcode/W54XA -w1 -c2 -s 'E14000676' --ssl
<%- else %>
command_line /usr/lib/nagios/plugins/check_http -H mapit.<%= @app_domain %> -u... | define command {
command_name check_mapit
<%- if scope.lookupvar('::aws_migration') %>
command_line /usr/lib/nagios/plugins/check_http -H mapit.<%= @app_domain_internal %> -u /postcode/W54XA?nocache=true -w1 -c2 -s 'E14000676' --ssl
<%- else %>
command_line /usr/lib/nagios/plugins/check_http -H mapit.<%= @app... | Add noncache query param for Mapit healthcheck | Add noncache query param for Mapit healthcheck
This makes sure the healthcheck is checking the underlying application
rather than the cache.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
363ddc25165b90d95bb0ca8157d64cf2b5877e21 | app/views/projects/explore.erb | app/views/projects/explore.erb | <div class="container">
<h1>Here goes the view of all projects</h1>
<div class="row">
<% @projects.each do |project| %>
<div class="col-lg-4 col-md-4">
<div class="panel panel-primary">
<div class="panel-heading">
<img src="<%= project.cover_img_url %>" class="img-responsive" alt... | <div class="container">
<div id="map-canvas">
</div>
<h1>Here goes the view of all projects</h1>
<div class="row">
<% @projects.each do |project| %>
<div class="col-lg-4 col-md-4">
<div class="panel panel-primary">
<div class="panel-heading">
<img src="<%= project.cover_img_url ... | Add div container for Google Maps | Add div container for Google Maps
| HTML+ERB | mit | RobinSoubry/home2horizon,RobinSoubry/home2horizon,RobinSoubry/home2horizon |
022fda43dfed1e10c805cb181bba2733a96765eb | app/views/store/index.html.erb | app/views/store/index.html.erb | <% if notice %>
<p id="notice"><%= notice %></p>
<% end %>
<h1>Your Catalog</h1>
<% cache ['store', Product.latest] do %>
<% @products.each do |product| %>
<% cache ['entry', product] do %>
<div class="entry">
<%= image_tag(product.image_url) %>
<h3><%= product.title %></h3>
... | <% if notice %>
<p id="notice"><%= notice %></p>
<% end %>
<h1>Your Catalog</h1>
<% cache ['store', Product.latest] do %>
<% @products.each do |product| %>
<% cache ['entry', product] do %>
<div class="entry">
<%= image_tag(product.image_url) %>
<h3><%= product.title %></h3>
... | Add button for adding line_item to the cart | Add button for adding line_item to the cart
| HTML+ERB | mit | bdisney/eShop,bdisney/eShop,bdisney/eShop |
99c280ca5aacbb91225a8ce5cf60b0eb707792b0 | app/views/users/_post.html.erb | app/views/users/_post.html.erb | <li>
<div class="panel">
<%= link_to post_path(post) do %>
<h6 class="text-center"><strong><%= truncate post.title, length: 40 %></strong></h6>
<% end %>
<small class="author">Posted <%= time_ago_in_words(post.created_at) %> ago</small>
<%= link_to post_path(post) do %>
<%= image_tag post.image.url(:med... | <li>
<div class="panel">
<%= link_to post_path(post) do %>
<h6 class="text-center"><strong><%= truncate post.title, length: 30 %></strong></h6>
<% end %>
<small class="author">Posted <%= time_ago_in_words(post.created_at) %> ago</small>
<%= link_to post_path(post) do %>
<%= image_tag post.image.url(:med... | Fix truncate length for user posts display | Fix truncate length for user posts display
| HTML+ERB | mit | ngthnhan/explorde,ngthnhan/explorde,ngthnhan/explorde |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.