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 |
|---|---|---|---|---|---|---|---|---|---|
183a528f0a19520b390fc352497e7a6b62018a7c | app/javascript/packs/application.js.erb | app/javascript/packs/application.js.erb | import bugsnag from '@bugsnag/js'
import bugsnagReact from '@bugsnag/plugin-react'
// Support component names relative to this directory:
const componentRequireContext = require.context("components", true)
const ReactRailsUJS = require("react_ujs")
ReactRailsUJS.useContext(componentRequireContext)
const Headroom = re... | import bugsnag from '@bugsnag/js'
import bugsnagReact from '@bugsnag/plugin-react'
import React from 'react'
// Support component names relative to this directory:
const componentRequireContext = require.context("components", true)
const ReactRailsUJS = require("react_ujs")
ReactRailsUJS.useContext(componentRequireCon... | Fix error in bugsnag setup | Fix error in bugsnag setup
| HTML+ERB | mit | swrobel/meta-surf-forecast,swrobel/meta-surf-forecast,swrobel/meta-surf-forecast |
22445094c7a37afd3ccd8a139b1f82e7dea264e6 | app/views/merchants/show.html.erb | app/views/merchants/show.html.erb | <h1><%= @merchant.business_name %></h1>
<p>See Your Menu<p>
<p><%= link_to "Menu", merchant_items_path(@merchant) %><p>
<h2>Your info</h2>
<table>
<tr>
<td><%= @merchant.username %></td>
</tr>
<tr>
<td><%= @merchant.financial_info %></td>
</tr>
</table>
<p><%= link_to 'Back', merchants_path %></p>
| <h1><%= @merchant.business_name %></h1>
<p>See Your Menu<p>
<p><%= link_to "Menu", merchant_items_path(@merchant) %><p>
<h2>Your info</h2>
<table>
<tr>
<td><%= @merchant.username %></td>
</tr>
<tr>
<td><%= @merchant.financial_info %></td>
</tr>
</table>
<p><%= link_to("See Your Seatings!", merchant_s... | Add Seatings To Merchant Page | Add Seatings To Merchant Page
| HTML+ERB | mit | Heintzdm/check-it-out-app,Heintzdm/check-it-out-app,Heintzdm/check-it-out-app |
8642a24c69658e31c3e5da2ea7a8c1f58262c100 | app/views/pages/manifest.json.erb | app/views/pages/manifest.json.erb | {
"name": "Feedbunch",
"short_name": "Feedbunch",
"start_url": "/read",
"display": "standalone",
"icons": [
{
"src": "<%= image_path 'feed18x18.png' %>",
"sizes": "18x18",
"type": "image/png"
},
{
"src": "<%= image_path 'feed128x128.png' %>",
"sizes": "128x128",
... | {
"name": "Feedbunch",
"short_name": "Feedbunch",
"start_url": "/read",
"display": "fullscreen",
"icons": [
{
"src": "<%= image_path 'feed18x18.png' %>",
"sizes": "18x18",
"type": "image/png"
},
{
"src": "<%= image_path 'feed128x128.png' %>",
"sizes": "128x128",
... | Install the app to the homescreen (currently supported in android) in fullscreen mode, instead of standalone. | Install the app to the homescreen (currently supported in android) in fullscreen mode, instead of standalone.
I hope this gets rid of the status bar that appears when loading images via http (to warn the user of a potential risk, loading http content in an https page). This is rather unavoidable right now, and I'd lik... | HTML+ERB | mit | amatriain/feedbunch,jmwenda/feedbunch,amatriain/feedbunch,jmwenda/feedbunch,amatriain/feedbunch,amatriain/feedbunch,jmwenda/feedbunch |
9e1a1e7372502494fd26c550f1cd153f81fbcb4a | app/views/receivers/show.html.erb | app/views/receivers/show.html.erb | <div class="header">
<%= link_to image_tag("quickbit-logo.png", :border=>0, :class => 'header_image'), "/" %>
</div>
<div class="alert_browser">
<h3> We do not support your browser at this time </h3>
</div>
<div class="reciever_view">
<div class="status_view" >
<%= render '/status' %>
</div>
</div>
<d... | <div class="header">
<%= link_to image_tag("quickbit-logo.png", :border=>0, :class => 'header_image'), "/" %>
</div>
<div class="alert_browser">
<h3> We do not support your browser at this time </h3>
</div>
<div class="reciever_view">
<div class="status_view" >
<%= render '/status' %>
</div>
</div>
<d... | Add FAQ link to footer on receivers page | Add FAQ link to footer on receivers page
| HTML+ERB | agpl-3.0 | Surram/quickbits,Surram/quickbits |
0fe033d19843ef53eb1bdc7717e60261a970123d | app/views/tracks/_more_results.html.erb | app/views/tracks/_more_results.html.erb | <%@tracks.each do |track|%>
<div class="col-md-4 col-sm-6 st-service">
<h3 class="track-title"><%= track.title %></h3>
<h2><%= track.artist_name %> <br></h2>
<h2>Valence: <%= track.audio_features.valence %> <br></h2>
<h2>Energy: <%= track.audio_features.energy %></h2><br>
<h2>Genre: <%... | <%@tracks.each do |track|%>
<div class="col-md-4 col-sm-6 st-service">
<h3 class="track-title"><%= track.title %></h3>
<h2><%= track.artist_name %> <br></h2>
<div class="poppingover" title="tempo: <%= track.audio_features.tempo %>
valence: <%= track.audio_features.valence %> tempo: <%= tr... | Add details tooltip to see more partial | Add details tooltip to see more partial
| HTML+ERB | mit | FridaSjoholm/lyrically-challenged,FridaSjoholm/lyrically-challenged,FridaSjoholm/lyrically-challenged |
21a3c38004025f32fa056cf85883c61e710db30a | base/app/views/activities/_new.html.erb | base/app/views/activities/_new.html.erb | <% if can? :create, new_post(receiver) %>
<div class="wall_input">
<%= form_for Post.new(owner_id: Actor.normalize_id(receiver)), remote: true do |f| %>
<%= f.hidden_field :owner_id %>
<%= f.text_field :text, placeholder: t('post.input') %>
<%= f.submit t('activity.share') %>
<% Soc... | <% if can? :create, new_post(receiver) %>
<div class="wall_input">
<%= form_for Post.new(owner_id: Actor.normalize_id(receiver)), remote: true do |f| %>
<%= f.hidden_field :owner_id %>
<%= f.text_field :text, placeholder: t('post.input') %>
<%= f.submit t('activity.share') %>
<% Soc... | Fix wall_input contact selector text | Fix wall_input contact selector text
| HTML+ERB | mit | honorlin/social_stream,honorlin/social_stream,ging/social_stream,ging/social_stream,honorlin/social_stream,ging/social_stream,honorlin/social_stream |
ba171f7ca423e7064adcce03e2efba7bed33596d | app/views/blog_post_page/index.html.erb | app/views/blog_post_page/index.html.erb | <div class="add-margin fontsize-for-blog">
<%= scrivito_tag_list :ul, @obj, :toclist do |list, child| %>
<%= list.tag :li do %>
<%= link_to child.display_title, scrivito_path(child) %>
<% end %>
<% end %>
<%= scrivito_tag :h1, @obj, :title %>
<%= scrivito_tag :div, @obj, :abstract %>
<%= scr... | <article>
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="fontsize-for-blog">
<%= scrivito_tag_list :ul, @obj, :toclist do |list, child| %>
<%= list.tag :li do %>
<%= link_to child.display_title, scrivito_path(child) %>
... | Apply clean blog design for existing posts as well | Apply clean blog design for existing posts as well
| HTML+ERB | mit | coderdojo-japan/coderdojo.jp,yasslab/coderdojo.jp,yasslab/coderdojo.jp,coderdojo-japan/coderdojo.jp,yasslab/coderdojo.jp,coderdojo-japan/coderdojo.jp,coderdojo-japan/coderdojo.jp |
0a2cd81988178dc6f7922ae9974a780adaa54350 | app/views/registrants/_pay_now.html.erb | app/views/registrants/_pay_now.html.erb | <div class="registrations_box">
<% if can? :create, Payment %>
<div class="payment_process">
<%= link_to "Pay Now", new_payment_path, :class => "payment_link" %>
</div>
<div class="prices_increase">
Prices Increase in
<% rp = RegistrationPeriod.relevant_period(Date.today) %>
<%if ... | <div class="registrations_box">
<% if can? :create, Payment %>
<div class="payment_process">
<%= link_to "Pay Now", new_payment_path, :class => "payment_link" %>
</div>
<div class="prices_increase">
Prices Increase
<% rp = RegistrationPeriod.relevant_period(Date.today) %>
<%if rp.n... | Adjust the way we print times if we are between 2 periods | Adjust the way we print times if we are between 2 periods
| HTML+ERB | mit | rdunlop/unicycling-registration,scotthue/unicycling-registration,rdunlop/unicycling-registration,rdunlop/unicycling-registration,scotthue/unicycling-registration,scotthue/unicycling-registration,rdunlop/unicycling-registration |
c4aca9ada73517cf9e1e7466a99308199646e2cb | app/views/schools/_school_card.html.erb | app/views/schools/_school_card.html.erb | <div class="card">
<div class="card-body">
<% if school.active? %>
<h3 class="card-title">
<%= link_to school_path(school) do %>
<%= school.name %>
<% end -%>
</h3>
<div class="card-text">
<% if user_signed_in? && current_user.admin? %>
<% if school.me... | <div class="card">
<div class="card-body">
<% if school.active? %>
<h3 class="card-title">
<%= link_to school_path(school) do %>
<%= school.name %>
<% end -%>
</h3>
<div class="card-text">
<% if school.meters_for_supply(:electricity).any? %>
<%= fa_ico... | Switch to allow anyone to view icons and update storage heater icon | Switch to allow anyone to view icons and update storage heater icon
| HTML+ERB | mit | BathHacked/energy-sparks,BathHacked/energy-sparks,BathHacked/energy-sparks,BathHacked/energy-sparks |
956a31daab2606c8c22ca51368209809c1ba4640 | app/views/shared/talk/_details.html.erb | app/views/shared/talk/_details.html.erb | <% if (@current_controller == "talks" && @current_action == "unscheduled") then heading_element = "h2" else heading_element = "h1" end %>
<<%= heading_element %> class="heading">
<%= ((@talk.title.blank?) ? "[Untitled]" : @talk.title) %>
</<%= heading_element %>>
<% if (!@talk.speaker unless @talk.speaker.blank?) %>... | <% if (@current_controller == "talks" && @current_action == "unscheduled") then heading_element = "h2" else heading_element = "h1" end %>
<<%= heading_element %> class="heading">
<%= ((@talk.title.blank?) ? "[Untitled]" : @talk.title) %>
</<%= heading_element %>>
<% if (@talk.speaker unless @talk.speaker.blank?) %>
... | Fix for speaker's name not showing in show talk view. | Fix for speaker's name not showing in show talk view. | HTML+ERB | agpl-3.0 | geeksoflondon/grid4rails,geeksoflondon/grid4rails,geeksoflondon/grid4rails |
749425e6aa7da6df6d21466ca17b0fbe4d003934 | conf/nginx/symfony2.conf.erb | conf/nginx/symfony2.conf.erb | root /app/web;
location / {
# try to serve file directly, fallback to rewrite
try_files $uri @rewriteapp;
}
location @rewriteapp {
# rewrite all to app.php
rewrite ^(.*)$ /app.php/$1 last;
}
location ~ ^/(app|app_dev)\.php(/|$) {
fastcgi_pass php;
fastcgi_split_path_info ^(.+\.php)(/.*)$;
... | <% if ENV.has_key? "DOCUMENT_ROOT" and ENV['DOCUMENT_ROOT'] != nil %>
root <%= ENV['DOCUMENT_ROOT'] %>;
<% else %>
root /app/web;
<% end %>
location / {
# try to serve file directly, fallback to rewrite
try_files $uri @rewriteapp;
}
location @rewriteapp {
# rewrite all to app.php
rewrite ^(.*)$ /app.p... | Make document root overridable for symfony apps | Make document root overridable for symfony apps
| HTML+ERB | mit | cachethq/cachet-buildpack,AlphaStaxLLC/heroku-buildpack-php-custom,ryosuzuki/php-buildpack,Scalingo/php-buildpack,Scalingo/php-buildpack,OKAMca/heroku-buildpack-php,ryosuzuki/php-buildpack,OKAMca/heroku-buildpack-php,stof/heroku-buildpack-php,bobmaerten/dokku-buildpack-php,AlphaStaxLLC/heroku-buildpack-php-custom,Jonat... |
73fce94ce68fd6d0ba6c9e38ee9f72649b85c72b | app/views/admin/simple_crud/create.js.erb | app/views/admin/simple_crud/create.js.erb | $('.modal').modal('hide');
$('#admin-in-place-editor').html("<%= escape_javascript(render('list')) %>");
window.adminInPlaceEditor.init();
window.adminInPlaceEditor.alertSuccess("Operation successful");
| $('.modal').modal('hide');
$('#admin-in-place-editor').html("<%= escape_javascript(render('list')) %>");
window.adminInPlaceEditor.initEditors();
window.adminInPlaceEditor.alertSuccess("Operation successful");
| Fix bug with multiple records being added after the first addition | Fix bug with multiple records being added after the first addition
| HTML+ERB | bsd-3-clause | unepwcmc/SAPI,unepwcmc/SAPI,unepwcmc/SAPI,unepwcmc/SAPI |
2a93adf9a2004f01920b62d91a0b9cc085209584 | app/views/campaigns/_js_campaign_data.erb | app/views/campaigns/_js_campaign_data.erb | <script>
var campaign_data = {
title: "<%= escape_javascript(@campaign.title) %>",
id: <%= @campaign.id %>,
url: document.location.protocol + '//' + document.location.host + "<%= campaign_path(@campaign) %>",
description: "<%= escape_javascript(@campaign.description) %>",
facebook_description: "<%= escape_j... | <script>
var campaign_data = {
title: "<%= escape_javascript(truncate(@campaign.title, 47)) %>",
id: <%= @campaign.id %>,
url: document.location.protocol + '//' + document.location.host + "<%= campaign_path(@campaign) %>",
description: "<%= escape_javascript(truncate(@campaign.description, 252)) %>",
facebo... | Truncate title and description to under FB max char limits for the fields. | Truncate title and description to under FB max char limits for the fields.
| HTML+ERB | agpl-3.0 | mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport |
9ec29f92f3838f6f9fe6bad6a7e72a9f612b0b45 | app/views/sortings/_repositories.html.erb | app/views/sortings/_repositories.html.erb | <%
# encoding: utf-8
#--
# Copyright (C) 2014 Gitorious AS
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your optio... | <%
# encoding: utf-8
#--
# Copyright (C) 2014 Gitorious AS
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your optio... | Add title to repo sorting button | Add title to repo sorting button
| HTML+ERB | agpl-3.0 | elcom/gitorious,tigefa4u/gitorious-mainline,spencerwp/mainline,elcom/gitorious,Gitorious-backup/mainline,rae/gitorious-mainline,Gitorious-backup/mainline,gitorious/mainline,spencerwp/mainline,rae/gitorious-mainline,tigefa4u/gitorious-mainline,SamuelMoraesF/Gitorious,elcom/gitorious,rae/gitorious-mainline,SamuelMoraesF/... |
ec240e8d167aafbd41db3f7a81718ac4cd8fe2de | modules/govuk_jenkins/templates/jobs/record_taxonomy_metrics.yaml.erb | modules/govuk_jenkins/templates/jobs/record_taxonomy_metrics.yaml.erb | ---
- job:
name: record-taxonomy-metrics
display-name: Record metrics about the Topic Taxonomy
project-type: freestyle
description: |
This job runs a rake task in Content Tagger to send metrics
about the Topic Taxonomy to statsd.
logrotate:
daysToKeep: 30
triggers:
- time... | ---
- job:
name: record-taxonomy-metrics
display-name: Record metrics about the Topic Taxonomy
project-type: freestyle
description: |
This job runs a rake task in Content Tagger to send metrics
about the Topic Taxonomy to statsd.
logrotate:
daysToKeep: 30
triggers:
- time... | Use run-rake-task in record-taxonomy-metrics job | Use run-rake-task in record-taxonomy-metrics job
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
ddce35d51ca1acb32584f8d02a4587768123b681 | app/views/feeder/items/_item.html.erb | app/views/feeder/items/_item.html.erb | <li class="feed-item <%= item.type.parameterize %>">
<nav class="actions">
<% if can_recommend? item %>
<div class="recommend">
<% if item.recommended? %>
<%= link_to t("feeder.views.unrecommend"), feeder.unrecommend_item_path(id: item.id), method: :post %>
<% else %>
<%=... | <li class="feed-item <%= item.type.parameterize %><%= " sticky" if item.sticky? %>">
<nav class="actions">
<% if can_recommend? item %>
<div class="recommend">
<% if item.recommended? %>
<%= link_to t("feeder.views.unrecommend"), feeder.unrecommend_item_path(id: item.id), method: :post %>
... | Add a "sticky" CSS class to sticky items | Add a "sticky" CSS class to sticky items
| HTML+ERB | mit | hyperoslo/feeder,hyperoslo/feeder |
86b188aa1b524682f4f62fbe17c619ba0deb5c11 | chef/lib/chef/knife/bootstrap/ubuntu12.10-gems.erb | chef/lib/chef/knife/bootstrap/ubuntu12.10-gems.erb | bash -c '
<%= "export http_proxy=\"#{knife_config[:bootstrap_proxy]}\"" if knife_config[:bootstrap_proxy] -%>
if [ ! -f /usr/bin/chef-client ]; then
aptitude update
aptitude install -y ruby ruby1.9.1-dev build-essential wget rubygems
fi
gem update --no-rdoc --no-ri
gem install ohai --no-rdoc --no-ri --verbose
gem... | Add Ruby 1.9 based Ubuntu 12.10 Gems bootstrap | CHEF-3672: Add Ruby 1.9 based Ubuntu 12.10 Gems bootstrap
| HTML+ERB | apache-2.0 | webframp/chef,nellshamrell/chef,circleback/chef,erkolson/chef,mal/chef,brettcave/chef,ekometti/chef,bahamas10/chef,askl56/chef,clintoncwolfe/chef,polamjag/chef,DeWaRs1206/chef,jblaine/chef,joemiller/chef,sanditiffin/chef,SUSE-Cloud/chef,nathwill/chef,Igorshp/chef,Tensibai/chef,adamleff/chef,askl56/chef,DeWaRs1206/chef,... | |
0a08630491c774bec15dbbf5f69ff41862a55c18 | views/game.erb | views/game.erb | <!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Movie Lovers</title>
<link rel="stylesheet" href="main.css">
</head>
<body>
<h1>Movie Lovers</h1>
<p>
You searched for:
<strong><%= @title %></strong>.
</p>
<p>
... | <!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Movie Lovers</title>
<link rel="stylesheet" href="main.css">
</head>
<body>
<h1>Movie Lovers</h1>
<p>
You searched for:
<strong><%= @title %></strong>.
</p>
<p>
... | Add movie title as image alternate text | Add movie title as image alternate text
| HTML+ERB | isc | khalifenizar/movie-lovers,khalifenizar/movie-lovers |
55d09a5beceb18a3a55877e819e6c85ae543b263 | app/views/shared/google_maps/_google_map_api.html.erb | app/views/shared/google_maps/_google_map_api.html.erb | <%= javascript_include_tag "https://maps.googleapis.com/maps/api/js?v=3&sensor=false&libraries=places" %> | <%= javascript_include_tag "https://maps.googleapis.com/maps/api/js?v=3&libraries=places" %> | Remove sensor param from gmap URL so to avoid SensorNotRequired warning | Remove sensor param from gmap URL so to avoid SensorNotRequired warning
| HTML+ERB | agpl-3.0 | camsys/ridepilot,camsys/ridepilot,camsys/ridepilot |
84ce5bee1df8db94fb68f64daea4d471667f181c | app/views/spree/authors/show.html.erb | app/views/spree/authors/show.html.erb | <% @body_id = 'author-page' %>
<% @body_class = 'serif-headers' %>
<% cache @author do %>
<div class="row">
<div class="alpha columns four author-photo">
<%= image_tag @author.photo.url %>
</div>
<div class="omega columns twelve readable-text">
<div>
<%= display_bookmarks(@author) if gem_available? 'spree_soc... | <% @body_id = 'author-page' %>
<% @body_class = 'serif-headers' %>
<% cache @author do %>
<div class="row">
<div class="alpha columns four author-photo">
<%= image_tag @author.photo.url(:small) %>
</div>
<div class="omega columns twelve readable-text">
<div>
<%= display_bookmarks(@author) if gem_available? 's... | Use smaller image on author page | Use smaller image on author page
| HTML+ERB | bsd-3-clause | iloveitaly/spree_authors,iloveitaly/spree_authors |
1b41205ecd53b5a0bbf31fc632a7c978e6ba38ad | app/views/tasks/_task_output.html.erb | app/views/tasks/_task_output.html.erb | <%= render partial: 'tasks/plugins' %>
<%= render partial: "stacks/header", locals: { stack: @stack } %>
<div class="sidebar">
<div class="sidebar-plugins"></div>
</div>
<div class="deploy-main" data-repo-full-name="<%= @stack.github_repo_name %>">
<span class="deploy-tasks"></span>
<div class="deploy-banner <%... | <%= render partial: 'tasks/plugins' %>
<%= render partial: "stacks/header", locals: { stack: @stack } %>
<div class="sidebar">
<div class="sidebar-plugins"></div>
</div>
<div class="deploy-main" data-repo-full-name="<%= @stack.github_repo_name %>">
<span class="deploy-tasks"></span>
<div class="deploy-banner <%... | Fix extra whitespace issue in task output | Fix extra whitespace issue in task output
| HTML+ERB | mit | perobertson/shipit-engine,perobertson/shipit-engine,Shopify/shipit-engine,perobertson/shipit-engine,Shopify/shipit-engine,Shopify/shipit-engine,ershad/shipit-engine,Shopify/shipit-engine,ershad/shipit-engine,ershad/shipit-engine,ershad/shipit-engine,perobertson/shipit-engine,Shopify/shipit-engine,perobertson/shipit-eng... |
8560b00281189deb55498b0957c3d2f6e53564f3 | lib/domgen/keycloak/templates/config_service.java.erb | lib/domgen/keycloak/templates/config_service.java.erb | /* DO NOT EDIT: File is auto-generated */
package <%= to_package(client.qualified_config_service_name) %>;
@javax.annotation.Generated( "Domgen" )
@SuppressWarnings( { "UnusedDeclaration", "JavaDoc" } )
@edu.umd.cs.findbugs.annotations.SuppressFBWarnings({"SE_TRANSIENT_FIELD_NOT_RESTORED"})
@javax.servlet.annotation.W... | /* DO NOT EDIT: File is auto-generated */
package <%= to_package(client.qualified_config_service_name) %>;
@javax.annotation.Generated( "Domgen" )
@SuppressWarnings( { "UnusedDeclaration", "JavaDoc" } )
@edu.umd.cs.findbugs.annotations.SuppressFBWarnings({"SE_TRANSIENT_FIELD_NOT_RESTORED"})
@javax.servlet.annotation.W... | Prepare template for customization of the json | Prepare template for customization of the json
| HTML+ERB | apache-2.0 | realityforge/domgen,realityforge/domgen,icaughley/domgen,icaughley/domgen |
dfd6320eadd0e5fb3ae9c0475ca611d212f067e9 | backend/app/views/spree/admin/reports/sales_total.html.erb | backend/app/views/spree/admin/reports/sales_total.html.erb | <% content_for :page_title do %>
<%= link_to Spree.t(:reports), spree.admin_reports_url %> /
<%= Spree.t(:sales_totals) %>
<% end %>
<div class="well">
<%= render partial: 'spree/admin/shared/report_order_criteria' %>
</div>
<table class="table table-bordered admin-report" data-hook="sales_total">
<thead>
... | <% content_for :page_title do %>
<%= link_to Spree.t(:reports), spree.admin_reports_url %> /
<%= Spree.t(:sales_totals) %>
<% end %>
<div class="well">
<%= render partial: 'spree/admin/shared/report_order_criteria' %>
</div>
<table class="table table-bordered admin-report" data-hook="sales_total">
<thead>
... | Use Spree::Money to display values in Sales Total report | Use Spree::Money to display values in Sales Total report
Fixes #7701
| HTML+ERB | bsd-3-clause | imella/spree,ayb/spree,vinsol/spree,vinsol/spree,imella/spree,ayb/spree,vinsol/spree,vinayvinsol/spree,vinayvinsol/spree,ayb/spree,vinayvinsol/spree,vinayvinsol/spree,vinsol/spree,imella/spree,ayb/spree |
7a55928bcd547f7ac615fd51912594d179c01d4e | lib/rails/assets/templates/lib/GEM.rb.erb | lib/rails/assets/templates/lib/GEM.rb.erb | require "<%= component.gem_name %>/version"
module <%= gem_module %>
class Engine < ::Rails::Engine
# Rails -> use vendor directory.
end
end
| require "<%= component.gem_name %>/version"
if defined?(Rails)
module <%= gem_module %>
class Engine < ::Rails::Engine
# Rails -> use vendor directory.
end
end
end
| Add check if Rails is defined | Add check if Rails is defined
| HTML+ERB | mit | tenex/rails-assets,tenex/rails-assets,tenex/rails-assets |
6399bef2e21286b98970772b04deb55b11d5e8e1 | app/views/locations/_ros_index.html.erb | app/views/locations/_ros_index.html.erb | <div class="search-bar-and-results-section">
<%= form_tag(search_path(location), method: "get", onsubmit: "return false") do %>
<div class="input-group" >
<%= text_field_tag("search_text2", nil, placeholder: "search a #{location_name} school by school name or by district name (e.g. Albany)", size: 250, class:'form-... | <div class="search-bar-and-results-section">
<%= form_tag(search_path(location), method: "get", onsubmit: "return false") do %>
<div class="input-group" >
<%= text_field_tag("search_text2", nil, placeholder: "search a #{location_name} school by school name or by district name (e.g. Albany)", size: 250, class:'form-... | Add input-lg class to input, change how school info section shows when keyup--uses visibility property instead of just display | Add input-lg class to input, change how school info section shows when keyup--uses visibility property instead of just display
| HTML+ERB | mit | fma2/cfe-money,fma2/cfe-money,fma2/cfe-money |
33e33a34a7751abbb93936ee8c4da1462f094099 | core/app/views/facts/javascript/_add_evidence_as_li.js.erb | core/app/views/facts/javascript/_add_evidence_as_li.js.erb | // var fact = $("div[data-fact-id=<%= @fact_relation.fact.id %>]");
// var active = fact.find(".tab_content:visible");
//
// var no_fact_message = active.find(".no-evidence");
// if (no_fact_message.length > 0) {
// no_fact_message.remove();
// }
//
// active.find('table.evidence-for-list > tbody').append("<tr><td>... | var fact = $("div.fact-block[data-fact-id=<%=@fact_relation.fact.id%>]");
var evidenceList = fact.find('.evidence-list ul');
// Reset window
fact.find('.no-evidence-message').hide();
fact.find('.page').hide();
fact.find('.evidence-list').show();
// Add the evidence
evidenceList.prepend("<%= escape_javascript(render... | Remove 'no-evidence'-message when adding evidence | Remove 'no-evidence'-message when adding evidence
| HTML+ERB | mit | Factlink/factlink-core,daukantas/factlink-core,Factlink/factlink-core,daukantas/factlink-core,daukantas/factlink-core,Factlink/factlink-core,Factlink/factlink-core,daukantas/factlink-core |
0d9a588a6ea12ebd18448da99b4904c6bcf88539 | app/views/posts/show.html.erb | app/views/posts/show.html.erb | <% content_for :breadcrumbs do %>
<ol class="breadcrumb">
<li><%= link_to 'Posts', posts_path %></li>
<li class="active"><%= @post.title %></li>
</ol>
<% end %>
<div class="post">
<h1>
<%= @post.title %>
<%= render 'votes/vote', post: @post %>
</h1>
<p>
Posted by: <%= @post.username %> o... | <% content_for :breadcrumbs do %>
<ol class="breadcrumb">
<li><%= link_to 'Posts', posts_path %></li>
<li class="active"><%= @post.title %></li>
</ol>
<% end %>
<div class="post">
<h1>
<%= @post.title %>
<%= render 'votes/vote', post: @post %>
</h1>
<p>
Posted by: <%= @post.username %> o... | Fix bug in rendering link to external post | Fix bug in rendering link to external post
| HTML+ERB | mit | PowerCodeGirls/RubyGameDev.com,RailsGEnthusiasts/RubyGameDev.com,ruby-rcade/RubyGameDev.com,RailsGEnthusiasts/RubyGameDev.com,ruby-rcade/RubyGameDev.com,RailsGEnthusiasts/RubyGameDev.com,PowerCodeGirls/RubyGameDev.com,ruby-rcade/RubyGameDev.com,PowerCodeGirls/RubyGameDev.com |
805fff43e04c6b54c31cf8ba30ec3dbffc07541d | app/views/read/index.html.erb | app/views/read/index.html.erb | <%= render 'read/popups/subscribe_form' %>
<%= render 'read/popups/unsubscribe_confirm' %>
<%= render 'read/popups/new_folder_form' %>
<div class="row">
<div class="col-md-3">
<%= render 'read/sidebar/sidebar' %>
</div>
<div class="col-md-9">
<div ng-show="current_feed">
<div class="hidden" id... | <%= render 'read/popups/subscribe_form' %>
<%= render 'read/popups/unsubscribe_confirm' %>
<%= render 'read/popups/new_folder_form' %>
<div class="row">
<div class="col-md-3">
<%= render 'read/sidebar/sidebar' %>
</div>
<div class="col-md-9">
<div ng-show="current_feed">
<div class="hidden" id... | Hide the "loading..." message until angularjs has finished bootstrapping. | Hide the "loading..." message until angularjs has finished bootstrapping.
| HTML+ERB | mit | amatriain/feedbunch,jmwenda/feedbunch,amatriain/feedbunch,amatriain/feedbunch,jmwenda/feedbunch,amatriain/feedbunch,jmwenda/feedbunch |
5ec16e217a53ab8f8241d31cd10b2dbba65a7636 | app/views/images/_image_form.html.erb | app/views/images/_image_form.html.erb | <%= form_for image, url: track_images_path(image.track), method: :post, remote: true do |f| %>
<table>
<tbody class="title">
<tr><td><%= t('images.track_title') %></td><td><%= image.track.long_title %></td></tr>
</tbody>
<tbody class="data">
<tr>
<td><%= f.label :cdn_url %></td>
... | <%= form_for image, url: track_images_path(image.track), method: :post, remote: true do |f| %>
<table>
<tbody class="title">
<tr><td><%= t('images.track_title') %></td><td><%= image.track.long_title %></td></tr>
</tbody>
<tbody class="data">
<tr>
<td><%= f.label :url %></td>
<t... | Fix url query in image form | Fix url query in image form
| HTML+ERB | mit | phateio/kiris,phateio/kiris,phateio/kiris,phateio/kiris |
b4efdb33ea425788c8a48022d9a35288e25dd4cf | app/views/expenses/_nav_bar.html.erb | app/views/expenses/_nav_bar.html.erb | <nav>
<div class="navbar navbar-inverse navbar-fixed-top" role:"navigation">
<div class="container-fluid">
<div class="navbar-header"><%= link_to "GoBug!", root_path, class: "navbar-brand" %></div>
<ul class="left">
<%= search_form_for @search do |f| %>
<div ... | <nav>
<div class="navbar navbar-inverse navbar-fixed-top" role:"navigation">
<div class="container-fluid">
<div class="navbar-header"><%= link_to "GoBug!", root_path, class: "navbar-brand" %></div>
<ul class="left">
<%= search_form_for @search do |f| %>
<di... | Add logout button to nav | Add logout button to nav
| HTML+ERB | mit | mud-turtles-2014/GoBug,mud-turtles-2014/GoBug |
f2285f7a11f1634787c16fe4c4005435f4a54652 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>App</title>
<%= stylesheet_link_tag 'application' %>
<%= csrf_meta_tag %>
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="brand" href="/">App</a>
<div clas... | <!DOCTYPE html>
<html>
<head>
<title>App</title>
<%= stylesheet_link_tag 'application' %>
<%= csrf_meta_tag %>
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="brand" href="/">App</a>
<div clas... | Revert "Remove javascript include from layout" | Revert "Remove javascript include from layout"
This reverts commit e3d01547f48898fcb4bf58e552ac0c7594e4f361.
| HTML+ERB | mit | dmitryrck/organize-app,dmitryrck/organize-app |
b78fea215a95ebc693aeffaf483b5b9f64f38445 | app/views/topics/_msg_deleted.html.erb | app/views/topics/_msg_deleted.html.erb | <div class="row block_message">
<!-- 9 usable columns, two last are for last topics unread -->
<div class="span9 offset1 topic_block">
<div class="row">
<div class="span2 tb_author">
<%= link_to msg.user.login, msg.user %>
</div>
<div class="span3 tb_date">
<b>le:</b> <%= msg.created_at %>
</div... | <div class="row block_message">
<!-- 9 usable columns, two last are for last topics unread -->
<div class="span9 offset1 topic_block">
<div class="row">
<div class="span2 tb_author">
<h4><%= link_to msg.user.login, msg.user %></h4>
</div>
<div class="span3 tb_date">
<b>le:</b> <%= msg.created_at %>... | Use h4 for pseudo from deleted messages too | Use h4 for pseudo from deleted messages too
| HTML+ERB | mit | NuxosMinecraft/NuxWS,NuxosMinecraft/NuxWS,NuxosMinecraft/NuxWS,NuxosMinecraft/NuxWS |
b48da46312fd77f76d557ecf79829ca9bdc1f392 | app/views/kata/run_tests.js.erb | app/views/kata/run_tests.js.erb |
var appendTestTrafficLight = function() {
var testColour = "<%= @test_colour %>";
var lightsCount = $('.diff-traffic-light').size();
var img = $('<img>', {
'src': '/images/bulb_' + testColour + '.png',
'alt': testColour + ' traffic-light'
});
var div = $('<div>', {
'class': 'diff-traffic-light',
... |
var appendTestTrafficLight = function() {
var testColour = "<%= @test_colour %>";
var lightsCount = $('.diff-traffic-light').size();
var img = $('<img>', {
'src': '/images/bulb_' + testColour + '.png',
'alt': testColour + ' traffic-light'
});
var div = $('<div>', {
'class': 'diff-traffic-light',
... | Switch 'output' editor back to CodeMirror when the tests have been run | Switch 'output' editor back to CodeMirror when the tests have been run
| HTML+ERB | bsd-2-clause | byran/cyber-dojo-web,byran/cyber-dojo-web,byran/cyber-dojo-web,cyber-dojo/web,byran/cyber-dojo-web,cyber-dojo/web,cyber-dojo/web,byran/cyber-dojo-web,cyber-dojo/web,byran/cyber-dojo-web,byran/cyber-dojo-web,byran/cyber-dojo-web,byran/cyber-dojo-web |
c8c1a8198f5f9128836cace218c2ed2ef5cc3ee8 | app/views/sessions/new.html.erb | app/views/sessions/new.html.erb | <h1>Sign In</h1>
<% unless false && Rails.env.production? %>
<%# leave the links working for dev and test environments %>
<%= link_to "Sign In With GitHub", "/auth/github" %>
<br />
<%= link_to "Sign In With Twitter", "/auth/twitter" %>
<% else %>
<%# temporarily disable on production %>
<%= link_to "Sign In Wit... | <h1>Sign In</h1>
<%= link_to "Sign In With GitHub", "/auth/github" %>
<br />
<%= link_to "Sign In With Twitter", "/auth/twitter" %>
<% unless Rails.env.production? %>
<br />
<%= link_to "Sign In With Developer", "/auth/developer" %>
<% end %>
| Clean up since sign in works now. | Clean up since sign in works now.
| HTML+ERB | mit | proidiot/techlahoma,jugisahunk/techlahoma,jugisahunk/techlahoma,proidiot/techlahoma,jugisahunk/techlahoma |
f75f47b2d264211c5ff41dfb31209903481eb26d | backend/app/views/spree/admin/shared/_head.html.erb | backend/app/views/spree/admin/shared/_head.html.erb | <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<%= csrf_meta_tags %>
<title>
<% if content_for? :title %>
<%= yield :title %>
<% else %>
<%= "Spree #{Spree.t('administration')}: " %>
<%= Spree.t(controll... | <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<%= csrf_meta_tags %>
<title>
<% if content_for? :title %>
<%= yield :title %>
<% else %>
<%= "Spree #{Spree.t('administration')}: " %>
<%= Spree.t(controll... | Disable jQuery animations for Test environment | Disable jQuery animations for Test environment
| HTML+ERB | bsd-3-clause | imella/spree,imella/spree,imella/spree |
2cc9c97612b77c950c205277c0cd3725ed5f5191 | app/views/brexit_checker/_question_multiple_grouped_choice.html.erb | app/views/brexit_checker/_question_multiple_grouped_choice.html.erb | <%= render "govuk_publishing_components/components/title", {
title: current_question.text,
} %>
<%= formatted_description %>
<% current_question.options.each do | group | %>
<%= render "govuk_publishing_components/components/checkboxes", {
name: "c[]",
heading: group.label,
no_hint_text: true,
item... | <%= render "govuk_publishing_components/components/title", {
title: current_question.text,
margin_bottom: 5
} %>
<%= formatted_description %>
<% if current_question.hint_text.present? %>
<%= render "govuk_publishing_components/components/hint", {
text: current_question.hint_text
} %>
<% end %>
<% current... | Support hint text for multiple grouped questions | Support hint text for multiple grouped questions
Previously the hint text was not shown for this question type, but is
required for the work/study question. This adds support for hint text
and adjusts the title margin to be consistent with other question types.
| HTML+ERB | mit | alphagov/finder-frontend,alphagov/finder-frontend,alphagov/finder-frontend,alphagov/finder-frontend |
85fe9aab2a52542caf1c9479ee627b25a5762a28 | cookbooks/logstash/templates/default/logstash.conf.erb | cookbooks/logstash/templates/default/logstash.conf.erb | input {
lumberjack {
port => 5043
ssl_certificate => "/var/lib/logstash/lumberjack.crt"
ssl_key => "/var/lib/logstash/lumberjack.key"
}
}
filter {
if [type] == "apache" {
grok {
match => [ "message", "%{COMBINEDAPACHELOG} %{NUMBER:duration:int}us %{NOTSPACE:request_id} %{NOTSPACE:ssl_protoc... | input {
lumberjack {
port => 5043
ssl_certificate => "/var/lib/logstash/lumberjack.crt"
ssl_key => "/var/lib/logstash/lumberjack.key"
}
}
filter {
if [type] == "apache" {
grok {
match => [ "message", "%{COMBINEDAPACHELOG} %{NUMBER:duration:int}us %{NOTSPACE:request_id} %{NOTSPACE:ssl_protoc... | Tag logstash events as frontend or backend | Tag logstash events as frontend or backend
| HTML+ERB | apache-2.0 | gravitystorm/chef,Firefishy/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,gravitystorm/chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,Firefishy/chef,tomhughes/openstreetmap-chef,gravitystorm/chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,F... |
a6c1c93778d5a2c22c47287e44ea7e32cbec02b1 | lib/domgen/imit/templates/mock_services_module.java.erb | lib/domgen/imit/templates/mock_services_module.java.erb | /* DO NOT EDIT: File is auto-generated */
package <%= to_package(repository.imit.qualified_mock_services_module_name) %>;
<%= description_javadoc_for(repository, "") %>@javax.annotation.Generated( "Domgen" )
@java.lang.SuppressWarnings( { "UnusedDeclaration", "JavaDoc" } )
public class <%= repository.imit.mock_service... | /* DO NOT EDIT: File is auto-generated */
package <%= to_package(repository.imit.qualified_mock_services_module_name) %>;
<%= description_javadoc_for(repository, "") %>@javax.annotation.Generated( "Domgen" )
@java.lang.SuppressWarnings( { "UnusedDeclaration", "JavaDoc" } )
public class <%= repository.imit.mock_service... | Remove extra blank lines in generated code | Remove extra blank lines in generated code
| HTML+ERB | apache-2.0 | icaughley/domgen,realityforge/domgen,realityforge/domgen,icaughley/domgen |
37ae3261062bccf164fed1b88f2bdff9edecc1fb | app/views/root/_transaction_cross_domain_analytics.html.erb | app/views/root/_transaction_cross_domain_analytics.html.erb | <script id="transaction_cross_domain_analytics">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
... | <script id="transaction_cross_domain_analytics">
(function(i,s,o,g,r,a,m){
i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', '<%= ga_account_code %... | Fix double-inclusion of Universal Analytics | Fix double-inclusion of Universal Analytics
Since https://github.com/alphagov/static/pull/508 was merged the
Universal Analytics code used to support cross-transaction tracking
would be broken.
This commit updates the in-template code as follows:
- Remove dynamic creation of Javascript loader
- Use UA namespacing[0]... | HTML+ERB | mit | alphagov/frontend,alphagov/frontend,alphagov/frontend,alphagov/frontend |
1bdf4d3ec6f90a26d442f3061d9908b5f9df082e | app/views/quotes/_form.html.erb | app/views/quotes/_form.html.erb | <%= form_for @quote, remote: true, html: { id: "quote-#{@quote.id}" } do |f| %>
<div>
<%= f.text_area :raw_quote, rows: 10, cols: 70 %>
</div>
<div>
<%= f.label :description, 'Optional description:' %>
<%= f.text_area :description, rows: 2, cols: 70 %>
</div>
<div>
<%= f.submit 'Add quote' %>
</div>
<% end %>
| <%= form_for @quote, remote: true, html: { id: "quote-#{@quote.id}" } do |f| %>
<div>
<%= f.text_area :raw_quote, rows: 10, cols: 70 %>
</div>
<div>
<%= f.label :description, 'Optional description:' %>
<%= f.text_area :description, rows: 2, cols: 70 %>
</div>
<div>
<%= f.submit 'Save' %>
</div>
<% end %>
| Make submit button text more generic | Make submit button text more generic
| HTML+ERB | mit | skyshaper/satq,skyshaper/satq,skyshaper/satq,skyshaper/satq |
c9564a11e62fb37bdf7383bc62f131a949306dd0 | app/views/coronavirus_landing_page/components/shared/_announcements.html.erb | app/views/coronavirus_landing_page/components/shared/_announcements.html.erb | <div class="govuk-grid-row">
<% announcements.each do |announcement| %>
<div class="govuk-grid-column-one-third">
<% announcement_text = capture do %>
<% if announcement["href"].present? %>
<a
href="<%= announcement["href"] %>"
class="govuk-link covid__page-header-l... | <div class="govuk-grid-row">
<% announcements.each do |announcement| %>
<div class="govuk-grid-column-one-third">
<p class="govuk-body covid__inverse">
<% if announcement["href"].present? %>
<a
href="<%= announcement["href"] %>"
class="govuk-link covid__page-header-... | Remove heading level from announcements | Remove heading level from announcements
| HTML+ERB | mit | alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections |
9da5fb511a9bbca613a4b098425a3cc5bb35c4e4 | app/views/dashboards/_search_form.html.erb | app/views/dashboards/_search_form.html.erb | <div id="search_form" class="margin-bottom">
<h1 class="border-bottom title">
<%= t 'dashboard.search.header' %>
</h1>
<%= bootstrap_form_tag url: '/search', remote: true, layout: :inline do |p| %>
<%= p.hidden_field :locale, value: params[:locale] %>
<%= p.text_field :search, placeholder: t('dashbo... | <div id="search_form" class="margin-bottom">
<h1 class="border-bottom title">
<%= t 'dashboard.search.header' %>
</h1>
<%= bootstrap_form_tag url: '/search', remote: true, layout: :inline do |p| %>
<%= p.hidden_field :locale, value: params[:locale] %>
<%= p.text_field :search, placeholder: t('dashbo... | Add label for search button | Add label for search button
| HTML+ERB | mit | Kevin-Wei/dcaf_case_management,lomky/dcaf_case_management,lomky/dcaf_case_management,DCAFEngineering/dcaf_case_management,Kevin-Wei/dcaf_case_management,colinxfleming/dcaf_case_management,colinxfleming/dcaf_case_management,DCAFEngineering/dcaf_case_management,DCAFEngineering/dcaf_case_management,colinxfleming/dcaf_case... |
c4e57835d5d3de483d0288498268aa2b451d83fe | app/views/users/registrations/new.html.erb | app/views/users/registrations/new.html.erb | <div class="row">
<div class="col-md-6 col-md-offset-3">
<h2>Inscription</h2>
<%= simple_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
<%= f.error_notification %>
<% if @captcha.present? %>
<%= hidden_field_tag 'captcha_uuid', @captcha['uuid'] %>
<% end... | <div class="container">
<h2>Inscription.</h2>
<%= simple_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
<%= f.error_notification %>
<% if @captcha.present? %>
<%= hidden_field_tag 'captcha_uuid', @captcha['uuid'] %>
<% end %>
<div class="form-inputs">
... | Fix margins on account creation form | Fix margins on account creation form
| HTML+ERB | mit | francoisbruneau/kazimirski,francoisbruneau/kazimirski,francoisbruneau/kazimirski,francoisbruneau/kazimirski,francoisbruneau/kazimirski |
b02043c003eee35132ed6a508a0125c30632e2cf | jobs/shrc/templates/bin/add-users.erb | jobs/shrc/templates/bin/add-users.erb | #!/bin/bash
function create_user {
USER_NAME="$1"
USER_KEY="$2"
# If user doesnot exist, try to create it.
if ! id -u "$USER_NAME" >/dev/null 2>/dev/null; then
useradd -m -G vcap,bosh_sudoers -s /bin/bash "$USER_NAME"
USER_HOME=/home/"$USER_NAME"
mkdir "$USER_HOME"/.ssh
echo "$USER_KEY" > "$USER_HOME"/.ssh/aut... | #!/bin/bash
set -eu
function create_user {
local USER_NAME="$1"
# If user doesnot exist, try to create it.
if ! id -u "$USER_NAME" >/dev/null 2>&1; then
useradd -m -G vcap,bosh_sudoers -s /bin/bash "$USER_NAME"
fi
}
function inject_key {
local USER_NAME="$1"
local USER_KEY="$2"
local USER_HOME=/ho... | Remove extra_user's authorized_keys if key properties is not set. | Remove extra_user's authorized_keys if key properties is not set.
| HTML+ERB | apache-2.0 | rakutentech/dotfiles-boshrelease,rakutentech/dotfiles-boshrelease,rakutentech/dotfiles-boshrelease,rakutentech/dotfiles-boshrelease |
7e243c4fe9a8a4db8103f0da8354460a164037ff | modules/govuk_jenkins/templates/jobs/tagging_migration_check.yaml.erb | modules/govuk_jenkins/templates/jobs/tagging_migration_check.yaml.erb | ---
- scm:
name: tagging-migration-verifier
scm:
- git:
url: git@github.com:alphagov/tagging-migration-verifier.git
branches:
- master
- job:
name: tagging-migration-verifier
display-name: TaggingMigrationCheck
project-type: freestyle
description: "... | ---
- scm:
name: tagging-migration-verifier
scm:
- git:
url: git@github.com:alphagov/tagging-migration-verifier.git
branches:
- master
- job:
name: tagging-migration-verifier
display-name: TaggingMigrationCheck
project-type: freestyle
description: "... | Fix script to run tagging migration verifier | Fix script to run tagging migration verifier
Since we now have a dependency on http, we need to bundle and _also_
run it with `bundle exec`. As opposed to
https://github.com/alphagov/govuk-puppet/pull/4098, I've now actually
tried this change in jenkins first, so I'm pretty sure this actually
works.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
badb59347000658203e293ea3c2537a8ac0bfd6a | templates/section.html.erb | templates/section.html.erb | <% if !anchor.nil? %>
<a name="<%= anchor %>">
<% end %>
<div class="sect<%= level %>">
<h<%= level + 1 %> id="<%= section_id %>"><%= name %></h<%= level + 1 %>>
<% if !anchor.nil? %>
</a>
<% end %>
<% if level == 1 %>
<div class="sectionbody"><%= content %></div>
<% else %>
<%= content %>
<% ... | <div class="sect<%= level %>">
<% if !anchor.nil? %>
<a name='<%= anchor %>'></a>
<% end %>
<h<%= level + 1 %> id="<%= section_id %>"><%= name %></h<%= level + 1 %>>
<% if level == 1 %>
<div class="sectionbody"><%= content %></div>
<% else %>
<%= content %>
<% end %>
</div>
| Fix anchor href rendering for Section anchors | Fix anchor href rendering for Section anchors
| HTML+ERB | mit | gittower/git-scm.com,xyztest/git-scm.com,MjAbuz/git-scm.com,jasonlong/git-scm.com,beni55/git-scm.com,jnavila/gitscm-next,MjAbuz/git-scm.com,empyrical/git-scm.com,jasonlong/git-scm.com,ThiagoGarciaAlves/git-scm.com,peterkinalex/git-scm.com,Belthazor2008/git-scm.com,gittower/git-scm.com,openhardnudd/git-scm.com,MjAbuz/gi... |
96712df22bbbb571ab91fa776dbed25929ebca5d | app/views/fields/yes_no_boolean_field/_form.html.erb | app/views/fields/yes_no_boolean_field/_form.html.erb | <div class="field-unit__label">
<%= f.label field.attribute %>
</div>
<div class="field-unit__field">
<%= f.text_field field.attribute %>
</div>
| <%#
# Boolean Form Partial
This partial renders an input element for a boolean attribute.
By default, the input is a checkbox.
## Local variables:
- `f`:
A Rails form generator, used to help create the appropriate input fields.
- `field`:
An instance of [Administrate::Field::Boolean][1].
A wrapper around the b... | Use checkboxes for Yes/No Boolean Fields | Use checkboxes for Yes/No Boolean Fields
+ Fix #665
| HTML+ERB | mit | erose/studentinsights,studentinsights/studentinsights,jhilde/studentinsights,studentinsights/studentinsights,jhilde/studentinsights,jhilde/studentinsights,studentinsights/studentinsights,jhilde/studentinsights,erose/studentinsights,erose/studentinsights,studentinsights/studentinsights,erose/studentinsights |
3935e55f03ab3a8d9bd6baaf9989f7554cf645c1 | api/app/views/club_application_mailer/application_confirmation.text.erb | api/app/views/club_application_mailer/application_confirmation.text.erb | Hey <%= @application.first_name %>!
Thanks for applying to Hack Club. We've received your application and you
can expect to hear from us shortly. If you have any questions, please
don't hesitate to email the team at team@hackclub.com. Below is a copy of your
application for your records.
<%= render "club_application/... | Hey <%= @application.first_name %>!
Thanks for applying to Hack Club. We've received your application and have added
it to our waitlist for the second semester of the 2017-2018 school year. You can
expect us to get back to you shortly.
If you have any questions, please don't hesitate to email the team at
team@hackclu... | Add waitlist message to confirmation email | Add waitlist message to confirmation email
| HTML+ERB | mit | hackclub/api,hackclub/api,hackclub/api |
cf3ef43051cc2b8004c92836372b24ad4e44e7ee | app/views/fields/has_many/_form.html.erb | app/views/fields/has_many/_form.html.erb | <%#
# HasMany Form Partial
This partial renders an input element for belongs_to relationships.
By default, the input is a collection select box
that displays all possible records to associate with.
The collection select box supports multiple inputs,
and is augmented with [Selectize].
## Local variables:
- `f`:
A R... | <%#
# HasMany Form Partial
This partial renders an input element for belongs_to relationships.
By default, the input is a collection select box
that displays all possible records to associate with.
The collection select box supports multiple inputs,
and is augmented with [Selectize].
## Local variables:
- `f`:
A R... | Fix has many field attribute key | Fix has many field attribute key
| HTML+ERB | mit | AlexTatarnikov/administrate-simple_form,AlexTatarnikov/administrate-simple_form,AlexTatarnikov/administrate-simple_form |
907c528d977a8296c7abb513d344b4661b1c9b0e | app/views/progress_updates/show.html.erb | app/views/progress_updates/show.html.erb | <div class="box">
<%= render partial: "progress_updates/progress_update_content", locals: {progress_update: @update} %>
<hr><br>
<ul class="list-unstyled"><%= render @update.comments %></ul>
<% if can? :create, Comment %>
<h3>Add New Comment</h3>
<%= form_for [@update.project, @upda... | <div class="box">
<%= render partial: "progress_updates/progress_update_content", locals: {progress_update: @update} %>
<hr><br>
<ul class="list-unstyled"><%= render @update.comments %></ul>
<% if can? :create, Comment %>
<h3>Add New Comment</h3>
<%= form_for [@update.project, @upda... | Adjust styling of progress update next/prev links | Adjust styling of progress update next/prev links
| HTML+ERB | mit | Cecily2/writing-project-tracker,Cecily2/writing-project-tracker,Cecily2/writing-project-tracker |
34418fd6f55c979900b77c9bd22058b0a40a8095 | app/views/smart_answers/landing.html.erb | app/views/smart_answers/landing.html.erb | <% content_for :sidebar do %>
<%= render 'related_items' %>
<% end %>
<% start_node = @presenter.start_node %>
<% if start_node.meta_description.present? %>
<% content_for :head do %>
<meta name="description" content="<%= start_node.meta_description %>">
<% end %>
<% end %>
<%= render partial: 'page_title'... | <% content_for :sidebar do %>
<%= render 'related_items' %>
<% end %>
<% start_node = @presenter.start_node %>
<% if start_node.meta_description.present? %>
<% content_for :head do %>
<meta name="description" content="<%= start_node.meta_description %>">
<% end %>
<% end %>
<%= render partial: 'page_title'... | Update to use start_button_href helper | Update to use start_button_href helper
This commit updates the start button link href with the start_button_href
| HTML+ERB | mit | alphagov/smart-answers,aledelcueto/smart-answers,aledelcueto/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers |
cf2689c8e307060a6e3be228c0cfaa4749353607 | tar-site/app/views/index.html.erb | tar-site/app/views/index.html.erb |
<h2>This is the HOME page</h2>
<h3></h3> |
<h2>This is the HOME page</h2><br>
<h3>About</h3><br>
<h3>Experience</h3><br>
<h3>Skills</h3><br>
<h3>Education</h3><br>
<h3>Achievments</h3><br>
<h3>- Link to Projects -</h3><br> | Add basic layout for main page | Add basic layout for main page
| HTML+ERB | mit | TrRo26/tar,TrRo26/tar-rails,TrRo26/tar-rails,TrRo26/tar,TrRo26/tar-rails,TrRo26/tar |
866d79effe30af2f919fd77838771e89a449ebce | film-festival-rails-app/app/views/users/new.html.erb | film-festival-rails-app/app/views/users/new.html.erb | <main class="Site-content">
<div class="container">
<form class="form-horizontal" role="form">
<h1>Registration</h1>
<div class="form_group">
<div class="username-box">
<%= form_for :user, url: { action: "create" } do |f| %>
<%= render partial: 'shared/error_messages', locals: { object: @user } %>
<div class=... | <main class="Site-content">
<div class="container">
<h1>Registration</h1>
<%= render partial: 'shared/error_messages', locals: { object: @user } %>
<div class="username-box">
<%= form_for :user, url: { action: "create" } do |f| %>
<div class="row-xs-3 form_group">
<%= f.label :username %>
<%= f.t... | Fix issues with new user form | Fix issues with new user form
| HTML+ERB | mit | jmcolella/les-film-festival,jmcolella/les-film-festival,jmcolella/les-film-festival |
8877da9457425b88bd552d2abfa6ba8c98df4cd9 | app/views/admin/budgets/_groups.html.erb | app/views/admin/budgets/_groups.html.erb | <h3 class="inline-block"><%= t('admin.budgets.show.groups', count: groups.count) %></h3>
<% if groups.blank? %>
<div class="callout primary">
<%= t("admin.budgets.form.no_groups") %>
<strong><%= link_to t("admin.budgets.form.add_group"), "#",
class: "js-toggle-link",
data: { "t... | <h3 class="inline-block"><%= t('admin.budgets.show.groups', count: groups.count) %></h3>
<% if groups.blank? %>
<div class="callout primary">
<%= t("admin.budgets.form.no_groups") %>
<strong><%= link_to t("admin.budgets.form.add_group"), "#",
class: "js-toggle-link",
data: { "t... | Order budget headings by id | Order budget headings by id
To maintain order after editing a heading’s name
We should probably add timestamps to `groups` and `headings` and order
by `created_at` instead
Could have done it in a separate PR, but gotta keep moving to other
priority issues. Creating issue for timestamps to do correctly and with
tests... | HTML+ERB | agpl-3.0 | AyuntamientoMadrid/consul,AyuntamientoMadrid/consul,AyuntamientoMadrid/consul,AyuntamientoMadrid/consul |
d95dd0d52057eeead8e16f39537e26ea349412c2 | app/views/static_pages/projects.html.erb | app/views/static_pages/projects.html.erb | <% provide(:meta_description, "Paul Bogard’s portfolio of programming, engineering, mapping, and other projects.")%>
<%= link_buttons(
LinkButton.new("Paul’s <strong>Résumé</strong>", "resume", resume_path),
LinkButton.new("Paul’s <strong>GitHub</strong> repositories", "github", "https://github.com/bogardpd/", tar... | <% provide(:meta_description, "Paul Bogard’s portfolio of programming, engineering, mapping, and other projects.")%>
<%= link_buttons(
LinkButton.new("Paul’s <strong>Résumé</strong>", "resume", resume_path),
LinkButton.new("Paul’s <strong>GitHub</strong> repositories", "github", "https://github.com/bogardpd/", tar... | Add active tag to Projects title | Add active tag to Projects title
| HTML+ERB | mit | bogardpd/portfolio,bogardpd/portfolio,bogardpd/portfolio |
9628d937e43188da1e11c22c89f9b14a46b0c374 | app/views/upload/niconico/index.html.erb | app/views/upload/niconico/index.html.erb | <div class="subpage">
<%= render_flash_messages %>
<%= content_tag :div, class: 'button-field' do %>
<%= link_to t('upload.niconico.new_track'), new_upload_niconico_path, class: 'button', remote: true %>
<% end %>
<% if @tracks.length > 0 %>
<%= render_niconico_track_list(@tracks) %>
<% else %>
<p... | <div class="subpage">
<%= render_flash_messages %>
<%= content_tag :div, class: 'button-field' do %>
<%= button_tag t('upload.niconico.new_track'), class: 'button', disabled: 'disabled' %>
<% end %>
<% if @tracks.length > 0 %>
<%= render_niconico_track_list(@tracks) %>
<% else %>
<p>尚無任何歌曲上傳</p>
... | Disable niconico new track button | Disable niconico new track button
| HTML+ERB | mit | phateio/kiris,phateio/kiris,phateio/kiris,phateio/kiris |
ed25eb039906965f0ee89df4a4590126247b0827 | app/views/admin/guides/_guide.html.erb | app/views/admin/guides/_guide.html.erb | <tr>
<td>
<%= guide.title %>
</td>
<td>
<%= link_to 'Edit', [:admin, guide] %>
<%= link_to 'Preview', '#' %>
</td>
</tr> | <tr>
<td>
<%= guide.title %>
</td>
<td>
<%= link_to 'Edit', [:admin, guide] %>
<%= link_to 'Preview', preview_edition_path(guide.latest_edition) %>
</td>
</tr> | Set up preview link from guides index | Set up preview link from guides index
| HTML+ERB | mit | telekomatrix/publisher,telekomatrix/publisher,leftees/publisher,leftees/publisher,theodi/publisher,theodi/publisher,telekomatrix/publisher,leftees/publisher,leftees/publisher,theodi/publisher,theodi/publisher,telekomatrix/publisher,alphagov/publisher,alphagov/publisher,alphagov/publisher |
ca1dbe04416bd12deb29c719f6b463ebbb3c0caa | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title><%= full_title(yield(:title)) %></title>
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,800' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Lato:100,400,900' rel='stylesheet' type='text/css'... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title><%= full_title(yield(:title)) %></title>
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,800' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Lato:100,400,900' rel='stylesheet' type='text/css'... | Add HTML5 Shim for IE < 9 | Add HTML5 Shim for IE < 9
| HTML+ERB | agpl-3.0 | emdaniels/awesomebits,emdaniels/awesomebits,avicaplan/awesomebits,Xelgen/awesomebits,avicaplan/awesomebits,tibbon/awesomebits,emdaniels/awesomebits,Xelgen/awesomebits,emdaniels/awesomebits,awesomefoundation/awesomebits,tibbon/awesomebits,avicaplan/awesomebits,awesomefoundation/awesomebits,awesomefoundation/awesomebits,... |
37eea84034724b4e24d82d292bbddc420f26d3e6 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html lang="en" ng-app="grumbles">
<head>
<title>Grumbles the lame Wizard</title>
<%= stylesheet_link_tag :application, media: :all %>
<%= javascript_include_tag :application %>
<%= csrf_meta_tags %>
</head>
<body>
<%= yield %>
</body>
</html>
| <!DOCTYPE html>
<html lang="en" ng-app="grumbles">
<head>
<title>Grumbles the lame Wizard</title>
<%= stylesheet_link_tag :application, media: :all %>
<%= javascript_include_tag :application %>
<%= csrf_meta_tags %>
</head>
<body>
<%= yield %>
<!-- Place this before your </body> tag... | Add vote banner at the top | Add vote banner at the top
| HTML+ERB | mit | hyperoslo/grumbles,hyperoslo/grumbles,railsrumble/r14-team-354 |
938357e3508139e2b8d14975a6c53e8125a90dd9 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title><%= yield :title %> - GOV.UK</title>
<!--[if gt IE 8]><!--><%= stylesheet_link_tag "application.css" %><!--<![endif]-->
<!--[if IE 6]><%= stylesheet_link_tag "application-ie6.css" %><![endif]-->
<!--[if IE 7]><%= stylesheet_li... | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title><%= yield :title %> - GOV.UK</title>
<!--[if gt IE 8]><!--><%= stylesheet_link_tag "application.css" %><!--<![endif]-->
<!--[if IE 6]><%= stylesheet_link_tag "application-ie6.css" %><![endif]-->
<!--[if IE 7]><%= stylesheet_li... | Remove redundant tag for removing breadcrumb | Remove redundant tag for removing breadcrumb
This app uses the GOV.UK Component to render the breadcrumb. The tag
removed in this was previously necessary to instruct Slimmer to hide
the old breadcrumb. We no longer need it because the CSS and HTML have
been completely removed from static in
https://github.com/alphago... | HTML+ERB | mit | mikeee/z_archived-calculators,mikeee/z_archived-calculators,mikeee/z_archived-calculators,mikeee/z_archived-calculators |
2b721dbf0144f1c73f27bbb93db5b22fd220ec37 | app/views/conversations/index.html.erb | app/views/conversations/index.html.erb | <section>
<% page_header "Your Conversations" %>
<ul class="list-group">
<%= render partial: 'conversations/conversation', collection: @conversations %>
</ul>
<%= will_paginate %>
</section> | <section>
<% page_header "Your Conversations" %>
<p><%= link_to 'Start conversation', new_message_path, class: 'btn btn-lg btn-primary' %></p>
<ul class="list-group">
<%= render partial: 'conversations/conversation', collection: @conversations %>
</ul>
<%= will_paginate %>
</section> | Add link to create a conversation to conv index | Add link to create a conversation to conv index
| HTML+ERB | mit | omaiki/Get_Referred,omaiki/Get_Referred,omaiki/Get_Referred |
26e4c17de56ec30aee94edcc5d39d59e8564556b | BHCDatabase/app/views/volunteers_homepage/index.html.erb | BHCDatabase/app/views/volunteers_homepage/index.html.erb | <% provide(:title, @user.name) %>
<div id="userhome">
<h1>Home</h1>
<div class="stdcontainer" id="userhomecontainer">
<h1>Your Initiatives</h1>
<% @user.initiatives.each do |i| %>
<div class="row">
<div class="col-md-4">
<h3><%= link_to i.name, i %></h3>
<div id="details">
... | <% provide(:title, @user.name) %>
<div id="userhome">
<h1>Home</h1>
<div class="stdcontainer" id="userhomecontainer">
<h1>Your Initiatives</h1>
<% @user.initiatives.each do |i| %>
<% unless i.archived %>
<div class="row">
<div class="col-md-4">
<h3><%= link_to i.name, i ... | Hide archived pages on volunteer homepage. | Hide archived pages on volunteer homepage.
| HTML+ERB | mit | DaBrown95/BHCDatabase,DaBrown95/BHCDatabase,DaBrown95/BHCDatabase |
5a644fc1549b7b4dda0694072b0f7ca60ca5a26b | app/views/thredded/posts/edit.html.erb | app/views/thredded/posts/edit.html.erb | <% content_for :thredded_page_title, 'Edit Post' %>
<% content_for :thredded_page_id, 'thredded--edit-post' %>
<% content_for :thredded_breadcrumbs do %>
<ul class="thredded--navigation-breadcrumbs">
<li><%= link_to t('thredded.nav.edit_post'), edit_post_path(@post) %></li>
</ul>
<% end %>
<%= thredded_page do... | <% content_for :thredded_page_title, 'Edit Post' %>
<% content_for :thredded_page_id, 'thredded--edit-post' %>
<% content_for :thredded_breadcrumbs do %>
<ul class="thredded--navigation-breadcrumbs">
<li><%= link_to t('thredded.nav.edit_post'), edit_post_path(@post) %></li>
</ul>
<% end %>
<%= thredded_page do... | Fix private post edit form | Fix private post edit form
| HTML+ERB | mit | thredded/thredded,jvoss/thredded,jayroh/thredded,jvoss/thredded,jayroh/thredded,jayroh/thredded,jvoss/thredded,thredded/thredded,thredded/thredded,thredded/thredded,jayroh/thredded,jvoss/thredded |
e85bd7994eb0809cd9e2d8ed18a90a2ff4519d2e | app/views/home/index.html.erb | app/views/home/index.html.erb | <section class="page">
<header>
<h1 class="page-title">Sarah,</h1>
<p class="tag-line">Make me a sandwich.</p>
</header>
<section class="content">
<button class="sign-up">Sign up with Google</button>
</section>
</section>
| <section class="page">
<header>
<h1 class="page-title">Sarah,</h1>
<p class="tag-line">Make me a sandwich.</p>
</header>
<section class="content">
<button class="sign-up">Get started</button>
</section>
</section>
| Update home page button text. | Update home page button text.
| HTML+ERB | mit | francisbrito/sarah_rails,francisbrito/sarah_rails |
2c3835fc66b323fa5b68104606c97326626bd3c0 | app/views/users/show.html.erb | app/views/users/show.html.erb | <%= render 'partials/header' %>
<h1> Profile Page </h1>
Hello <%= @user.name.capitalize %>.
<%= link_to 'New Mirror', new_mirror_path, class: 'new-mirror', remote: true %>
<div class='user-mirrors'>
<%= link_to 'New Mirror User', user_mirrors_path, class: 'mirrors-link', remote: true %>
</div>
<div class='new-mi... | <body id="newform" >
<%= render 'partials/header' %>
<h1> Profile Page </h1>
Hello <%= @user.name.capitalize %>.
<div> <%= link_to 'New Mirror', new_mirror_path, class: 'new-mirror', remote: true %> </div>
<div class='user-mirrors'>
<%= link_to 'New Mirror User', user_mirrors_path, class: 'mirrors-link', remote:... | Add background to users's shwo page | Add background to users's shwo page
| HTML+ERB | mit | collinL34/MagicLooks,collinL34/MagicLooks,collinL34/MagicLooks |
4b026f37d994aef3a5ae2f1f0184b02fc28e08cf | app/views/herbarium/_curator_table.html.erb | app/views/herbarium/_curator_table.html.erb | <% can_delete = herbarium.can_delete_curator?(@user) || is_in_admin_mode? %>
<table class="table-striped table-curators">
<thead>
<tr>
<th colspan="<%= can_delete ? 2 : 1 %>">
<%= pluralize(herbarium.curators.length, :herbarium_curator.t) + ":" %>
</th>
</tr>
</thead>
<tbody>
<% h... | <% can_delete = herbarium.can_delete_curator?(@user) || is_in_admin_mode? %>
<table class="table-striped table-curators">
<thead>
<tr>
<th colspan="<%= can_delete ? 2 : 1 %>">
<%= pluralize(herbarium.curators.length, :herbarium_curator.t) + ":" %>
</th>
</tr>
</thead>
<tbody>
<% h... | Add space after x in remove curator on herbarium. | Add space after x in remove curator on herbarium.
| HTML+ERB | mit | MushroomObserver/mushroom-observer,JoeCohen/mushroom-observer,raysuelzer/mushroom-observer,pellaea/mushroom-observer,raysuelzer/mushroom-observer,MushroomObserver/mushroom-observer,pellaea/mushroom-observer,raysuelzer/mushroom-observer,JoeCohen/mushroom-observer,JoeCohen/mushroom-observer,MushroomObserver/mushroom-obse... |
66031875011a4d8accf40170a620368b586db6a3 | app/views/railitics/requests/index.html.erb | app/views/railitics/requests/index.html.erb | <h1>Requests#index</h1>
<p>Find me in app/views/railitics/requests/index.html.erb</p>
<% @requests.each do |request| %>
<p>
<%= request.method %>
<%= request.controller %>
<%= request.action %>
<%= request.user_id || request.uuid %>
<%= request.referrer %>
</p>
<% end %>
| <h1>
<%= link_to "Railitics", root_path %>
</h1>
<table class="table table-striped table-bordered table-condensed">
<thead>
<tr>
<th>Method</th>
<th>Controller</th>
<th>Action</th>
<th>User ID or Request UUID</th>
<th>Referral URL</th>
<th>Time</th>
</tr>
</thead>
<tb... | Add request output to a table | Add request output to a table
| HTML+ERB | mit | southpolesteve/Railitics,southpolesteve/Railitics |
4342a6cef48461b18e84abf53a8780bea285e42d | app/views/historic_appointments/_role_appointment.html.erb | app/views/historic_appointments/_role_appointment.html.erb | <% political_membership = role_appointment.historical_account.try(:political_membership) %>
<%= content_tag_for :div, role_appointment, class: 'govuk-grid-column-one-quarter', role: "listitem" do %>
<% if role_appointment.has_historical_account? %>
<%= render "govuk_publishing_components/components/image_card", {... | <% political_membership = role_appointment.historical_account.try(:political_membership) %>
<%= content_tag_for :div, role_appointment, class: 'govuk-grid-column-one-quarter', role: "listitem" do %>
<% if role_appointment.has_historical_account? %>
<%= render "govuk_publishing_components/components/image_card", {... | Revert "Fix past prime minister href" | Revert "Fix past prime minister href"
This reverts commit 9bfccc03b682f999791e210e86a14bd61f6b6316.
Work done to simplify routes in whitehall was slightly more complex than expected. Reverting this commit, along with another, until we can unpick it more cleanly.
| HTML+ERB | mit | alphagov/whitehall,alphagov/whitehall,alphagov/whitehall,alphagov/whitehall |
475479c7f4c664d8debd010711250e5914ce7578 | app/views/layouts/_header.html.erb | app/views/layouts/_header.html.erb | <header>
<div id="header-inner">
<a href="/" id="logo">
<%= image_tag "logo.png", :width => 253, :height => 55 %>
</a>
<div id='rss'>
<a href='/?format=atom'><%= image_tag "05.png" %></a>
</div>
<a href="https://www.desktoppr.co" id="by-desktoppr">
<%= image_tag "by.png", :width ... | <header>
<div id="header-inner">
<a href="/" id="logo">
<%= image_tag "logo.png", :width => 253, :height => 55 %>
</a>
<div id='rss'>
<a href='/?format=atom'><%= image_tag "05.png" %></a>
</div>
<a href="https://www.desktoppr.co" id="by-desktoppr">
<%= image_tag "by.png", :width ... | Update header text for signed in user | Update header text for signed in user
| HTML+ERB | mit | desktoppr/giftoppr,desktoppr/giftoppr |
f4c17fc124ee4f4e0702b0c6f788e698145ebf8e | app/views/shared/_sidebar.html.erb | app/views/shared/_sidebar.html.erb | <%= render :partial => @aside %>
<div class='navigation-group'>
<h2>Site Navigation</h2>
<ul>
<li><%= link_to "Home", root_path %></li>
</ul>
</div>
| <%= render :partial => @aside %>
| Remove the Home link from the sidebar. | Remove the Home link from the sidebar.
| HTML+ERB | agpl-3.0 | sferik/RapidFTR,mwangiann/RapidFTR,tomclement/RapidFTR,sorashiro/RapidFTR,tomclement/RapidFTR,sriprasanna/RapidFTR,sferik/RapidFTR,ctumwebaze/RapidFTR,timothyakampa/RapidFTR,timothyakampa/RapidFTR,austiine04/RapidFTR,rapidftr/RapidFTR,mwangiann/RapidFTR,ctumwebaze/RapidFTR,tomclement/RapidFTR,sorashiro/RapidFTR,mwangia... |
f104238148a55ac4a4839a99397cf6a1858cf5ba | app/views/ship_lists/show.html.erb | app/views/ship_lists/show.html.erb | <% content_for :header_nav do %>
<%= render "buckets/navbar" %>
<% end %>
<div class="row">
<div class="col-lg-12">
<p># Ship List for <%= @ship_list %></p>
<% @ship_list.issues.each do |issue| %>
<p>* <%= issue.title %></p>
<% end %>
</div>
</div>
| <% content_for :header_nav do %>
<%= render "buckets/navbar" %>
<% end %>
<div class="row">
<div class="col-lg-12">
<p># Ship List for <%= @ship_list %></p>
<% @ship_list.issues.each do |issue| %>
<p>* [<%= issue.title %>](<%= github_issue_url(issue) %>)</p>
<% end %>
</div>
</div>
| Make issue title markdown link | Make issue title markdown link
| HTML+ERB | mit | jonmagic/i-got-issues,jonmagic/i-got-issues,jonmagic/i-got-issues |
1ed60ee93e2f8718249429abe95e295c6807d73b | app/views/trips/_customer.html.erb | app/views/trips/_customer.html.erb | <%- if @customer.id.present? -%>
<strong><%= link_to @customer.name, @customer %></strong>
<%- else -%>
<%= autocomplete_field_tag 'customer_name', '', autocomplete_customers_path,
:size => 30,
:update_elements => {
:id => '#trip_customer_id,#trip_customer_attributes_id',
... | <%- if @customer.id.present? -%>
<div id="trip_customer_name_wrapper">
<strong id="trip_customer_name_string"><%= link_to @customer.name, @customer %></strong>
(<a href="#" id="change_trip_customer_link">Change Customer</a>)
</div>
<% end %>
<%= autocomplete_field_tag 'customer_name'... | Add the ability to change the customer for an existing trip record | Add the ability to change the customer for an existing trip record
| HTML+ERB | agpl-3.0 | rideconnection/ridepilot,camsys/ridepilot,camsys/ridepilot,rideconnection/ridepilot,camsys/ridepilot,rideconnection/ridepilot |
fb7911854db5f2dbe2d3093608e2eaa4a41b308f | app/views/comment/_show_comments.html.erb | app/views/comment/_show_comments.html.erb | <%
comments = object.comments.sort_by(&:created_at).reverse
if limit
and_more = comments.length - limit
comments = comments[0..limit-1]
end
%>
<div class="row">
<div class="col-sm-8">
<%= content_tag(:h4, comments.empty? ? :"show_comments_no_comments_yet".t : :COMMENTS.t) %>
</div>
<div... | <%
comments = object.comments.sort_by(&:created_at).reverse
if limit
and_more = comments.length - limit
comments = comments[0..limit-1]
end
%>
<div class="row">
<div class="col-sm-12">
<%= content_tag(:h4, comments.empty? ? :"show_comments_no_comments_yet".t : :COMMENTS.t, style: "display: in... | Add comment link was hidden under images, took me about 5 seconds to find it, most users probably would take longer to find it. | Add comment link was hidden under images, took me about 5 seconds to find it, most users probably would take longer to find it.
| HTML+ERB | mit | pellaea/mushroom-observer,JoeCohen/mushroom-observer,raysuelzer/mushroom-observer,pellaea/mushroom-observer,MushroomObserver/mushroom-observer,raysuelzer/mushroom-observer,MushroomObserver/mushroom-observer,MushroomObserver/mushroom-observer,raysuelzer/mushroom-observer,JoeCohen/mushroom-observer,MushroomObserver/mushr... |
4e9c633f5ae9708addd8230d85abd21b9fff4b78 | app/views/feeds/sidebar/_sidebar.html.erb | app/views/feeds/sidebar/_sidebar.html.erb | <div id="sidebar">
<ul class="nav nav-list">
<li class="active">
<a id="start-page"><i class="icon-asterisk"></i> <%= t 'feeds.index.start' %></a>
</li>
</ul>
<hr>
<ul id="folders-list" class="nav nav-tabs nav-stacked">
<%= render 'feeds/sidebar/sidebar_folder', user: @user, feeds: @feeds, ... | <div id="sidebar">
<ul class="nav nav-list">
<li class="active">
<a id="start-page"><i class="icon-asterisk"></i> <%= t 'feeds.index.start' %></a>
</li>
</ul>
<hr>
<ul id="folders-list" class="nav nav-tabs nav-stacked">
<%= render 'feeds/sidebar/sidebar_folder', user: @user, feeds: @feeds, ... | Order folders in the sidebar by alphabetical title order. | Order folders in the sidebar by alphabetical title order.
| HTML+ERB | mit | jmwenda/feedbunch,amatriain/feedbunch,amatriain/feedbunch,jmwenda/feedbunch,amatriain/feedbunch,amatriain/feedbunch,jmwenda/feedbunch |
40e245e9166da17a0125ffdbd8784b8c69f338de | app/views/layouts/user_sessions.html.erb | app/views/layouts/user_sessions.html.erb | <!DOCTYPE html>
<html lang="<%= set_user_language %>">
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1">
<%= csrf_meta_tags %>
<title><%= t('.title') %></title>
<%= stylesheet_link_tag 'login', media: 'all' %>
<%= javascript_include_tag 'login' %>
<link rel="mask-icon" href="pinned-masterla... | <!DOCTYPE html>
<html lang="<%= set_user_language %>">
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1">
<meta property="og:image" content="apple-touch-icon.png" />
<%= csrf_meta_tags %>
<title><%= t('.title') %></title>
<%= stylesheet_link_tag 'login', media: 'all' %>
<%= javascript_includ... | Add icon to the suggested sites using OpenGraph | Add icon to the suggested sites using OpenGraph
| HTML+ERB | mit | Labtec/OpenLIS,Labtec/OpenLIS,Labtec/OpenLIS |
3bfa95e384f5e38db70b85f096a705794854fcd8 | app/views/mas/feedback/_zendesk.html.erb | app/views/mas/feedback/_zendesk.html.erb | <% content_for header do %>
<%= stylesheet_link_tag 'zenbox', media: :all %>
<% end %>
<%= javascript_include_tag 'zenbox' %>
<script type="text/javascript">
if (typeof(Zenbox) !== "undefined") {
Zenbox.init({
dropboxID: "<%= config[I18n.locale][:id] %>",
url: "<%= config[I18n.locale][:u... | <% content_for header do %>
<%= stylesheet_link_tag 'mas/feedback/engine', media: :all %>
<%= stylesheet_link_tag 'zenbox', media: :all %>
<% end %>
<%= javascript_include_tag 'zenbox' %>
<script type="text/javascript">
if (typeof(Zenbox) !== "undefined") {
Zenbox.init({
dropboxID: "<%= config[I18n.... | Use the feedback css if zendesk tab is created | Use the feedback css if zendesk tab is created | HTML+ERB | mit | moneyadviceservice/mas-feedback,moneyadviceservice/mas-feedback,moneyadviceservice/mas-feedback |
9fea6cbd6394fb17f76750bfba10ede355564d1e | client/lanes/index.scss.erb | client/lanes/index.scss.erb | @import "styles/fonts";
.lanes {
@import "styles/global";
<% Lanes::Extensions.each_asset(phase: :all, type: :css) do | asset | %>
@import "<%= asset %>";
<% end %>
@import "lanes/components/shared/styles";
<% Lanes::Components.enabled_with_dependencies(self) do | component | %>
@import "lanes/components/<%= ... | @import "styles/fonts";
@import "styles/mixins/all";
html { height: 100%; }
body { margin: 0; height: 100%; }
.lanes-root {
height: 100%;
.lanes > div { height: 100%; }
}
.lanes {
height: 100%;
@import "styles/global";
<% Lanes::Extensions.each_asset(phase: :all, type: :css) do | asset | %>
@import... | Set to 100% height so flexbox will epxand rows | Set to 100% height so flexbox will epxand rows
| HTML+ERB | mit | argosity/hippo,argosity/lanes,argosity/hippo,argosity/lanes,argosity/hippo,argosity/lanes |
3cfff33b3de2b65981370f75dba780067c63ec8e | app/views/locations/_ros_index.html.erb | app/views/locations/_ros_index.html.erb | <div class="search-bar-and-results-section">
<%= form_tag(search_path(location), method: "get", onsubmit: "return false") do %>
<div class="input-group" >
<%= text_field_tag("search_text2", nil, placeholder: "search a #{location_name} school by school name or by district name (e.g. Albany)", size: 250, class:'form... | <div class="search-bar-and-results-section">
<%= form_tag(search_path(location), method: "get", onsubmit: "return false") do %>
<div class="input-group" >
<%= text_field_tag("search_text2", nil, placeholder: "search a #{location_name} school by school name or by district name (e.g. Albany)", size: 250, class:'form-... | Add section with totals information. | Add section with totals information.
| HTML+ERB | mit | fma2/cfe-money,fma2/cfe-money,fma2/cfe-money |
470294bbbbffa84edb80f437d86e1649e2c93858 | app/views/root_taxons/_bubbles.html.erb | app/views/root_taxons/_bubbles.html.erb | <form class="form-inline">
<div class="form-group">
<label id="lower_bound_label"
for="lower_bound_range_input">
</label>
<input class="form-control hidden"
id="lower_bound_range_input"
type="range"
min="0">
</div>
<div class="form-group">
<label id="upp... | <form class="form-inline">
<div class="form-group">
<label id="lower_bound_label"
for="lower_bound_range_input">
</label>
<input class="form-control hidden"
id="lower_bound_range_input"
type="range"
min="0">
</div>
<div class="form-group">
<label id="upp... | Remove height=auto from the bubbles SVG element | Remove height=auto from the bubbles SVG element
| HTML+ERB | mit | alphagov/content-tagger,alphagov/content-tagger,alphagov/content-tagger |
57b89c5194cdc04ab87c3f4d2199041879b92e98 | app/views/layouts/_sites_dropdown.html.erb | app/views/layouts/_sites_dropdown.html.erb | <li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
Sites <b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li><%= link_to 'List', sites_path %></li>
<li><%= link_to 'Create', new_site_path %></li>
</ul>
</li> | <li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
Sites <b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li><%= link_to 'List', sites_path %></li>
<li><%= link_to 'Create', new_site_path %></li>
<li><%= link_to 'Schedule', schedule_path %></li>
</ul>
</li>
| Add a link to the site schedule | Add a link to the site schedule
| HTML+ERB | mit | Klaital/vitasa-web,Klaital/vitasa-web,Klaital/vitasa-web,Klaital/vitasa-web |
442229488c9b9d0a9d5f16405424672d5df1efde | app/views/spree/schweine/_sidebar.html.erb | app/views/spree/schweine/_sidebar.html.erb | <nav id="taxonomies" class="sidebar-item">
<h6 class="taxonomy-root">Schweine</h6>
<ul class="taxons-list">
<li>
<%= link_to("Alle Schweine", schweine_path) %>
</li>
<%- Spree::Schwein.limit(5).order('created_at DESC').each do |schwein| %>
<li><%=link_to schwein.name, schwein_path(schwein.pe... | <nav id="taxonomies" class="sidebar-item">
<h6 class="taxonomy-root">Schweine</h6>
<ul class="taxons-list">
<li><%= link_to("Alle Schweine", schweine_path) %></li>
<%- Spree::Schwein.limit(5).order('created_at DESC').each do |schwein| %>
<li><%=link_to schwein.name, schwein_path(schwein.permalink)%></... | Put alle link in same line. | Put alle link in same line.
| HTML+ERB | bsd-3-clause | meinekleinefarm/spree_mkf_theme,meinekleinefarm/spree_mkf_theme,meinekleinefarm/spree_mkf_theme |
37def2cb38cb30634706f900dd01fa85a214423c | views/index.erb | views/index.erb | <style>
body {
font-family: 'Roboto', sans-serif;
font-size: 16px;
}
</style>
<div class="container">
<div class="col">
<div class="row">
<h2>Posts</h2>
<hr>
</div>
</div>
</div>
<div class="container">
<div class="col">
<div class="row">
<article>
<header>
... | <style>
body {
font-family: 'Roboto', sans-serif;
font-size: 16px;
}
</style>
<div class="container">
<div class="col">
<div class="row">
<h2>Posts</h2>
<hr>
</div>
</div>
</div>
<div class="container">
<div class="col">
<div class="row">
<article>
<header>
... | Adjust first post and shrink image | Adjust first post and shrink image
| HTML+ERB | mit | JordanRushing/roda-sequel-puma-heroku-app,JordanRushing/roda-sequel-puma-heroku-app |
c8c9a0d1860195cbf0b58e580a46bf91925553e2 | views/music.erb | views/music.erb | <% if album[:date] %>
<p>Latest album:</p>
<iframe style="border: 0; width: 450px; height: 120px;" src="https://bandcamp.com/EmbeddedPlayer/album=<%= album[:id] %>/size=large/bgcol=ffffff/linkcol=0687f5/tracklist=false/artwork=small/transparent=true/" seamless><a href="http://pupper.bandcamp.com/album/<%= album[:slug... | <p>You can find my music on <a href="https://pupper.bandcamp.com">Bandcamp</a> and <a href="https://soundcloud.com/duckinator">SoundCloud</a>.</p>
<% if album[:date] %>
<p>Latest album:</p>
<iframe style="border: 0; width: 450px; height: 120px;" src="https://bandcamp.com/EmbeddedPlayer/album=<%= album[:id] %>/size=l... | Add links to Bandcamp and SoundCloud. | Add links to Bandcamp and SoundCloud.
| HTML+ERB | mit | duckinator/puppy.run,duckinator/puppy.run |
da2c6dbe310029635b6d678c2a3a74f71956924c | app/views/partials/_main_nav.html.erb | app/views/partials/_main_nav.html.erb | <nav class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
... | <!-- Main Navigation -->
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Tog... | Add Contact and blog links in man nav | Add Contact and blog links in man nav
| HTML+ERB | mit | downeyd27/personal_website,downeyd27/personal_website,downeyd27/personal_website |
b84e66a068becae3e3fc420a434a304019dabe7a | lib/views/general/_before_head_end.html.erb | lib/views/general/_before_head_end.html.erb | <link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700,900,400italic&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
| <link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700,900,400italic&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
| Use & rather than & in font url | Use & rather than & in font url
| HTML+ERB | mit | mysociety/sobanukirwa-theme,mysociety/sobanukirwa-theme |
b0a5e5c6ddb55d9591dc52cf9021b4c4998b139f | mock_cdn_config/modules/varnish/templates/default.vcl.erb | mock_cdn_config/modules/varnish/templates/default.vcl.erb | backend default {
.host = "<%= @ipaddress_vmhost -%>";
.port = "8080";
}
# Please add the minimal amount of code required to implement/mimic the
# functionality you need to test. This shouldn't match our real config
# line-by-line, otherwise we'll have trouble maintaining parity.
sub vcl_recv {
if (!req.http.Fa... | backend default {
.host = "<%= @ipaddress_vmhost -%>";
.port = "8080";
}
# Please add the minimal amount of code required to implement/mimic the
# functionality you need to test. This shouldn't match our real config
# line-by-line, otherwise we'll have trouble maintaining parity.
acl purge {
"192.168.0.1";
}
s... | Make TestRestrictPurgeRequests() work in mock | Make TestRestrictPurgeRequests() work in mock
Extract a simplified and slightly modified version of the PURGE handling
code from our Fastly config. We should never match the IP that's on the
whitelist.
| HTML+ERB | mit | alphagov/cdn-acceptance-tests,alphagov/cdn-acceptance-tests,mikepea/cdn-acceptance-tests,alphagov/cdn-acceptance-tests,mikepea/cdn-acceptance-tests,mikepea/cdn-acceptance-tests,alphagov/cdn-acceptance-tests,mikepea/cdn-acceptance-tests |
ee8eac453b6e1b260c5e837391524b4ac06d7502 | app/views/forums/forums/_form.html.erb | app/views/forums/forums/_form.html.erb | <%= form_for @forum, url: @forum.new_record? ? course_forums_path(@course) : course_forum_path(@course, @forum) do |f| %>
<%= f.text_field :name %>
<%= f.text_area :description, class: 'span7 html-editor' %>
<%= f.submit class: 'btn btn-primary' %>
<% end %>
| <%= form_for @forum, url: @forum.new_record? ? course_forums_path(@course) : course_forum_path(@course, @forum),
html: { class: 'form-horizontal' } do |f| %>
<div class="row-fluid control-group">
<%= f.label :name, :class => 'control-label' %>
<div class="controls">
<%= f.text_field :name, ... | Clean up the Create Forums page. | Clean up the Create Forums page.
| HTML+ERB | mit | nusedutech/coursemology.org,nnamon/coursemology.org,Coursemology/coursemology.org,nusedutech/coursemology.org,dariusf/coursemology.org,nnamon/coursemology.org,nusedutech/coursemology.org,dariusf/coursemology.org,dariusf/coursemology.org,allenwq/coursemology.org,dariusf/coursemology.org,nnamon/coursemology.org,allenwq/c... |
672b9da753234ed8238e41b88b130576953e962f | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>ReferMeProject</title>
<%= csrf_meta_tags %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= stylesheet_link_tag params[:controller], 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', ... | <!DOCTYPE html>
<html>
<head>
<title>ReferMeProject</title>
<%= csrf_meta_tags %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= stylesheet_link_tag params[:controller], 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', ... | Fix typo on render paths | Fix typo on render paths
| HTML+ERB | mit | omaiki/Get_Referred,omaiki/Get_Referred,omaiki/Get_Referred |
f504fa9dec44973cde8420873d82f25dbe2fc48f | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html ng-app="LDT" ng-controller="PageCtrl">
<head>
<title ng-bind-template="LDT: {{title}}">LDT</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<%= stylesheet_link_tag "application", :media => "all" %>
<%= stylesheet_link_tag "print", :media => "print" %>
<script src... | <!DOCTYPE html>
<html ng-app="LDT" ng-controller="PageCtrl">
<head>
<title ng-bind-template="{{title}}">LDT</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<%= stylesheet_link_tag "application", :media => "all" %>
<%= stylesheet_link_tag "print", :media => "print" %>
<script src="htt... | Remove title placeholder once page is loaded | Remove title placeholder once page is loaded
| HTML+ERB | mit | allantokuda/LDT,allantokuda/LDT,allantokuda/LDT,allantokuda/LDT |
26a2b34f328ba1df7b5f3fef0277c9fbab52e2c4 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>ResourceRepositoryApp</title>
<%= csrf_meta_tags %>
<link href="https://maxcdn.bootstrapcdn.com/bootswatch/3.3.7/journal/bootstrap.min.css" rel="stylesheet" integrity="sha384-1L94saFXWAvEw88RkpRz8r28eQMvt7kG9ux3DdCqya/P3CfLNtgqzMnyaUa49Pl2" crossorigin="anonymous">
<%=... | <!DOCTYPE html>
<html>
<head>
<title>ResourceRepositoryApp</title>
<%= csrf_meta_tags %>
<link href="https://maxcdn.bootstrapcdn.com/bootswatch/3.3.7/journal/bootstrap.min.css" rel="stylesheet" integrity="sha384-1L94saFXWAvEw88RkpRz8r28eQMvt7kG9ux3DdCqya/P3CfLNtgqzMnyaUa49Pl2" crossorigin="anonymous">
<%=... | Add home button link in layout page | Add home button link in layout page
| HTML+ERB | mit | derekmpham/resource-repository-app,derekmpham/resource-repository-app,derekmpham/resource-repository-app |
1c5c5a628954ee19d372b4b9e8a3ade26011410e | app/views/setup/_project_rule.html.erb | app/views/setup/_project_rule.html.erb | <tr>
<td><%= rule.name %></td>
<td>
<div class="col-md-8">
<%= render partial: "rule_formulas", locals: { formulas: rule.formulas }%>
</div>
<%= link_to rule.name, edit_setup_project_rule_path(current_user.project, rule) , class: rule.invalid? ? 'btn btn-danger' :'' %> <%= rule.in... | <tr>
<td><%= rule.name %></td>
<td>
<div class="col-md-8">
<%= render partial: "rule_formulas", locals: { formulas: rule.formulas }%>
</div>
</td>
<td>
<%= link_to rule.name, edit_setup_project_rule_path(current_user.project, rule) , class: rule.invalid? ? 'btn btn-danger'... | Fix layout missing td in rules summary | Fix layout missing td in rules summary
| HTML+ERB | mit | BLSQ/orbf2,BLSQ/orbf2,BLSQ/orbf2,BLSQ/orbf2 |
83e8ea1efb4cdb56355d63dc296509ccc6b856dd | app/views/taxons/_page_header.html.erb | app/views/taxons/_page_header.html.erb | <%= render "govuk_publishing_components/components/inverse_header", { full_width: true } do %>
<div class="full-page-width-wrapper">
<%= render partial: 'govuk_component/breadcrumbs',
locals: {
breadcrumbs: GovukPublishingComponents::AppHelpers::TaxonBreadcrumbs.new(@content_item).breadcrumbs,
... | <%= render "govuk_publishing_components/components/inverse_header", { full_width: true, padding_top: false } do %>
<div class="full-page-width-wrapper">
<%= render partial: 'govuk_component/breadcrumbs',
locals: {
breadcrumbs: GovukPublishingComponents::AppHelpers::TaxonBreadcrumbs.new(@content_item... | Update breadcrumb padding on topic pages | Update breadcrumb padding on topic pages
We want to remove the padding-top on breadcrumbs on topic pages to make them more consistent with breadcrumb spacing across other pages on GOV.UK
| HTML+ERB | mit | alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections |
a4a41260750c8227997bd2351e80b35574a6874f | app/views/user_sessions/_form.html.erb | app/views/user_sessions/_form.html.erb | <div class="user-form">
<h2>Login</h2>
<%= form_tag user_sessions_path, :method => :post do %>
<div>
<%= label_tag :email %> <br>
<%= text_field_tag :email %>
</div>
<div>
<%= label_tag :password %> <br>
<%= password_field_tag :password %>
</div>
<div>
<%= check_box_tag :remember %> <%= ... | <div class="user-form">
<h2>Login</h2>
<%= form_tag user_sessions_path, :method => :post do %>
<div class="large-12 columns">
<%= label_tag :email %> <br>
<%= text_field_tag :email %>
</div>
<div class="large-12 columns">
<%= label_tag :password %> <br>
<%= password_field_tag :password %>
</di... | Add Form Styles As Sign Up To Considered Styling | Add Form Styles As Sign Up To Considered Styling
| HTML+ERB | mit | CivicHaxx/ok_councillr,CivicHaxx/ok_councillr,CivicHaxx/ok_councillr |
a243d002b166b1563c8c78140f63cc540f9f9974 | templates/server/_default-footer.conf.erb | templates/server/_default-footer.conf.erb |
# Switch back to default ruleset
$RuleSet RSYSLOG_DefaultRuleset
<% if scope.lookupvar('rsyslog::server::enable_udp') -%>
<% if scope.lookupvar('rsyslog::server::remote_ruleset_udp') -%>
$InputUDPServerBindRuleset remote
<% end -%>
$UDPServerRun <%= scope.lookupvar('rsyslog::server::port') %>
$UDPServerAddress <%= sc... |
# Switch back to default ruleset
$RuleSet RSYSLOG_DefaultRuleset
<% if scope.lookupvar('rsyslog::server::enable_udp') -%>
<% if scope.lookupvar('rsyslog::server::remote_ruleset_udp') -%>
$InputUDPServerBindRuleset remote
<% end -%>
$UDPServerAddress <%= scope.lookupvar('rsyslog::server::address') %>
$UDPServerRun <%=... | Fix UDPServerAddress order in server footer template | Fix UDPServerAddress order in server footer template
To be effective, the option must precede the Run option.
| HTML+ERB | apache-2.0 | saz/puppet-rsyslog,icann-dns/puppet-rsyslog,icann-dns/puppet-rsyslog,saz/puppet-rsyslog |
c9a43820a4a32132052708a06bec33ee8b00b0d0 | app/views/expenses/show.html.erb | app/views/expenses/show.html.erb | <%= link_to 'View All', expenses_path %>
| <%= link_to 'Edit', edit_expense_path(@expense) %>
| <%= link_to 'Delete', expense_path(@expense),
method: :delete, data: { confirm: 'Are you sure?' } %>
<div class="table-responsive">
<table class="table table-striped">
<tr>
<th>Amount</th>
<td> <%= number_to_cur... | <%= link_to 'View All', expenses_path %>
| <%= link_to 'Edit', edit_expense_path(@expense) %>
| <%= link_to 'Delete', expense_path(@expense),
method: :delete, data: { confirm: 'Are you sure?' } %>
<div class="table-responsive">
<table class="table table-striped">
<tr>
<th>Amount</th>
<td> <%= number_to_cur... | Use human friendly date format | Use human friendly date format
| HTML+ERB | mit | taylorskalyo/wheredidmymoneygo,taylorskalyo/wheredidmymoneygo |
95897354f4948c1bc20ae83f072730de4f380064 | app/views/gm_list/index.html.erb | app/views/gm_list/index.html.erb | <p id="notice"><%= notice %></p>
<h1><%= @event.name %></h1>
<h2><%= @event.location %></h2>
<h2><%= @event.start.to_formatted_s(:long) %> to <%= @event.end.to_formatted_s(:long) %></h2>
<!-- for now, first pass, list all the GMs -->
<table class="table table-striped">
<tr>
<th>GM Name</th>
<th>GM Forum Nam... | <p id="notice"><%= notice %></p>
<h1><%= @event.name %></h1>
<h2><%= @event.location %></h2>
<h2><%= @event.start.to_formatted_s(:long) %> to <%= @event.end.to_formatted_s(:long) %></h2>
<!-- for now, first pass, list all the GMs -->
<table class="table table-striped">
<tr>
<th>GM Name</th>
<th>GM Email</th... | Switch order of forum name and email. | Switch order of forum name and email.
| HTML+ERB | mit | 10000-Lakes-Gaming/registration,Acerak2/registration,10000-Lakes-Gaming/registration,Acerak2/registration,Acerak2/registration,Acerak2/registration,10000-Lakes-Gaming/registration,10000-Lakes-Gaming/registration |
9bedcb40a6e771c48b73133bc8e0f2da174a0068 | templates/default/apache2_sites.conf.erb | templates/default/apache2_sites.conf.erb | <% @params[:listen_ports].each do |port| -%>
<VirtualHost <%= @params[:listen_addresses] %>:<%= port %>>
ServerName <%= @params[:server_name] %>
ServerAlias <% @params[:server_aliases].each do |a| %><%= "#{a}" %> <% end %>
DocumentRoot <%= @params[:docroot] %>
RewriteEngine On
<Directory <%= @params[:docroot... | <% @params[:listen_ports].each do |port| -%>
<VirtualHost <%= @params[:listen_addresses] %>:<%= port %>>
ServerName <%= @params[:server_name] %>
ServerAlias <% @params[:server_aliases].each do |a| %><%= "#{a}" %> <% end %>
DocumentRoot <%= @params[:docroot] %>
RewriteEngine On
<Directory <%= @params[:docroot... | Increase debug info on Apache's logs | Increase debug info on Apache's logs
| HTML+ERB | apache-2.0 | tandiljuan/cookbook-symfony,tandiljuan/cookbook-lamp |
d82c545f48a3e067675dbd6ef731afb96b6d6b3e | Battlecode_Arena/app/views/competitors/_index.html.erb | Battlecode_Arena/app/views/competitors/_index.html.erb | <%= render 'layouts/sortable_table_header' %>
<thead>
<tr>
<th>Name</th>
<th>Team</th>
<th>Elo</th>
<th>Wins</th>
<th>Losses</th>
<th colspan="3"></th>
</tr>
</thead>
<tbody class "competitors">
<% @competitors.each do |competitor| %>
<tr>
<% shown_na... | <%= render 'layouts/sortable_table_header' %>
<thead>
<tr>
<th>Name</th>
<th>Team</th>
<th>Wins</th>
<th>Losses</th>
<th colspan="3"></th>
</tr>
</thead>
<tbody class "competitors">
<% @competitors.each do |competitor| %>
<tr>
<% shown_name = competitor.bro... | Remove Elo. it's pointless in current design | Remove Elo. it's pointless in current design
| HTML+ERB | mit | 3urningChrome/Battlecode_Arena,3urningChrome/Battlecode_Arena,3urningChrome/Battlecode_Arena,3urningChrome/Battlecode_Arena |
4a852a91f9725b1dc2242c9fca14dfdbed501f91 | app/views/users/edit.html.erb | app/views/users/edit.html.erb | <div class="center-align">
<div id="mainContainer">
<input type="button" id="start" value="Add Bank">
</div>
</div>
<div id="iavContainer"></div>
<script type="text/javascript">
$('#start').click(function() {
var iavToken = "<%= @token %>";
dwolla.configure('sandbox');
dwolla.iav.start(iavToken, {
... | <div class="center-align">
<div id="mainContainer">
<input type="button" id="start" value="Add Bank">
</div>
</div>
<div id="iavContainer"></div>
<script type="text/javascript">
$('#start').click(function() {
$(this).hide();
var iavToken = "<%= @token %>";
dwolla.configure('sandbox');
dwolla.iav.start... | Add delay to redirect in user banking edit page | Add delay to redirect in user banking edit page
| HTML+ERB | mit | chastep/WITNESS-ME,chastep/WITNESS-ME,chastep/WITNESS-ME |
1548fd55a7295d479ed7e49824ef3570f3203bf1 | modules/govuk_jenkins/templates/jobs/govuk_taxonomy_supervised_learning.yaml.erb | modules/govuk_jenkins/templates/jobs/govuk_taxonomy_supervised_learning.yaml.erb | ---
- scm:
name: govuk-taxonomy-supervised-learning
scm:
- git:
url: git@github.com:alphagov/govuk-taxonomy-supervised-learning.git
branches:
- master
- job:
name: govuk_taxonomy_supervised_learning
display-name: Taxonomy Supervised Learning Pipeline
pr... | ---
- scm:
name: govuk-taxonomy-supervised-learning
scm:
- git:
url: git@github.com:alphagov/govuk-taxonomy-supervised-learning.git
branches:
- master
- job:
name: govuk_taxonomy_supervised_learning
display-name: Taxonomy Supervised Learning Pipeline
pr... | Simplify the govuk_taxonomy_supervised_learning Jenkins job | Simplify the govuk_taxonomy_supervised_learning Jenkins job
Most of the stuff is worth keeping in the
govuk-taxonomy-supervised-learning repository, so that it's easier to change.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.