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 |
|---|---|---|---|---|---|---|---|---|---|
4ab65d29643cdde8c8cf998f7f6309946d278db9 | modules/govuk/templates/static_extra_nginx_config.conf.erb | modules/govuk/templates/static_extra_nginx_config.conf.erb | location = /static/a {
expires -1;
add_header Last-Modified "";
default_type text/plain;
return 200 '';
}
# 1stline use this URL in their zendesk template
location = /static/gov.uk_logotype_crown.png {
return 301 /media/5c810ef4ed915d43e50ce260/gov.uk_logotype_crown.png;
}
location /__canary__ {
default_... | location = /static/a {
expires -1;
add_header Last-Modified "";
default_type text/plain;
return 200 '';
}
# 1stline use this URL in their zendesk template
location = /static/gov.uk_logotype_crown.png {
absolute_redirect off;
return 301 /media/5c810ef4ed915d43e50ce260/gov.uk_logotype_crown.png;
}
location... | Use a relative redirect for the crown logo | Use a relative redirect for the crown logo
By default nginx includes the hostname in the redirect, which in our case is some internal name which doesn't work externally. Switching off the absolute_redirect directive makes redirects relative:
http://nginx.org/en/docs/http/ngx_http_core_module.html#absolute_redirect | HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
f940b14774f9d486dfd9f2a3da944a1108cbdcc3 | app/views/appointment_summaries/preview.html.erb | app/views/appointment_summaries/preview.html.erb | <div class="confirm">
<p class="highlight highlight-orange">Check the details below and click Submit if they're correct</p>
</div>
<%= @output_document.html.html_safe %>
<%= form_for @appointment_summary, url: appointment_summaries_path do |f| %>
<%= f.hidden_field :title %>
<%= f.hidden_field :first_name %>
... | <div class="confirm">
<p class="highlight highlight-orange">Check the details below and click Submit if they're correct</p>
</div>
<%= @output_document.html.html_safe %>
<%= form_for @appointment_summary, url: appointment_summaries_path do |f| %>
<% (AppointmentSummary.columns - [:id, :created_at, :updated_at, :... | Remove manual enumeration of fields in preview | Remove manual enumeration of fields in preview
- rather iterate the columns in the DB
| HTML+ERB | mit | guidance-guarantee-programme/summary_generator,guidance-guarantee-programme/summary_generator,guidance-guarantee-programme/summary_generator,guidance-guarantee-programme/summary_generator |
734e0551458e22f6c5d1d52b14aec7492d261e1b | app/views/languages/_about.erb | app/views/languages/_about.erb | <%= md docs["about"] %>
<h3>Try It!</h3>
<p>
If you've downloaded the <a href='/cli'>command-line client</a> and have <%= track.language %> installed
on your machine, then go ahead and fetch the first problem.
</p>
<%= syntax "exercism #{track.id} #{track.problems.first.slug}", "plain" %>
<p>
In order to be abl... | <%= md docs["about"] %>
<h3>Try It!</h3>
<p>
If you've downloaded the <a href='/cli'>command-line client</a> and have <%= track.language %> installed
on your machine, then go ahead and fetch the first problem.
</p>
<%= syntax "exercism fetch #{track.id} #{track.problems.first.slug}", "plain" %>
<p>
In order to ... | Add missing 'fetch' to fetch instructions. | Add missing 'fetch' to fetch instructions.
Add missing 'fetch' to fetch instructions on the language "about" page.
| HTML+ERB | agpl-3.0 | tejasbubane/exercism.io,RaptorRCX/exercism.io,RaptorRCX/exercism.io,treiff/exercism.io,tejasbubane/exercism.io,treiff/exercism.io,treiff/exercism.io,tejasbubane/exercism.io,tejasbubane/exercism.io,RaptorRCX/exercism.io,RaptorRCX/exercism.io,treiff/exercism.io |
ee1b18acb9f78ed2299e48552c25c80ae7de5687 | app/views/plants/show.html.erb | app/views/plants/show.html.erb | <%= @plant.nickname%>
<%= @plant.common_name%>
<%= @plant.light%>
<%= @plant.user_id%>
|
<div class="container">
<div class="row">
<div class="four columns">
</div>
<div class="four columns">
<h1><strong><%= @plant.nickname%></strong></h1>
<h5> <em> <%= @plant.common_name%> </em> </h5>
</div>
<div class="four columns">
</div>
</div>
<div class="row">
<div class="four columns">
</div>
<div class... | Structure detail plant page (plants/:id) | Structure detail plant page (plants/:id)
Add skeleton column spacing. Add Plant log box. Center information and size.
| HTML+ERB | mit | Plantia/app,Plantia/app,Plantia/app |
a0add8f651b01086875942f5151a49e7650d6487 | puppet/zulip/templates/nginx/zulip-enterprise.template.erb | puppet/zulip/templates/nginx/zulip-enterprise.template.erb | <% if @nginx_http_only != '' -%>
<% else -%>
server {
listen 80;
return 301 https://$host$request_uri;
}
<% end -%>
include /etc/nginx/zulip-include/upstreams;
server {
<% if @nginx_http_only != '' -%>
listen 80;
<% else -%>
listen 443;
ssl on;
ssl_certificate <%= @ssl_dir %>/certs/zulip.comb... | <% if @nginx_http_only != '' -%>
<% else -%>
server {
listen 80;
listen [::]:80;
return 301 https://$host$request_uri;
}
<% end -%>
include /etc/nginx/zulip-include/upstreams;
server {
<% if @nginx_http_only != '' -%>
listen 80;
listen [::]:80;
<% else -%>
listen 443;
listen [::]:443;
... | Add IPv6 support to standard nginx listen directives. | puppet: Add IPv6 support to standard nginx listen directives.
This should save some setup work for anyone wanting to setup nginx on
their Zulip server.
| HTML+ERB | apache-2.0 | tommyip/zulip,kou/zulip,eeshangarg/zulip,synicalsyntax/zulip,eeshangarg/zulip,timabbott/zulip,rishig/zulip,shubhamdhama/zulip,kou/zulip,punchagan/zulip,timabbott/zulip,showell/zulip,tommyip/zulip,timabbott/zulip,eeshangarg/zulip,kou/zulip,shubhamdhama/zulip,showell/zulip,timabbott/zulip,rht/zulip,eeshangarg/zulip,ander... |
1589ba58bf9de7fe354b5793dc4bac0c8327ec7a | data/init/upstart/1.5/master.conf.erb | data/init/upstart/1.5/master.conf.erb | start on (started network-interface
or started network-manager
or started networking) and filesystem
# The `networking` job is a task, which means it will be stopped after the network interfaces have been configured.
# That's why we don't stop on "stopping networking".
# See <https://github.com/ddo... | start on runlevel [2345]
stop on runlevel [06]
| Fix upstart job for centos | Fix upstart job for centos
| HTML+ERB | mit | crohr/pkgr,crohr/pkgr,solarflarecommunications/pkgr,ZupIT/pkgr,monterail/pkgr,seven1m/pkgr,seven1m/pkgr,ZupIT/pkgr,solarflarecommunications/pkgr,ZupIT/pkgr,seven1m/pkgr,monterail/pkgr,solarflarecommunications/pkgr,crohr/pkgr,monterail/pkgr |
d6b2cd4688a8e6b333def1381526ab6424f697db | app/views/datasets/_dataset.html.erb | app/views/datasets/_dataset.html.erb | <tr data-dataset-id="<%= dataset.id %>" data-build-status="<%= dataset.build_status.nil? ? "building" : "built" %>">
<td class="owner">
<%= image_tag dataset.owner_avatar, height: 20, width: 20 %>
<%= dataset.repo_owner %>
</td>
<% if @dashboard %>
<td class="private">
<% if dataset.restricted %... | <tr data-dataset-id="<%= dataset.id %>" data-build-status="<%= dataset.build_status.nil? ? "building" : "built" %>">
<td class="owner">
<%= image_tag dataset.owner_avatar, height: 20, width: 20 %>
<%= dataset.repo_owner %>
</td>
<% if @dashboard %>
<td class="private">
<% if dataset.restricted %... | Increase the size of the public/private icons | Increase the size of the public/private icons
| HTML+ERB | mit | theodi/git-data-publisher,theodi/git-data-publisher,theodi/git-data-publisher |
619fb662c8f93c0e13aeab22b36a3ec1bae94158 | app/views/forem/topics/show.html.erb | app/views/forem/topics/show.html.erb | <%= render :partial => 'forem/forums/head', :locals => { :forum => @forum } %>
<div id='topic' class='<%= @topic.locked? ? 'locked' : 'unlocked' %>'>
<h2>
<%= @topic.subject %>
<% if @topic.can_be_replied_to? %>
<%= link_to "Reply to Topic", new_topic_post_path(@topic) %>
<% end %>
</h2>
<menu>... | <div id='topic' class='<%= @topic.locked? ? 'locked' : 'unlocked' %>'>
<h2>
<h2><%= link_to t('forem.forum.forums'), forums_path %> » <%= link_to @topic.forum.title, @topic.forum %> » <%= @topic.subject %></h2>
</h2>
<menu>
<% if @topic.can_be_replied_to? %>
<%= link_to "Reply to Topic"... | Tidy up topics/show, moving 'Reply to Topic' link out of the h2 | Tidy up topics/show, moving 'Reply to Topic' link out of the h2
| HTML+ERB | mit | kot-begemot/forem,efrence/forem,bbatsov/forem,beefsack/forem,jaybrueder/forem,kunalchaudhari/forem,code-mancers/forem,0xCCD/forem,tomkrus/forem,NOX73/forem,frankmarineau/forem,sandboxrem/forem,eivindhagen/forem,radar/forem,kl/forem,knewter/forem,BoboFraggins/forem,mhoad/forem,NOX73/forem,mauriciopasquier/forem,mmcc/for... |
640a0e3384388133968c394f93a3c14e537c29c7 | core/app/views/spree/admin/shared/_product_tabs.html.erb | core/app/views/spree/admin/shared/_product_tabs.html.erb | <h1><%= t(:editing_product) %> “<%= @product.name %>”</h1>
<% content_for :sidebar do %>
<h3><%= @product.name %><span class="sku"><%= @product.sku %></span></h3>
<br class="clear" />
<ul class="sidebar product-menu" data-hook="admin_product_tabs">
<li<%== ' class="active"' if current == 'Produ... | <h1><%= t(:editing_product) %> “<%= @product.name %>”</h1>
<% content_for :sidebar do %>
<h3><%= @product.name %><span class="sku"><%= @product.sku %></span></h3>
<br class="clear" />
<ul class="sidebar product-menu" data-hook="admin_product_tabs">
<li<%== ' class="active"' if current == 'Produ... | Remove tab for option types from _product_tabs | Remove tab for option types from _product_tabs
This field is now editable from the product's form
| HTML+ERB | bsd-3-clause | alepore/spree,jimblesm/spree,camelmasa/spree,locomotivapro/spree,alejandromangione/spree,vinsol/spree,jaspreet21anand/spree,delphsoft/spree-store-ballchair,Lostmyname/spree,groundctrl/spree,project-eutopia/spree,degica/spree,Hawaiideveloper/shoppingcart,shekibobo/spree,TimurTarasenko/spree,sunny2601/spree,siddharth28/s... |
870b43ebca1c3ae45c19261f2dfa971e95826238 | lib/vanity/templates/_metric.erb | lib/vanity/templates/_metric.erb | <h3><%=vanity_h metric.name %></h3>
<%= vanity_simple_format vanity_h(Vanity::Metric.description(metric).to_s), :class=>"description" %>
<%=
begin
data = Vanity::Metric.data(metric)
min, max = data.map(&:last).minmax
js = data.map { |date,value| "['#{date.to_time.httpdate}',#{value}]" }.join(",")
vanity_html_s... | <h3><%=vanity_h metric.name %></h3>
<%= vanity_simple_format(vanity_h(metric.description), :class=>"description") %>
<%= vanity_html_safe(%Q{<div class="chart"></div>
<script type="text/javascript">
$(function() {
Vanity.metric("#{vanity_h(id)}")
.plot([{
label:"#{vanity_h(metric.name)}"... | Remove unused variables in metric partial, fix Rails4.1 | Remove unused variables in metric partial, fix Rails4.1
Closes #226.
| HTML+ERB | mit | peterkovacs/vanity,glioinc/vanity,Mario245/vanity,Futurelearn/vanity,mockra/vanity,Mario245/vanity,HealthyDelivery/vanity,Mario245/vanity,glioinc/vanity,Futurelearn/vanity,HealthyDelivery/vanity,mockra/vanity,assaf/vanity,mockra/vanity,peterkovacs/vanity,glioinc/vanity,HealthyDelivery/vanity,Futurelearn/vanity,assaf/va... |
fa55bc0d2f098582ff9e0957e1fe7b82d60c3ac7 | views/includes/_stations.erb | views/includes/_stations.erb | <ul id='northbound' class='victoria'>
<% stations.each do |s| %>
<%= erb :"includes/station", locals: { station: s, direction: direction } %>
<% end %>
</ul>
| <ul id='<%= direction %>' class='victoria'>
<% stations.each do |s| %>
<%= erb :"includes/station", locals: { station: s, direction: direction } %>
<% end %>
</ul>
| Add correct id to stations partial | Add correct id to stations partial
| HTML+ERB | mit | TheODI-UD2D/sir_handel,TheODI-UD2D/sir_handel,TheODI-UD2D/sir_handel |
921faa2ac9c535c2964e4973bee22e9516c55935 | docs/manual/source/partials/shared/quickstart/_production.html.md.erb | docs/manual/source/partials/shared/quickstart/_production.html.md.erb | INFO: To update the model periodically with new data, simply set up a cron job to call `pio train` and `pio deploy`. The engine will continue to serve prediction results during the re-train process. After the training is completed, `pio deploy` will automatically shutdown the existing engine server and bring up a new p... | INFO: To update the model periodically with new data, simply set up a cron job to call `pio train` and `pio deploy`. The engine will continue to serve prediction results during the re-train process. After the training is completed, `pio deploy` will automatically shutdown the existing engine server and bring up a new p... | Add notes regarding trainig with larger data set in quickstart | Doc: Add notes regarding trainig with larger data set in quickstart
| HTML+ERB | apache-2.0 | himanshudhami/PredictionIO,shimamoto/incubator-predictionio,takezoe/incubator-predictionio,net-shell/PredictionIO,wangmiao1981/PredictionIO,druzbikova/PredictionIO,ch33hau/PredictionIO,tuxdna/PredictionIO,ydanilenko/PredictionIO,thiagoveras/PredictionIO,codingang/PredictionIO,tuxdna/PredictionIO,wangmiao1981/Prediction... |
628346dcb58581e7129a99e997b8c3b88bdb7fa8 | app/views/documents/_attachment_full_width.html.erb | app/views/documents/_attachment_full_width.html.erb | <%
attachments = AttachmentsPresenter.new(document)
title = t('document.headings.attachments', count: attachments.length) unless local_assigns.include?(:title)
published_on = '' unless local_assigns.include?(:published_on)
%>
<section class="heading-block attachment-full-width">
<% if attachments.any? %>
<h... | <%
attachments = AttachmentsPresenter.new(document)
title = t('document.headings.attachments', count: attachments.length) unless local_assigns.include?(:title)
summary = document.summary unless local_assigns.include?(:summary)
published_on = '' unless local_assigns.include?(:published_on)
%>
<section class="hea... | Revert "Remove unnecessary attachment divs" | Revert "Remove unnecessary attachment divs"
This reverts commit 1a21a4e4a33037cf7b4488ef10b12fc178df792b.
Conflicts:
app/views/documents/_attachment_full_width.html.erb
| HTML+ERB | mit | hotvulcan/whitehall,askl56/whitehall,ggoral/whitehall,ggoral/whitehall,robinwhittleton/whitehall,askl56/whitehall,YOTOV-LIMITED/whitehall,YOTOV-LIMITED/whitehall,alphagov/whitehall,ggoral/whitehall,alphagov/whitehall,askl56/whitehall,robinwhittleton/whitehall,robinwhittleton/whitehall,robinwhittleton/whitehall,YOTOV-LI... |
8a7a37ed09535c5fd5690c3d22f25617f1e5f489 | app/views/alchemy/admin/elements/_new_element_form.html.erb | app/views/alchemy/admin/elements/_new_element_form.html.erb | <%- if @elements.blank? -%>
<div class="info">
<%= render_icon('info') %>
<%= Alchemy.t(:no_more_elements_to_add) %>
</div>
<%- else -%>
<%= alchemy_form_for [:admin, @element] do |form| %>
<%= form.hidden_field :page_id %>
<%- if @page.can_have_cells? -%>
<%= form.input :name,
label: Alch... | <%- if @elements.blank? -%>
<div class="info">
<%= render_icon('info') %>
<%= Alchemy.t(:no_more_elements_to_add) %>
</div>
<%- else -%>
<%= alchemy_form_for [:admin, @element] do |form| %>
<%= form.hidden_field :page_id %>
<%- if @page.can_have_cells? && @parent_element.blank? -%>
<%= form.inpu... | Fix inability to add nested elements on pages with cells. | Fix inability to add nested elements on pages with cells.
| HTML+ERB | bsd-3-clause | mixandgo/alchemy_cms,chalmagean/alchemy_cms,IngoAlbers/alchemy_cms,robinboening/alchemy_cms,IngoAlbers/alchemy_cms,mamhoff/alchemy_cms,IngoAlbers/alchemy_cms,mixandgo/alchemy_cms,chalmagean/alchemy_cms,mtomov/alchemy_cms,akra/alchemy_cms,chalmagean/alchemy_cms,mamhoff/alchemy_cms,mamhoff/alchemy_cms,mixandgo/alchemy_cm... |
9ca6cdefcf80fe77dd9e53d13ead0390dcdf25d5 | ext/templates/deb/control.erb | ext/templates/deb/control.erb | Source: <%= @name %>
Section: utils
Priority: optional
Maintainer: Puppet Labs <info@puppetlabs.com>
<% if @pe -%>
Build-Depends: debhelper (>= 7.0.0~), cdbs, pe-rake, pe-facter, pe-puppet-agent
<% else -%>
Build-Depends: debhelper (>= 7.0.0~), cdbs, rake, facter, puppet
<% end -%>
Standards-Version: 3.9.1
Homepage: ht... | Source: <%= @name %>
Section: utils
Priority: optional
Maintainer: Puppet Labs <info@puppetlabs.com>
<% if @pe -%>
Build-Depends: debhelper (>= 7.0.0~), cdbs, pe-rubygem-rake, pe-facter, pe-puppet-agent
<% else -%>
Build-Depends: debhelper (>= 7.0.0~), cdbs, rake, facter, puppet
<% end -%>
Standards-Version: 3.9.1
Home... | Update the name of the PE rake dependency for deb | Update the name of the PE rake dependency for deb
| HTML+ERB | apache-2.0 | mullr/puppetdb,shrug/puppetdb,rbrw/puppetdb,mullr/puppetdb,kbrezina/puppetdb,shrug/puppetdb,ajroetker/puppetdb,senior/puppetdb,ajroetker/puppetdb,puppetlabs/puppetdb,kbrezina/puppetdb,waynr/puppetdb,waynr/puppetdb,grimradical/puppetdb,mullr/puppetdb,cprice404/puppetdb,grimradical/puppetdb,wkalt/puppetdb,puppetlabs/pupp... |
fe89ffb3f102de8113f5d768dbf7fc5fecd757cd | app/views/gifts/_form.html.erb | app/views/gifts/_form.html.erb | <% view_user = User.view_user(session) %>
<% hide_things = @gift.list.users.include? current_user %>
<div class="form">
<%= form_for @gift do |f| %>
<%= f.hidden_field :list_id, :value => @gift.list_id %>
<div class="checkbox">
<h3>
<label>
<%= f.check_box :starred %... | <% view_user = User.view_user(session) %>
<% hide_things = @gift.list.users.include? current_user %>
<div class="form">
<%= form_for @gift do |f| %>
<%= f.hidden_field :list_id, :value => @gift.list_id %>
<%= f.hidden_field :added_by_user_id, :value => current_user.id %>
<div class="checkbox">
... | Include added_by_user_id in new gifts. | Include added_by_user_id in new gifts.
| HTML+ERB | apache-2.0 | aligature/wishlist,aligature/wishlist,aligature/wishlist |
3e5aa2c1e88bf3af56de6bc7aef342ff589400df | app/views/links/_link.html.erb | app/views/links/_link.html.erb | <li class="link">
<div class="pull-left">
<div class="like">
<%= render partial: 'links/like_status', locals: { link: link } %>
</div>
<div class="name-and-url">
<div class="name">
<%= link_to link.display_name, link %>
</div>
<div class="url">
<%= link_to link.url,... | <li class="link">
<div class="pull-left">
<div class="like">
<%= render partial: 'links/like_status', locals: { link: link } %>
</div>
<div class="name-and-url">
<div class="name">
<%= link_to link.display_name, link %>
</div>
<div class="url">
<%= link_to link.url,... | Add count for Twitter/FB submission ideas | Add count for Twitter/FB submission ideas
| HTML+ERB | agpl-3.0 | Rootstrikers/vdash,Rootstrikers/vdash |
b609f371bb056359b0d89ce22e212d3c12221398 | app/views/tasks/_form.html.erb | app/views/tasks/_form.html.erb | <%= form_for(@task) do |f| %>
<% if @task.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@task.errors.count, "error") %> prohibited this task from being saved:</h2>
<ul>
<% @task.errors.full_messages.each do |message| %>
<li><%= message %></li>
<% end %>
</ul>... | <%= form_for(@task) do |f| %>
<% if @task.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@task.errors.count, "error") %> prohibited this task from being saved:</h2>
<ul>
<% @task.errors.full_messages.each do |message| %>
<li><%= message %></li>
<% end %>
</ul>... | Make minutes for estimate explicit | Make minutes for estimate explicit
| HTML+ERB | mit | J3RN/time-tracker,J3RN/timesheet,J3RN/timesheet,alebruck/timesheet,alebruck/timesheet,alebruck/timesheet,J3RN/time-tracker,J3RN/time-tracker,J3RN/timesheet |
4a2e58d0b02e8f0d7eba75d1a03595db42eb42b3 | app/flows/marriage_abroad_flow/outcomes/countries/morocco/uk/partner_british/_opposite_sex.erb | app/flows/marriage_abroad_flow/outcomes/countries/morocco/uk/partner_british/_opposite_sex.erb |
Contact the [Embassy of Morocco](/government/publications/foreign-embassies-in-the-uk) before making any plans to find out about local marriage laws, including what documents you’ll need.
You also need to contact the Marriage Officer (Laadoul) in the city where you are going to get married.
^You should [get legal ad... | It's not possible for you to get married in Morocco. British nationals can only marry Moroccan nationals in Morocco.
| Update Morocco - local, British partner 1 | Update Morocco - local, British partner 1 | HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
c6742782a32e2a89c95d2f9bb1295dc540cacf15 | templates/debian/docker.sysv.erb | templates/debian/docker.sysv.erb | #!/bin/sh
### BEGIN INIT INFO
# Provides: docker
# Required-Start: $syslog $remote_fs
# Required-Stop: $syslog $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Create lightweight, portable, self-sufficient containers.
# Description:
# Docker is an open-sour... | Add Debian docker daemon SysV template | Add Debian docker daemon SysV template
| HTML+ERB | apache-2.0 | chef-cookbooks/docker,fxposter/chef-docker,chef-cookbooks/docker,chef-cookbooks/docker,fxposter/chef-docker,fxposter/chef-docker | |
05e3af6ba7a8f26fd89bbe2ed4d8589a939867d0 | app/views/kata/_starting_info.html.erb | app/views/kata/_starting_info.html.erb | <script>
'use strict';
$(() => {
cd.showStartingInfoDialog = (onOff) => {
if (cd.kata.index() === 1 && onOff !== 'off') {
cd.trafficLightsButton().click();
}
};
});
</script>
| <script>
'use strict';
$(() => {
cd.showStartingInfoDialog = (onOff) => {
if (cd.kata.index === 1 && onOff !== 'off') {
cd.trafficLightsButton().click();
}
};
});
</script>
| Update starting-info-dialog to use kata.index which is no longer a function. | Update starting-info-dialog to use kata.index which is no longer a function.
| HTML+ERB | bsd-2-clause | cyber-dojo/web,cyber-dojo/web,cyber-dojo/web,cyber-dojo/web |
1eac878248c16918a60fe9615badcfcc50b225ee | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title><%= yield :title %> | GOV.UK</title>
<%= stylesheet_link_tag 'calendar' %>
<%= csrf_meta_tags %>
<%= yield :head %>
</head>
<%# The citizen class is going to be deprecated, to be replaced with mainstream. %>
<%# Added the mainstream class in preparation for t... | <!DOCTYPE html>
<html>
<head>
<title><%= yield :title %> | GOV.UK</title>
<%= stylesheet_link_tag 'calendar' %>
<%= yield :head %>
</head>
<%# The citizen class is going to be deprecated, to be replaced with mainstream. %>
<%# Added the mainstream class in preparation for the change. %>
<body clas... | Remove CSRF meta tags from layout | Remove CSRF meta tags from layout
These cause the session cookie to be set, and we don't want that.
| HTML+ERB | mit | ministryofjustice/calendars,alphagov/calendars,alphagov/calendars,alphagov/calendars,alphagov/calendars,ministryofjustice/calendars |
bef206f44338fa41943c0ac0df78514ce5515ed1 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>GOV.UK Signon</title>
<%= csrf_meta_tags %>
<%= stylesheet_link_tag 'bootstrap.min.css', 'application.css' %>
<%= javascript_include_tag 'application', 'bootstrap-alert', 'bootstrap-button', 'bootstrap-modal', 'bootstrap-transition' %>
</head>
<body>
<div class="navbar na... | <!DOCTYPE html>
<html>
<head>
<title>GOV.UK Signon</title>
<%= csrf_meta_tags %>
<%= stylesheet_link_tag 'bootstrap', 'application' %>
<%= javascript_include_tag 'application', 'bootstrap-alert', 'bootstrap-button', 'bootstrap-modal', 'bootstrap-transition' %>
</head>
<body>
<div class="navbar navbar-fixed-... | Clean up layout - Include correct CSS files - Use correct alert styles - Remove hero styling | Clean up layout
- Include correct CSS files
- Use correct alert styles
- Remove hero styling
| HTML+ERB | mit | alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2 |
76aaf4c1adfd5a6293dd3cba8facecabec2abf02 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>BarRoulette</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<%= yield %>
</body>
</html>
| <!DOCTYPE html>
<html>
<head>
<title>BarRoulette</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<div class="container col-md-10 col-md-offset-1">... | Add container class to wrap around yield block in layout | Add container class to wrap around yield block in layout
| HTML+ERB | mit | aetweedie/bar_roulette,seronal/bar_roulette,seronal/bar_roulette,fdel15/bar_roulette,seronal/bar_roulette,fdel15/bar_roulette,aetweedie/bar_roulette,fdel15/bar_roulette,aetweedie/bar_roulette |
a70bf29fa03a5d02baf5e05c3ebb0d595af9a459 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Imdbc</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<p class="notice"><%= notice %></p>
<p class="alert"... | <!DOCTYPE html>
<html>
<head>
<title>Imdbc</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<p class="notice"><%= notice %></p>
<p class="alert"... | Update layout with if conditional | Update layout with if conditional
| HTML+ERB | mit | chi-bobolinks-2015/imdbc,chi-bobolinks-2015/imdbc,chi-bobolinks-2015/imdbc |
f57582264fa68e1cce5474c3299566477fa5f550 | app/views/admin/editions/_navigation.html.erb | app/views/admin/editions/_navigation.html.erb | <nav class="actions">
<% if edition.published? %>
<div class="public_version">
<p>View <%= link_to edition.title, public_document_url(edition) %> on public website</p>
</div>
<% end %>
<% if !edition.is_latest_edition? %>
<%= most_recent_edition_button(edition) %>
<% elsif edition.editable? %... | <nav class="actions">
<% if edition.published? %>
<div class="public_version">
<p>View <%= link_to edition.title, public_document_url(edition) %> on public website</p>
</div>
<% end %>
<% if !edition.is_latest_edition? %>
<%= most_recent_edition_button(edition) %>
<% elsif edition.editable? %... | Simplify document index link logic | Simplify document index link logic
Given we remember their filters anyway, we can just send them back and they
will be be automatically redirected.
| HTML+ERB | mit | robinwhittleton/whitehall,askl56/whitehall,YOTOV-LIMITED/whitehall,hotvulcan/whitehall,YOTOV-LIMITED/whitehall,ggoral/whitehall,YOTOV-LIMITED/whitehall,ggoral/whitehall,askl56/whitehall,hotvulcan/whitehall,hotvulcan/whitehall,robinwhittleton/whitehall,alphagov/whitehall,YOTOV-LIMITED/whitehall,robinwhittleton/whitehall... |
425f77b71dfebe944324aead9c3bfb6fcecebc95 | app/views/post_stream/page/_new_post.html.erb | app/views/post_stream/page/_new_post.html.erb | <div id="post_stream_post_new"></div>
<div class="post_stream_post post_stream_post_out" id="post_stream_post_<%= post.id %>" onmouseover="PostStream.onMouseOverPost('<%= post.id %>');" onmouseout="PostStream.onMouseOutPost('<%= post.id %>');">
<div class="new_post">
<%= render :partial => '/post_stream/page/post', :lo... | <div id="post_stream_post_new"></div>
<div class="post_stream_post post_stream_post_out" id="post_stream_post_<%= post.id %>" onmouseover="PostStream.onMouseOverPost('<%= post.id %>');" onmouseout="PostStream.onMouseOutPost('<%= post.id %>');">
<div class="new_post">
<%= render :partial => '/post_stream/page/post', :lo... | Use the correct url for a post page when sharing with facebook. | Use the correct url for a post page when sharing with facebook.
| HTML+ERB | agpl-3.0 | cykod/Webiva-post_stream,cykod/Webiva-post_stream |
c8f8983419ade23d0aa73a25c3bb8a845af26323 | app/views/faqs/index.html.erb | app/views/faqs/index.html.erb | <% content_for :breadcrumbs do %>
<%= header_breadcrumbs %>
<% end %>
<div class="mu-faqs">
<h1><%= t(:faqs) %></h1>
<div class="mu-faqs-container">
<div class="mu-faqs-content">
<%= @faqs %>
</div>
<div class="mu-faqs-navbar hidden-xs">
<nav>
<ul>
</ul>
</nav>
... | <% content_for :breadcrumbs do %>
<%= header_breadcrumbs %>
<% end %>
<div class="mu-faqs">
<h1><%= t(:faqs) %></h1>
<div class="mu-faqs-container">
<div class="mu-faqs-content">
<%= @faqs %>
</div>
<div class="mu-faqs-navbar d-none d-md-block">
<nav>
<ul>
</ul>
</n... | Hide FAQs navbar when on mobile view | Hide FAQs navbar when on mobile view
| HTML+ERB | agpl-3.0 | mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory |
3b18ffd02bb4bfb98a3c95d129dd069de4d4296e | app/views/users/show.html.erb | app/views/users/show.html.erb | This is where each individual user profile info will go. Will have to make it so that users can only see their own profile.
<p> Username: <%= @user.username%></p>
<p> Email: <%= @user.email%></p>
<p> Password: <%= @user.password%></p> | This is where each individual user profile info will go. Will have to make it so that users can only see their own profile.
<p><%= link_to "Edit", edit_user_path %></p>
<p> Username: <%= @user.username%></p>
<p> Email: <%= @user.email%></p>
<p> Password: <%= @user.password%></p> | Add clickable link that redirects users from show page to edit form | Add clickable link that redirects users from show page to edit form
| HTML+ERB | mit | benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop |
2b937c57c37b55ae684e175b55567f0e73e43e82 | docgen/template.erb | docgen/template.erb | <html>
<head>
<title>Hydra docs: <%= group['name'] %> module</title>
<link href="normalize.css" media="all" rel="stylesheet" type="text/css"/>
<link href="styles.css" media="all" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="modules">
<h2>Modules</h2>
<ul>
<% gr... | <html>
<head>
<title>Hydra docs: <%= group['name'] %> module</title>
<link href="normalize.css" media="all" rel="stylesheet" type="text/css"/>
<link href="styles.css" media="all" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="modules">
<h2>Modules</h2>
<ul>
<% gr... | Sort groups in HTML docs. | Sort groups in HTML docs.
| HTML+ERB | mit | heptal/hammerspoon,wvierber/hammerspoon,hypebeast/hammerspoon,trishume/hammerspoon,lowne/hammerspoon,asmagill/hammerspoon,junkblocker/hammerspoon,emoses/hammerspoon,chrisjbray/hammerspoon,nkgm/hammerspoon,Hammerspoon/hammerspoon,zzamboni/hammerspoon,knl/hammerspoon,wsmith323/hammerspoon,Stimim/hammerspoon,emoses/hammer... |
8686f18c93865be2580ccd5dedb362f8a0a458a2 | app/views/shared/_footer.html.erb | app/views/shared/_footer.html.erb | <footer>
<p>
<%= link_to t("layouts.application.about_contact"), about_us_path %>
<%= link_to t("layouts.application.faq"), faq_path %>
<% if signed_in? -%>
<%= link_to t("layouts.application.sign-out"), sign_out_path, :method => :delete %>
<% else -%>
<%= link_to t("layouts.application.si... | <footer>
<p>
<%= link_to t("layouts.application.about_contact"), about_us_path %>
<%= link_to t("layouts.application.faq"), faq_path %>
<% if signed_in? -%>
<%= link_to t("layouts.application.sign-out"), sign_out_path, :method => :delete %>
<% else -%>
<%= link_to t("layouts.application.si... | Fix locale links in footer to include existing GET params | Fix locale links in footer to include existing GET params
| HTML+ERB | agpl-3.0 | emdaniels/awesomebits,awesomefoundation/awesomebits,tibbon/awesomebits,emdaniels/awesomebits,awesomefoundation/awesomebits,emdaniels/awesomebits,Xelgen/awesomebits,awesomefoundation/awesomebits,Xelgen/awesomebits,Xelgen/awesomebits,awesomefoundation/awesomebits,emdaniels/awesomebits,tibbon/awesomebits,Xelgen/awesomebit... |
ad008275ac07a90d4302f55c7a27d89b1e957bb2 | website/source/_top_bar.html.erb | website/source/_top_bar.html.erb | <div class="container-outer fill">
<div class="container-inner top-bar">
<div class="content">
<a href="/" class="brand">Flynn</a>
<nav class="content nav-h pull-right">
<ul>
<li class="<%= active_nav_class("/") %>">
<a href="/">Hello</a>
</li>
... | <div class="container-outer fill">
<div class="container-inner top-bar">
<div class="content">
<a href="/" class="brand">Flynn</a>
<nav class="content nav-h pull-right">
<ul>
<li class="<%= active_nav_class("/") %>">
<a href="/">Hello</a>
</li>
... | Add about link to nav | website: Add about link to nav
[ci skip]
Signed-off-by: Jonathan Rudenberg <3692bfa45759a67d83aedf0045f6cb635a966abf@titanous.com>
| HTML+ERB | bsd-3-clause | tonicbupt/flynn,flynn/flynn,mubassirhayat/flynn,philiplb/flynn,technosophos/flynn,rikur/flynn,felixrieseberg/flynn,jzila/flynn,rikur/flynn,tonicbupt/flynn,shutej/flynn,lmars/flynn,TribeMedia/flynn,GrimDerp/flynn,benbjohnson/flynn,technosophos/flynn,tonicbupt/flynn,josephglanville/flynn,Brandywine2161/flynn,whouses/flyn... |
785c35c2b8e041e316d737fc0233d056a37d2713 | lib/generators/hyrax/templates/db/migrate/20170810190549_update_collection_type_column_options.rb.erb | lib/generators/hyrax/templates/db/migrate/20170810190549_update_collection_type_column_options.rb.erb | class UpdateCollectionTypeColumnOptions < ActiveRecord::Migration<%= migration_version %>
def change
change_column :hyrax_collection_types, :title, :string, unique: true
change_column :hyrax_collection_types, :machine_id, :string, unique: true
remove_index :hyrax_collection_types, :machine_id
add_ind... | class UpdateCollectionTypeColumnOptions < ActiveRecord::Migration<%= migration_version %>
def up
change_column :hyrax_collection_types, :title, :string, unique: true
change_column :hyrax_collection_types, :machine_id, :string, unique: true
remove_index :hyrax_collection_types, :machine_id
add_index :... | Refactor UpdateCollectionTypeColumnOptions migration template to make it reversible. | Refactor UpdateCollectionTypeColumnOptions migration template to make it reversible.
Closes #2946.
| HTML+ERB | apache-2.0 | samvera/hyrax,samvera/hyrax,samvera/hyrax,samvera/hyrax |
e637c84d25e385b3409f0e32103a22ffcc1b085e | source/partials/_footer.html.erb | source/partials/_footer.html.erb | <footer class="footer">
<div class="footer__content">
<div class="footer__column footer__column--insiter">
<h2 class="footer__logo">Insiter<span>.</span></h2>
<p>
You inside the web.
<br>
Endereço do Insiter Goiânia
</p>
</div>
<div class="footer__column">
... | <footer class="footer">
<div class="footer__content">
<div class="footer__column footer__column--insiter">
<h2 class="footer__logo">Insiter<span>.</span></h2>
<p>
You inside the web.
<br>
Endereço do Insiter Goiânia
</p>
</div>
<div class="footer__column">
... | Add title in <a> links | Add title in <a> links
| HTML+ERB | mit | insiter/insiter.io,insiter/insiter.io,insiter/insiter.io |
36aa8bb034aea5abb09911dac3a273cf38a8c637 | lib/metamodel/template/instance_methods.swift.erb | lib/metamodel/template/instance_methods.swift.erb | public extension <%= model.name %> {
var itself: String { get { return "WHERE \(Person.tableName.unwrapped).\("id".unwrapped) = \(id)" } }
func delete() {
let deleteSQL = "DELETE FROM \(Person.tableName.unwrapped) \(itself)"
executeSQL(deleteSQL)
}
mutating func update(name name: Strin... | Add instance methods sketch template to project | Add instance methods sketch template to project
| HTML+ERB | mit | MModel/MetaModel,MModel/MetaModel | |
abac7dfd99e10f8b1bbce7344c2cd18039a1cbd5 | source/apis.html.md.erb | source/apis.html.md.erb | ---
layout: api_layout
title: API docs
---
| ---
layout: api_layout
title: API docs
---
These documents are pulled in automatically from the `docs` folder in each
respective repository. Only apps which have set
[`consume_docs_folder: true` in applications.yml][yaml] will be pulled in.
[yaml]: https://github.com/alphagov/govuk-developer-docs/blob/59f31f913681279... | Write some content for the /apis.html page | Write some content for the /apis.html page
| HTML+ERB | mit | alphagov/govuk-developer-docs,alphagov/govuk-developer-docs,alphagov/govuk-developer-docs,alphagov/govuk-developer-docs |
43975ae37aff712d49f3862149b812c29a9f4f02 | deployment/puppet/cobbler/templates/snippets/ntp_to_masternode_ubuntu.erb | deployment/puppet/cobbler/templates/snippets/ntp_to_masternode_ubuntu.erb | sed -i '/^\s*tinker panic/ d' /target/etc/ntp.conf && \
sed -i '1 i tinker panic 0' /target/etc/ntp.conf && \
mkdir /target/var/lib/ntp && \
echo 0 > /target/var/lib/ntp/ntp.drift && \
in-target chown -R ntp:ntp /var/lib/ntp && \
sed -i '/^\s*server/ d' /target/etc/ntp.conf && \
echo "server $server burst iburst" >> /t... | sed -i '/^\s*tinker panic/ d' /target/etc/ntp.conf && \
sed -i '1 i tinker panic 0' /target/etc/ntp.conf && \
mkdir -p /target/var/lib/ntp && \
echo 0 > /target/var/lib/ntp/ntp.drift && \
in-target chown -R ntp:ntp /var/lib/ntp && \
sed -i '/^\s*server/ d' /target/etc/ntp.conf && \
echo "server $server burst iburst" >>... | Change way to create /var/lib/ntp from ubuntu snippet | Change way to create /var/lib/ntp from ubuntu snippet
mkdir call leaved here to backward compatibility with next
versions of ntp (which may be pre-packaged and may not create
/var/lib/ntp directory).
Change-Id: Ieb3b045f1c8b2cb36c8677ce7901c8fc71c9e2ed
Closes-Bug: 1416133
| HTML+ERB | apache-2.0 | eayunstack/fuel-library,eayunstack/fuel-library,xarses/fuel-library,ddepaoli3/fuel-library-dev,SmartInfrastructures/fuel-library-dev,ddepaoli3/fuel-library-dev,huntxu/fuel-library,stackforge/fuel-library,zhaochao/fuel-library,stackforge/fuel-library,xarses/fuel-library,stackforge/fuel-library,zhaochao/fuel-library,eayu... |
20d67487dae2a38114898d3b55d312d521c17ef4 | app/views/pay-foreign-marriage-certificates/index.html.erb | app/views/pay-foreign-marriage-certificates/index.html.erb | <%= render partial: "common/fco_dashboard", locals: {
transaction_title: 'Payment for certificates to get married abroad',
explanatory_copy: <<-HERE
Service to pay the Foreign & Commonwealth Office (FCO) for documents you need to get married abroad.
Figures on this page include only applications... | <%= render partial: "common/fco_dashboard", locals: {
transaction_title: 'Payment for certificates to get married abroad',
explanatory_copy: <<-HERE
Figures for applications processed on GOV.UK in the UK for the service to pay the Foreign & Commonwealth Office (FCO) for documents you need to get married... | Update description for cert married abroad | Update description for cert married abroad
| HTML+ERB | mit | gds-attic/limelight,gds-attic/limelight,gds-attic/limelight |
c4b01eec3c0105f2efcc47aec68a4a7a53af5738 | app/views/vehicle-licensing/_volumetrics.html.erb | app/views/vehicle-licensing/_volumetrics.html.erb | <% id ||= "volumetrics" %>
<% title ||= "Service Volumetrics" %>
<% description ||= "Service Volumetrics by month" %>
<% info_text ||= "The number of successful applications for a #{transaction_shortname}." %>
<section class="graph graph-with-labels vehicle-licensing-volumetrics">
<h1><%= title %></h1>
<aside class... | <% id ||= "volumetrics" %>
<% title ||= "Service Volumetrics" %>
<% description ||= "Service Volumetrics by month" %>
<% info_text ||= "The number of successful applications for a #{transaction_shortname}." %>
<section class="graph graph-with-labels vehicle-licensing-volumetrics">
<h1><%= title %></h1>
<aside class... | Add more text about the different types of channel | Add more text about the different types of channel
| HTML+ERB | mit | gds-attic/limelight,gds-attic/limelight,gds-attic/limelight |
453fed65652fe504b3f9fc2e59584135427ab8b2 | app/views/complete/index.html.erb | app/views/complete/index.html.erb | <p>Un numero random aparece aqui</p>
<%= [*5..30].sample %> | <div class="container jumbotron">
<div class="row">
<div class="col-md-12">
<p>Un numero random aparece aqui</p>
<%= [*5..30].sample %>
</div>
</div>
</div>
| Update style of complete page | Update style of complete page
| HTML+ERB | bsd-3-clause | oscarmcm/invite-me,oscarmcm/invite-me,oscarmcm/invite-me,oscarmcm/invite-me |
04c1bef7d9b52c047992926a791705844594c019 | app/views/layouts/myplet.html.erb | app/views/layouts/myplet.html.erb | <% if @myplet.border_type == 1 && !@nocontent %>
<ul data-role="listview" data-inset="true" class="myplet_border" style="padding: 5px;">
<li data-role="list-divider" class="myplet_border_title">
<div>
<table border="0" cellspacing="0" cellpadding="0" style="width: 100%">
<tr>
<... | <% if @myplet.border_type == 1 && !@nocontent %>
<ul data-role="listview" data-inset="true" class="myplet_border" style="padding: 5px;">
<li data-role="list-divider" class="myplet_border_title">
<div>
<table border="0" cellspacing="0" cellpadding="0" style="width: 100%">
<tr>
<... | Remove myplet edit button because it confused a few people | Remove myplet edit button because it confused a few people
| HTML+ERB | agpl-3.0 | myplaceonline/myplaceonline_rails,myplaceonline/myplaceonline_rails,myplaceonline/myplaceonline_rails |
a5e42f68e54d5730bae6f83d8fcbbc9339918847 | app/views/messages/index.html.erb | app/views/messages/index.html.erb | <h1> Hey yayayah Hey yayaya</h1>
<%= @other.name %>
<%= link_to "View Profile", @other, class: "btn btn-default wide" %>
<div id="converse">
</div>
Conversation with <%=@other.name %>
<div>
<% @conversation.messages.each do |message| %>
<% if message.user_id == @conversation.sender_id %>
<p><strong><%= User.f... | <div class="container">
<div class="row">
<div class="col-md-6 col-md-offset-3">
<h1> BootMessager</h1>
<div id="converse">
Conversation with <%=@other.name %><%= link_to "View Profile", @other, class: "btn btn-default wide" %>
<div>
<% @conversation.messages.each do |mess... | Add date and some styling to messages/index view | Add date and some styling to messages/index view
| HTML+ERB | mit | ctrutmann/bootbook,ctrutmann/bootbook,ctrutmann/bootbook |
c5282576ab8b37908458feab9724653f6d48dff5 | app/views/page/translate.html.erb | app/views/page/translate.html.erb | <%= render layout: 'static_page',
locals: { title: t('nlt.translate.title') } do %>
<div class="row">
<fieldset>
<% translate_it = link_to t('nlt.translate.link'),
'http://accounts.localeapp.com/projects/6872' %>
<%= t('nlt.translate.description_html', trans... | <%= render layout: 'static_page',
locals: { title: t('nlt.translate.title') } do %>
<% translate_it = link_to t('nlt.translate.link'),
'http://accounts.localeapp.com/projects/6872' %>
<%= t('nlt.translate.description_html', translate_it: translate_it) %>
<% end %>
| Remove bad wrapper tags in translation page | Remove bad wrapper tags in translation page
| HTML+ERB | agpl-3.0 | alabs/nolotiro.org,alabs/nolotiro.org,alabs/nolotiro.org,alabs/nolotiro.org |
98305454332c744d8623eea90a4caaf4271421c1 | app/views/pages/_sidebar.html.erb | app/views/pages/_sidebar.html.erb | <% current_committee = nil if local_assigns[:current_committee].nil? %>
<% current_page = nil if local_assigns[:current_page].nil? %>
<div class="sidebar box left">
<section>
<h2><%= t("about_section") %></h2>
<% @pages.each do |page| %>
<% if current_page == page %>
<p><%= page.title %></p>
... | <% current_committee = nil if local_assigns[:current_committee].nil? %>
<% current_page = nil if local_assigns[:current_page].nil? %>
<div class="sidebar box left">
<section>
<h2><%= t("about_section") %></h2>
<% @pages.where(parent_id: nil).each do |page| %>
<% if current_page == parent_page %>
... | Make the hierarchy of pages apprent in the sidebar | Make the hierarchy of pages apprent in the sidebar
Currently only supports two levels. Unsure if more levels are needed and how to do that in an elegant way.
| HTML+ERB | mit | cthit/chalmersit-rails,cthit/chalmersit-rails,cthit/chalmersit-rails,cthit/chalmersit-rails |
1b04169a39be420504acc978cb982ab36eb24497 | app/views/shared/_header.html.erb | app/views/shared/_header.html.erb | <nav>
<div class="logo">
<%= image_tag "logo.png" %>
</div>
<ul class="headerNav">
<li><a href="/" class='active'>Home</a></li>
<li><a href="#featured">Featured</a></li>
<li><a href="#howitworks">How It Works</a></li>
<li><a href="#partners">Partners</a></li>
<li>
<% if user_signed_i... | <nav>
<div class="logo">
<%= image_tag "logo.png" %>
</div>
<ul class="headerNav">
<li><a href="/" class='active'>Home</a></li>
<li><a href="#featured">Featured</a></li>
<li><a href="#howitworks">How It Works</a></li>
<li><a href="#partners">Partners</a></li>
<li>
<% if user_signed_i... | Fix header link back to user profile | Fix header link back to user profile
| HTML+ERB | mit | womenrising/womenrising,womenrising/womenrising,womenrising/womenrising |
16927673ac0d682331aa81f3a7a6afecbff6e418 | app/views/toilets/_index.html.erb | app/views/toilets/_index.html.erb | <% if @toilets.present? %>
<table>
<thead>
<tr>
<%= content_tag :th, "Floor", class: "optional" if @display_floors %>
<th class="optional">Gender</th>
<th class="optional">Rating</th>
<th>Restroom Location</th>
</tr>
</thead>
<tbody>
<% @toilets.each do |t... | <% if @toilets.present? %>
<table>
<thead>
<tr>
<%= content_tag :th, "Floor", class: "optional" if @display_floors %>
<th class="optional">Gender</th>
<th class="optional">Rating</th>
<th>Restroom Location</th>
</tr>
</thead>
<tbody>
<% @toilets.each do |t... | Fix toilet view and reduce number of queries. | Fix toilet view and reduce number of queries.
| HTML+ERB | mit | nerdydrew/Poo-at-CWRU,nerdydrew/Poo-at-CWRU,nerdydrew/Poo-at-CWRU |
7814c5667bb364b9545c9033b53f52a85e288a33 | app/views/users/feedback.html.erb | app/views/users/feedback.html.erb | <h1>what the kids say about <%= @user.first_name %></h1>
<p class="blog-post-meta"><%= link_to "See the feedback #{@user.username} has given", "/users/#{@user.id}/reviews" %></p>
<% @user.received_ratings.each do |review| %>
<div class="col-xs-6 col-lg-4">
<h2 style="color:darkcyan"><strong><%= r... | <h1>what the kids say about <%= @user.first_name %></h1>
<h1>average rating: <%= @user.received_ratings.average(:rating).round(2) %></h1>
<p class="blog-post-meta"><%= link_to "See the feedback #{@user.username} has given", "/users/#{@user.id}/reviews" %></p>
<% @user.received_ratings.each do |review| %>
... | Add average rating to feedback page | Add average rating to feedback page
| HTML+ERB | mit | JosephKennerson/Clutch,JosephKennerson/Clutch,JosephKennerson/Clutch |
9736b237615461cf64410040137f897c6a815838 | app/views/groups/show.html.erb | app/views/groups/show.html.erb | <div class="container">
<div>
<h4 class="center-align group-name"><%= @group.name %></h4>
</div>
<% if @group.tasks.length > 1 %>
<div id="container" style="width:100%; height:400px;" data-chart-info="<%= @data_for_chart.to_json %>"></div>
<%end%>
<div class="row">
<ul class="collection">
<% @group.ac... | <div class="container">
<div>
<h4 class="center-align group-name"><%= @group.name %></h4>
</div>
<% if @group.tasks.length > 1 %>
<div id="container" style="width:100%; height:350px;" data-chart-info="<%= @data_for_chart.to_json %>"></div>
<%end%>
<div class="row">
<ul class="collection">
<% @group.ac... | Make pie-chart a bit smaller | Make pie-chart a bit smaller
| HTML+ERB | mit | yisusans/taskmate,yisusans/taskmate,yisusans/taskmate,yisusans/taskmate |
2ac259d64c14a67d8cf1e7f7dea220f377c13b55 | app/views/trails/show.html.erb | app/views/trails/show.html.erb | <div>
<h2><%= @trail.name %></h2>
</div>
<div class="comment-form">
<%= form_for @comment do |f| %>
<p>
<%= f.text_area :content %>
<%= f.hidden_field :trail_id, :value => params[:id] %>
</p>
<p>
<%= f.submit 'Share' %>
</p>
<% end %>
</div>
<div class="river">
<%= render 'river', :comments => @... | <div>
<h2><%= @trail.name %></h2>
</div>
<div class="comment-form">
<%= form_for @comment do |f| %>
<p>
<%= f.text_area :content %>
<%= f.hidden_field :trail_id, :value => params[:id] %>
</p>
<p>
<%= f.submit 'Share' %>
</p>
<% end %>
</div>
<div class="river">
<%= render 'river', :comments => @... | Change trail list to trails list | Change trail list to trails list
| HTML+ERB | mit | zlschatz/Mountain-Chat-Rails-App,zlschatz/Mountain-Chat-Rails-App,zlschatz/Mountain-Chat-Rails-App |
53c56830c76a03e969b716b83e5376d4e6d789bf | spec/ospec/main.rb.erb | spec/ospec/main.rb.erb | <% require_asset 'spec_helper' %>
# Load all opal filters
<% Dir.glob('spec/filters/**/*.rb').each do |s| %>
<% require_asset s.sub(/^spec\//, '').sub(/\.rb$/, '') %>
<% end %>
# This file just greps for all spec files in spec/ and requires them
<% ENV['OPAL_SPEC'].split(',').each do |s| %>
<% if File.directory?(... | <% require_asset 'spec_helper' %>
# Load all opal filters
<% Dir.glob('spec/filters/**/*.rb').each do |s| %>
<% require_asset s.sub(/^spec\//, '').sub(/\.rb$/, '') %>
<% end %>
# This file just greps for all spec files in spec/ and requires them
<% ENV['OPAL_SPEC'].split(',').each do |s| %>
<% if File.directory?(... | Allow empty lines in spec/rubyspecs | Allow empty lines in spec/rubyspecs
| HTML+ERB | mit | kachick/opal,Flikofbluelight747/opal,castwide/opal,c42engineering/opal,bbatsov/opal,wied03/opal,Ajedi32/opal,Mogztter/opal,jannishuebl/opal,gausie/opal,kachick/opal,castwide/opal,fazibear/opal,gabrielrios/opal,gausie/opal,merongivian/opal,catprintlabs/opal,suyesh/opal,suyesh/opal,bbatsov/opal,fazibear/opal,iliabylich/o... |
a0a4a6a6030dea2f77eea0affdc92f0946626c5d | app/views/menus/_menu.html.erb | app/views/menus/_menu.html.erb | <% if menu %>
<nav id='<%= menu.name.try(:parameterize) %>'>
<ul class='nav nav-pills'>
<%= render partial: 'menus/link', collection: links.decorate %>
</ul>
</nav>
<% end -%> | <% if menu %>
<nav id='<%= menu.name.try(:parameterize) %>'>
<ul class='nav nav-pills'>
<%= render partial: 'menus/link', collection: links %>
</ul>
</nav>
<% end -%> | Fix links decorate on decorated object | Fix links decorate on decorated object
| HTML+ERB | mit | georgia-cms/georgia,georgia-cms/georgia,georgia-cms/georgia |
97c5e9cfad0ebea6c38f5e44830b86a78dd4eef3 | templates/allowed-command.erb | templates/allowed-command.erb | <% if @comment -%>
# <%= @comment %>
<% end -%>
<% allowed_env_variables.each do |env_variable| -%>
Defaults!<%= @command %> env_keep+=<%= @env_variable %>
<% end -%>
<%= @user_spec %> <%= @host %>=(<%= @run_as %>)<%= @nopasswd %> <%= @command %>
| <% if @comment -%>
# <%= @comment %>
<% end -%>
<% @allowed_env_variables.each do |env_variable| -%>
Defaults!<%= @command %> env_keep+=<%= @env_variable %>
<% end -%>
<%= @user_spec %> <%= @host %>=(<%= @run_as %>)<%= @nopasswd %> <%= @command %>
| Add @ to variable missed in 3f0ee3 | Add @ to variable missed in 3f0ee3
| HTML+ERB | mit | phinze/puppet-sudoers,phinze/puppet-sudoers |
0e2978f757779a6bbdf7171ecb66ed038c9fd1e8 | app/views/layouts/_navigation.html.erb | app/views/layouts/_navigation.html.erb |
<div id="navbar">
<nav>
<ul>
<li><a href="/xtf/search?smode=aboutPage">About</a></li>
<%if current_user %>
<li><%= link_to "Search Data", "/xtf/search?browse-all=yes" %></li>
<% else %>
<li><%= link_to "Search Data", "/xtf/search?browse-all=yes" %></li>
<% end %>
<li><a href="/xtf/sea... |
<div id="navbar">
<nav>
<ul>
<li><a href="/xtf/search?smode=aboutPage">About</a></li>
<%if current_user %>
<li><%= link_to "Search Data", "/xtf/search?browse-all=yes" %></li>
<% else %>
<li><%= link_to "Search Data", "/xtf/search?browse-all=yes" %></li>
<% end %>
<li><a href="/xtf/sea... | Add OC Dataportal link into header | Add OC Dataportal link into header
| HTML+ERB | mit | CDLUC3/dash-ingest,CDLUC3/dash-ingest,CDLUC3/dash-ingest |
eb4d5abdb3e17f6aeb2bdb9d67e19c37ca4e6713 | app/views/layouts/_navigation.html.erb | app/views/layouts/_navigation.html.erb | <section class="navigation">
<div class="navLinks flexRow flexJustifySpaceBetween">
<p>Logo/Name</p>
<%= link_to 'Log out', logout_path, method: :delete, class: 'logoutLink' %>
</div>
</section>
| <section class="navigation">
<div class="navLinks flexRow flexJustifySpaceBetween">
<%= link_to 'Logo/Name', dashboard_path %>
<%= link_to 'Log out', logout_path, method: :delete, class: 'logoutLink' %>
</div>
</section>
| Make logo placeholder a link to dashboard. | Make logo placeholder a link to dashboard.
| HTML+ERB | mit | garrettqmartin8/volition,usevolition/volition,usevolition/volition,garrettqmartin8/volition,usevolition/volition,usevolition/volition,garrettqmartin8/volition,garrettqmartin8/volition |
1c5aaac5398066e5163dde1a2745db8bbe9e0685 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <% content_for :head do %>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
<% end %>
<% content_for :navbar_items do %>
<% if current_user.resource_manager? %>
<%= active_link_to 'Manage guiders', users_path, wrap_tag: :li %>
<% end %>
<% end %>
<% conten... | <% content_for :head do %>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
<% end %>
<% content_for :navbar_items do %>
<% if current_user.resource_manager? %>
<%= active_link_to 'Manage guiders', users_path, wrap_tag: :li %>
<%= active_link_to 'Manage t... | Add missing link for managing tags | Add missing link for managing tags
| HTML+ERB | mit | guidance-guarantee-programme/telephone_appointment_planner,guidance-guarantee-programme/telephone_appointment_planner,guidance-guarantee-programme/telephone_appointment_planner |
bd1b2e9ae130330c8dba01066b2285c53e3abeb7 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>FoodOverflow</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<link href='http://fonts.googleapis.com/css?family=Raleway' rel='stylesheet' type='text/css'>
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awe... | <!DOCTYPE html>
<html>
<head>
<title>FoodOverflow</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<link href='http://fonts.googleapis.com/css?family=Raleway' rel='stylesheet' type='text/css'>
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awe... | Add links to Jquery, Underscore, and Backbone -Backbone depends on Underscore and Jquery -temp jquery link needed because rails loads built in jquery after -store backbone within rails later | Add links to Jquery, Underscore, and Backbone
-Backbone depends on Underscore and Jquery
-temp jquery link needed because rails loads built in jquery after
-store backbone within rails later
| HTML+ERB | cc0-1.0 | red-spotted-newts-2014/food-overflow,red-spotted-newts-2014/food-overflow |
b5624f8074c16c51a24fd8c26eea4e012954e1ac | app/views/lights/_lights_list.html.erb | app/views/lights/_lights_list.html.erb | <!-- _lights_list.erb-->
<div class="row flex-container" style="padding-left: 10px; padding-right: 10px;">
<%= label_tag "Select all", "Select all", class: "btn bar-button light-blue accent-3", id: "select_all_btn" %>
<%= label_tag "Deselect all", "Deselect all", class: "btn bar-button light-blue accent-3", id: "de... | <!-- _lights_list.erb-->
<div class="row flex-container" style="padding-left: 10px; padding-right: 10px;">
<%= label_tag "Select all", "Select all", class: "btn bar-button light-blue accent-3", id: "select_all_btn" %>
<%= label_tag "Toggle selection", "Toggle selection", class: "btn bar-button light-blue accent-3",... | Add button for toggling the selection | Add button for toggling the selection
| HTML+ERB | mit | cthit/HueIT-Rails,cthit/HueIT-Rails,cthit/HueIT-Rails,cthit/HueIT-Rails |
60836cca513c96805bcb0b7223f3601f5c70555c | app/views/responses/_response.html.erb | app/views/responses/_response.html.erb | <p><%= response.content %><br/>
Commented by: <%= response.responder_name %></p>
| <p><%= response.content %><br/>
Commented by: <%= response.responder_name %><br />
<%= render "votes/vote_count", :object => response%>
<% if !Vote.find_by(voter_id: current_user.id, votable_id: response.id, votable_type: "Response") && current_user.id != response.responder.id %>
<%= render "votes/vote_form", :objec... | Add vote count partial and vvote form partial to response partial | Add vote count partial and vvote form partial to response partial
| HTML+ERB | mit | jeder28/stack_overphil,jeder28/stack_overphil,jeder28/stack_overphil |
60039a8a67ed9a4bb5b6f3b5efaa090375efd8d5 | app/views/shared/_user_header.html.erb | app/views/shared/_user_header.html.erb | <div class="jumbotron jumbotron-about visible-sm visible-md visible-lg"
style="background-image: url(<%= user.header_image_url %>);">
<div class="container">
<div class="row">
<div class="col-md-8 col-sm-7">
<h1>
<%= user.first_name %>
... | <div class="jumbotron jumbotron-about visible-sm visible-md visible-lg"
style="background-image: url(<%= user.header_image_url %>);">
<div class="container">
<div class="row">
<div class="col-md-8 col-sm-7">
<h1>
<%= user.first_name %>
... | Remove img from user_header partial | Remove img from user_header partial
Signed-off-by: Max Fierke <0706025b2bbcec1ed8d64822f4eccd96314938d0@maxfierke.com>
| HTML+ERB | apache-2.0 | maxfierke/resumis,maxfierke/resumis,maxfierke/resumis,maxfierke/resumis |
ecca76686ea0b3af612fbbe3c46a50e89843e75a | app/views/answers/_fields.html.erb | app/views/answers/_fields.html.erb | <div class="row">
<div class="col-md-8">
<fieldset class="inputs">
<%= render :partial => 'shared/common_edition_attributes', :locals => {:f => f} %>
<div class="form-group">
<span class="form-label">
<%= f.label :body %>
</span>
<span class="form-wrapper">
... | <div class="row">
<div class="col-md-8">
<fieldset class="inputs">
<%= render :partial => 'shared/common_edition_attributes', :locals => {:f => f} %>
<%= form_group(f, :body) do %>
<%= f.text_area :body, rows: 20, disabled: @resource.locked_for_edits?, class: "input-md-10 form-control" %>
... | Convert the Answer format to use the FormHelper module | Convert the Answer format to use the FormHelper module
| HTML+ERB | mit | alphagov/publisher,alphagov/publisher,alphagov/publisher |
74c6f9cc65576887350ce2f8bd11fc157a7be61f | app/views/questions/index.html.erb | app/views/questions/index.html.erb | <div class='container'>
<% @questions.each do |q| %>
<a href="/questions/<%= q.id %>" id="<%= q.id %>">
<h2>
<%= q.title %> <%= q.updated_at %></a> <br>
points: <%= q.vote_count %>
<% if logged_in? %>
<%= render partial: "votes/vote_buttons", locals: {question: q, votable_type: "Questi... | <div class='container'>
<% @questions.each do |question| %>
<%= render partial: "questions/show", locals: {question: question} %>
<% end %>
</div>
| Change questions index to use _show partial. | Change questions index to use _show partial.
| HTML+ERB | mit | PeterJahnes/dbc-overflow,kahdojay/dbc-overflow,PeterJahnes/dbc-overflow,kahdojay/dbc-overflow,kahdojay/dbc-overflow,PeterJahnes/dbc-overflow |
845fc1b50a35ef6f9e97e4193442bcd8088689e1 | app/views/meetings/index.html.erb | app/views/meetings/index.html.erb | <div class="row">
<div class="column sm12 pl-0">
<h3>Meetings</h3>
</div>
</div>
<button class="button primary" data-modal="#new-meeting-modal">
New Meeting
</button>
<div class="row">
<div class="column sm12 md9">
<% unless @meetings.present? %>
<div class="vertical-center text-muted">
... | <div class="row">
<div class="column sm12 pl-0">
<h3>Meetings</h3>
</div>
</div>
<button class="button primary" data-modal="#new-meeting-modal">
New Meeting
</button>
<div class="row">
<div class="column sm12 md9">
<% unless @meetings.present? %>
<div class="vertical-center text-muted">
... | Fix no meetings message and icon | Fix no meetings message and icon
| HTML+ERB | mit | robyparr/adjourn,robyparr/adjourn,robyparr/adjourn |
ff111f800c201f401b111990cd1cc3fbb6828f84 | app/views/projects/index.html.erb | app/views/projects/index.html.erb | <%= navigation true %>
<ul class="navigation">
<li><%= link_to "Witchifier", witchifier_path %></li>
<li><a target="_blank" href="http://void-server.herokuapp.com/">Void</a></li>
<li><a target="_blank" href="http://linkedin365.morgan.io">A Year At LinkedIn</a></li>
</ul> | <%= navigation true %>
<ul class="navigation">
<li><%= link_to "Witchifier", witchifier_path %></li>
<li><a target="_blank" href="http://void-server.herokuapp.com/">Void</a></li>
<li><a target="_blank" href="http://ayearatlinkedin.morgan.io">A Year At LinkedIn</a></li>
</ul> | Change linked in blog url to be more friendly | Change linked in blog url to be more friendly | HTML+ERB | mit | mhgbrown/website,mhgbrown/website,mhgbrown/website |
56df8050dff5ac33ec52efb838229abd03ca073d | app/views/welcome/_cards.html.erb | app/views/welcome/_cards.html.erb | <h3 class="title"><%= t("welcome.cards.title") %></h3>
<div class="row" data-equalizer data-equalizer-on="medium">
<% @cards.find_each do |card| %>
<%= render "card", card: card %>
<% end %>
</div>
| <h3 class="title"><%= t("welcome.cards.title") %></h3>
<div class="row" data-equalizer data-equalizer-on="medium">
<% @cards.each do |card| %>
<%= render "card", card: card %>
<% end %>
</div>
| Use `@cards.each` instead of `@cards.find_each` | Use `@cards.each` instead of `@cards.find_each`
Using `find_each` ignores the scope order we set in `Widget::Card.body`,
and since we don't expect to have thousands of cards, using batches
isn't necessary.
This way we remove the "WARN Scoped order and limit are ignored, it's
forced to be batch order and batch size" m... | HTML+ERB | agpl-3.0 | AjuntamentdeCastello/consul,AyuntamientoPuertoReal/decidePuertoReal,AyuntamientoPuertoReal/decidePuertoReal,usabi/consul_san_borondon,AjuntamentdeCastello/consul,AyuntamientoMadrid/participacion,AyuntamientoMadrid/participacion,AyuntamientoPuertoReal/decidePuertoReal,consul/consul,usabi/consul_san_borondon,consul/consu... |
6c0202dbcbda3e1564607bbb1b327021a67d7174 | app/views/welcome_mailer/signup_email.html.erb | app/views/welcome_mailer/signup_email.html.erb | <h1>Welcome to Open Door</h1>
<hr>
<p><strong>Hey <%= @user.first_name %>,</strong></p>
<p>Thank you for signing up! Our application is designed to find the gaps in employment reviews and make the entire process inclusive of all aspects of culture, social identity, and opportunities.</p>
<!-- insert href here for li... | <h1>Welcome to Open Door</h1>
<hr>
<p><strong>Hey <%= @user.first_name %>,</strong></p>
<p>Thank you for signing up! Our application is designed to find the gaps in employment reviews and make the entire process inclusive of all aspects of culture, social identity, and opportunities.</p>
<!-- insert href here for li... | Add link to the main page | Add link to the main page
| HTML+ERB | mit | husseinmaad/open-div,husseinmaad/open-div,husseinmaad/open-div |
3e82e74d6937e8e47b0815aa52084af26e862947 | modules/govuk_jenkins/templates/jobs/run_rake_task.yaml.erb | modules/govuk_jenkins/templates/jobs/run_rake_task.yaml.erb | ---
- job:
name: run-rake-task
display-name: Run rake task
project-type: freestyle
description: "Run a rake task on an application."
concurrent: true
properties:
- build-discarder:
days-to-keep: 30
artifact-num-to-keep: 5
builders:
- shell: ssh deploy@$(govuk_... | ---
- job:
name: run-rake-task
display-name: Run rake task
project-type: freestyle
description: "Run a rake task on an application."
concurrent: true
properties:
- build-discarder:
days-to-keep: 30
artifact-num-to-keep: 5
builders:
- shell: ssh deploy@$(govuk_... | Add `locations_api` machine class to rake task options | Add `locations_api` machine class to rake task options
We now need to be able to run rake tasks on the `locations_api`
machines, which host the `locations-api` app.
https://trello.com/c/iy6P2rvX/2875-warm-up-locations-api-cache-5
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
d67760343633d8bbdc06d20fc366d0dfd286cd29 | _diego-upgrade-limits.html.md.erb | _diego-upgrade-limits.html.md.erb | To prevent overload, Cloud Foundry provides two major throttle configurations:
- The maximum number of starting containers that Diego can start in Cloud Foundry. This is a deployment-wide limit. The default value and ability to override this configuration depends on the version of Cloud Foundry deployed. For informati... | To prevent overload, Cloud Foundry provides two major throttle configurations:
- The maximum number of starting containers that Diego can start in Cloud Foundry. This is a deployment-wide limit. The default value and ability to override this configuration depends on the version of Cloud Foundry deployed. <%= vars.star... | Fix link Trying to fix the link. Gar. | Fix link
Trying to fix the link. Gar.
| HTML+ERB | apache-2.0 | cloudfoundry/docs-cf-admin,cf-routing/docs-cf-admin |
a10bec01e48ff74d629807b59f1a693470ff8a09 | views/manifest.erb | views/manifest.erb | CACHE MANIFEST
# <%= app_theme %> <%= app_size %> <%= app_layout %>
CACHE:
/
<%= javascript_path 'application', asset_host: false %>
<%= stylesheet_path 'application' %>
<%= stylesheet_path 'application-dark' %>
<%= image_path 'icons.png' %>
<%= image_path 'icons@2x.png' %>
<%= image_path 'jetbrains.png' %>
<%= image_... | CACHE MANIFEST
# <%= app_theme %> <%= app_size %> <%= app_layout %>
CACHE:
/
<%= javascript_path 'application', asset_host: false %>
<%= stylesheet_path 'application' %>
<%= stylesheet_path 'application-dark' %>
<%= image_path 'icons.png' %>
<%= image_path 'icons@2x.png' %>
<%= image_path 'jetbrains.png' %>
<%= image_... | Exclude external redirects from app cache fallback | Exclude external redirects from app cache fallback
| HTML+ERB | mpl-2.0 | rlugojr/devdocs,mnquintana/devdocs,yosiat/devdocs,abougouffa/devdocs,webcoding/devdocs,UIUXEngineering-Forks/devdocs,2947721120/devdocs,hyjk2000/devdocs,hyjk2000/devdocs,UIUXEngineering-Forks/devdocs,yosiat/devdocs,yosiat/devdocs,abougouffa/devdocs,webcoding/devdocs,mnquintana/devdocs,webcoding/devdocs,rlugojr/devdocs,... |
644206ad9f72de4eab7a502d468844306c7ccc78 | app/views/housing_forms/edit.html.erb | app/views/housing_forms/edit.html.erb | <h1>Editing Housing Form</h1>
<%= bootstrap_form_for @housing_form, remote: true do |f| %>
<% if @housing_form.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@housing_form.errors.count, "error") %> prohibited this housing_form from being saved:</h2>
<ul>
<% @housing_form.errors.... | <h1>Editing Housing Form</h1>
<%= bootstrap_form_for @housing_form, remote: true do |f| %>
<% if @housing_form.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@housing_form.errors.count, "error") %> prohibited this housing_form from being saved:</h2>
<ul>
<% @housing_form.errors.... | Remove lat/long from housing edit view | Remove lat/long from housing edit view
Geocoding is done automatically and the only thing a user would be editing is
the building address itself.
| HTML+ERB | mit | codefordc/districthousing,jrunningen/districthousing,jrunningen/districthousing,lankyfrenchman/dchousing-apps,jrunningen/districthousing,jrunningen/districthousing,codefordc/districthousing,MetricMike/districthousing,MetricMike/districthousing,MetricMike/districthousing,lankyfrenchman/dchousing-apps,meiao/districthousi... |
096955a31f682de9e0ea2a6dc4592b66b45d28ea | app/views/bookmarks/edit.html.erb | app/views/bookmarks/edit.html.erb | <h1>Editing bookmark</h1>
<%= form_for @bookmark, :action => 'update' do |f| %>
<p>
<%= label_tag 'Title' %><br/>
<%= f.text_field :title, :required => true %><br/><br/>
<%= label_tag 'Url' %><br/>
<%= f.text_field :url, :required => true %><br/><br/>
<%= label_tag 'Description' %><br/>
<%= f... | <h1>Editing bookmark</h1>
<%= form_for @bookmark, :action => 'update' do |f| %>
<p>
<%= label_tag 'Title' %><br/>
<%= f.text_field :title, :required => true %><br/><br/>
<%= label_tag 'Url' %><br/>
<%= f.text_field :url, :required => true %><br/><br/>
<%= label_tag 'Description' %><br/>
<%= f... | Add working back capability when updating bookmark | Add working back capability when updating bookmark
| HTML+ERB | mit | expertiza/expertiza,expertiza/expertiza,expertiza/expertiza,expertiza/expertiza |
4ec8d20a54fa9f73bc45448aa72bc3a3cb58b594 | app/views/questions/show.html.erb | app/views/questions/show.html.erb | <div class='container'>
<h2><%= @question.title %><br>
points: <%= @question.votes.count %>
<%= render partial: "votes/vote_buttons", locals: {question: @question, votable_type: "Question", votable_id: @question.id} %></h2>
<p class='question_body'><%= @question.body %></p>
<% if @question.user_id == current... | <div class='container'>
<h2><%= @question.title %><br>
points: <%= @question.votes.count %>
<% if logged_in? %>
<%= render partial: "votes/vote_buttons", locals: {question: @question, votable_type: "Question", votable_id: @question.id} %></h2>
<% end %>
<p class='question_body'><%= @question.body %></p>
... | Check whether logged in before rendering vote button. | Check whether logged in before rendering vote button.
| HTML+ERB | mit | PeterJahnes/dbc-overflow,kahdojay/dbc-overflow,PeterJahnes/dbc-overflow,PeterJahnes/dbc-overflow,kahdojay/dbc-overflow,kahdojay/dbc-overflow |
dc9a50a89fc70adf3424c6442c0c6069f2505e19 | web/views/subscriptions.erb | web/views/subscriptions.erb | <p>Welcome <%= session[:email] %>!</p>
<a href="/">Back home</a>
<p>Choose the stations for which you want to receive elevator notifications.</p>
<form action='/api/subscriptions' method='POST'>
<ul>
<% @stations.each do |station| %>
<% checked = @user.stations.include?(station) %>
<li>
<input type='... | <p>Welcome <%= session[:email] %>!</p>
<a href="/">Back home</a>
<p>Choose the stations for which you want to receive elevator notifications.</p>
<form action='/api/subscriptions' method='POST'>
<ul>
<% @stations.each do |station| %>
<% checked = @user.stations.include?(station) %>
<li>
<input type='... | Add empty line between submit and sign-out | Add empty line between submit and sign-out
| HTML+ERB | mit | ismith/elevator_alerts,ismith/elevator_alerts,ismith/elevator_alerts,ismith/elevator_alerts |
12a89a7eee98c4e0ad8270cdeb00c12529546bfe | app/views/books/index.html.erb | app/views/books/index.html.erb | <h1 id="browse-books">Browse Books <%if author_view?%> by <%=link_to @author.name, author_path(@author)%> <%end%></h1>
<%= render 'add_book_button'%>
<%unless author_view?%>
<%= render partial: 'application/search', locals: {item: @books.first}%><br>
<%end%>
<h3>
<a href="#" id="f... | <h1 id="browse-books">Browse Books <%= render 'add_book_button'%></h1>
<h3>
<a href="#" id="fiction-link">Fiction</a> |
<a href="#" id="non-fiction-link">Non-Fiction</a> |
<a href="#" id="most-borrowed-link">Most-Borrowed</a>
</h3>
<div id="books-index">
<% render 'classifications'%>
</div>
| Remove deprecated code from views | Remove deprecated code from views
| HTML+ERB | mit | kevinladkins/rails-library,kevinladkins/rails-library,kevinladkins/rails-library |
a675a119e7ed285057178417af093d7af57410df | app/views/users/index.html.erb | app/views/users/index.html.erb | <% @content_title = "People" %>
<div class="users">
<% @users.each do |user| %>
<div class="user">
<h3><%= link_to user.name, user_path(user) %></h3>
<%= user_image user, :gravatar_options => {:size => 50} %>
<div class="user_content">
<%= user.user_skills.collect{ |us| "#{us.skill} - #{Skill.level... | <% @content_title = "People" %>
<div class="users">
<% @users.each do |user| %>
<div class="user">
<h3><%= link_to user.name, user_path(user) %></h3>
<%= user_image user, :gravatar_options => {:size => 50} %>
<div class="user_content">
<%= user.user_skills.collect{ |us| "#{us.skill} - #{Skill.level... | Clean up display of user list | Clean up display of user list
| HTML+ERB | mit | markmcspadden/coding-mentors,markmcspadden/coding-mentors |
127ee5a8a85316942323a8d849b3db186dc71de5 | source/document-types.html.md.erb | source/document-types.html.md.erb | ---
layout: document_type_layout
title: Document types on GOV.UK
---
The document type describes a page on GOV.UK.
You can [download this data as CSV too](/document-types.csv). In Google Spreadsheets, use the following formula:
```
=importData("https://docs.publishing.service.gov.uk/document-types.csv")
```
| ---
layout: document_type_layout
title: Document types on GOV.UK
---
The document type describes a page on GOV.UK.
You can [download this data as CSV too](/document-types.csv) which is generated automatically based on the data in the [govuk_document_types repo][].
To view the current data in Google Spreadsheets, cop... | Add more detail to viewing information on document types | Add more detail to viewing information on document types
| HTML+ERB | mit | alphagov/govuk-developer-docs,alphagov/govuk-developer-docs,alphagov/govuk-developer-docs,alphagov/govuk-developer-docs |
353e1f28f32a4cc88ba534b0b7d74586b6ae8867 | app/views/api/conf.text.erb | app/views/api/conf.text.erb | <%
@analog_pins = get_pins(@analog_inputs, "A")
@output_pins = get_pins(@digital_outputs, "O")
@output_hash = {}
@digital_outputs.each do |o|
@output_hash[o.id] = o.id
end
-%>
YAHMS
A:<%=@analog_pins.join(",")%>
O:<%=@output_pins.join(",")%>
<%
if @base_station.xbee_rx_pin and @base_station.xbee_tx_pin
-%>
X:<%=@base... | <%
@analog_pins = get_pins(@analog_inputs, "A")
@output_pins = get_pins(@digital_outputs, "O")
@output_hash = {}
@digital_outputs.each do |o|
@output_hash[o.id] = o.id
end
-%>
YAHMS
A:<%=@analog_pins.join(",")%>
O:<%=@output_pins.join(",")%>
<%
if @base_station.xbee_rx_pin and @base_station.xbee_tx_pin
-%>
X:<%=@base... | Send time of config in response, and EOF char. | Send time of config in response, and EOF char. | HTML+ERB | artistic-2.0 | johnmckerrell/yahms-rails,johnmckerrell/yahms-rails |
8825aa91445f64031cbce043404c7a8d2c5b030a | app/views/sessions/login.html.erb | app/views/sessions/login.html.erb | <%= form_for(:user, html: {class: "small-6 small-centered columns"}) do |f| %>
<%= f.label :email %>
<%= f.text_field :email %>
<%= f.label :password %>
<%= f.text_field :password %>
<%= f.submit "Login" %>
<% end %>
| Create login erb with login form | Create login erb with login form
| HTML+ERB | mit | jjparseghian/only_chai_proto,jjparseghian/only_chai_proto,jjparseghian/only_chai_proto | |
0a236a864373304ba6d6494e02113aa54f8e24cb | cookbooks/web/templates/default/logrotate.apache.erb | cookbooks/web/templates/default/logrotate.apache.erb | # DO NOT EDIT - This file is being maintained by Chef
/var/log/apache2/*.log {
daily
missingok
rotate 28
compress
delaycompress
notifempty
create 640 root adm
sharedscripts
postrotate
/usr/bin/service apache2 reload > /dev/null
/usr/bin/rsync /var/log/apache2/access.log.2.gz ironbelly::logs/w... | # DO NOT EDIT - This file is being maintained by Chef
/var/log/apache2/*.log {
daily
missingok
rotate 28
compress
delaycompress
notifempty
create 640 root adm
sharedscripts
postrotate
/etc/init.d/apache2 reload > /dev/null
/usr/bin/rsync /var/log/apache2/access.log.2.gz ironbelly::logs/www.op... | Fix web server logrotate for Ubuntu 16.04 | Fix web server logrotate for Ubuntu 16.04
| HTML+ERB | apache-2.0 | tomhughes/openstreetmap-chef,gravitystorm/chef,gravitystorm/chef,zerebubuth/openstreetmap-chef,Firefishy/chef,openstreetmap/chef,gravitystorm/chef,gravitystorm/chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,Firefishy/chef,gravitystorm/chef,Firefishy/chef,gravitystorm/chef,openstreetmap/chef,gravitystorm/chef,tom... |
62e311c085ea40be4a82ec9ab5911b7cfe75f04b | templates/default/source.conf.erb | templates/default/source.conf.erb | # This file was generated by Chef for <%= node['fqdn'] %>
# Do NOT modify this file by hand!
<source>
<% if node['td_agent']['version'].to_i < 3 %>
type <%= @type %>
<% else %>
@type <%= @type %>
<% end %>
<% if @tag %>
tag <%= @tag %>
<% end %>
<%= @parameters -%>
</source>
| # This file was generated by Chef for <%= node['fqdn'] %>
# Do NOT modify this file by hand!
<source>
<% if node['td_agent']['version'].to_i < 3 %>
type <%= @type %>
<% else %>
@type <%= @type %>
<% end %>
<% if @tag %>
tag <%= @tag %>
<% end %>
<%= @parameters -%>
</source>
| Remove leading space for params | Remove leading space for params
When parameters are generated, a leading tab is added. For all source directives, there's an awkward tab that makes the configs difficult to read. All other ERB templates have this leading tab removed for @parameters | HTML+ERB | apache-2.0 | treasure-data/chef-td-agent,treasure-data/chef-td-agent,treasure-data/chef-td-agent |
4eab8cacfb1639fb7b3555477bbf22570b4f6dea | app/views/ties/_new.html.erb | app/views/ties/_new.html.erb | <div class="dialog_add_tie" id="new_tie">
<div class="content_add_user" >
<div class="tie_logo">
<%= link_to image_tag(@tie.receiver_subject.logo.url(:profile),
:size => "100x100",
:alt => @tie.receiver_subject.name),
@ti... | <div class="dialog_add_tie" id="new_tie">
<div class="content_add_user" >
<div class="tie_logo">
<%= link_to image_tag(@tie.receiver_subject.logo.url(:profile),
:size => "100x100",
:alt => @tie.receiver_subject.name),
@ti... | Sort relations in new tie form | Sort relations in new tie form
| HTML+ERB | mit | honorlin/social_stream,beder/social_stream,ging/social_stream,beder/social_stream,ging/social_stream,ging/social_stream,honorlin/social_stream,beder/social_stream,beder/social_stream,honorlin/social_stream,honorlin/social_stream |
098f99d780170d3f1a73e43fc024b15127d5967a | app/views/users/new.html.erb | app/views/users/new.html.erb | <div class="container">
<p id="google-login"><%= link_to "SIGN IN", "/auth/google_oauth2", id: "sign_in" %></p>
</div>
<div class="landing-content">
<h1><%= link_to "The Feels", "/auth/google_oauth2", id: "sign_in" %></h1>
<div id="explanation">
<p>Find out what you say to your </p>
<p>partner and how you... | <div class="landing-content">
<h1><%= link_to "The Feels", "/auth/google_oauth2", id: "sign_in" %></h1>
<div id="explanation">
<p>Find out what you say to your </p>
<p>partner and how you say it.</p>
<i class="fa fa-heart fa-5x fa-landing" aria-hidden="true"></i>
</div>
| Remove link for sign in, add to layout | Remove link for sign in, add to layout
| HTML+ERB | apache-2.0 | sarahikeda/TheFeels,sarahikeda/TheFeels,sarahikeda/TheFeels |
384c054ce0fb3eaa81edbac49edae5907f824552 | app/views/users/new.html.erb | app/views/users/new.html.erb | <h1>Join — Create An Account</h1>
<div class="form">
<%= error_messages_for :user -%>
<fieldset>
<% if admin? %>
<legend>New user details</legend>
<% else %>
<legend>Your details</legend>
<% end %>
<% form_for :user, :url => { :action => "create" } do |form| %>
<div>
<%= form.label :n... | <h1>Join — Create An Account</h1>
<div class="form">
<% if @user.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@user.errors.count, "error") %> prohibited this user from being saved:</h2>
<ul>
<% @user.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
... | Expand error messages for user (new) | Expand error messages for user (new)
| HTML+ERB | mit | ianfleeton/zmey,ianfleeton/zmey,ianfleeton/zmey,ianfleeton/zmey |
795f9aff8d229beb94eced2a69322279ac19d9ce | app/views/admin/policies/_form.html.erb | app/views/admin/policies/_form.html.erb | <%= form_for [:admin, document], as: :document do |form| %>
<%= form.errors %>
<%= render partial: 'standard_fields', locals: { form: form, document: document }%>
<%= render partial: 'organisation_fields', locals: { form: form, document: document } %>
<%= render partial: 'policy_area_fields', locals: { form: f... | <%= form_for [:admin, document], as: :document do |form| %>
<%= form.errors %>
<%= render partial: 'standard_fields', locals: { form: form, document: document }%>
<%= render partial: 'organisation_fields', locals: { form: form, document: document } %>
<%= render partial: 'policy_area_fields', locals: { form: f... | Include control for toggling stub status. | Include control for toggling stub status.
| HTML+ERB | mit | ggoral/whitehall,askl56/whitehall,hotvulcan/whitehall,ggoral/whitehall,alphagov/whitehall,alphagov/whitehall,YOTOV-LIMITED/whitehall,ggoral/whitehall,hotvulcan/whitehall,YOTOV-LIMITED/whitehall,YOTOV-LIMITED/whitehall,YOTOV-LIMITED/whitehall,robinwhittleton/whitehall,robinwhittleton/whitehall,robinwhittleton/whitehall,... |
fdd1ba546128c2dc3b2947b2b46f2b34cb75b7a0 | app/views/application/_flashes.html.erb | app/views/application/_flashes.html.erb | <div id="flash">
<% flash.each do |key, value| -%>
<div id="flash_<%= key %>"><%= value %></div>
<% end -%>
</div> | <div id="flash">
<% flash.each do |key, value| -%>
<div id="flash_<%= key %>" class="alert alert-info"><%= value %></div>
<% end -%>
</div> | Add styles to the flash box | Add styles to the flash box
| HTML+ERB | agpl-3.0 | osulp/Room-Reservation,osulp/Room-Reservation,osulp/Room-Reservation |
2f69dd5c6e5b667ef009667095b1329b3b779307 | app/views/hits/category_global.html.erb | app/views/hits/category_global.html.erb | <% title = @category.title %>
<% hits = @category.hits %>
<% active = @category.title %>
<% content_for :page_title, "#{title} | Universal analytics" %>
<% breadcrumb(:global_hits) %>
<div class="page-title">
<h1>
<span class="small">Universal analytics</span>
<%= title %>
</h1>
</div>
<%= render parti... | <% title = @category.title %>
<% hits = @category.hits %>
<% active = @category.title %>
<% content_for :page_title, "#{title} | Universal analytics" %>
<% breadcrumb(:global_hits) %>
<div class="page-title">
<h1>
<span class="small">Universal analytics</span>
<%= title %>
</h1>
</div>
<%= render parti... | Fix no content message for global categories | Fix no content message for global categories
| HTML+ERB | mit | alphagov/transition,alphagov/transition,alphagov/transition |
f76baecac9bea7ca56b5853e11700e28fc8fa463 | app/views/layouts/_flash.html.erb | app/views/layouts/_flash.html.erb | <flash id="flash-messages">
<% flash.each do |key, value| %>
<% key = (key == 'alert') ? 'danger' : key %>
<% key = (key == 'notice') ? 'info' : key %>
<div class="alert alert-<%= key %>"><%= value %></div>
<% end %>
</flash>
| <flash id="flash-messages">
<% flash.each do |key, value| %>
<% key = (key == 'alert') ? 'danger' : key %>
<% key = (key == 'notice') ? 'success' : key %>
<div class="animated bounceInUp alert alert-<%= key %>"><%= value %></div>
<% end %>
</flash>
| Add styles and animation on flash message element | [Template] Add styles and animation on flash message element
| HTML+ERB | mit | SpreadBlood/core,marceloboeira/spread_blood,SpreadBlood/core,marceloboeira/spread_blood,marceloboeira/spread_blood,SpreadBlood/core |
f0f9e65e0952006420680429380eeac43abdd456 | app/views/reports/detail.html.erb | app/views/reports/detail.html.erb | <% columns = @rows.first.attributes.keys
if columns.include? '_meta'
columns.delete '_meta'
meta = true
end
%>
<table>
<tr>
<% columns.each do |column| %>
<th>
<%= column.humanize %>
</th>
<% end %>
</tr>
<% @rows.each do |row| %>
<%= render partial: 'b... | <% columns = @rows.first.attributes.keys
if columns.include? '_meta'
columns.delete '_meta'
has_meta = true
end
%>
<table>
<tr>
<% columns.each do |column| %>
<th>
<%= column.humanize %>
</th>
<% end %>
</tr>
<% @rows.each do |row| %>
<% if has_meta && row['... | Update for new _meta column | Update for new _meta column
| HTML+ERB | mit | gisborne/railsconf_lydb,gisborne/railsconf_lydb,gisborne/railsconf_lydb |
87742b6f03cd9193fc57acbdc3d2615dfc78fe14 | cookbooks/bcpc-hadoop/templates/default/zk_zookeeper-env.sh.erb | cookbooks/bcpc-hadoop/templates/default/zk_zookeeper-env.sh.erb | #! /bin/bash
################################################
#
# Generated by Chef
#
################################################
export JAVA_HOME=<%= node["bcpc"]["hadoop"]["java"] %>
export ZOO_LOG_DIR=/var/log/zookeeper
export ZOO_PID_DIR=/var/run/zookeeper
export ZOOPIDFILE=$ZOO_PID_DIR/zookeepe... | #! /bin/bash
################################################
#
# Generated by Chef
#
################################################
export JAVA_HOME=<%= node["bcpc"]["hadoop"]["java"] %>
export ZOO_LOG_DIR=<%= node[:bcpc][:hadoop][:zookeeper][:log_dir] %>
export ZOO_PID_DIR=/var/run/zookeeper
export Z... | Change export ZOO_LOG_DIR to use node attribute | Change export ZOO_LOG_DIR to use node attribute
| HTML+ERB | apache-2.0 | NinjaLabib/chef-bach,bloomberg/chef-bach,bloomberg/chef-bach,kiiranh/chef-bach,leochen4891/chef-bach,amithkanand/chef-bach,leochen4891/chef-bach,http-418/chef-bach,cbaenziger/chef-bach,NinjaLabib/chef-bach,kiiranh/chef-bach,leochen4891/chef-bach,cbaenziger/chef-bach,kiiranh/chef-bach,NinjaLabib/chef-bach,pu239ppy/chef-... |
cbfa431e14c36ce7345adcf1a2e19df7437b2dd1 | modules/govuk_jenkins/templates/jobs/build_fpm_package.yaml.erb | modules/govuk_jenkins/templates/jobs/build_fpm_package.yaml.erb | ---
- scm:
name: build_fpm_package
scm:
- git:
url: git@github.com:alphagov/packager.git
branches:
- master
- job:
name: build_fpm_package
display-name: Build fpm package
project-type: freestyle
properties:
- build-discarder:
day... | ---
- scm:
name: build_fpm_package
scm:
- git:
url: https://github.com/alphagov/packager
branches:
- master
- job:
name: build_fpm_package
display-name: Build fpm package
project-type: freestyle
properties:
- build-discarder:
day... | Clone alphagov/packager over https not ssh | Clone alphagov/packager over https not ssh
The build_fpm_package job was failing due to Jenkins being unable to
authenticate to Github over SSH. As alphagov/packager is a public repo,
just clone it over HTTPS.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
477853ccf9d701ceeaa40bc1cba8703efea02019 | modules/akamai_logs/templates/check_akamai_logs.sh.erb | modules/akamai_logs/templates/check_akamai_logs.sh.erb | #!/bin/sh
#
# Check that we have recent downloads.
# Count the number of log files less than a day old that are over 10M in size
num_files=$(find <%= @local_logs_dir %>/ -name 'gdslog*.gz' -mtime -1 -size +10M | wc -l)
if [ "$num_files" -lt "4" ]; then
echo "ERROR: Fewer downloaded Akamai logs than expected."
exi... | #!/bin/sh
#
# Check that we have recent downloads.
# Count the number of log files less than a day old that are over 10M in size
num_files=$(find <%= @local_logs_dir %>/ -name 'gdslog*.gz' -mtime -1.2 -size +10M | wc -l)
if [ "$num_files" -lt "4" ]; then
echo "ERROR: Expected 4 downloaded Akamai logs, only found $n... | Increase time interval for Akamai logs nagios check | Increase time interval for Akamai logs nagios check
Prevent Nagios alert by providing a bit of a buffer around the time
interval.
Also add the actual number of logs found in the error message.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
318557c6c5d928a1d4221d8e5354febc1cbbbeeb | app/views/orders/index.html.erb | app/views/orders/index.html.erb | <div class="item-show">
<div class="individual-item-show">
<% current_user %>
<% if !current_user.orders.blank? %>
<% current_user.orders.each do |order| %>
<p><div><%= link_to order.created_at.strftime("%m/%d/%Y at %I:%M%p"), order_path(user_id: @user.id, id: order.id) %></div></p>
<% ... | <div class="item-show">
<div class="individual-item-show">
<% current_user %>
<% if !current_user.orders.blank? %>
<% current_user.orders.each do |order| %>
<p><div><%= link_to order.created_at.strftime("%m/%d/%Y at %I:%M%p"), order_path(user_id: @user.id, id: order.id) %></div></p>
<% ... | Add message for when user clicks order page and user has no existing orders | Add message for when user clicks order page and user has no existing orders
| HTML+ERB | mit | benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop |
349225aa1759ec10fad847be1e93df06e65a2ef9 | app/views/events/_form.html.erb | app/views/events/_form.html.erb | <%= form_for @event, html: {class: 'row'} do |f| %>
<div class="event-form-inputs col-sm-9">
<div class="form-group">
<%= f.label :activity_id %>
<%= f.select :activity_id, options_from_collection_for_select(@activities, :id, :name, f.object.activity_id), {}, class: 'form-control' %>
</div>
<... | <%= form_for @event, html: {class: 'row'} do |f| %>
<div class="event-form-inputs col-sm-9">
<div class="form-group">
<%= f.label :activity_id %>
<%= f.select :activity_id, options_from_collection_for_select(@activities, :id, :name, f.object.activity_id), {}, class: 'form-control' %>
</div>
<... | Swap Save/Close buttons for clarity | Swap Save/Close buttons for clarity
| HTML+ERB | mit | dncrht/mical,dncrht/mical,dncrht/mical,dncrht/mical |
2257f665de60e454e2fd2fa550fc9cd24fd468b4 | app/views/events/index.html.erb | app/views/events/index.html.erb | <h1>List of all my events</h1>
<ul>
<% @events.each do |event| %>
<!-- need teacher.html.erb template -->
<li><%= link_to event.created_at, event_path(event), {class:"#"} %></li>
<%end%>
</ul>
| <h1>List of all my events</h1>
<ul>
<% @events.each do |event| %>
<!-- need teacher.html.erb template -->
<li><%= link_to event.created_at, event_path(event), {class:"#"} %></li>
<%end%>
</ul>
| Add drone video stream to window in events show page | Add drone video stream to window in events show page
| HTML+ERB | mit | ShawnTe/guardian,ShawnTe/guardian,ShawnTe/guardian |
d3cea4708c4f13864e451766dbebe2ad8305ea33 | app/views/topics/index.html.erb | app/views/topics/index.html.erb | <div>
<nav>
<div class="nav-wrapper">
<div class="brand-logo center">Tweet²</div>
</div>
</nav>
<div class="center">
<h5>
<a href="/topics/all" class="waves-effect waves-light btn-large">
Start game
</a>
</h5>
</div>
<div>
<div class="collection with-header">... | <div>
<nav>
<div class="nav-wrapper">
<div class="brand-logo center">Tweet²</div>
</div>
</nav>
<div class="center">
<h5>
<a href="/topics/all" class="waves-effect waves-light btn-large">
Start game
</a>
</h5>
</div>
<div>
<div class="collection with-header">... | Create navbar header, and centered elements | Create navbar header, and centered elements
| HTML+ERB | mit | tweet-squared/Tweets-Squared-App,tweet-squared/Tweets-Squared-App,tweet-squared/Tweets-Squared-App |
550a79fb2c15fd281b01bfc46d5ab91a8da1dbcf | www/pages/index.erb | www/pages/index.erb | <div class="col-md-6">
<pre><code class="ruby"># cat config.ru
require "roda"
class App < Roda
use Rack::Session::Cookie, :secret => ENV['SECRET']
route do |r|
# GET / request
r.root do
r.redirect "/hello"
end
# /hello branch
r.on "hello" do
# GET /hello/world request
r.get... | <div class="col-md-6">
<pre><code class="ruby"># cat config.ru
require "roda"
class App < Roda
use Rack::Session::Cookie, :secret => ENV['SECRET']
route do |r|
# GET / request
r.root do
r.redirect "/hello"
end
# /hello branch
r.on "hello" do
# GET /hello/world request
r.get... | Add toolkit to description in front page graphic | Add toolkit to description in front page graphic
| HTML+ERB | mit | janko-m/roda,Freaky/roda,celsworth/roda,mikz/roda,celsworth/roda,jeremyevans/roda,janko-m/roda,kematzy/roda,johan--/roda,Freaky/roda,johan--/roda,kematzy/roda,johan--/roda,janko-m/roda,Freaky/roda,mikz/roda,mikz/roda,jeremyevans/roda,jeremyevans/roda,kematzy/roda,duykhoa/roda,duykhoa/roda,celsworth/roda,duykhoa/roda |
f0a1e9ed8e85a06e5a7f5fbc3d70d1eea3890245 | app/views/hyrax/base/_file_manager_bulk_form.html.erb | app/views/hyrax/base/_file_manager_bulk_form.html.erb | <div id="bulk-actions" class="well">
<h2>Bulk Actions</h2>
<label>Mark As:</label>
<% hints = [["Single Page", :''], ["Non-Paged", :"non-paged"], ["Facing pages",:"facing-pages"]] %>
<% hints.each do |label, val| %>
<div class="radio">
<%= content_tag :label do %>
<%= tag :input, name: "bulk_h... | <div id="bulk-actions" class="well">
<h2>Bulk Actions</h2>
<label>Mark As:</label>
<% hints = [["Single Page", :''], ["Non-Paged", :"non-paged"], ["Facing pages",:"facing-pages"]] %>
<% hints.each do |label, val| %>
<div class="radio">
<%= content_tag :label do %>
<%= tag :input, name: "bulk_h... | Fix bulk download as Zip. | Fix bulk download as Zip.
| HTML+ERB | apache-2.0 | pulibrary/plum,pulibrary/plum,pulibrary/plum,pulibrary/plum |
47a5c71ffa0986d823e486039e1d2660378a53a6 | config/templates/gitlab-shell/ruby_script_wrapper.erb | config/templates/gitlab-shell/ruby_script_wrapper.erb | #!<%= install_dir %>/embedded/bin/ruby
# Fix the PATH so that gitlab-shell can find git-upload-pack and friends.
ENV['PATH'] = '<%= install_dir %>/bin:<%= install_dir %>/embedded/bin:' + ENV['PATH']
<%= script %>
| #!<%= install_dir %>/embedded/bin/ruby --disable-gems
# Fix the PATH so that gitlab-shell can find git-upload-pack and friends.
ENV['PATH'] = '<%= install_dir %>/bin:<%= install_dir %>/embedded/bin:' + ENV['PATH']
<%= script %>
| Disable RubyGems for gitlab-shell to increase performance | Disable RubyGems for gitlab-shell to increase performance
By default, RubyGems is enabled, which causes the Ruby interpreter
to load 600+ additional files at startup when gitlab-shell is
designed not to use any external gems.
| HTML+ERB | apache-2.0 | gitlabhq/omnibus-gitlab,gitlabhq/omnibus-gitlab,gitlabhq/omnibus-gitlab,gitlabhq/omnibus-gitlab |
38f69d1955e4382d57c68c7d69be7524d17666be | frontend/app/views/spree/shared/_copyright.html.erb | frontend/app/views/spree/shared/_copyright.html.erb | <div class="border-bottom border-top">
<div class="container">
<div class="d-flex flex-column flex-lg-row align-items-center justify-content-center py-3 footer-spree-copyright">
<div>Designed and developed by</div>
<div class="mb-1 mb-lg-0">
<%= link_to 'https://sparksolutions.co/', target: :b... | <div class="border-bottom border-top">
<div class="container">
<div class="d-flex flex-column flex-lg-row align-items-center justify-content-center py-3 footer-spree-copyright">
<div>Designed and developed by</div>
<div class="mb-1 mb-lg-0">
<%= link_to 'https://sparksolutions.co/', target: :b... | Use dynamic year in footer 📅 | Use dynamic year in footer 📅 | HTML+ERB | bsd-3-clause | ayb/spree,ayb/spree,imella/spree,imella/spree,imella/spree,ayb/spree,ayb/spree |
47380c686e0a8cd25cc6aadf312b52049998edff | source/manual/dictionary.html.erb | source/manual/dictionary.html.erb | ---
title: Dictionary
parent: /manual.html
layout: false
source_url: https://github.com/alphagov/govuk-developer-docs/blob/master/data/dictionary.yml
---
<% content_for :sidebar do %>
<ul>
<li>
<a href='/manual.html'>‹ Manual</a>
<%= link_to 'Dictionary', '/manual/dictionary.html' %>
<ul... | ---
title: Dictionary
parent: /manual.html
layout: false
section: Manual
source_url: https://github.com/alphagov/govuk-developer-docs/blob/master/data/dictionary.yml
---
<% content_for :sidebar do %>
<ul>
<li>
<a href='/manual.html'>‹ Manual</a>
<%= link_to 'Dictionary', '/manual/dictionary.ht... | Move the Dictionary to the Manual section | Move the Dictionary to the Manual section
| HTML+ERB | mit | alphagov/govuk-developer-docs,alphagov/govuk-developer-docs,alphagov/govuk-developer-docs,alphagov/govuk-developer-docs |
549482747993ec3066f10d0238a7ead5cd0d92c0 | source/layouts/_github_follow.erb | source/layouts/_github_follow.erb | <a class="github-button" href="https://github.com/rossta" data-style="mega" aria-label="Follow @rossta on GitHub">Follow @rossta</a>
<% content_for :javascripts do %>
<script async defer id="github-bjs" src="https://buttons.github.io/buttons.js"></script>
<% end %>
| Add github follow button partial | Add github follow button partial
| HTML+ERB | mit | rossta/rossta.github.com,rossta/rossta.github.com,rossta/rossta.github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.