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 |
|---|---|---|---|---|---|---|---|---|---|
a9051892c63a999930267bb72099840f81f1baa4 | cookbooks/piwik/templates/default/apache.erb | cookbooks/piwik/templates/default/apache.erb | # DO NOT EDIT - This file is being maintained by Chef
<VirtualHost *:80>
ServerName piwik.openstreetmap.org
ServerAlias piwik.osm.org
ServerAdmin webmaster@openstreetmap.org
CustomLog /var/log/apache2/piwik.openstreetmap.org-access.log combined
ErrorLog /var/log/apache2/piwik.openstreetmap.org-error.log
Option... | # DO NOT EDIT - This file is being maintained by Chef
<VirtualHost *:80>
ServerName piwik.openstreetmap.org
ServerAlias piwik.osm.org
ServerAdmin webmaster@openstreetmap.org
CustomLog /var/log/apache2/piwik.openstreetmap.org-access.log combined
ErrorLog /var/log/apache2/piwik.openstreetmap.org-error.log
Option... | Make piwik use default SSL configuration | Make piwik use default SSL configuration
| HTML+ERB | apache-2.0 | Firefishy/chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,Firefishy/chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,gravitystorm/chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,Firefishy/chef,Firefishy/chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,zerebubuth/openstreetmap-c... |
f295cdb4fc32db48e4bcf97a243d2000a813fffd | lib/domgen/imit/templates/server_request_manager.java.erb | lib/domgen/imit/templates/server_request_manager.java.erb | /* DO NOT EDIT: File is auto-generated */
package <%= to_package(repository.imit.qualified_server_request_manager_name) %>;
@javax.annotation.Generated( "Domgen" )
<% if repository.ee.use_cdi? -%>
@javax.enterprise.context.ApplicationScoped
<% else -%>
@javax.ejb.Singleton( name = "<%= repository.imit.server_request_m... | /* DO NOT EDIT: File is auto-generated */
package <%= to_package(repository.imit.qualified_server_request_manager_name) %>;
@javax.annotation.Generated( "Domgen" )
<% if repository.ee.use_cdi? -%>
@javax.enterprise.context.ApplicationScoped
@javax.transaction.Transactional( javax.transaction.Transactional.TxType.REQUI... | Apply transaction attribtue when a cdi bean | Apply transaction attribtue when a cdi bean
| HTML+ERB | apache-2.0 | realityforge/domgen,realityforge/domgen,icaughley/domgen,icaughley/domgen |
ee19576fb928188c2e824c1990de6d8f89a8cb5c | shaq_overflow/app/views/questions/show.html.erb | shaq_overflow/app/views/questions/show.html.erb | <%= @question.title %><br>
<%= link_to("Add new Answer", new_question_answer_path(@question)) %>
Question Comment form <%= render partial: "form"%>
<% @question.comments.each do |comment| %>
<%= comment.content %><br>
<% end %>
<!-- if best, show div -->
<% if @question.best %>
<div class="the-best">
<h3>Best Ans... | <h1><%= @question.title %></h1><br>
<%= link_to("Add new Answer", new_question_answer_path(@question)) %><br>
Question Comment form <%= render partial: "form"%>
<% @question.comments.each do |comment| %>
<%= comment.content %><br>
<% end %>
<!-- if best, show div -->
<% if @question.best %>
<div class="the-best">
... | Add upvote links to answers | Add upvote links to answers
| HTML+ERB | mit | lucasrsantos1/lucky-ambassador,lucasrsantos1/lucky-ambassador,lucasrsantos1/lucky-ambassador |
ddb3ecf7412ae1d90e2499f2dedc3cba90baf93b | app/views/shared/layouts/twitter_bootstrap/_modal.html.erb | app/views/shared/layouts/twitter_bootstrap/_modal.html.erb | <div class="modal-header">
<button type="button" id="close_bootstrap_modal_button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3><%= title %></h3>
</div>
<div class="modal-body" style="overflow-y:none;">
<%= yield :modal_body %>
</div>
<div class="modal-footer">
<%= yield :modal_foo... | <% body ||= nil %>
<% footer ||= nil %>
<div class="modal-header">
<button type="button" id="close_bootstrap_modal_button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3><%= title %></h3>
</div>
<div class="modal-body" style="overflow-y:none;">
<%= body || yield(:modal_body) %>
</div>
... | Make modal layout work without content for but locals. | Make modal layout work without content for but locals.
| HTML+ERB | mit | volontariat/voluntary,jasnow/voluntary,volontariat/voluntary,jasnow/voluntary,jasnow/voluntary,volontariat/voluntary,jasnow/voluntary,volontariat/voluntary |
586798968eb87330875b1d005d80b6d231af7eb8 | vendor/plugins/pages/app/views/admin/pages/_form.html.erb | vendor/plugins/pages/app/views/admin/pages/_form.html.erb | <% form_for [:admin, @page] do |f| %>
<%= f.error_messages %>
<div class="field">
<%= f.label :title %>
<%= f.text_field :title, :class => "larger", :style => 'width: 944px' %>
</div>
<%= render :partial => "form_page_parts", :locals => {:f => f} %>
<%= render :partial => "form_advanced_options", :l... | <% url_opts = action_name == 'edit' ? {:url => admin_page_path(@page.id)} : {} %>
<% form_for [:admin, @page], url_opts do |f| %>
<%= f.error_messages %>
<div class="field">
<%= f.label :title %>
<%= f.text_field :title, :class => "larger", :style => 'width: 944px' %>
</div>
<%= render :partial => "for... | Allow page forms to work | Allow page forms to work
| HTML+ERB | mit | bricesanchez/refinerycms,mojarra/myrefinerycms,stefanspicer/refinerycms,kappiah/refinerycms,sideci-sample/sideci-sample-refinerycms,simi/refinerycms,louim/refinerycms,chrise86/refinerycms,KingLemuel/refinerycms,anitagraham/refinerycms,gwagener/refinerycms,mabras/refinerycms,mobilityhouse/refinerycms,SmartMedia/refinery... |
a4ff91a83ef1c4ba09060f64ad400d5020993d7a | lib/smart_answer_flows/childcare-costs-for-tax-credits/outcomes/weekly_costs_are_x.erb | lib/smart_answer_flows/childcare-costs-for-tax-credits/outcomes/weekly_costs_are_x.erb | <% text_for :title do %>
Your weekly childcare costs are <%= format_money(weekly_cost) %>.
<% end %>
<% govspeak_for :body do %>
Use this figure on your claim form.
<% end %>
| <% text_for :title do %>
Your weekly childcare costs are <%= format_money(calculator.weekly_cost) %>.
<% end %>
<% govspeak_for :body do %>
Use this figure on your claim form.
<% end %>
| Fix issue for weekly costs result page show error | Fix issue for weekly costs result page show error
This is due an missing reference to the calculator from previous work
deprecating old flow syntax.
| HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
f6c73a40e3b3176571fd702ec8531bbc460465ea | lib/rspec/templates/example_group_template.erb | lib/rspec/templates/example_group_template.erb | describe "<%= @resource.uri_partial %>" do
let(:route) { "<%= @resource.uri_partial %>" }
<% @resource.methods.each do |method| %>
describe "<%= method.method.upcase %>" do
let(:response_body) do<% body = method.responses.first.bodies.first.example.split("\n") %>
<%= body.join("\n ").... | describe "<%= @resource.to_s %>" do
let(:route) { "<%= @resource.to_s %>" }
<% @resource.http_methods.each do |method| %>
describe "<%= method.method.upcase %>" do
let(:response_body) do<% body = method.responses.first.bodies.first.example.split("\n") %>
<%= body.join("\n ").gsub(/\:/... | Improve use of RamlModels classes in template | Improve use of RamlModels classes in template
| HTML+ERB | mit | danascheider/rambo,danascheider/rambo |
01407abcea7f1de79e7797a7ba050a6e936750de | app/views/maps/weather_perspective.html.erb | app/views/maps/weather_perspective.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Forest Guardian</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<%= javascript_include_tag 'fg_mobile' %>
<%= stylesheet_link_tag 'fg_mobile', media: 'all' %>
<style>
bo... | <!DOCTYPE html>
<html>
<head>
<title>Forest Guardian</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<%= javascript_include_tag 'fg_mobile' %>
<%= stylesheet_link_tag 'fg_mobile', media: 'all' %>
<style>
bo... | Move layer creation after ready event. | Move layer creation after ready event.
| HTML+ERB | mit | ForestGuardian/ForestGuardianBackend,ForestGuardian/ForestGuardianBackend,ForestGuardian/ForestGuardianBackend,ForestGuardian/ForestGuardianBackend,ForestGuardian/ForestGuardianBackend |
320a0f26bfba62ec35d594939deb17cd98330daa | app/views/products/chips/_greenlit.html.erb | app/views/products/chips/_greenlit.html.erb | <div class="chip">
<div class="chip-icon">
<%= image_tag(firesize(product.poster_image.url, '96x96', 'g_center'), class: 'app-icon', width: '100%', alt: product.name) %>
</div>
<div class="row">
<div class="col-sm-6">
<h4 class="alpha omega"><%= product.name %></h4>
<p class="omega"><%= produ... | <div class="chip">
<div class="chip-icon">
<%= app_icon(product, size: 48*2) %>
</div>
<div class="row">
<div class="col-sm-6">
<h4 class="alpha omega"><%= product.name %></h4>
<p class="omega"><%= product.pitch %></p>
</div>
<div class="col-sm-6 text-right">
<ul class="list-inl... | Use the app icon helper in greelit chip | Use the app icon helper in greelit chip
| HTML+ERB | agpl-3.0 | assemblymade/meta,lachlanjc/meta,lachlanjc/meta,lachlanjc/meta,assemblymade/meta,assemblymade/meta,lachlanjc/meta,assemblymade/meta |
0a9e4b4bc03fa10e0bb3a8dcc88967361eeeca4e | app/views/sign_in.erb | app/views/sign_in.erb | <div class="container">
<div class="login">
<div class="form">
<div class="sign-in">
<form method="POST" action="/login">
<p>Username:</p>
<p><textarea name="username" rows="1" cols="50"placeholder="Enter Username"></textarea></p>
<p>Password:</p>
<p><input type="password" name="pas... | <div class="container">
<div class="login">
<div class="form">
<div class="sign-in">
<form method="POST" action="/login">
<p>Username:</p>
<p><textarea name="username" rows="1" cols="50"placeholder="Enter Username"></textarea></p>
<p>Password:</p>
<p><input type="password" name="pas... | Add get fix for guest | Add get fix for guest
| HTML+ERB | mit | Kgiberson/learn.ly-flashcards,Kgiberson/learn.ly-flashcards,Kgiberson/learn.ly-flashcards |
a8f64ead332f5823e74e52459a830a2af271e29d | source/partials/_header.erb | source/partials/_header.erb | <header>
<div id="logo">
<% link_to '/matcha-nerdz' do %>
<%= image_tag 'Between_Screens_Logo_Cube_Up.svg', alt: 'Logo cube' %>
<% end %>
</div>
<nav class="navigation">
<ul class="nav-list">
<li><%= link_to 'Code', '/matcha-nerdz' %></li>
<li><%= link_to 'Design... | <header>
<div id="logo">
<% link_to '/matcha-nerdz' do %>
<%= image_tag 'Between_Screens_Logo_Cube_Up.svg', alt: 'Logo cube' %>
<% end %>
</div>
<nav class="navigation">
<ul class="nav-list">
<li><%= link_to 'about', '/pages/about.html' %></li>
<li><%= link_to 'd... | Change order of nav links | Change order of nav links
| HTML+ERB | mit | vis-kid/betweenscreens,vis-kid/betweenscreens,vis-kid/betweenscreens |
d1ac453a6e152c816f7df225b957ab51f4ce33c8 | app/views/devise/sessions/new.html.erb | app/views/devise/sessions/new.html.erb | <h2>Sign in</h2>
<%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
<div class="field">
<%= f.label :email %><br />
<%= f.email_field :email, autofocus: true %>
</div>
<div class="field">
<%= f.label :password %><br />
<%= f.password_field :password, autocomple... | <h2>Sign in</h2>
<%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
<div class="form-group">
<%= f.label :email %><br />
<%= f.email_field :email, autofocus: true, class: "form-control" %>
</div>
<div class="form-group">
<%= f.label :password %><br />
<%= f.pas... | Add bootstrap styling for sign in page | Add bootstrap styling for sign in page
| HTML+ERB | mit | BeejLuig/flash-cards,BeejLuig/flash-cards,BeejLuig/flash-cards |
83fd427b2fe2b5adc27aef2cbc269d5843effe4c | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <% content_for :head do %>
<%= csrf_meta_tag %>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
<% end %>
<% content_for :navbar_items do %>
<% if current_user.resource_manager? %>
<%= active_link_to 'Manage guiders', users_path, wrap_tag: :li %>
<%= a... | <% content_for :head do %>
<%= csrf_meta_tag %>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
<% end %>
<% content_for :navbar_items do %>
<% if current_user.resource_manager? %>
<%= active_link_to 'Manage guiders', users_path, wrap_tag: :li %>
<% end ... | Remove redundant link to manage groups | Remove redundant link to manage groups
This is not necessary now we manage groups and assignments via the
chosen guiders.
| HTML+ERB | mit | guidance-guarantee-programme/telephone_appointment_planner,guidance-guarantee-programme/telephone_appointment_planner,guidance-guarantee-programme/telephone_appointment_planner |
21f32503b2d5ed88a29df1fe00131123db3441bd | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <% content_for :content do %>
<a class="skip-to-content" href="#main">Skip to main content</a>
<%= render 'shared/opt_out_bar' %>
<%= render 'shared/header' %>
<div class="l-container">
<%= yield %>
</div>
<%= render 'shared/footer' %>
<% end %>
<%= render template: 'layouts/base' %>
| <% content_for :content do %>
<a class="skip-to-content" href="#main">Skip to main content</a>
<%= render 'shared/opt_out_bar' %>
<%= render 'shared/header' %>
<div class="l-container" id="main" tabindex="-1">
<%= yield %>
</div>
<%= render 'shared/footer' %>
<% end %>
<%= render template: 'layouts/bas... | Add tabindex to the skip to main content link | Add tabindex to the skip to main content link
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
e592aa669261752cf61c1668d9ed3ddbab676999 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Faxomat</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<div class='container'>
<nav class='navbar navb... | <!DOCTYPE html>
<html>
<head>
<title>Faxomat</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<div class='container'>
<nav class='navbar navb... | Add navigation links for signed in users. | Add navigation links for signed in users.
| HTML+ERB | mit | bjoernalbers/faxomat,bjoernalbers/faxomat,bjoernalbers/faxomat,bjoernalbers/faxomat |
36ee6877498a59fecbf3501df4a8effeb7381829 | lib/views/help/_sidebar.html.erb | lib/views/help/_sidebar.html.erb | <div id="right_column_flip" class="right_column_flip">
<h2>Help pages</h2>
<ul class="no_bullets">
<li><%= link_to_unless_current "Introduction", help_about_path %></li>
<li><%= link_to_unless_current "Making requests", help_requesting_path %></li>
<li><%= link_to_unless_current "Your privacy", help_privacy_path ... | <div id="right_column_flip" class="right_column_flip">
<h2>Help pages</h2>
<ul class="no_bullets">
<li><%= link_to_unless_current "Introduction", help_about_path %></li>
<li><%= link_to_unless_current "Making requests", help_requesting_path %></li>
<li><%= link_to_unless_current "Your privacy", help_privacy_path ... | Remove pages that haven't been updated for Uganda. | Remove pages that haven't been updated for Uganda.
| HTML+ERB | mit | mysociety/askyourgovug-theme,mysociety/askyourgovug-theme |
83f7a110ae3c66181fc37c641b6bb94abbaf88a3 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Whats Good</title>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
<%= csrf_meta_tags %>
</head>
<body ng-app="app">
<div id="container">
<div ng-include="'_nav.html'"></div>
<div ui-view></div>
</div>
<fo... | <!DOCTYPE html>
<html>
<head>
<title>Whats Good</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
<%= csrf_meta_tags %>
</head>
<body ng-app="app">
<div id="container">
<di... | Set viewport to device width | Set viewport to device width
| HTML+ERB | mit | davdkm/whats-good,davdkm/whats-good,davdkm/whats-good |
f6b3d437abe2d5e271edf38bb4823d75cc58f86e | app/views/lights/_lights_list.html.erb | app/views/lights/_lights_list.html.erb | <!-- _lights_list.erb-->
<div class="row button-actions-container" style="padding-left: 10px; padding-right: 10px;">
<%= label_tag "Select all", "Select all", class: "button bar-button", id: "select_all_btn" %>
<%= label_tag "Toggle selection", "Toggle selection", class: "button bar-button", id: "toggle_all_btn" %>... | <!-- _lights_list.erb-->
<div class="button-actions-container">
<%= label_tag "Select all", "Select all", class: "button bar-button", id: "select_all_btn" %>
<%= label_tag "Toggle selection", "Toggle selection", class: "button bar-button", id: "toggle_all_btn" %>
<%= label_tag "Deselect all", "Deselect all", clas... | Fix padding of light list buttons | Fix padding of light list buttons
| HTML+ERB | mit | cthit/HueIT-Rails,cthit/HueIT-Rails,cthit/HueIT-Rails,cthit/HueIT-Rails |
fb7eb8daad816e29ddf769a76316a926c2493ae1 | app/views/koi/application/_twitter_feed.html.erb | app/views/koi/application/_twitter_feed.html.erb | <% if Translation.find_by_key('site.twitter.query') %>
<% content_for :side do %>
<% content_for :head do %>
<script type="text/javascript">
jQuery(function($){
$("#twitter-query").tweet({
avatar_size: 32,
count: 5,
query: "<%= Translation.find_by_key('s... | <% twitter_username = Translation.find_by_key('site.twitter.username').try(:value) %>
<% twitter_query = Translation.find_by_key('site.twitter.query').try(:value) %>
<% if twitter_username.present? || twitter_query.present? %>
<% content_for :head do %>
<script type="text/javascript">
jQuery (function ... | Allow twitter name to be used with jquery.tweet | Allow twitter name to be used with jquery.tweet
| HTML+ERB | mit | katalyst/koi,katalyst/koi,katalyst/koi |
3ff4caf79e0adc62b83ecfe343061414e3b9c970 | app/views/schools/dashboard/_bar.html.erb | app/views/schools/dashboard/_bar.html.erb | <div class="alert <%= colour == 'bg-negative' ? 'text-white' : 'text-dark' %> <%= colour %>" role="alert">
<div class="d-flex">
<div class="p-2 align-self-center">
<%= fa_icon(icon + '') %>
</div>
<div class="p-2 align-self-center">
<h5><%= content %></h5>
</div>
<% if buttons %>
... | <div class="row alert <%= colour == 'bg-negative' ? 'text-white' : 'text-dark' %> <%= colour %>" role="alert">
<div class="col-1">
<%= fa_icon(icon) %>
</div>
<% if buttons %>
<div class='<%= "col-lg-#{11 - buttons.size * 2}" %>'>
<h5><%= content %></h5>
</div>
<% buttons.each do |title, pa... | Update to sort out buttons a bit better | Update to sort out buttons a bit better
| HTML+ERB | mit | BathHacked/energy-sparks,BathHacked/energy-sparks,BathHacked/energy-sparks,BathHacked/energy-sparks |
23740035bc192675a46b38ab2de23aa575785b15 | cookbooks/nagios/templates/default/hosts.cfg.erb | cookbooks/nagios/templates/default/hosts.cfg.erb | # Generated by Chef
# host definitions
define host {
use server
address <%= node['ipaddress'] %>
host_name <%= node['hostname'] %>
hostgroups <%= node['nagios']['server_role'] %>
}
<% @nodes.each do |n| -%>
<% unless n.name == node.name -%>
define host {
use server
address <%= n['ipaddress'] %>
host_nam... | # Generated by Chef
# host definitions
define host {
use server
address <%= node['ipaddress'] %>
host_name <%= node['hostname'] %>
hostgroups <%= node['nagios']['server_role'] %>
}
<% @nodes.each do |n| -%>
<% unless n.name == node.name -%>
define host {
use server
address <%= n['ipaddress'] %>
host_nam... | Add the nodes to the host groups for their chef environment | Add the nodes to the host groups for their chef environment
| HTML+ERB | apache-2.0 | scottymarshall/rundeck,scottymarshall/rundeck,scottymarshall/rundeck |
002688f9837fcee0e1a0c108f940dc67f4205044 | app/views/projects/versions.html.erb | app/views/projects/versions.html.erb | <% title "#{@project} published releases on #{@project.platform_name} - Libraries" %>
<% content_for :atom, auto_discovery_link_tag(:atom, project_versions_url({format: "atom"}.merge(@project.to_param))) %>
<h1>
<%= link_to @project, project_path(@project.to_param) %> Releases
</h1>
<hr>
<% if @versions.any? %>
<u... | <% title "#{@project} published releases on #{@project.platform_name} - Libraries" %>
<% content_for :atom, auto_discovery_link_tag(:atom, project_versions_url({format: "atom"}.merge(@project.to_param))) %>
<h1>
<%= link_to @project, project_path(@project.to_param) %> Releases
</h1>
<hr>
<% if @versions.any? %>
<u... | Break version rss feed link onto a new line | Break version rss feed link onto a new line | HTML+ERB | agpl-3.0 | librariesio/libraries.io,samjacobclift/libraries.io,tomnatt/libraries.io,abrophy/libraries.io,abrophy/libraries.io,samjacobclift/libraries.io,abrophy/libraries.io,samjacobclift/libraries.io,librariesio/libraries.io,librariesio/libraries.io,tomnatt/libraries.io,librariesio/libraries.io,tomnatt/libraries.io |
98c4cc65dc59002dc3576a0527c990d9264e2386 | jobs/vcloud_cpi/templates/cpi.erb | jobs/vcloud_cpi/templates/cpi.erb | #!/bin/bash
<% if_p('env.http_proxy') do |http_proxy| %>
export HTTP_PROXY=<%= http_proxy %>
export http_proxy=<%= http_proxy %>
<% end %>
<% if_p('env.https_proxy') do |https_proxy| %>
export HTTPS_PROXY=<%= https_proxy %>
export https_proxy=<%= https_proxy %>
<% end %>
<% if_p('env.no_proxy') do |no_proxy| %>
expo... | #!/bin/bash
<% if_p('env.http_proxy') do |http_proxy| %>
export HTTP_PROXY=<%= http_proxy %>
export http_proxy=<%= http_proxy %>
<% end %>
<% if_p('env.https_proxy') do |https_proxy| %>
export HTTPS_PROXY=<%= https_proxy %>
export https_proxy=<%= https_proxy %>
<% end %>
<% if_p('env.no_proxy') do |no_proxy| %>
expo... | Use `exec` to avoid second bash process | Use `exec` to avoid second bash process
[#119609491](https://www.pivotaltracker.com/story/show/119609491)
Signed-off-by: Felix Riegger <9c2aa7530239a330bbac6ac4f56e0946781dfd29@sap.com>
| HTML+ERB | apache-2.0 | cloudfoundry-incubator/bosh-vcloud-cpi-release,cloudfoundry-incubator/bosh-vcloud-cpi-release,cloudfoundry-incubator/bosh-vcloud-cpi-release |
cde8c9bf846ff2da39e43144a41b3cd5b2962b68 | app/views/notifications/_new_room_offer.html.erb | app/views/notifications/_new_room_offer.html.erb | <% room_offer = notification.activity.trackable %>
<% graetzl = Graetzl.memoized(post.graetzl_id) %>
<%= content_tag(:li, id: dom_id(notification), data: { behavior: 'notification-item' }, class: 'notification-item') do %>
<%= link_to room_offer do %>
<%= attachment_image_tag room_offer, :avatar, :fill, 40, 40, ... | <% room_offer = notification.activity.trackable %>
<% graetzl = Graetzl.memoized(room_offer.graetzl_id) %>
<%= content_tag(:li, id: dom_id(notification), data: { behavior: 'notification-item' }, class: 'notification-item') do %>
<%= link_to room_offer do %>
<%= attachment_image_tag room_offer, :avatar, :fill, 40... | Fix new room offer notification | Fix new room offer notification
| HTML+ERB | agpl-3.0 | imGraetzl/im_graetzl,imGraetzl/im_graetzl,imGraetzl/im_graetzl,imGraetzl/im_graetzl |
e09af1463debc6b4c0e91a55e9e4d6f433dffab6 | client/templates/30_plproxy_functions.erb | client/templates/30_plproxy_functions.erb | CREATE OR REPLACE FUNCTION <%= GEOCODER_CLIENT_SCHEMA %>._<%= name %> (user_id name, user_config JSON, geocoder_config JSON, <%= params_with_type %>)
RETURNS <%= return_type %> AS $$
CONNECT <%= GEOCODER_CLIENT_SCHEMA %>._server_conn_str();
SELECT cdb_geocoder_server.<%= name %> (user_id, user_config, geocoder_conf... | CREATE OR REPLACE FUNCTION <%= GEOCODER_CLIENT_SCHEMA %>._<%= name %> (user_id name, user_config json, geocoder_config json, <%= params_with_type %>)
RETURNS <%= return_type %> AS $$
CONNECT <%= GEOCODER_CLIENT_SCHEMA %>._server_conn_str();
SELECT cdb_geocoder_server.<%= name %> (user_id, user_config, geocoder_conf... | Change some visual style in generated functions | Change some visual style in generated functions
| HTML+ERB | bsd-3-clause | CartoDB/geocoder-api,CartoDB/geocoder-api,CartoDB/dataservices-api,CartoDB/dataservices-api,CartoDB/geocoder-api,CartoDB/dataservices-api,CartoDB/dataservices-api,CartoDB/geocoder-api |
f965ff665fc623ac6e8f60306a9bd0104b5d5ec9 | app/views/error_mailer/snapshot.text.plain.erb | app/views/error_mailer/snapshot.text.plain.erb | Error report from <%= @request.host %> <%= Time.now %>
Message: <%= @exception.message %>
Location: <%= @env['REQUEST_URI'] %>
Controller: <%= @params.delete('controller') %>
Action: <%= @params.delete('action') %>
Query: <%= @env['QUERY_STRING'] %>
Method: <%= @env['REQUEST_METHOD'] %>
SSL: <%= @request.ssl? ? "true"... | Error report from <%= @request.host %> <%= Time.now %>
Message: <%= @exception.message %>
Location: <%= @env['REQUEST_URI'] %>
Controller: <%= @params.delete('controller') %>
Action: <%= @params.delete('action') %>
Query: <%= @env['QUERY_STRING'] %>
Method: <%= @env['REQUEST_METHOD'] %>
SSL: <%= @request.ssl? ? "true"... | Make error mailer work with Ruby 1.9 | Make error mailer work with Ruby 1.9
| HTML+ERB | mit | tsauvine/rubyric,tsauvine/rubyric,tsauvine/rubyric |
ebc52912c7506cfa8efd7c0d664c0d812ddd8c6c | app/views/newsfeed/_alert_none_events.html.erb | app/views/newsfeed/_alert_none_events.html.erb |
<% if @number_of_events == 0 %>
<div class="Grid-cell u-size12of12">
<div class="AlertCreateEvent centralize">
<div class="AlertCreateEvent-text AlertCreateEvent-text--large u-posAbsoluteCenter">
<span>Não há eventos no momento. <%= link_to "Criar evento.", new_event_path, class: "link link-g... |
<% if @number_of_events == 0 %>
<div class="Grid-cell u-size12of12">
<div class="AlertCreateEvent AlertCreateEvent--withBorder centralize">
<div class="AlertCreateEvent-text AlertCreateEvent-text--large u-posAbsoluteCenter">
<span>Não há eventos no momento em <%= @city.name %>. <%= link_to "C... | Adjust on alert which is visible when do not exist events | Adjust on alert which is visible when do not exist events
| HTML+ERB | agpl-3.0 | makerability/villeme,jonatassalgado/villeme,makerability/villeme,asm-products/villeme,asm-products/villeme,asm-products/villeme,jonatassalgado/villeme,jonatassalgado/villeme,makerability/villeme |
13ab91a751690337b71ad4d203c6968836ee991f | templates/entrypoint.sh.erb | templates/entrypoint.sh.erb | #!/bin/sh
<% target = (dockerfile.split("/").last.split("-").last) %>
<% if target == "elasticsearch" %>
set -e
if [ -z ${FLUENT_ELASTICSEARCH_USER} ] ; then
sed -i '/FLUENT_ELASTICSEARCH_USER/d' /fluentd/etc/${FLUENTD_CONF}
fi
if [ -z ${FLUENT_ELASTICSEARCH_PASSWORD} ] ; then
sed -i '/FLUENT_ELASTICSEARCH_... | #!/bin/sh
<% target = (dockerfile.split("/").last.split("-").last) %>
<% if target == "elasticsearch" %>
set -e
if [ -z ${FLUENT_ELASTICSEARCH_SED_DISABLE} ] ; then
if [ -z ${FLUENT_ELASTICSEARCH_USER} ] ; then
sed -i '/FLUENT_ELASTICSEARCH_USER/d' /fluentd/etc/${FLUENTD_CONF}
fi
if [ -z ${FLUENT_ELASTIC... | Add FLUENT_ELASTICSEARCH_SED_DISABLE envvar to disable sed execution | Add FLUENT_ELASTICSEARCH_SED_DISABLE envvar to disable sed execution
Signed-off-by: Masahiro Nakagawa <0f51a8c574c157b13d3ee3d2579e24fcb2f5df0d@gmail.com>
| HTML+ERB | apache-2.0 | fluent/fluentd-kubernetes-daemonset,fluent/fluentd-kubernetes-daemonset,fluent/fluentd-kubernetes-daemonset |
b18a26a57c6ee708128613c6f0427403d85cfa0f | cookbooks/git/templates/default/post-receive.erb | cookbooks/git/templates/default/post-receive.erb | #!/bin/zsh
# DO NOT EDIT - This file is being maintained by Chef
while read oldrev newrev refname
do
if [[ "$refname" = "refs/heads/master" ]]
then
for rev in $(git rev-list ${newrev} ^${oldrev})
do
sudo -u trac /usr/bin/trac-admin /var/lib/trac changeset added "<%= @repository %>" "${rev}"
done... | #!/bin/zsh
# DO NOT EDIT - This file is being maintained by Chef
while read oldrev newrev refname
do
if [[ "$refname" = "refs/heads/master" ]]
then
for rev in $(git rev-list ${oldrev}..${newrev})
do
sudo -u trac /usr/bin/trac-admin /var/lib/trac changeset added "<%= @repository %>" "${rev}"
done... | Fix git hook to avoid the shell misinterpreting ^revision as a glob | Fix git hook to avoid the shell misinterpreting ^revision as a glob
| HTML+ERB | apache-2.0 | gravitystorm/chef,Firefishy/chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,Firefishy/chef,Firefishy/chef,Firefishy/chef,gravitystorm/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,gravitystorm/chef,Firefishy/chef,openstreetmap/chef,tomhughes/openstreetmap-chef,gravitystorm/chef,Firefishy/chef,tomhughes/ope... |
eb3e47086fcfd368d182610cafafd3235800c0db | source/layouts/_topbar.erb | source/layouts/_topbar.erb | <div class="ls-topbar">
<!-- Barra de Notificações -->
<div class="ls-notification-topbar">
<!-- Links de apoio -->
<div class="ls-alerts-list">
<a href="#" class="ls-ico-bell-o" data-counter="8" data-ls-module="topbarCurtain" data-target="#ls-notification-curtain"><span>Notificações</span></a>
... | Create a little partial for topbar | Create a little partial for topbar | HTML+ERB | mit | kemelzaidan/locawebstyle,locaweb/locawebstyle,diegoeis/locawebstyle,MaizerGomes/locawebstyle,deividmarques/locawebstyle,EveraldoReis/locawebstyle,deividmarques/locawebstyle,kemelzaidan/locawebstyle,MaizerGomes/locawebstyle,MaizerGomes/locawebstyle,kemelzaidan/locawebstyle,locaweb/locawebstyle,locaweb/locawebstyle,Evera... | |
e66275709733f7e254ecf073703d17b56c9a3ad3 | peanut_gallery/app/views/posts/types/_posts_by_type.html.erb | peanut_gallery/app/views/posts/types/_posts_by_type.html.erb | <% if !@posts.empty? %>
<% @posts.each do |post| %>
<div class="post">
<h2 class="post-title"><a href="/posts/<%=post.id%>"><%= post.title %></a></h2>
<p class="post-body"><%= post.content %></p>
<p class="post-request-for-responses"><%= post.requests_for_responses %></p>
<p class="post-additional-res... | <% if !@posts.empty? %>
<% @posts.each do |post| %>
<div class="post">
<h2 class="post-title"><a href="/posts/<%=post.id%>"><%= post.title %></a></h2>
<p class="post-body"><%= post.content %></p>
<p class="post-request-for-responses"><%= post.requests_for_responses %></p>
<p class="post-additional-res... | Add only approved responses to view for non-logged in users | Add only approved responses to view for non-logged in users
| HTML+ERB | mit | ggustilo/rails_blog,ggustilo/rails_blog,ggustilo/rails_blog |
8fcc81cc9ab26090cd0bc0d3f7189148faa9b570 | app/views/devise/shared/_modal_links.html.erb | app/views/devise/shared/_modal_links.html.erb | <div class="form-group">
<%= link_to t(".sign_up"), new_registration_path(resource_name) %><br/>
<%= link_to t("devise.shared.links.forgot_your_password"), '#', id: 'modal-new-password-link', data: {toggle: 'modal', target: '#new-password-modal'} %><br/>
<%= link_to t('devise.shared.links.didn_t_receive_confirmat... | <div class="form-group">
<%= link_to t(".sign_up"), new_registration_path(resource_name) %><br/>
<%= link_to t("devise.shared.links.forgot_your_password"), new_password_path(resource_name) %><br/>
<%= link_to t('devise.shared.links.didn_t_receive_confirmation_instructions'), new_confirmation_path(resource_name) %... | Fix bug in shared modal links. | Fix bug in shared modal links.
| HTML+ERB | mit | SplitTime/OpenSplitTime,SplitTime/OpenSplitTime,SplitTime/OpenSplitTime |
46d4963c5a362353d7e18a40300c7b60923d1a61 | events/app/views/events/_sidebar_calendar.html.erb | events/app/views/events/_sidebar_calendar.html.erb | <div class="space_center"></div>
<div class="block">
<div class="header">
<div class="header_text"><%= t 'event.title' %></div>
</div>
<div class="content">
<span id="sidebar_calendar_date"><%= l Date.today, :format => :long %></span>
<table id="sidebar_calendar">
<% bow = Time.now.beginning_of_w... | <div class="space_center"></div>
<div class="block">
<div class="header">
<div class="header_text"><%= t 'event.title' %></div>
</div>
<div class="content">
<span id="sidebar_calendar_date"><%= l Date.today, :format => :long %></span>
<table id="sidebar_calendar">
<% bow = Time.now.beginning_of_w... | Fix view for ruby 1.8 | Fix view for ruby 1.8
| HTML+ERB | mit | honorlin/social_stream,ging/social_stream,honorlin/social_stream,honorlin/social_stream,ging/social_stream,honorlin/social_stream,ging/social_stream |
9d5b4f62ab1fb3ee777e853ab33469d3029416ff | app/views/assessment/mission_submissions/_scribing_canvas.html.erb | app/views/assessment/mission_submissions/_scribing_canvas.html.erb |
<div class="btn-group">
<a class="btn" title="Enter Scribing Mode" id="scribing-mode">
<i class="icon-pencil"></i>
</a>
<a class="btn btn-danger" title="Delete Selection" id="scribing-delete">
<i class="icon-trash"></i>
</a>
</div>
<canvas id="scribing-canvas"
style="border:1px solid black;"
width=700... |
<div class="btn-group">
<a class="btn" title="Enter Scribing Mode" id="scribing-mode-<%= qid %>">
<i class="icon-pencil"></i>
</a>
<a class="btn btn-danger" title="Delete Selection" id="scribing-delete-<%= qid %>">
<i class="icon-trash"></i>
</a>
</div>
<canvas class="scribing-canvas"
id="scribing-canv... | Update view to enable multi canvas per page | Update view to enable multi canvas per page
| HTML+ERB | mit | allenwq/coursemology.org,allenwq/coursemology.org,Coursemology/coursemology.org,Coursemology/coursemology.org,Coursemology/coursemology.org,dariusf/coursemology.org,Coursemology/coursemology.org,Coursemology/coursemology.org,nnamon/coursemology.org,dariusf/coursemology.org,allenwq/coursemology.org,nnamon/coursemology.o... |
b324a25838570fbd37ce297115a0a55f3f788268 | app/views/dashboard/form/files/_uploaded_file_list.html.erb | app/views/dashboard/form/files/_uploaded_file_list.html.erb | <table class="table table-striped">
<thead>
<tr>
<th><%= t('dashboard.file_list.edit.name') %></th>
<th><%= t('dashboard.file_list.edit.mime_type') %></th>
<th><%= t('dashboard.file_list.edit.size') %></th>
<th><%= t('dashboard.file_list.edit.actions') %></th>
</tr>
</thead>
<tbody... | <table class="table table-striped">
<thead>
<tr>
<th><%= t('dashboard.file_list.edit.name') %></th>
<th><%= t('dashboard.file_list.edit.mime_type') %></th>
<th><%= t('dashboard.file_list.edit.size') %></th>
<th><%= t('dashboard.file_list.edit.actions') %></th>
</tr>
</thead>
<tbody... | Remove references to file editor controller | Remove references to file editor controller
Previously, filename_editor_controller.js enable inline editing of
filenames, but that feature has been disabled for now. However, the
stimulus controller was still being loaded in the form, which was
causing errors in the console. Although this didn't affect the function
of... | HTML+ERB | apache-2.0 | psu-stewardship/scholarsphere,psu-stewardship/scholarsphere,psu-stewardship/scholarsphere,psu-stewardship/scholarsphere |
5b3b2eefe283d52fb9f1d92e8bde30ba77c4465d | app/views/items/index.html.erb | app/views/items/index.html.erb | <div class="item-container">
<span class="page-header"><h1>Items In Stock</h1><p><%= link_to "CATEGORIES", categories_path %></p></span>
<% @items.each do |item| %>
<div class="individual-item-index">
<%= link_to item.name, item_path(item) %>
<% if !item.image.blank? %>
<img src="<%= it... | <div class="item-container">
<span class="page-header"><h1>Items In Stock</h1><p><%= link_to "CATEGORIES", categories_path %></p></span>
<% @items.each do |item| %>
<div class="individual-item-index">
<%= link_to item.name, item_path(item) %>
<% if !item.image.blank? %>
<img src="<%= it... | Remove "Add To Cart button from index, will move to item show page" | Remove "Add To Cart button from index, will move to item show page"
| HTML+ERB | mit | benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop |
b0c443e2cf3268449a33342e900f5b1016b297e5 | app/views/tickets/new.html.erb | app/views/tickets/new.html.erb | <div class="row">
<div class="medium-9 columns">
<%= render 'form' %>
</div>
</div>
| <div class="row">
<div class="medium-9 columns" style="background: #fff <%# for unauthenticated form %>">
<%= render 'form' %>
</div>
</div>
| Fix unauthenticated ticket form styling | Fix unauthenticated ticket form styling
| HTML+ERB | agpl-3.0 | mbchandar/brimir,hadifarnoud/brimir,ivaldi/brimir,mbchandar/brimir,hadifarnoud/brimir,fiedl/brimir,git-jls/brimir,viddypiddy/brimir,git-jls/brimir,ivaldi/brimir,git-jls/brimir,fiedl/brimir,viddypiddy/brimir,mbchandar/brimir,git-jls/brimir,ivaldi/brimir,viddypiddy/brimir,mbchandar/brimir,hadifarnoud/brimir,fiedl/brimir,... |
ea864e880b7bb96961520b075c2bbe2719220d62 | app/views/devise/password_expired/show.html.erb | app/views/devise/password_expired/show.html.erb | <h2>Choose a new passphrase</h2>
<div class="well">
<%= form_for(resource, :as => resource_name, :url => [resource_name, :password_expired], :html => { :method => :put }) do |f| %>
<%= devise_error_messages! %>
<div><%= f.label :current_password, "Current passphrase" %>
<%= f.password_field :current_password %>... | Add 'passphrase expired' template so it can look like the rest of the app | Add 'passphrase expired' template so it can look like the rest of the app
| HTML+ERB | mit | alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2 | |
338c01cca6276b69ac60245ee1630947419d8e11 | plugins/suppliers/views/suppliers_plugin_shared/_filter.erb | plugins/suppliers/views/suppliers_plugin_shared/_filter.erb | <div id="filter">
<div class="title filter-box">
<%= t('suppliers_plugin.views.product.index.filter') %>
</div>
<% form_remote_tag :update => 'search-results',:loading => "distribution.setLoading('filter');", :loaded => "distribution.unsetLoading('filter');", :url => {:action => :index}, :html => {... | Create shared partial for filter | [suppliers] Create shared partial for filter
| HTML+ERB | agpl-3.0 | EcoAlternative/noosfero-ecosol,coletivoEITA/noosfero-ecosol,EcoAlternative/noosfero-ecosol,CIRANDAS/noosfero-ecosol,coletivoEITA/noosfero-ecosol,samasti/noosfero,samasti/noosfero,EcoAlternative/noosfero-ecosol,coletivoEITA/noosfero-ecosol,blogoosfero/noosfero,blogoosfero/noosfero,samasti/noosfero,coletivoEITA/noosfero-... | |
1705572d0fcb841a8db71b7f58c0514fea59a246 | source/_analytics.erb | source/_analytics.erb | <script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', '<%= analytics_id %>']);
_gaq.push(['_setDomainName', '<%= site_domain %>']);
_gaq.push(['_trackPageview']);
(function () {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async ... | <script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', '<%= analytics_id %>']);
_gaq.push(['_trackPageview']);
(function () {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.p... | Remove domain for Google Analytics settings. | Remove domain for Google Analytics settings.
| HTML+ERB | mit | martincostello/blog,martincostello/blog,martincostello/blog |
02272ebde9e822f28266bf29b2421bd0ef1c6226 | app/views/layouts/_with_sidebar.html.erb | app/views/layouts/_with_sidebar.html.erb | <div class="container-fluid">
<div class="row">
<div class="col-lg-3">
<aside class="sidebar">
<%= content_for(:sidebar) %>
</aside>
</div>
<div class="col-lg-9">
<%= yield %>
</div>
</div>
</div>
| <div class="container-fluid">
<div class="row">
<div class="col-lg-9 order-last">
<%= yield %>
</div>
<div class="col-lg-3 order-first">
<aside class="sidebar">
<%= content_for(:sidebar) %>
</aside>
</div>
</div>
</div>
| Switch sidebar with main content | Switch sidebar with main content
For accessibility reasons, it's preferred to have a screen reader
present the main content first, before it presents any sidebar content.
Because of layout reasons, this content was appearing *after* the
sidebar. Using Bootstrap's reordering classes, we can present the main
content fis... | HTML+ERB | apache-2.0 | psu-stewardship/scholarsphere,psu-stewardship/scholarsphere,psu-stewardship/scholarsphere,psu-stewardship/scholarsphere |
b8ee9452623ffca643c3da28e4a3b085b4b427e5 | app/views/layouts/finder_layout.html.erb | app/views/layouts/finder_layout.html.erb | <!DOCTYPE html>
<html>
<head>
<title><%= yield :title %> - GOV.UK</title>
<%= stylesheet_link_tag "application", integrity: false %>
<%= stylesheet_link_tag "print", media: "print" %>
<%= javascript_include_tag 'application', integrity: false %>
<%= csrf_meta_tags %>
<%= yield :head %>
<%... | <!DOCTYPE html>
<html>
<head>
<title><%= yield :title %> - GOV.UK</title>
<%= stylesheet_link_tag "application", integrity: false %>
<%= stylesheet_link_tag "print", media: "print" %>
<%= javascript_include_tag 'application', integrity: false %>
<%= csrf_meta_tags %>
<%= yield :head %>
<%... | Remove conditional from A/B test meta tag | Remove conditional from A/B test meta tag
This was only being output on the page when on the "B" side of the test; the meta tag should be added to the page for all sides of the test so it can be picked up by analytics and the browser extension.
| HTML+ERB | mit | alphagov/finder-frontend,alphagov/finder-frontend,alphagov/finder-frontend,alphagov/finder-frontend |
64355beb1158eee9b44f78a4e8fb30815e1c1f44 | app/views/submissions/thank_you.html.erb | app/views/submissions/thank_you.html.erb | <div class="thanks">
<%= image_tag 'thanks.png' %>
<h1>Thank you for submitting!</h1>
<p>
<%= link_to 'railsgirls.com/krakow', 'http://railsgirls.com/krakow' %>
</p>
<small>
An email saying if you were accepted should be in your inbox any time soon.
<br/>
If you don't receive it, you might ha... | <div class="thanks">
<%= image_tag 'thanks.png' %>
<h1>Thank you for submitting!</h1>
<p>
<%= link_to 'railsgirls.com/krakow', 'http://railsgirls.com/krakow' %>
</p>
<small>
An email saying if you were accepted should be in your inbox after the registration closes.
<br/>
If you don't receive ... | Change thank you page - email after the registration closes | Change thank you page - email after the registration closes
| HTML+ERB | mit | LunarLogic/rails-girls-submissions,LunarLogic/rails-girls-submissions,LunarLogic/rails-girls-submissions |
ef3bdb53738b7939fc395666b751ec4a2031daac | puppet/modules/jenkins/templates/backup.sh.erb | puppet/modules/jenkins/templates/backup.sh.erb | #!/bin/sh
tar --absolute-names -cf - /var/lib/jenkins/jobs /var/lib/jenkins/secrets /var/lib/jenkins/credencials*.xml | /usr/local/bin/bup split -r root@managesf.<%= @fqdn %>: -n jenkins
| #!/bin/sh
tar --absolute-names -cf - /var/lib/jenkins/jobs /var/lib/jenkins/secret* /var/lib/jenkins/credentials*.xml | /usr/local/bin/bup split -r root@managesf.<%= @fqdn %>: -n jenkins
| Fix typo in backuped files for Jenkins credentials | Fix typo in backuped files for Jenkins credentials
- Typo in credentials.xml
- In addtion to the secrets directory include also secret.key
Change-Id: I414c7b8473876705983d6649831a4bbf2a27811d
| HTML+ERB | apache-2.0 | enovance/software-factory,enovance/software-factory,enovance/software-factory,enovance/software-factory,enovance/software-factory |
eab8ae680be61f327ba4c0791edca0c89df8d22e | backend/app/views/spree/admin/promotions/_promotion_action.html.erb | backend/app/views/spree/admin/promotions/_promotion_action.html.erb | <div class="promotion_action promotion-block <%= promotion_action.type.to_s.demodulize.underscore %>" id="<%= dom_id promotion_action %>">
<% type_name = promotion_action.class.name.demodulize.underscore %>
<h6 class="promotion-title"><%= Spree.t("promotion_action_types.#{type_name}.description") %></h6>
<% if ca... | <div class="promotion_action promotion-block <%= promotion_action.type.to_s.demodulize.underscore %>" id="<%= dom_id promotion_action %>">
<% type_name = promotion_action.class.name.demodulize.underscore %>
<h6 class="promotion-title"><%= promotion_action.class.human_attribute_name(:description) %></h6>
<% if can... | Use i18n method for promo action description | Use i18n method for promo action description
Now we can call the human_attribute_name method to grab the description
for these promotion actions
| HTML+ERB | bsd-3-clause | pervino/solidus,pervino/solidus,pervino/solidus,pervino/solidus |
9d292002e8cd17e608a9fd2f341c6f42bb64b7c0 | app/views/dashboard/index.html.erb | app/views/dashboard/index.html.erb | <%= logo_image_tag(ENV['OOD_DASHBOARD_LOGO']) %>
<p class="lead">OnDemand provides an integrated, single access point for all of your HPC resources.</p>
<br>
<%= render @motd_file if @motd_file.exist? %>
<!--
TODO: add getting started
<div class="row">
<div class="col-md-8">
<h3>Getting Started</h3>
<hr>
... | <%= logo_image_tag(ENV['OOD_DASHBOARD_LOGO']) %>
<p class="lead">OnDemand provides an integrated, single access point for all of your HPC resources.</p>
<br>
<%# This assumes @motd_file responds to `to_partial_path` %>
<%= render @motd_file if @motd_file.exist? %>
<!--
TODO: add getting started
<div class="row">
<... | Add a comment about the assumption of the rendering object | Add a comment about the assumption of the rendering object
| HTML+ERB | mit | OSC/ood-dashboard,OSC/ood-dashboard,OSC/ood-dashboard |
6f147e0efc95a0aea6c83699844dafc597a29afa | app/views/exercises/_form.html.erb | app/views/exercises/_form.html.erb | <div class="row">
<div class="col-md-offset-1 col-md-10">
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">Lista de exercício</h3>
</div>
<div class="box-body">
<%= form_for @exercise do |f| %>
<%= render 'shared/error_messages'... | <div class="row">
<div class="col-md-offset-1 col-md-10">
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">Lista de exercício</h3>
</div>
<div class="box-body">
<%= form_for @exercise do |f| %>
<%= render 'shared/error_messages'... | Add simplemde markdown editor to form | Add simplemde markdown editor to form
| HTML+ERB | mit | rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn |
1001e3a67c7670ea7f84708725afed6c20790166 | app/views/layouts/_footer.html.erb | app/views/layouts/_footer.html.erb | <script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-71948481-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : '... | <script>
window.addEventListener('load', function(){
if(jQuery('.alert-info:contains("Your registration is complete. Please review your information below.")').is(':visible')){
gtag('event', 'submit', {
'event_category' : 'form',
'event_label' : 'job seeker'
});
}
});
</script>
| Add event tracking code for registrations | Add event tracking code for registrations
| HTML+ERB | mit | brianmock/incs-resume-bank,brianmock/incs-resume-bank,brianmock/incs-resume-bank |
b3dc8b94efe0d6f87df69b69a607fc348cdacab8 | modules/govuk/templates/node/s_deployment/monitoring-proxy.conf.erb | modules/govuk/templates/node/s_deployment/monitoring-proxy.conf.erb | server {
listen 80;
server_name logging.*;
location / {
proxy_pass http://logging.management.production/;
proxy_set_header Host $http_host;
}
}
server {
listen 443;
server_name errbit.*;
location / {
proxy_pass https://exception-handler-1.management.production/;
proxy_set_header Host $h... | server {
listen 80;
server_name logging.*;
location / {
proxy_pass http://logging.management.production/;
proxy_set_header Host $http_host;
}
}
server {
listen 80;
server_name monitoring.*;
location / {
proxy_pass http://monitoring.management.production/;
proxy_set_header Host $http_hos... | Remove errbit from monitoring proxy nginx | Remove errbit from monitoring proxy nginx
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
2a87d82c6ff0f84d2756ac986f14127c5186824a | app/flows/marriage_abroad_flow/outcomes/countries/peru/third_country/partner_british/_same_sex.erb | app/flows/marriage_abroad_flow/outcomes/countries/peru/third_country/partner_british/_same_sex.erb | You may be able to register a civil partnership or get married at the British embassy or consulate in Peru.
[Make an appointment at the embassy in Lima.](https://www.book-consular-appointment.service.gov.uk/TimeSelection?location=125&service=10)
##What documents you’ll need
You need to have been living in Peru for 2... | It’s not possible to get legal recognition for your same-sex relationship in Peru.
| Remove same-sex option for Peru - other, British 1 | Remove same-sex option for Peru - other, British 1 | HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
ad8d02bbb195af2395c99113619613195e5d70c3 | app/flows/marriage_abroad_flow/outcomes/countries/peru/third_country/partner_british/_same_sex.erb | app/flows/marriage_abroad_flow/outcomes/countries/peru/third_country/partner_british/_same_sex.erb | It’s not possible to get legal recognition for your same-sex relationship in Peru.
| You may be able to get married or register a civil partnership at the British embassy in Peru.
[Make an appointment at the embassy in Lima](https://www.book-consular-appointment.service.gov.uk/TimeSelection?location=125&service=10). You’ll need to have been in Peru for at least 7 full days before your appointment.
... | Update other ceremony, British partner 1 | Update other ceremony, British partner 1 | HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
2c29fdd40daa0cd809729ef3907767792c9b3274 | app/views/request/_view_html_prefix.html.erb | app/views/request/_view_html_prefix.html.erb | <div class="view_html_prefix">
<div class="view_html_logo">
<a href="/"><img src="/assets/navimg/logo-trans-small.png" alt="<%= site_name %>"></a>
</div>
<div class="view_html_download_link">
<%=link_to _("Download original attachment"), @attachment_url %>
<br>(<%=h @attachment.name_... | <div class="view_html_prefix">
<div class="view_html_logo">
<a href="/"><img src="/assets/navimg/logo-trans-small.png" alt="<%= site_name %>"></a>
</div>
<div class="view_html_download_link">
<%=link_to _("Download original attachment"), @attachment_url %>
<br>(<%=h @attachment.name_... | Use paragraph here to make styling easier | Use paragraph here to make styling easier
| HTML+ERB | agpl-3.0 | TEDICpy/QueremoSaber,nzherald/alaveteli,Br3nda/alaveteli,codeforcroatia/alaveteli,andreicristianpetcu/alaveteli_old,andreicristianpetcu/alaveteli,TEDICpy/QueremoSaber,petterreinholdtsen/alaveteli,andreicristianpetcu/alaveteli_old,4bic/alaveteli,codeforcroatia/alaveteli,andreicristianpetcu/alaveteli_old,Br3nda/alaveteli... |
9db523e3930562181a4473b89aeb26c7017e90a7 | app/views/galleries/show.js.erb | app/views/galleries/show.js.erb | var grid = $('#picture_grid');
<% @pictures.each do |picture| %>
grid.append('<%= j render picture %>');
<% end %>
$('#gallery .pagination').html('<%= j render 'pagination_links' %>');
$(document).trigger('content:update');
| var grid = $('#picture_grid');
var pictures = [];
<% @pictures.each do |picture| %>
var picture = $('<%= j render picture %>');
grid.append(picture);
pictures.push(picture);
<% end %>
$('#gallery .pagination').html('<%= j render 'pagination_links' %>');
$(document).trigger('content:update');
if (typeof ReactR... | Fix endless scrolling in client encrypted galleries | Fix endless scrolling in client encrypted galleries
| HTML+ERB | agpl-3.0 | nning/imgshr,nning/imgshr,nning/imgshr,nning/imgshr |
a5e706e95f1a94c9a38054759088e1fe9a94ad0a | app/views/projects/new.html.erb | app/views/projects/new.html.erb | <h1>Propose a New Experiment</h1>
<h2>Enter the Proposal Information Below</h2>
<%= form_for @project do |f| %>
<%= f.label :title %>:
<%= f.text_field :title %><br>
<%= f.label :hypothesis %>:
<%= f.text_field :hypothesis %><br>
<%= f.label :summary %>:
<%= f.text_field :summary %><br>
<%= f.l... | <h1>Propose a New Experiment</h1>
<h2>Enter the Proposal Information Below</h2>
<%= form_for @project do |f| %>
<%= f.label :title %>:
<%= f.text_field :title %><br>
<%= f.label :summary %>:
<%= f.text_field :summary %><br>
<%= f.label :hypothesis %>:
<%= f.text_field :hypothesis %><br>
<%= f.l... | Switch the summary and hypothesis entries in the form | Switch the summary and hypothesis entries in the form
| HTML+ERB | mit | Kunal57/Research_Tracker,Kunal57/Research_Tracker,Kunal57/Research_Tracker |
40e8a7c1f9d5a13dad9f15be761ff3dd2c858ac3 | app/views/partials/child_benefit_tax/_add_new_child.html.erb | app/views/partials/child_benefit_tax/_add_new_child.html.erb | <h2>Child <span class="child-number"><%= number %></span></h2>
<fieldset>
<legend><span>When did you start getting Child Benefit for a new child?</span></legend>
<p class="group">
<% date_to_use = defined?(child) ? DateTime.new(child["year"].to_i, child["month"].to_i, child["day"].to_i) : @calculator.child_bene... | <h2>Child <span class="child-number"><%= number %></span></h2>
<fieldset>
<legend><span>When did you start getting Child Benefit for a new child?</span></legend>
<p class="group">
<% date_to_use = defined?(child) ? DateTime.new(child["year"].to_i, child["month"].to_i, child["day"].to_i) : @calculator.child_bene... | Add start and end date limits to children date selects | Add start and end date limits to children date selects
| HTML+ERB | mit | mikeee/z_archived-calculators,mikeee/z_archived-calculators,mikeee/z_archived-calculators,mikeee/z_archived-calculators |
3fcdcbb91840be5cdc1a0979cf46c6f1d0d22b5c | templates/default/htpasswd.users.erb | templates/default/htpasswd.users.erb | # Autogenerated by Chef.
<% @sysadmins.each do |sa| -%>
<% if !sa["htpasswd"].nil? and sa["htpasswd"].length > 0 -%>
<%= sa["id"] %>:<%= sa["htpasswd"] %>
<% end -%>
<% end -%>
| # Autogenerated by Chef.
<% @sysadmins.each do |sa| -%>
<% if sa["htpasswd"] and sa["htpasswd"].length > 0 -%>
<%= sa["id"] %>:<%= sa["htpasswd"] %>
<% end -%>
<% end -%>
| Clean up syntax per jtimberman | Clean up syntax per jtimberman
| HTML+ERB | apache-2.0 | JulianNL/nagios,spudnic/nagios,polamjag/nagios,mrlamroger/nagios,ovaistariq/nagios,aaronkvanmeerten/nagios,firebase/nagios,Piousbox-cookbooks/nagios,schubergphilis/nagios,bitmonk/chef-nagios,aaronkvanmeerten/nagios,polamjag/nagios,firebase/nagios,OpenGov/nagios,JulianNL/nagios,schubergphilis/nagios,ChrisLundquist/nagio... |
ac2f146d736200095a0c777bbb8dbb0b2fe6ecc8 | cookbooks/dev/templates/default/dev.html.erb | cookbooks/dev/templates/default/dev.html.erb | <html>
<body>
You've reached errol, the OpenStreetMap dev server. <br />
<dl>
<dt>If you are a user...</dt>
<dd>You probably want <a href="https://www.openstreetmap.org/">OpenStreetMap</a> itself.</dd>
<dt>If you are a developer...</dt>
<dd>You might be interested in <a href="https://apis.dev.openstreetmap.org/">live i... | <html>
<body>
You've reached errol, the OpenStreetMap dev server. <br />
<dl>
<dt>If you are a user...</dt>
<dd>You probably want <a href="https://www.openstreetmap.org/">OpenStreetMap</a> itself.</dd>
<dt>If you are a developer...</dt>
<dd>You might be interested in <a href="https://apis.dev.openstreetmap.org/">live i... | Update links on dev server homepage | Update links on dev server homepage
Update some links on our little dev server homepage.
* The rails port install instructions are now in github.
* It's no longer serving up SVN branches (These days it's all github. That branches list is maintained here in chef https://github.com/openstreetmap/chef/blob/master/roles... | HTML+ERB | apache-2.0 | tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,openstreetmap/chef,openstreetmap/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,tomhughes/openstree... |
aa1cf451482ea06e888bd27b81d20f7febe10b11 | jobs/acceptance-tests/templates/errand.sh.erb | jobs/acceptance-tests/templates/errand.sh.erb | #!/bin/bash
set -x
set -e
export PATH=/var/vcap/packages/ruby/bin:$PATH
cd /var/vcap/packages/acceptance-tests
export NYET_TARGET='<%= p("cf.api_url") %>'
export NYET_ADMIN_USERNAME='<%= p("cf.admin_username") %>'
export NYET_ADMIN_PASSWORD='<%= p("cf.admin_password") %>'
export NYET_REGULAR_USERNAME='<%= p("cf.regula... | #!/bin/bash
set -e -x
export PATH=/var/vcap/packages/ruby/bin:$PATH
cd /var/vcap/packages/acceptance-tests
# Don't expose passwords
set +x
export NYET_ADMIN_PASSWORD='<%= p("cf.admin_password") %>'
export NYET_REGULAR_PASSWORD='<%= p("cf.regular_password") %>'
set -x
export NYET_TARGET='<%= p("cf.api_url") %>'
expo... | Update to use acceptance tests errand that does not expose credentials | Update to use acceptance tests errand that does not expose credentials
| HTML+ERB | apache-2.0 | kbastani/cf-mysql-release,ruanbinfeng/cf-mysql-release,CloudCredo/cf-mysql-release,krishna-mk/cf-mysql-release,ruanbinfeng/cf-mysql-release,cloudfoundry/cf-mysql-release,kbastani/cf-mysql-release,ruanbinfeng/cf-mysql-release,krishna-mk/cf-mysql-release,CloudCredo/cf-mysql-release,cloudfoundry/cf-mysql-release,kbastani/... |
25e378730ddd7a5e780e52ba4ad102aff76f3746 | app/views/runs/urn.html.erb | app/views/runs/urn.html.erb | {
"title": "<%= @run.respond_to?(:name) ? @run.to_s : "" %>",
"attempt_count": <%= @run.respond_to?(:attempts) ? @run.attempts : 0 %>,
"start_delay": "<%= Time.at(@run.offset || 0).utc.strftime("%-H:%-M:%S").strip %>",
"splits": [
<% @run.splits.each_with_index do |split, index| %>
{
... | {
"title": "<%= @run.respond_to?(:name) ? @run.to_s : "" %>",
"attempt_count": <%= @run.respond_to?(:attempts) ? @run.attempts : 0 %>,
"start_delay": "<%= Time.at(@run.offset || 0).utc.strftime("%-H:%-M:%S").strip %>",
"splits": [
<% @run.segments.each_with_index do |segment, index| %>
{... | Fix some Urn nil issues | Fix some Urn nil issues
| HTML+ERB | agpl-3.0 | glacials/splits-io,glacials/splits-io,BatedUrGonnaDie/splits-io,glacials/splits-io,glacials/splits-io,BatedUrGonnaDie/splits-io,BatedUrGonnaDie/splits-io,BatedUrGonnaDie/splits-io |
2600703d7f8aec734b4a5cafb07306fbec1f9389 | config/deploy/production/versions-list-update-monthly.yaml.erb | config/deploy/production/versions-list-update-monthly.yaml.erb | apiVersion: batch/v1beta1
kind: CronJob
metadata:
name: versions-list-update-monthly
labels:
name: versions-list-update-monthly
spec:
concurrencyPolicy: Forbid
schedule: "0 0 1 * *"
jobTemplate:
spec:
template:
metadata:
labels:
name: versions-list-update-monthly
... | Add soft link for versions.list cronjob | Add soft link for versions.list cronjob
| HTML+ERB | mit | sonalkr132/rubygems.org,sonalkr132/rubygems.org,rubygems/rubygems.org,sonalkr132/rubygems.org,rubygems/rubygems.org,rubygems/rubygems.org,rubygems/rubygems.org,sonalkr132/rubygems.org | |
6f9649b0a6b1b716eb28332334ac8e3ac1b8dc14 | lib/domgen/gwt/templates/model_module.xml.erb | lib/domgen/gwt/templates/model_module.xml.erb | <?xml version="1.0" encoding="UTF-8"?>
<!-- DO NOT EDIT: File is auto-generated -->
<module>
<inherits name='org.realityforge.gwt.datatypes.Datatypes'/>
<% if repository.imit? -%>
<inherits name="<%= repository.imit.qualified_replicant_module_name %>"/>
<% end -%>
<% if repository.keycloak? -%>
<inherits name="or... | <?xml version="1.0" encoding="UTF-8"?>
<!-- DO NOT EDIT: File is auto-generated -->
<module>
<inherits name='org.realityforge.gwt.datatypes.Datatypes'/>
<% if repository.imit? -%>
<inherits name="<%= repository.imit.qualified_replicant_module_name %>"/>
<% else -%>
<inherits name="com.google.gwt.json.JSON"/>
<i... | Add "Inherit" for necessary modules when not using replicant | Add "Inherit" for necessary modules when not using replicant
Replicant module is providing JSON & Inject | HTML+ERB | apache-2.0 | icaughley/domgen,icaughley/domgen,realityforge/domgen,realityforge/domgen |
92546fe5518a0aded1d023f64688dcafd5088167 | app/views/static_pages/maps/index.html.erb | app/views/static_pages/maps/index.html.erb | <% provide(:title, "Maps")%>
<% provide(:meta_description, "Paul Bogard’s Map Illustrations.")%>
<h1>Maps</h1>
<p>As might be obvious from many of my other <%= link_to("projects", root_path) %>, I enjoy maps, so I’ve created a few map illustrations.</p>
<div class="row cover-row">
<%= render partial: "project_tile... | <% provide(:title, "Maps")%>
<% provide(:meta_description, "Paul Bogard’s map illustrations.")%>
<h1>Maps</h1>
<p>As might be obvious from many of my other <%= link_to("projects", root_path) %>, I enjoy maps, so I’ve created a few map illustrations.</p>
<div class="row cover-row">
<%= render partial: "project_tile... | Fix capitalization on Maps meta text | Fix capitalization on Maps meta text
| HTML+ERB | mit | bogardpd/portfolio,bogardpd/portfolio,bogardpd/portfolio |
41d096ccb865ca23b5aa0ee2bc80f529e00cff04 | app/views/buckets/_issue.html.erb | app/views/buckets/_issue.html.erb | <li class="ui-state-default issue collapsed" data-prioritized-issue-path="<%= prioritized_issue_move_to_bucket_path(issue) %>">
<%= form_tag "/", :class => "issue-state-toggle" do %>
<%= check_box_tag :state, issue.closed?, issue.closed? %>
<% end %>
<%= link_to issue.title, github_issue_url(issue), :class =>... | <li class="ui-state-default issue collapsed" data-prioritized-issue-path="<%= prioritized_issue_move_to_bucket_path(issue) %>">
<%= form_tag "/", :class => "issue-state-toggle" do %>
<%= check_box_tag :state, issue.closed?, issue.closed? %>
<% end %>
<%= link_to issue.title, github_issue_url(issue), :class =>... | Add claim or assign button | Add claim or assign button
| HTML+ERB | mit | jonmagic/i-got-issues,jonmagic/i-got-issues,jonmagic/i-got-issues |
b44a11c3babbdac0cc9b0402efb9946c6dd1fde6 | app/views/pqs/_pq_header.html.erb | app/views/pqs/_pq_header.html.erb | <div id="pq-details-header" class="row">
<div id="pq-details-ref" class="col-md-9">
<h2><%= @pq.uin %></h2>
<% if @pq.question_type == 'NamedDay' %>
<span class="label name-day" title="Named day">N</span>
<% end %>
<% if @pq.transferred %>
<span class="label flag-transferred-in" title="Tra... | <div id="pq-details-header" class="row">
<div id="pq-details-ref" class="col-md-9">
<h2><%= @pq.uin %></h2>
<% if @pq.question_type == 'NamedDay' %>
<span class="label name-day" title="Named day">N</span>
<% end %>
<% if @pq.transferred %>
<span class="label flag-transferred-in" title="Tra... | Fix tag imbalance in the Details page. | Fix tag imbalance in the Details page.
| HTML+ERB | mit | ministryofjustice/parliamentary-questions,ministryofjustice/parliamentary-questions,ministryofjustice/parliamentary-questions,ministryofjustice/parliamentary-questions,ministryofjustice/parliamentary-questions |
6dcb57d5f2cd1d743cedb0018a8b65b28ccb3c06 | app/views/receivers/show.html.erb | app/views/receivers/show.html.erb | <div class="header">
<%= link_to image_tag("quickbits_logo.svg", :border=>0, :class => 'header_image', :size => "253x61"), "/" %>
</div>
<div class="alert_browser">
<h3> We currently do not support this browser. We recommend using <a href = http://www.mozilla.org/en-US/firefox/new/> Firefox.</a></h3>
</div>
... | <div class="header">
<%= link_to image_tag("quickbits_logo.svg", :border=>0, :class => 'header_image', :size => "253x61"), "/" %>
</div>
<div class="alert_browser">
<h3> We currently do not support this browser. We recommend using <a href = http://www.mozilla.org/en-US/firefox/new/> Firefox.</a></h3>
</div>
... | Add jake's revised footer to receiver view | Add jake's revised footer to receiver view
| HTML+ERB | agpl-3.0 | Surram/quickbits,Surram/quickbits |
ca2825610eb398bbbad59c714e223f5861f0939a | app/views/startups/index.html.erb | app/views/startups/index.html.erb | <section id="subheader">
<div class="container">
<div class='row-fluid'>
<div class='span12'>
<h1>Startups</h1>
<h2>A collection of internet companies made with <i class='icon-heart-3 loved'></i> in PR</h2>
</div>
</div>
</div>
</section>
<% @startups.each do |startup| %>
<sec... | <section id="subheader">
<div class="container">
<div class='row-fluid'>
<div class='span12'>
<h1>Startups</h1>
<h2>A collection of internet companies made with <i class='icon-heart-3 loved'></i> in PR</h2>
</div>
</div>
</div>
</section>
<% @startups.each do |startup| %>
<sec... | Remove create startup link from index | Remove create startup link from index | HTML+ERB | mit | SoPR/sopr-platform,SoPR/sopr-platform |
00c3ea746342cd5514a5a405dd4f834428e0fe2f | BHCDatabase/app/views/layouts/_header.html.erb | BHCDatabase/app/views/layouts/_header.html.erb | <header class="navbar navbar-fixed-top navbar-default">
<div class="container">
<div id="logo">
<%= link_to image_tag("BHC Logo.jpg", alt: "BHC Logo"), root_path %>
<%= link_to image_tag("BHC Lettering.png", alt: "BHC Logo"), root_path %>
</div>
<nav>
<ul class="nav navbar-nav navbar-rig... | <header class="navbar navbar-fixed-top navbar-default">
<div class="container">
<div id="logo">
<%= link_to image_tag("BHC Logo.jpg", alt: "BHC Logo"), root_path %>
<%= link_to image_tag("BHC Lettering.png", alt: "Building Healthy Communities in Dumfries and Galloway"),
root_path %>
... | Fix alt for header image | Fix alt for header image
| HTML+ERB | mit | DaBrown95/BHCDatabase,DaBrown95/BHCDatabase,DaBrown95/BHCDatabase |
f04b9efafcfb39fd476cb741368d7adebd4053fa | backend/app/views/spree/admin/shared/_settings_checkout_tabs.html.erb | backend/app/views/spree/admin/shared/_settings_checkout_tabs.html.erb | <% content_for :tabs do %>
<nav>
<ul class="tabs" data-hook="admin_settings_checkout_tabs">
<% if can?(:display, Spree::RefundReason) %>
<%= settings_tab_item Spree::RefundReason.model_name.human(count: :other), admin_refund_reasons_path %>
<% end %>
<% if can?(:display, Spree::Reimburs... | Add settings_checkout_tabs sub section partial | Add settings_checkout_tabs sub section partial
This partial will be related for settings related to actions related to
checking out including refund reasons, reimbursement types, return
reasons, and adjustment reasons.
| HTML+ERB | bsd-3-clause | pervino/solidus,Arpsara/solidus,pervino/solidus,pervino/solidus,jordan-brough/solidus,Arpsara/solidus,jordan-brough/solidus,jordan-brough/solidus,Arpsara/solidus,jordan-brough/solidus,pervino/solidus,Arpsara/solidus | |
879f317188d294ccaad6718e49a0aa209dcbeacd | app/views/layouts/_ameelabs_header.html.erb | app/views/layouts/_ameelabs_header.html.erb | <div class="topbar">
<div class="fill">
<div class="container">
<a class="brand" href="http://www.amee.com/developer/labs">AMEElabs</a>
<p>... the coolest new experiments from <a href="http://www.amee.com">AMEE</a><p>
</div>
</div>
</div> | <div class="topbar">
<div class="fill">
<div class="container">
<a class="brand" href="http://www.amee.com/developer/labs">AMEE Labs</a>
<p>... the coolest new experiments from <a href="http://www.amee.com">AMEE</a><p>
</div>
</div>
</div> | Fix naming in labs header | Fix naming in labs header
| HTML+ERB | bsd-3-clause | OpenAMEE/askamee,OpenAMEE/askamee |
93cad1b813a381bf71bcd997e7711912796361e2 | lib/domgen/ejb/templates/services_module.java.erb | lib/domgen/ejb/templates/services_module.java.erb | /* DO NOT EDIT: File is auto-generated */
package <%= to_package(repository.ejb.qualified_services_module_name) %>;
@java.lang.SuppressWarnings( { "UnusedDeclaration" } )
@javax.annotation.Generated( "Domgen" )
public class <%= repository.ejb.services_module_name %>
extends org.realityforge.guiceyloops.server.Flushi... | /* DO NOT EDIT: File is auto-generated */
package <%= to_package(repository.ejb.qualified_services_module_name) %>;
@java.lang.SuppressWarnings( { "UnusedDeclaration" } )
@javax.annotation.Generated( "Domgen" )
public class <%= repository.ejb.services_module_name %>
extends org.realityforge.guiceyloops.server.Flushi... | Upgrade to use guiceyloops 0.54 API | Upgrade to use guiceyloops 0.54 API
| HTML+ERB | apache-2.0 | realityforge/domgen,realityforge/domgen,icaughley/domgen,icaughley/domgen |
f8805a3c2c11761f26ada8607f857189b1ef13a1 | app/views/search/_result.html.erb | app/views/search/_result.html.erb | <% if result.format == "recommended-link" %>
<li class="section-<%= result.section %> type-guide external">
<% else %>
<li class="section-<%= result.section %> type-<%= result.format %>">
<% end %>
<p class="search-result-title"><a href="<%= result.link %>" title="View <%= result.title %>"<% if result.format == "reco... | <% if result.format == "recommended-link" %>
<li class="section-<%= result.section %> type-guide external">
<% else %>
<li class="section-<%= result.section %> type-<%= result.format %>">
<% end %>
<p class="search-result-title"><a href="<%= result.link %>" title="View <%= result.title %>"<% if result.format == "reco... | Use correct format name when displaying specialist | Use correct format name when displaying specialist
Also removes attempt to display section for specialist
| HTML+ERB | mit | alphagov/frontend,alphagov/frontend,alphagov/frontend,alphagov/frontend |
65364778803ef59c852ae63c5e83ad5edb18ea03 | app/views/polls/_option_fields.html.erb | app/views/polls/_option_fields.html.erb | <div class="nested-fields">
<fieldset>
<%= f.input :text, :hint => (link_to_remove_association "Remove option", f, :class => "inline") %>
<%= f.input :value, :class => "span1", :hint => (link_to_add_association 'Add followup to this option', f, :follow_up) %>
<%= f.simple_fields_for :follow_up do |followup|... | <div class="nested-fields">
<fieldset>
<%= f.input :text, :hint => (link_to_remove_association "Remove option", f, :class => "inline") %>
<%= f.input :value, :class => "span1" %>
<% link_to_add_association 'Add followup to this option', f, :follow_up %>
<%= f.simple_fields_for :follow_up do |followup| %... | Undo Add followup to option move | Undo Add followup to option move
| HTML+ERB | bsd-3-clause | codeforamerica/textizen,codeforamerica/textizen,codeforamerica/textizen |
f792cfcd475325c7b6c6c2c00eba6c30b25c6cbc | app/views/account/_model_help_requests.html.erb | app/views/account/_model_help_requests.html.erb | <div class="news">
<div class="news_list">
<div class="news_heading">
Models looking for collaborators
</div>
<% if @models_wanting_help.empty? %>
<div class="news_empty">
No models looking for collaborators
</div>
<% else %>
<% @models_wanting_help.each do |model| %>
... | <div class="news">
<div class="news_list">
<div class="news_heading">
Models looking for additional collaborators
</div>
<% if @models_wanting_help.empty? %>
<div class="news_empty">
No models looking for collaborators
</div>
<% else %>
<% @models_wanting_help.each do |model| %... | Improve look of collaboration help box | Improve look of collaboration help box
Former-commit-id: 8c77ce32616d906d4d285d5db372041ce9e54c7b | HTML+ERB | agpl-3.0 | reuven/modelingcommons,reuven/modelingcommons,reuven/modelingcommons,reuven/modelingcommons,reuven/modelingcommons,reuven/modelingcommons,reuven/modelingcommons |
8fa4a70c8e6131ccdfe34bf31f7a22ef5b293f0d | app/views/active_admin/devise/shared/_links.erb | app/views/active_admin/devise/shared/_links.erb | <%- if controller_name != 'sessions' %>
<% scope = Devise::Mapping.find_scope!(resource_name) %>
<%= link_to "Sign in", send(:"new_#{scope}_session_path") }")br />
<% end -%>
<%- if devise_mapping.registerable? && controller_name != 'registrations' %>
<%= link_to "Sign up", new_registration_path(resource_name) %... | <%- if controller_name != 'sessions' %>
<% scope = Devise::Mapping.find_scope!(resource_name) %>
<%= link_to "Sign in", send(:"new_#{scope}_session_path") %><br />
<% end -%>
<%- if devise_mapping.registerable? && controller_name != 'registrations' %>
<%= link_to "Sign up", new_registration_path(resource_name) %... | Fix bad code in shared/links devise partial | Fix bad code in shared/links devise partial
| HTML+ERB | mit | samvincent/active_admin,siutin/activeadmin,iguchi1124/activeadmin,mynksngh/activeadmin,mwlang/active_admin,Andrekra/activeadmin,wspurgin/activeadmin,saiqulhaq/activeadmin,mwlang/active_admin,varyonic/activeadmin,MohamedHegab/activeadmin,yeti-switch/active_admin,tf/activeadmin,bolshakov/activeadmin,Davidzhu001/activeadm... |
8f7ca02e6dd42d932c424bf569e3a77fa2a7db92 | app/views/schools/find_out_more/_chart.html.erb | app/views/schools/find_out_more/_chart.html.erb | <div id="chart_wrapper_<%= chart %>" class="col-md-auto chart-wrapper">
<% unless content.find_out_more_chart_title.blank? %>
<h3 class="analysis"><%= content.find_out_more_chart_title %></h3>
<% end %>
<%= chart_tag(school, chart.to_s, wrap: false, show_advice: false, chart_config: {y_axis_units: '£'}, html_... | <% unless content.find_out_more_chart_title.blank? %>
<h3 class="analysis"><%= content.find_out_more_chart_title %></h3>
<% end %>
<div id="chart_wrapper_<%= chart %>" class="col-md-auto chart-wrapper">
<%= chart_tag(school, chart.to_s, wrap: false, show_advice: false, chart_config: {y_axis_units: '£'}, html_class:... | Move title outside chart div | Move title outside chart div
| HTML+ERB | mit | BathHacked/energy-sparks,BathHacked/energy-sparks,BathHacked/energy-sparks,BathHacked/energy-sparks |
0742bf893d9c05958b04bb3240e06951ce4e4108 | lib/templates/script.vim.erb | lib/templates/script.vim.erb | noremap <PageUp> :bp<CR>
noremap <Left> :bp<CR>
noremap <PageDown> :bn<CR>
noremap <Right> :bn<CR>
<% @buffers.each do |buffer| %>
b <%= buffer[:num] %>
<% if buffer[:code] %>
<%= buffer[:code][:start] %>,<%= buffer[:code][:end] %>SyntaxInclude <%= buffer[:code][:language] %>
<% end %>
<% buffer[:comments].each do |co... | set nonumber
noremap <PageUp> :bp<CR>
noremap <Left> :bp<CR>
noremap <PageDown> :bn<CR>
noremap <Right> :bn<CR>
<% @buffers.each do |buffer| %>
b <%= buffer[:num] %>
<% if buffer[:code] %>
<%= buffer[:code][:start] %>,<%= buffer[:code][:end] %>SyntaxInclude <%= buffer[:code][:language] %>
<% end %>
<% buffer[:comments... | Disable Vim's line numbering when showing slides | Disable Vim's line numbering when showing slides
| HTML+ERB | mit | tybenz/vimdeck,tybenz/vimdeck |
fb189530fe35809e1ad62fb9a10b4f6fd3fdad08 | lib/resque/server/views/failed.erb | lib/resque/server/views/failed.erb | <h1><%= size = Resque::Failure.count %> Jobs Failed</h1>
<h2>Showing <%= start = params[:start].to_i %> to <%= start + 20 %></h2>
<table>
<tr>
<th>Queue</th>
<th>Worker</th>
<th>Failed</th>
<th>Class</th>
<th>Args</th>
<th>Error</th>
</tr>
<% for job in Resque::Failure.all(start, 20) %>
... | <h1><%= size = Resque::Failure.count %> Jobs Failed</h1>
<h2>Showing <%= start = params[:start].to_i %> to <%= start + 20 %></h2>
<table>
<tr>
<th>Queue</th>
<th>Worker</th>
<th>Failed</th>
<th>Class</th>
<th>Args</th>
<th>Error</th>
</tr>
<% for job in Resque::Failure.all(start, 20) %>
... | Revert "fixes broken failures table" | Revert "fixes broken failures table"
This reverts commit ced2cf75b9070b1752fa18bd17ad2a20d9883e8b.
| HTML+ERB | mit | PerfectMemory/resque,eileencodes/resque,resque/resque,bonekost/resque,xiangzhuyuan/resque,BIAINC/resque,begriffs/resque,tylerdooling/resque,vietnt/resque,amiel/resque,timo-p/resque,esdras/organizze-resque,stitchfix/resque,jonatas/resque,fmitech/resque,l4u/resque,lukeasrodgers/resque,ngpestelos/resque,timo-p/resque,resq... |
dccd99b676875aabfa58a1be8ab6bf3bd0677894 | backend/app/views/spree/admin/shared/_product_sub_menu.html.erb | backend/app/views/spree/admin/shared/_product_sub_menu.html.erb | <ul class="treeview-menu" id="sub_nav" data-hook="admin_product_sub_tabs">
<%= tab :products, :match_path => '/products' %>
<%= tab :option_types, :match_path => '/option_types' %>
<%= tab :properties %>
<%= tab :prototypes %>
<%= tab :taxonomies %>
<%= tab :taxons %>
</ul>
| <ul class="treeview-menu" id="sub_nav" data-hook="admin_product_sub_tabs">
<%= tab *Spree::BackendConfiguration::PRODUCT_TABS %>
<%= tab :option_types, :match_path => '/option_types' %>
<%= tab :properties %>
<%= tab :prototypes %>
<%= tab :taxonomies %>
<%= tab :taxons %>
</ul>
| Use BackendConfiguration tab in product sub menu | Use BackendConfiguration tab in product sub menu
| HTML+ERB | bsd-3-clause | hifly/spree,raow/spree,Ropeney/spree,berkes/spree,AgilTec/spree,omarsar/spree,volpejoaquin/spree,wolfieorama/spree,mindvolt/spree,APohio/spree,builtbybuffalo/spree,sfcgeorge/spree,DynamoMTL/spree,keatonrow/spree,miyazawatomoka/spree,alvinjean/spree,tomash/spree,KMikhaylovCTG/spree,trigrass2/spree,ahmetabdi/spree,APohio... |
9af67a8fe510ae107b243247fc09f5c06d3443f5 | cookbooks/nagios/templates/default/hosts.cfg.erb | cookbooks/nagios/templates/default/hosts.cfg.erb | # Host definitions
#
# Autogenerated by Chef.
<% @nodes.each do |n| -%>
define host {
use server
address <%= n['ipaddress'] %>
host_name <%= n['hostname'] %>
<% if node['nagios']['multi_environment_monitoring'] -%>
<% if n.run_list.roles.nil? || n.run_list.roles.length == 0 -%>
hostgroups all,<%= n.os %>,<... | # Host definitions
#
# Autogenerated by Chef.
<% @nodes.each do |n| -%>
define host {
use server
address <%= n['ipaddress'] %>
host_name <%= n['hostname'] %>
<% if node['nagios']['multi_environment_monitoring'] -%>
<% if n.run_list.roles.nil? || n.run_list.roles.length == 0 -%>
hostgroups all,<%= n.os %>,<... | Remove the non-alerting host logic. It doesn't really work at the moment. | Remove the non-alerting host logic. It doesn't really work at the moment.
Former-commit-id: f9aff2dea6756579b8c6c44b7a1cd16b3cce9eb7 [formerly d3a0cd2f64aea69957f8accb8f8b5f0c343c0acd] [formerly c4896aed3c3c5295f5116ac47705d330d8bee242 [formerly 71fc97b5211e54274ae03c5d9e85cc66f37ca8d0]]
Former-commit-id: 064bfc938b... | HTML+ERB | apache-2.0 | marthag8/rundeck,edwlarkey/rundeck,marthag8/rundeck,ARentz07/rundeck,ARentz07/rundeck,ronabop/rundeck,tas50/rundeck,marthag8/rundeck,edwlarkey/rundeck,ronabop/rundeck,ARentz07/rundeck,tas50/rundeck,ronabop/rundeck,edwlarkey/rundeck,tas50/rundeck |
935e9d7c21c28a4a5d87497eb06d24597c3fe764 | templates/systemd.erb | templates/systemd.erb | [Unit]
Description=Redis In-Memory Data Store
After=network.target
[Service]
Type=forking
PIDFile=/var/run/redis/redis.pid
User=redis
Group=redis
RuntimeDirectory=redis
RuntimeDirectoryMode=0700
ExecStart=/usr/bin/redis-server <%= scope.lookupvar('redis_sentinel::config_file') %> --sentinel
ExecStop=/usr/bin/redis-... | [Unit]
Description=Redis In-Memory Data Store
After=network.target
[Service]
Type=forking
PIDFile=/var/run/redis/redis-sentinel.pid
User=redis
Group=redis
RuntimeDirectory=redis
RuntimeDirectoryMode=0700
ExecStart=/usr/bin/redis-server <%= scope.lookupvar('redis_sentinel::config_file') %> --sentinel
ExecStop=/usr/b... | Use the right pid file | Use the right pid file | HTML+ERB | apache-2.0 | Yelp/puppet-redis_sentinel,Yelp/puppet-redis_sentinel,Yelp/puppet-redis_sentinel |
969b95e5ff24b8686240deb853b015c3495ac0eb | app/views/layouts/_analytics.html.erb | app/views/layouts/_analytics.html.erb | <!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://analytics.devcon.ph/" : "http://analytics.devcon.ph/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript... | <!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://analytics.bryanbibat.net/" : "http://analytics.bryanbibat.net/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/... | Switch analytics temporarily to bryanbibat.net | Switch analytics temporarily to bryanbibat.net
| HTML+ERB | mit | devcon-ph/devcon,devcon-ph/devcon,devcon-ph/devcon |
060910c0888ddf3fcdd39fb1c8272822979326e6 | local-cookbooks/cyclescape-backups/templates/default/run-backups.sh.erb | local-cookbooks/cyclescape-backups/templates/default/run-backups.sh.erb | #!/bin/bash
set -e
# Back up the shared directory, which includes uploaded images and documents
tar --exclude="*.log" -cjpf <%= @shared_filename %> -C /var/www/cyclescape shared
openssl dgst -md5 <%= @shared_filename %> > <%= @shared_filename + ".md5" %>
# Back up the database
pg_dump <%= @database %> -Z 1 -f <%= @d... | #!/bin/bash
set -e
# Back up the shared directory, which includes uploaded images and documents
tar --exclude="*.log" -cjpf <%= @shared_filename %> -C /var/www/cyclescape shared
openssl dgst -md5 <%= @shared_filename %> > <%= @shared_filename + ".md5" %>
# Back up the database
pg_dump <%= @database %> -Z 1 -f <%= @d... | Add creating an anonymous db dump | Add creating an anonymous db dump
Unless a developer uses the full names and emails then
it is best practise for them not to be on laptops etc.
| HTML+ERB | mit | auto-mat/toolkit-chef,cyclestreets/cyclescape-chef,cyclestreets/cyclescape-chef,cyclestreets/cyclescape-chef,auto-mat/toolkit-chef,auto-mat/toolkit-chef |
60d656a2bf8929414e1d852521f10c467ec914f1 | config/refusal_advice/actions.yml.erb | config/refusal_advice/actions.yml.erb | foi:
actions:
- id: internal_review
title: <%= _('Request an internal review') %>
header: <%= _('You may have grounds for an internal review') %>
button: <%= _('Help me send an internal review') %>
target: { internal: 'internal_review' }
- id: clarification
title: <%= _('Reply for more clarif... | foi:
actions:
- id: internal_review
title: <%= _('Request an internal review') %>
header: <%= _('You may have grounds for an internal review') %>
button: <%= _('Help me send an internal review') %>
target: { internal: 'internal_review' }
- id: clarification
title: <%= _('Reply for more clarif... | Change final statement of requests wizard to work with or without previous actions | Change final statement of requests wizard to work with or without previous actions
| HTML+ERB | mit | mysociety/whatdotheyknow-theme,mysociety/whatdotheyknow-theme,mysociety/whatdotheyknow-theme |
1cdb042b9156465319da0d06aa97d7b5e5053f0c | app/views/campaign_mailer/completed_assignment.erb | app/views/campaign_mailer/completed_assignment.erb | Dear Kind, Beautiful Admins,
My little robotic brain has just spotted that <%= @campaign.initiator.name %> has told us that <%= @assignment.data[:organization_name] %> is responsible for the <%= @campaign.location.description %>.
If this seems right, then add the operator, and update the assignment. If it looks dodg... | Dear Kind, Beautiful Admins,
My little robotic brain has just spotted that <%= @campaign.initiator.name %> has told us that <%-if @assignment.data[:organization_name]%><%= @assignment.data[:organization_name] %> is responsible for the <%= @campaign.location.description %><%- else %><%= @assignment.data[:organization_e... | Handle case where the user is just supplying an email address. | Handle case where the user is just supplying an email address.
| HTML+ERB | agpl-3.0 | mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport |
45d73c92d6481be726fdd0b1374c1c94fc5d4334 | app/views/results/marker/_overall_comment.html.erb | app/views/results/marker/_overall_comment.html.erb | <div id="overall_comment">
<div id="overall_comment_edit">
<% remote_form_for result, :url => {:action => 'update_overall_comment', :id => result.id } do |f| %>
<%= f.text_area :overall_comment, :cols => 50, :rows => 5, :id => 'overall_comment_text_area', :onkeydown => "$('overall_comment_submit').en... | <div id="overall_comment">
<div id="overall_comment_edit">
<% remote_form_for result, :url => {:action => 'update_overall_comment', :id => result.id } do |f| %>
<%= f.text_area :overall_comment, :cols => 50, :rows => 5, :id => 'overall_comment_text_area', :onkeypress => "$('overall_comment_submit').e... | Revert due to a pull request not matching the review request and introducing a bug. | Revert due to a pull request not matching the review request and introducing a bug.
This reverts commit 35303336d9158c97253b02b1d10aba867bf7d1f2.
and commit a10ff514f5e1471a6790b7580b0bb0e40dae1507
| HTML+ERB | mit | wkwan/Markus,binuri/Markus,david-yz-liu/Markus,benjaminvialle/Markus,david-yz-liu/Markus,arkon/Markus,Lysette/Markus,selyanhb/Markus,WilsonChiang/Markus,wkwan/Markus,wkwan/Markus,benjaminvialle/Markus,SoftwareDev/Markus,arkon/Markus,melneubert/Markus,jeremygoh/Markus,WilsonChiang/Markus,jeremygoh/Markus,reidka/Markus,S... |
a92b42ee1d5937373a905378afbaf053c893c13e | app/views/storytime/dashboard/users/_edit.html.erb | app/views/storytime/dashboard/users/_edit.html.erb | <%= simple_form_for @user, :url => dashboard_user_path, remote: true, html: { class: "storytime-modal-form", data: { redirect: "index" } } do |f| %>
<div class="scroll-panel">
<div class="scroll-panel-header">
<%= link_to icon("angle-left"), [:dashboard, Storytime.user_class], class: "btn btn-sm btn-default... | <%= simple_form_for @user.becomes(Storytime.user_class), :url => dashboard_user_path, remote: true, html: { class: "storytime-modal-form", data: { redirect: "index" } } do |f| %>
<div class="scroll-panel">
<div class="scroll-panel-header">
<%= link_to icon("angle-left"), [:dashboard, Storytime.user_class], ... | Add becomes to user edit form for when host app is using STI on users table | Add becomes to user edit form for when host app is using STI on users table
| HTML+ERB | mit | matiasgarcia/storytime,bidah/storytime,FlyoverWorks/storytime,hoanghiep90/storytime,bidah/storytime-manentail,FlyoverWorks/storytime,harrykiselev/storytime,braindeaf/storytime,hoanghiep90/storytime,braindeaf/storytime,harrykiselev/storytime,matiasgarcia/storytime,bidah/storytime,braindeaf/storytime,CultivateLabs/storyt... |
cb8d69a650d916ea6f2ebfc9813875aceede8a54 | modules/pact_broker/templates/upstart.conf.erb | modules/pact_broker/templates/upstart.conf.erb | description "GOV.UK pact broker"
start on runlevel [2345]
stop on runlevel [!2345]
respawn
# If the app respawns more than 5 times in 20 seconds, it has deeper problems
# and should be killed off.
respawn limit 5 20
script
cd <%= @deploy_dir %>/app
exec sudo -u <%= @user %> -E \
exec bundle exec unicorn -c... | description "GOV.UK pact broker"
start on runlevel [2345]
stop on runlevel [!2345]
respawn
# If the app respawns more than 5 times in 20 seconds, it has deeper problems
# and should be killed off.
respawn limit 5 20
script
cd <%= @deploy_dir %>/app
# Using `bash -l` to pick up profile including rbenv setup
e... | Update upstart script to work with rbenv. | Update upstart script to work with rbenv.
Using `bash -l` causes all the profile scripts to be loaded, and
therefore means that the necessary rbenv setup will be done.
| HTML+ERB | mit | alphagov/ci-puppet,alphagov/ci-puppet,alphagov/ci-puppet,alphagov/ci-puppet |
87c09b63fbb2a7af67b27dd2ec0a67aa60cd7e05 | app/assets/javascripts/active_scaffold.js.erb | app/assets/javascripts/active_scaffold.js.erb | <% case ActiveScaffold.js_framework %>
<% when :jquery %>
<% require_asset "getprototypeof" %>
<% if Jquery::Rails.const_defined? 'JQUERY_UI_VERSION' %>
<% require_asset "jquery-ui" %>
<% require_asset "jquery-ui-timepicker-addon" %>
<% elsif Jquery.const_defined? 'Ui' %>
<% require_asset "jquery.ui.core" %>
<% require... | <% case ActiveScaffold.js_framework %>
<% when :jquery %>
<% require_asset "getprototypeof" %>
<% if Jquery::Rails.const_defined? 'JQUERY_UI_VERSION' %>
<% require_asset "jquery-ui" %>
<% require_asset "jquery-ui-timepicker-addon" %>
<% elsif Jquery.const_defined? 'Ui' %>
<% require_asset "jquery.ui.core" %>
<% require... | Fix draggable for jquery-rails 3 gem | Fix draggable for jquery-rails 3 gem
| HTML+ERB | mit | silverpond/active_scaffold,silverpond/active_scaffold,silverpond/active_scaffold |
199948eab5b1bacfb0a1d26a9449a54c4e67a81b | cookbooks/app_homepage/templates/default/index.erb | cookbooks/app_homepage/templates/default/index.erb | <!doctype html>
<head>
<meta http-equiv="refresh" content="1">
<title>
<%= @page_title %>
</title>
<style>
body { font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif; font-size: 12px; line-height: 1.6em; }
h1 { font-size: 16px; font-weight: bold; color: #039; }
</style>
</head>
<body>
... | <!doctype html>
<head>
<meta http-equiv="refresh" content="1">
<title>
<%= @page_title %>
</title>
<style>
body { font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif; font-size: 12px; line-height: 1.6em; }
h1 { font-size: 16px; font-weight: bold; color: #039; }
</style>
</head>
<body>
... | Update template with feedback from Jeremy | Update template with feedback from Jeremy
| HTML+ERB | mit | raphael/remote_recipe_test |
20a00ffce73af56bc1a4dbf7b6ca5512e90a1d57 | source/_header.html.erb | source/_header.html.erb | <header class="header">
<nav role="navigation" aria-label="main">
<ul class="header-nav container">
<li class="header-logo">
<a href="http://emberjs.com/"><span class="visually-hidden">Ember homepage</span></a>
<%= link_to_page "About", "/about" %>
<%= link_to_page "Guides", "http://guid... | <header class="header">
<nav role="navigation" aria-label="main">
<ul class="header-nav container">
<li class="header-logo">
<a href="http://emberjs.com/"><span class="visually-hidden">Ember homepage</span></a>
<%= link_to_page "Guides", "http://guides.emberjs.com" %>
<%= link_to_page "A... | Remove About from main navigation | Remove About from main navigation
| HTML+ERB | mit | AaronSikes/website,SaladFork/emberjs-website,SaladFork/emberjs-website,SaladFork/emberjs-website,bmac/website,kpfefferle/website,bmac/website,kpfefferle/website,SaladFork/emberjs-website,bmac/website,AaronSikes/website,AaronSikes/website,kpfefferle/website,bmac/website |
b932ec0b6d1afe4e3640b32e539243f7e0c135a1 | templates/default/rhel/supervisor.init.erb | templates/default/rhel/supervisor.init.erb | #!/bin/bash
#
# /etc/rc.d/init.d/supervisor
#
# Manages the supervisor daemon
#
# chkconfig: 2345 90 10
# description: Supervisor is a process control utility
# processname: supervisord
# config: /etc/supervisord.conf
# pidfile: /var/run/supervisord.pid
source /etc/rc.d/init.d/functions
start() {
echo -n "Startin... | #!/bin/bash
#
# /etc/rc.d/init.d/supervisor
#
# Manages the supervisor daemon
#
# chkconfig: 2345 90 10
# description: Supervisor is a process control utility
# processname: supervisord
# config: /etc/supervisord.conf
# pidfile: /var/run/supervisord.pid
source /etc/rc.d/init.d/functions
start() {
echo -n "Startin... | Change stop not to display FAILED if the service is already stopped. | Change stop not to display FAILED if the service is already stopped.
| HTML+ERB | apache-2.0 | greenbits/supervisor,joeheung/supervisor,poise/supervisor,joeheung/supervisor,rstudio/supervisor,borntyping/cookbook-supervisor,rstudio/supervisor,channelgrabber/supervisor,poise/supervisor,rstudio/supervisor,corbel-platform/supervisor,knowsis/supervisor,corbel-platform/supervisor,GannettDigital/chef-supervisor,poise/s... |
30ca23616f00f26fd3d5e648a56e64e1c04cee1e | app/views/admin/document_sources/edit.html.erb | app/views/admin/document_sources/edit.html.erb | <% content_for :context, @edition.title %>
<% content_for :page_title, "Edit legacy URL redirects" %>
<% content_for :back_link do %>
<%= render "govuk_publishing_components/components/back_link", {
href: admin_edition_path(@edition)
} %>
<% end %>
<div class="govuk-grid-row">
<section class="govuk-grid-col... | <% content_for :page_title, "Edit legacy URL redirects" %>
<% content_for :back_link do %>
<%= render "govuk_publishing_components/components/back_link", {
href: admin_edition_path(@edition)
} %>
<% end %>
<div class="govuk-grid-row">
<section class="govuk-grid-column-two-thirds">
<span class="govuk-cap... | Use caption span instead of context content for new legacy url edit page | Use caption span instead of context content for new legacy url edit page
The textarea label as header means that the content_for context is not rendered. This change uses a span instead.
| HTML+ERB | mit | alphagov/whitehall,alphagov/whitehall,alphagov/whitehall,alphagov/whitehall |
61494315bbb32e303cde5d3ed517a87e008231ed | app/views/consultation_responses/show.html.erb | app/views/consultation_responses/show.html.erb | <% page_title @document.title + " (Response)", "Consultations" %>
<% page_class 'consultation-response' %>
<div class="g4f document_page <%= @document.type.downcase %>">
<div class="g3f">
<section class="page_header icon">
<h2 class="label">Consultation response</h2>
<h1 class="page_title has_meta"... | <% page_title @document.title + " (Response)", "Consultations" %>
<% page_class 'consultation-response' %>
<div class="g4f document_page <%= @document.type.downcase %>">
<div class="g4">
<section class="page_header icon">
<h2 class="label">Consultation response</h2>
<h1 class="page_title has_meta">... | Fix positioning of right column on consultation_responses. | Fix positioning of right column on consultation_responses.
| HTML+ERB | mit | askl56/whitehall,YOTOV-LIMITED/whitehall,alphagov/whitehall,YOTOV-LIMITED/whitehall,hotvulcan/whitehall,YOTOV-LIMITED/whitehall,alphagov/whitehall,ggoral/whitehall,ggoral/whitehall,robinwhittleton/whitehall,hotvulcan/whitehall,alphagov/whitehall,robinwhittleton/whitehall,askl56/whitehall,ggoral/whitehall,hotvulcan/whit... |
b6e2200350d40abbf084f8630e608655629b2fa9 | app/views/shared/_tool_category_links.html.erb | app/views/shared/_tool_category_links.html.erb | <div class="tool-category-links">
<% categories.each do |category| %>
<h4 class="tool-category-links__heading"><%= link_to category.title, category.path %></h4>
<p>
<%= category.contents.map do |sub_category|
link_to sub_category.title, sub_category.path,
class: "tool-category-... | <div class="tool-category-links">
<% categories.each do |category| %>
<%= heading_tag(level: 4, class: 'tool-category-links__heading') do %>
<%= link_to category.title, category.path %>
<% end %>
<p>
<%= category.contents.map do |sub_category|
link_to sub_category.title, sub_category.p... | Switch to heading helper for accessible headings | Switch to heading helper for accessible headings
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
cd1d1ccc4df06763c47319d90106548736b515fb | app/views/teams/new.erb | app/views/teams/new.erb | <h1>Create new team</h1>
<% if @errors %>
<% @errors.full_messages.each do |error| %>
<p><%= error %></p>
<% end %>
<% end %>
<%= form_for :team, url: teams_path do |f| %>
<p>
<%= f.label :name, "Name:" %>
<%= f.text_field :name %>
</p>
<p>
<%= f.label :city, "City:" %>
<%= f.text_fiel... | <h1>Create new team</h1>
<% if @errors %>
<% @errors.full_messages.each do |error| %>
<p><%= error %></p>
<% end %>
<% end %>
<%= form_for :team, url: teams_path do |f| %>
<p>
<%= f.label :name, "Name:" %>
<%= f.text_field :name %>
</p>
<p>
<%= f.label :city, "City:" %>
<%= f.text_fiel... | Add paragraph to submit button | Add paragraph to submit button
| HTML+ERB | mit | rfleury2/paperclip-practice,rfleury2/paperclip-practice,rfleury2/paperclip-practice |
219afb54a070a938a43bcd2e1e517ec2439282ca | cookbooks/bach_common/templates/default/motd/bach-variables.erb | cookbooks/bach_common/templates/default/motd/bach-variables.erb | #!/bin/bash
# -*- mode: shell-script -*-
#
# 01-bach-variables
#
# Print relevant BACH variables and hardware info on login.
#
<% mfg = node['dmi']['system']['manufacturer']
product = node['dmi']['system']['product_name']
gb = (node['memory']['total'].to_f / 1024 / 1024).round
cores = node[:cpu]['0'][:cores]... | #!/bin/bash
# -*- mode: shell-script -*-
#
# 01-bach-variables
#
# Print relevant BACH variables and hardware info on login.
#
<%
mfg = node['dmi']['system']['manufacturer']
product = node['dmi']['system']['product_name']
gb = (node['memory']['total'].to_f / 1024 / 1024).round
cores = node[:cpu]['0'][:cores].to_i ... | Add chef-bach version to the MotD | Add chef-bach version to the MotD
| HTML+ERB | apache-2.0 | NinjaLabib/chef-bach,leochen4891/chef-bach,amithkanand/chef-bach,amithkanand/chef-bach,amithkanand/chef-bach,kiiranh/chef-bach,leochen4891/chef-bach,pu239ppy/chef-bach,bloomberg/chef-bach,leochen4891/chef-bach,pu239ppy/chef-bach,amithkanand/chef-bach,bijugs/chef-bach,NinjaLabib/chef-bach,bijugs/chef-bach,kiiranh/chef-b... |
749ea49726da9174940b47e323442f8cb1af608b | views/new.erb | views/new.erb | <h2>Add new posts</h2>
<p>
We will add new post here!
</p> | <h2>Add new posts</h2>
<p>
<form>
<textarea class="form-control" rows="6"></textarea>
<br />
<button type="submit" class="btn btn-primary">Submit</button>
</form>
</p> | Add form, textarea and button | Add form, textarea and button
| HTML+ERB | mit | evilgen/MyBlog,evilgen/MyBlog |
11da2449c3fb6e4e8d90af23c2d848c2819341ee | publify_core/app/views/admin/content/_article_list.html.erb | publify_core/app/views/admin/content/_article_list.html.erb | <% if @articles.empty? %>
<tr>
<td colspan="7">
<%= t('.no_articles') %>
</td>
</tr>
<% end %>
<% for article in @articles %>
<tr>
<td>
<% if article.published? %>
<%= link_to_permalink(article, article.title, nil, 'published') %>
<% else %>
<%= link_to(article.title,... | <% if @articles.empty? %>
<tr>
<td colspan="7">
<%= t('.no_articles') %>
</td>
</tr>
<% end %>
<% for article in @articles %>
<tr>
<td>
<% if article.published? %>
<%= link_to_permalink(article, article.title, nil, 'published') %>
<% else %>
<%= link_to(article.title,... | Replace icon in article feedback link | Replace icon in article feedback link
| HTML+ERB | mit | publify/publify,publify/publify,publify/publify |
611547846a0735055b287c0e198d5aef44ed039b | app/views/proposals/_featured_proposal.html.erb | app/views/proposals/_featured_proposal.html.erb | <li class="proposal-featured featured-proposal" id="<%= dom_id(proposal, "featured") %>">
<div class="featured-proposal-inner">
<div class="featured-proposal-content">
<h3><%= link_to truncate(proposal.title, length: 90), proposal %></h3>
<div class="info">
<% if proposal.author.hidden? || pro... | <li class="proposal-featured featured-proposal" id="<%= dom_id(proposal, "featured") %>">
<div class="featured-proposal-inner">
<div class="featured-proposal-content">
<h3><%= link_to truncate(proposal.title, length: 90), proposal %></h3>
<div class="info">
<% if proposal.author.hidden? || pro... | Remove author from official and meeting proposals | Remove author from official and meeting proposals
| HTML+ERB | agpl-3.0 | AjuntamentdeBarcelona/decidim.barcelona,AjuntamentdeBarcelona/decidimbcn,AjuntamentdeBarcelona/decidimbcn,AjuntamentdeBarcelona/decidim.barcelona,AjuntamentdeBarcelona/decidim.barcelona,AjuntamentdeBarcelona/barcelona-participa,AjuntamentdeBarcelona/decidim.barcelona-legacy,AjuntamentdeBarcelona/barcelona-participa,Aju... |
963d1453e94056eaf6f93a4f73a1f348a0817656 | lib/views/public_body/_more_info.html.erb | lib/views/public_body/_more_info.html.erb | <h2><%= _('More about this authority')%></h2>
<% if !public_body.calculated_home_page.nil? %>
<%= link_to _('Home page of authority'), public_body.calculated_home_page %><br>
<% end %>
<% if !public_body.publication_scheme.empty? %>
<%= link_to _('Publication scheme'), public_body.publication_scheme %><br>
<%... | Add charity links to public bodies | Add charity links to public bodies
If the body is a charity, provide a link to its registration info | HTML+ERB | mit | schlos/whatdotheyknow-theme,mysociety/whatdotheyknow-theme,schlos/whatdotheyknow-theme,mysociety/whatdotheyknow-theme,mysociety/whatdotheyknow-theme |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.