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 |
|---|---|---|---|---|---|---|---|---|---|
d67cd975836de90d4870a3824efbf35afdd1f605 | app/views/apipony/documentation/_endpoint.html.erb | app/views/apipony/documentation/_endpoint.html.erb | <h5 class="m-b-2">
<a href="<%= endpoint.console_path %>" class="method">
<i class="fa fa-terminal"></i>
</a>
<%= render "method", endpoint: endpoint %>
</h5>
<% if endpoint.description %>
<div class="text-muted m-b-2">
<%= endpoint.description %>
</div>
<% end %>
<% if endpoint.request || endpoint.... | <h5 class="m-b-2">
<a href="<%= endpoint.console_path %>" class="method">
<i class="fa fa-terminal"></i>
</a>
<%= render "method", endpoint: endpoint %>
</h5>
<% if endpoint.description %>
<div class="text-muted m-b-2">
<%= endpoint.description %>
</div>
<% end %>
<% if endpoint.request? %>
<%= re... | Fix response and request conditions for endpoint partial | Fix response and request conditions for endpoint partial
| HTML+ERB | mit | droptheplot/apipony,droptheplot/apipony,droptheplot/apipony |
b2d1b0f3889a684bfd1821cbe8ce71892de15466 | app/views/settings/_redmine_flowdock.html.erb | app/views/settings/_redmine_flowdock.html.erb | <p>Get your Flowdock API tokens from the <a href="https://www.flowdock.com/help/redmine" target="_blank">help page</a>. The tokens are specific to a single Flowdock flow.</p>
<% Project.active.each do |project| %>
<p>
<%= content_tag(:label, project.name) %>
<%= text_field_tag("settings[api_token][#{project.identi... | <p>Get your Flowdock API tokens from the <a href="https://www.flowdock.com/help/redmine" target="_blank">help page</a>. The tokens are specific to a single Flowdock flow. You can send updates to multiple flows by adding multiple tokens that are separated with a comma.</p>
<% Project.active.each do |project| %>
<p>
<... | Support sending updates to multiple flows | Support sending updates to multiple flows
The API supports sending messages to multiple flows with a comma-separated token list in the URL. Remove the settings UI size limitation and update instructions.
| HTML+ERB | mit | flowdock/redmine_flowdock,flowdock/redmine_flowdock |
149ccd114533d7525f41b40b54f0a4e9e9009e14 | lib/vedeu/cli/templates/application/config/configuration.erb | lib/vedeu/cli/templates/application/config/configuration.erb | # frozen_string_literal: true
Vedeu.configure do
# see http://rubydoc.info/gems/vedeu/file/docs/configuration.md
# base_path
# colour_mode 16_777_216 # Some terminals don't render colour at all when this
# value is not one of 8, 16, 256 or 16777216.
# compression false
# debug!... | # frozen_string_literal: true
Vedeu.configure do
# see http://rubydoc.info/gems/vedeu/file/docs/configuration.md
# base_path
# colour_mode 16_777_216 # Some terminals don't render colour at all when this
# value is not one of 8, 16, 256 or 16777216.
# compression false
# debug!... | Fix temporary directory path for Windows; | Fix temporary directory path for Windows;
Also, use single quotes for strings.
| HTML+ERB | mit | gavinlaking/vedeu_cli,gavinlaking/vedeu_cli |
59fdeda371e0a36e0646d35fb675263c8a1d57c9 | vendor/plugins/foods/app/views/foods/_food.html.erb | vendor/plugins/foods/app/views/foods/_food.html.erb | <div class="food_item">
<div class="food_name_description">
<h4><%= food.name %></h4>
<%= image_tag "/theme/images/icon_housemade.gif", :class => "legend_icon" if food.housemade -%>
<%= image_tag "/theme/images/icon_vegan.gif", :class => "legend_icon" if food.vegan -%>
<%= image_tag "/theme/images/icon_spic... | <div class="food_item">
<div class="food_name_description">
<h4><%= food.name %></h4>
<%= image_tag "/theme/images/icon_housemade.gif", :class => "legend_icon" if food.housemade -%>
<%= image_tag "/theme/images/icon_vegan.gif", :class => "legend_icon" if food.vegan -%>
<%= image_tag "/theme/images/icon_spic... | Check for nil instead of 0 for no price field | Check for nil instead of 0 for no price field
| HTML+ERB | mit | mdoyle13/haymarket-ref,mdoyle13/haymarket-ref,mdoyle13/haymarket-ref,mdoyle13/haymarket-ref |
48ed7565dabbbc4c15e69530ed4bf97445a84301 | app/views/layouts/pdf_header.html.erb | app/views/layouts/pdf_header.html.erb | <%-# Fedena
#Copyright 2010 Foradian Technologies Private Limited
#
#This product includes software developed at
#Project Fedena - http://www.projectfedena.org/
#
#Licensed under the Apache License, Version 2.0 (the "License");
#you may not use this file except in compliance with the License.
#Y... | <%-# Fedena
#Copyright 2010 Foradian Technologies Private Limited
#
#This product includes software developed at
#Project Fedena - http://www.projectfedena.org/
#
#Licensed under the Apache License, Version 2.0 (the "License");
#you may not use this file except in compliance with the License.
#You may obtain a copy of ... | Fix for wickedpdf image tag for windows - srihari | Fix for wickedpdf image tag for windows - srihari
git-svn-id: 6fb0b63dee43263dbd2534f09c80ea129ca0b2b4@2464 1b8ff446-76f8-11e0-a33c-ba5893e5f458
| HTML+ERB | mit | arvindvyas/fedena-upgradation,rblindore/somya,SumitMunot/fedena-upgradation,tachyons/somya,arvindvyas/fedena-upgradation,SumitMunot/fedena-upgradation,SumitMunot/fedena-upgradation,rblindore/somya,tachyons/somya,arvindvyas/fedena-upgradation,tachyons/somya,rblindore/somya,tachyons/somya,SumitMunot/fedena-upgradation,ar... |
b232df20a6da9ea24d4299858014b2cee192246d | app/views/amcharts/_legend.erb | app/views/amcharts/_legend.erb | var legend = new AmCharts.AmLegend;
<% builder.render_settings(legend, 'legend') %>
<%= yield(legend, 'legend') rescue nil %>
<% builder.render_listeners(legend, 'legend') %>
chart.addLegend(legend, <%= builder.to_js(div) %>); | var legend = new AmCharts.AmLegend;
<% builder.render_settings(legend, 'legend') %>
<%= yield(legend, 'legend') rescue nil %>
<% builder.render_listeners(legend, 'legend') %>
<% if div.present? %>
chart.addLegend(legend, <%= builder.to_js(div) %>);
<% else %>
chart.addLegend(legend);
<% end %>
| Fix legend positioning when legend_div is not specified | Fix legend positioning when legend_div is not specified
| HTML+ERB | mit | talentnest/amcharts.rb,dvandersluis/amcharts.rb,dvandersluis/amcharts.rb,talentnest/amcharts.rb,talentnest/amcharts.rb,dvandersluis/amcharts.rb |
87b645352bc50535905b20ef9e04dd42076dc3ab | app/views/events/show.html.erb | app/views/events/show.html.erb | <%= render "shared/nav" %>
<% @event.event_instances&.upcoming&.each_slice(3) do |instances| %>
<div class="row">
<% instances.each do |instance| %>
<div class="col s12 m4">
<div class="card">
<div class="card-image">
<img src="<%= instance.image_url %>">
<span class="card-t... | <%= render "shared/nav" %>
<% @event.event_instances&.upcoming&.each_slice(3) do |instances| %>
<div class="row">
<% instances.each do |instance| %>
<div class="col s12 m4">
<div class="card">
<div class="card-image">
<img src="<%= instance.image_url.blank? ? 'https://res.cloudinary.c... | Use the default image for subgroups of event instances | Use the default image for subgroups of event instances
| HTML+ERB | mit | berlin-international-community-church/church-database,berlin-international-community-church/church-database,berlin-international-community-church/church-database,berlin-international-community-church/church-database |
5240dc5511ecc48e283b0fb4bccecb09347f1309 | app/views/users/index.html.erb | app/views/users/index.html.erb | <% provide(:title, 'Användare') %>
<h1>Användare</h1>
<%= will_paginate @users, previous_label: t("föregående"), next_label: t("nästa")%>
<ul class="users">
<% @users.each do |user| %>
<li>
<span>
<span><%= user.id %></span>
<span><%= link_to user.name, user %></span>
<span><% if use... | <% provide(:title, 'Användare') %>
<h1>Användare</h1>
<%= will_paginate @users, previous_label: t("föregående"), next_label: t("nästa")%>
<ul class="users">
<% @users.each do |user| %>
<li>
<span>
<span><%= user.id %></span>
<span><%= link_to user.name, user %></span>
<span><% if use... | Add nbr of books at the users list | Add nbr of books at the users list
| HTML+ERB | mit | johan-andersson01/biblion,johan-andersson01/biblion,johan-andersson01/biblion,johan-andersson01/biblion |
d1851fd2eea600fab38da9f4f0f882abf92c061e | pages/agent/_apt_locations.md.erb | pages/agent/_apt_locations.md.erb | * Configuration: `/etc/buildkite-agent/buildkite-agent.cfg`
* Hooks: `/etc/buildkite-agent/hooks/`
* Builds: `/var/buildkite-agent/builds/`
* Logs, depending on your system:
- `journalctl -f -u buildkite-agent` (systemd)
- `/var/log/upstart/buildkite-agent.log` (upstart)
- `/var/log/buildkite-agent.log` (older sy... | * Configuration: `/etc/buildkite-agent/buildkite-agent.cfg`
* Hooks: `/etc/buildkite-agent/hooks/`
* Builds: `/var/lib/buildkite-agent/builds/`
* Logs, depending on your system:
- `journalctl -f -u buildkite-agent` (systemd)
- `/var/log/upstart/buildkite-agent.log` (upstart)
- `/var/log/buildkite-agent.log` (olde... | Update apt location for builds | Update apt location for builds
| HTML+ERB | mit | buildkite/docs,buildkite/docs,buildkite/docs,buildkite/docs |
4a614734aff338956e493b64ba83476720de74bc | app/views/errors/bare_domain.html.erb | app/views/errors/bare_domain.html.erb | <div class="page-header">
<h1>Boom! Resumis.</h1>
</div>
<div class="row">
<div class="col-sm-6">
<h4>List of Sites</h4>
<ul>
<% @users.each do |u| %>
<li><%= link_to (u.full_name ? u.full_name : u.subdomain), "#{request.protocol}#{tenant_instance_hostname(u)}/" %> - <%= tenant_instance_hostname(... | <div class="page-header">
<h1>Boom! Resumis.</h1>
</div>
<div class="row">
<div class="col-sm-6">
<h4>List of Sites</h4>
<ul>
<% @users.each do |u| %>
<li><%= link_to (u.full_name ? u.full_name : u.subdomain), "#{request.protocol}#{tenant_instance_hostname(u)}/" %> - <%= tenant_instance_hostname(... | Add sign up link to bare domain index page | Add sign up link to bare domain index page
Signed-off-by: Max Fierke <0706025b2bbcec1ed8d64822f4eccd96314938d0@maxfierke.com>
| HTML+ERB | apache-2.0 | maxfierke/resumis,maxfierke/resumis,maxfierke/resumis,maxfierke/resumis |
486bb419307fb7fb0f931819b55f32161449235e | app/views/policies/_case_studies.html.erb | app/views/policies/_case_studies.html.erb | <aside id="case-studies">
<h1>Case studies</h1>
<ul>
<% document.case_studies.each do |case_study| %>
<%= content_tag_for(:li, case_study) do %>
<%= link_to case_study.title, case_studies_path(case_study) %>
<% end %>
<% end %>
</ul>
</aside>
| <aside id="case-studies">
<h1>Case studies</h1>
<ul>
<% document.case_studies.each do |case_study| %>
<%= content_tag_for(:li, case_study) do %>
<%= link_to case_study.title, public_document_path(case_study) %>
<% end %>
<% end %>
</ul>
</aside>
| Use correct document helper to generate case study link | Use correct document helper to generate case study link
| HTML+ERB | mit | robinwhittleton/whitehall,ggoral/whitehall,askl56/whitehall,askl56/whitehall,askl56/whitehall,robinwhittleton/whitehall,hotvulcan/whitehall,askl56/whitehall,alphagov/whitehall,ggoral/whitehall,robinwhittleton/whitehall,hotvulcan/whitehall,YOTOV-LIMITED/whitehall,robinwhittleton/whitehall,hotvulcan/whitehall,YOTOV-LIMIT... |
aeb0d7ca34d92bef8fb93b5d0617717991933f87 | app/views/spree/devices/activate.html.erb | app/views/spree/devices/activate.html.erb | <div class="col-md-6 col-md-offset-3">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Activate Device</h3>
</div>
<div class="panel-body">
<%= form_tag nil, { class: 'form-horizontal' } do %>
<div class="form-group">
<%= label_tag 'activation_token', 'Act... | <ol class="breadcrumb">
<li><%= link_to 'Dashboard', '/dashboard' %></li>
<li class="active">Activate Device</li>
</ol>
<div class="col-md-6 col-md-offset-3">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Activate Device</h3>
</div>
<div class="panel-body"... | Add breadcrumb to activate page. | Add breadcrumb to activate page.
| HTML+ERB | bsd-2-clause | brewbit/brewbit-dashboard,brewbit/brewbit-dashboard,brewbit/brewbit-dashboard |
e61ba3cd329b4532cfe0c9f517c385961d107b91 | core/app/views/home/pages/partials/_easy_integration.html.erb | core/app/views/home/pages/partials/_easy_integration.html.erb | <div class="publisher-container">
<div class="publisher-content-area">
<h1 class="publisher-content-heading">Free & easy to integrate</h1>
<p>Just use one of our plugins for blogging platforms. Alternatively, drop a single line of code on your page, and you’re done! We will automatically match the look and f... | <div class="publisher-container">
<div class="publisher-content-area">
<h1 class="publisher-content-heading">Free & easy to integrate</h1>
<p>Just use one of our plugins for blogging platforms. Alternatively, drop a single line of code on your page, and you’re done! We will automatically match the look and f... | Add CTA area on easy integration | Add CTA area on easy integration
| HTML+ERB | mit | daukantas/factlink-core,Factlink/factlink-core,daukantas/factlink-core,daukantas/factlink-core,Factlink/factlink-core,daukantas/factlink-core,Factlink/factlink-core,Factlink/factlink-core |
a34ef7ba10f804e3271e59604b94d07d377f36c7 | files/gitlab-cookbooks/gitlab/templates/default/sv-unicorn-control-h.erb | files/gitlab-cookbooks/gitlab/templates/default/sv-unicorn-control-h.erb | #!/bin/sh
<%= render("make_metrics_rundir.erb") %>
echo "Received HUP from runit, sending to process group (-PID)"
kill -1 -- -$(cat /opt/gitlab/service/<%= @options[:service] %>/supervise/pid)
| Add HUP script to unicorn runit control. | Add HUP script to unicorn runit control.
Override the default `HUP` handling for unicorn. Include the metrics
directory setup/cleanup to avoid stale metrics files when reloading
unicorn.
| HTML+ERB | apache-2.0 | gitlabhq/omnibus-gitlab,gitlabhq/omnibus-gitlab,gitlabhq/omnibus-gitlab,gitlabhq/omnibus-gitlab | |
25adb4b66c0c831c6e93077c3c0b777cd5e94759 | app/views/profile/myprofile.js.erb | app/views/profile/myprofile.js.erb | $('#point-summary').html('<%= j render 'point_summary' %>');
<%= render 'point_summary.js.erb' %>
| $('#point-summary').html('<%= j render 'point_summary.html' %>');
<%= render 'point_summary.js' %>
| Fix display of donut charts | Fix display of donut charts
| HTML+ERB | apache-2.0 | giancorzo/capitan,giancorzo/capitan,giancorzo/capitan |
fec4f1174869f704555d3bef20e5e6e90f543150 | app/views/settings/_index.html.erb | app/views/settings/_index.html.erb | <%= location(link_to(image_tag("btn/btn_config.png", :class => "btn_config")+t('account.one')+": "+t('account.settings')))%>
<br class="clearfloat" />
<div class="space_center">
</div>
<h2><%= t('settings.for')%> <%= current_subject.name %></h2>
<div class="space_center">
</div>
<%= render :partial => "notifications" %... | <%= location(link_to(image_tag("btn/btn_config.png", :class => "btn_config")+t('account.one')+": "+t('account.settings')))%>
<br class="clearfloat" />
<div class="space_center">
</div>
<h2><%= t('settings.for')%> <%= current_subject.name %></h2>
<div class="space_center">
</div>
<%= render :partial => "notifications" %... | Fix for api setting crashing when representing a group | Fix for api setting crashing when representing a group
| HTML+ERB | mit | beder/social_stream,ging/social_stream,beder/social_stream,ging/social_stream,beder/social_stream,honorlin/social_stream,honorlin/social_stream,beder/social_stream,honorlin/social_stream,ging/social_stream,honorlin/social_stream |
4410e8b71cae55972a61b251bd39979b9ff77d74 | cookbooks/apache/templates/default/ssl.erb | cookbooks/apache/templates/default/ssl.erb | # DO NOT EDIT - This file is being maintained by Chef
SSLProtocol All -SSLv2 -SSLv3
SSLHonorCipherOrder On
SSLCipherSuite <%= node[:ssl][:ciphers] %>
<% if node[:lsb][:release].to_f < 16.04 -%>
SSLCertificateChainFile /etc/ssl/certs/letsencrypt.pem
<% end -%>
SSLUseStapling On
SSLStaplingResponderTimeout 5
SSLStapl... | # DO NOT EDIT - This file is being maintained by Chef
SSLProtocol All -SSLv2 -SSLv3
SSLHonorCipherOrder On
SSLCipherSuite <%= node[:ssl][:ciphers] %>
<% if node[:lsb][:release].to_f < 16.04 -%>
SSLCertificateChainFile /etc/ssl/certs/letsencrypt.pem
<% end -%>
SSLUseStapling On
SSLStaplingResponderTimeout 5
SSLStapl... | Make sure STS and Expect-CT headers are set on redirect responses | Make sure STS and Expect-CT headers are set on redirect responses
| HTML+ERB | apache-2.0 | Firefishy/chef,openstreetmap/chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,Firefishy/chef,Firefishy/chef,Firefishy/chef,tomhughes/openstreetmap-chef,Firefishy/chef,Firefishy/chef,zerebubuth/openstreetmap-chef,Firefishy/chef,openstreetm... |
f905895d39f1d37b3f712aee828852d44f8964ee | app/views/admin/speeches/_legacy_delivered_by_fields.html.erb | app/views/admin/speeches/_legacy_delivered_by_fields.html.erb | <div class="role_appointment">
<% cache_if edition.role_appointment_id.nil?, taggable_role_appointments_cache_digest do %>
<%= form.label :role_appointment_id, 'Speaker' %>
<%= form.select :role_appointment_id,
options_for_select(taggable_role_appointments_container, edition.role_appointment_id),
... | <div class="role_appointment">
<% cache_if edition.role_appointment_id.nil?, taggable_role_appointments_cache_digest do %>
<%= form.label :role_appointment_id, 'Speaker' %>
<%= form.select :role_appointment_id,
options_for_select(taggable_role_appointments_container, edition.role_appointment_id),
... | Replace "eg" abbreviation with "for example" | Replace "eg" abbreviation with "for example" | HTML+ERB | mit | alphagov/whitehall,alphagov/whitehall,alphagov/whitehall,alphagov/whitehall |
e612cd7e8481c19789f2960c4894308cb9c4f2bc | app/views/alchemy/admin/partials/_remote_search_form.html.erb | app/views/alchemy/admin/partials/_remote_search_form.html.erb | <%= form_tag(
url_for({
action: 'index',
options: @options.to_json,
size: @size
}),
remote: true,
method: 'get'
) do %>
<%= hidden_field_tag("element_id", @element.blank? ? "" : @element.id) %>
<%= hidden_field_tag("content_id", @content.blank? ? "" : @content.id) %>
<div class="search_field">... | <%= search_form_for @query, url: url_for(
action: 'index',
options: @options.to_json,
size: @size
), remote: true do |f| %>
<%= hidden_field_tag("element_id", @element.blank? ? "" : @element.id) %>
<%= hidden_field_tag("content_id", @content.blank? ? "" : @content.id) %>
<div class="search_field">
... | Use ransack search in remote search form | Use ransack search in remote search form
| HTML+ERB | bsd-3-clause | IngoAlbers/alchemy_cms,nielspetersen/alchemy_cms,AlchemyCMS/alchemy_cms,mixandgo/alchemy_cms,nielspetersen/alchemy_cms,akra/alchemy_cms,robinboening/alchemy_cms,nielspetersen/alchemy_cms,mtomov/alchemy_cms,nielspetersen/alchemy_cms,AlchemyCMS/alchemy_cms,IngoAlbers/alchemy_cms,chalmagean/alchemy_cms,chalmagean/alchemy_... |
92015719b43d76a5ec50bb338cfc015710f99110 | app/views/requests/request_mailer/recap_confirmation.html.erb | app/views/requests/request_mailer/recap_confirmation.html.erb | <tr class="email-header">
<td colspan="2" style="padding: 18px;border-top: 6px solid #e77500;">
<%= render 'request_header_patron' %>
</td>
</tr>
<tr>
<td colspan="2" style="padding: 18px;">
<p class="body-content" style="margin-bottom:0;">
<% if @submission.access_only? %>
<%= I18n.t('reques... | <tr class="email-header">
<td colspan="2" style="padding: 18px;border-top: 6px solid #e77500;">
<%= render 'request_header_patron' %>
</td>
</tr>
<tr>
<td colspan="2" style="padding: 18px;">
<p class="body-content" style="margin-bottom:0;">
<% if @submission.access_only? %>
<%= I18n.t('reques... | Add pickup info for recap confirmation email | Add pickup info for recap confirmation email
| HTML+ERB | mit | pulibrary/requests,pulibrary/requests,pulibrary/requests |
9d1696b5f31094d774268744605cd6efa1422396 | app/assets/javascripts/push-simple/manifest.json.erb | app/assets/javascripts/push-simple/manifest.json.erb | {
"name": "Push Simple - Service Worker Rails Sandbox",
"short_name": "push-simple",
"start_url": "./push-simple/",
"display": "standalone",
"icons": [{
"src": "/assets/images/circle-turtle-192x192.png",
"sizes": "192x192",
"type": "image/png"
}],
"gcm_user_visible_only": true
}
| {
"name": "Push Simple - Service Worker Rails Sandbox",
"short_name": "push-simple",
"start_url": "./push-simple/",
"display": "standalone",
"icons": [{
"src": "/assets/images/circle-turtle-192x192.png",
"sizes": "192x192",
"type": "image/png"
}],
"gcm_sender_id": "<%= ENV.fetch('GOOGLE_CL... | Add back GCM sender id to manifest - still required for VAPID | Add back GCM sender id to manifest - still required for VAPID
| HTML+ERB | mit | rossta/serviceworker-rails-sandbox,rossta/serviceworker-rails-sandbox,rossta/serviceworker-rails-sandbox,rossta/serviceworker-rails-sandbox |
e102115d7af755cda53bba08912bfc81f8ac740b | app/views/admin/attachments/confirm_destroy.html.erb | app/views/admin/attachments/confirm_destroy.html.erb | <% content_for :context, attachment.title %>
<% content_for :page_title, "Delete attachment" %>
<% content_for :title, "Delete attachment" %>
<% content_for :title_margin_bottom, 6 %>
<% content_for :back_link do %>
<%= render "govuk_publishing_components/components/back_link", {
href: attachable_attachments_path... | <% content_for :context, attachment.title %>
<% content_for :page_title, "Delete attachment" %>
<% content_for :title, "Delete attachment" %>
<% content_for :title_margin_bottom, 6 %>
<div class="govuk-grid-row">
<section class="govuk-grid-column-two-thirds">
<%= form_tag [:admin, typecast_for_attachable_routing... | Replace attachment confirm destroy back button with cancel button | Replace attachment confirm destroy back button with cancel button
In our like for like approach we're using cancel buttons instead of back buttons in the new design system pages
| HTML+ERB | mit | alphagov/whitehall,alphagov/whitehall,alphagov/whitehall,alphagov/whitehall |
ff384f2b78fc3f618d5a8f5214a18718db151cba | app/views/approvals/show.html.erb | app/views/approvals/show.html.erb | <header>
<h2>List your conference</h2>
<h3>Encourage thousands of speakers to respond to your call for proposals</h3>
</header>
<section class="qualifications">
<dl>
<dt>Is your event:</dt>
<dd><%= icon('check-square-o') %> For professional programmers?</dd>
<dd><%= icon('check-square-o') %> Seeking ... | <header>
<h2>List your conference</h2>
<h3>Encourage thousands of speakers to submit to your conference</h3>
</header>
<section class="qualifications">
<dl>
<dt>Is your event:</dt>
<dd><%= icon('check-square-o') %> For professional programmers?</dd>
<dd><%= icon('check-square-o') %> Seeking speaker p... | Copy changes to approval page | Copy changes to approval page
| HTML+ERB | mit | conference-opportunities/conference-opportunities,conference-opportunities/conference-opportunities,conference-opportunities/conference-opportunities |
9389e46938364240a801c9842f78e3f14071e897 | app/views/invoices/index.html.erb | app/views/invoices/index.html.erb | <h1>Listing invoices</h1>
<table>
<thead>
<tr>
<th>Purchase</th>
<th>Reference number</th>
<th></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<% @invoices.each do |invoice| %>
<tr>
<td><%= invoice.purchase %></td>
<td><%= invoice.reference_number... | <h1>Listing invoices</h1>
<table>
<thead>
<tr>
<th>Purchase</th>
<th>Reference number</th>
<th></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<% @invoices.each do |invoice| %>
<tr>
<td><%= display_purchase(invoice) %></td>
<td><%= invoice.referen... | Add Display Purchase to Index | Add Display Purchase to Index
| HTML+ERB | mit | bryanbibat/rasm40code,bryanbibat/rasm40code |
fe16df412f3026e27922e8b83dbbd3d0ccd8e9d1 | app/views/layouts/_flash.html.erb | app/views/layouts/_flash.html.erb | <% if type == :notice %>
<%= alert_box context: :success, dismissible: true do %>
<%= message %>
<% end %>
<% else %>
<%= alert_box context: :danger, dismissible: true do %>
<%= message %>
<% end %>
<% end %>
| <% if type == :success %>
<%= alert_box context: :success, dismissible: true do %>
<%= message %>
<% end %>
<% elsif type == :error %>
<%= alert_box context: :danger, dismissible: true do %>
<%= message %>
<% end %>
<% elsif type == :warning %>
<%= alert_box context: :warning, dismissible: true do %... | Fix flash message alert boxes | Fix flash message alert boxes
| HTML+ERB | mit | blackeaglejs/gluedb,blackeaglejs/gluedb,blackeaglejs/gluedb,pbprograms/gluedb,pbprograms/gluedb,pbprograms/gluedb,blackeaglejs/gluedb,pbprograms/gluedb |
4a209184852ef3b7925983f583a3edce4d7d888a | app/views/readings/_form.html.erb | app/views/readings/_form.html.erb | <%= render :partial => 'shared/form_errors', :locals => {:object => @reading} %>
<div class="form-group">
<%= f.label :label, class: 'control-label' %><br>
<%= f.text_field :label, class: 'form-control' %>
</div>
<div class="form-group">
<%= f.label :grade, class: 'control-label' %><br>
<%= f.text_field :grad... | <%= render :partial => 'shared/form_errors', :locals => {:object => @reading} %>
<div class="form-group">
<%= f.label :label, class: 'control-label' %><br>
<%= f.text_field :label, class: 'form-control' %>
</div>
<div class="form-group">
<%= f.label :grade, class: 'control-label' %><br>
<%= f.text_field :grad... | Fix Pick color button size | Fix Pick color button size
Now it matches the field height
| HTML+ERB | agpl-3.0 | mezuro/prezento,MezuroUNB20151/prezento,MezuroUNB20151/prezento,MezuroUNB20151/prezento,mezuro/prezento,mezuro/prezento |
a1a6340fff7d6a82f4bdb85d82943cd0f47b979f | app/views/shared/_footer.html.erb | app/views/shared/_footer.html.erb | <div class='footer'>
<div class='container'>
<div class='row'>
<div class='col-md-8'>
<%= image_tag 'logo_white.png', alt:'Open Addresses', class:'logo' %>
<address>
Open Addressess Limited
<br>
c/o BPE Solicitors LLP, St James'... | <div class='footer'>
<div class='container'>
<div class='row'>
<div class='col-md-8'>
<%= image_tag 'logo_white.png', alt:'Open Addresses', class:'logo' %>
<address>
Open Addressess Limited
<br>
c/o BPE Solicitors LLP, St James'... | Add footer icons and link to github | Add footer icons and link to github
| HTML+ERB | mit | OpenAddressesUK/theodolite,OpenAddressesUK/theodolite,OpenAddressesUK/theodolite |
2b37f2640810e534197d6a2c2174700bff2662d8 | files/gitlab-cookbooks/gitlab/templates/default/mount_point_check.erb | files/gitlab-cookbooks/gitlab/templates/default/mount_point_check.erb | <% if node['gitlab']['high-availability']['mountpoint'] %>
if ! mountpoint -q '<%= node['gitlab']['high-availability']['mountpoint'] %>' ; then
echo 'Refusing to start because <%= node['gitlab']['high-availability']['mountpoint'] %> is not a mountpoint.'
exit 1
fi
<% end %>
| <% [node['gitlab']['high-availability']['mountpoint']].flatten.compact.each do |mountpoint| %>
if ! mountpoint -q '<%= mountpoint %>' ; then
echo 'Refusing to start because <%= mountpoint %> is not a mountpoint.'
exit 1
fi
<% end %>
| Allow to specify multiple mountpoints as an array to high-availability:mountpoint | Allow to specify multiple mountpoints as an array to high-availability:mountpoint
| HTML+ERB | apache-2.0 | gitlabhq/omnibus-gitlab,gitlabhq/omnibus-gitlab,gitlabhq/omnibus-gitlab,gitlabhq/omnibus-gitlab |
23ec50315c088eeb3dc0b3aa671d48078bdaf019 | lib/metric_fu/metrics/reek/template_awesome/reek.html.erb | lib/metric_fu/metrics/reek/template_awesome/reek.html.erb | <h3>Reek Results</h3>
<p><a href="http://reek.rubyforge.org/">Reek</a> detects common code smells in ruby code.</p>
<% graph_name = 'reek' %>
<% if MetricFu.configuration.graph_engine == :gchart %>
<img src="<%= graph_name %>.png?<%= Time.now.to_i %>" />
<% else %>
<canvas id="graph"></canvas>
<script language="javas... | <h3>Reek Results</h3>
<p><a href="http://github.com/troessner/reek">Reek</a> detects common code smells in ruby code.</p>
<% graph_name = 'reek' %>
<% if MetricFu.configuration.graph_engine == :gchart %>
<img src="<%= graph_name %>.png?<%= Time.now.to_i %>" />
<% else %>
<canvas id="graph"></canvas>
<script language=... | Fix broken link to the Reek page. | Fix broken link to the Reek page.
The previous link does a redirect to a 404.
| HTML+ERB | mit | metricfu/metric_fu,metricfu/metric_fu,metricfu/metric_fu |
5a198a270f5ef49e5d31847d15335f7a25c2992f | lib/smart_answer_flows/find-coronavirus-support/questions/need_help_with.erb | lib/smart_answer_flows/find-coronavirus-support/questions/need_help_with.erb | <% hide_caption true %>
<% text_for :title do %>
What do you need help with because of coronavirus?
<% end %>
<% text_for :hint do %>
Select all that apply
<% end %>
<% options(
"feeling_unsafe": "Feeling unsafe where you live, or what to do if you’re worried about the safety of another adult or child",
"pay... | <% hide_caption true %>
<% text_for :title do %>
What do you need help with because of coronavirus?
<% end %>
<% text_for :hint do %>
Select all that apply
<% end %>
<% options(
"feeling_unsafe": "Feeling unsafe where you live, or what to do if you’re worried about the safety of another adult or child",
"pay... | Change text for question option in find-support flow | Change text for question option in find-support flow
This changes `Not sure` to `None of these` in the What do you need help
with question. This is to make it quicker for users to reach the results
page.
| HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
2e0cbcc8eb535d7c786caa95bb507cee9419df5f | modules/govuk_jenkins/templates/jobs/smokey.yaml.erb | modules/govuk_jenkins/templates/jobs/smokey.yaml.erb | ---
- scm:
name: smokey_Smokey
scm:
- git:
url: git@github.com:alphagov/smokey.git
branches: [main]
- job:
name: Smokey
description: Task to run the smoke tests after each deploy.
display-name: Smokey
project-type: freestyle
scm:
- smokey_Smokey
propertie... | ---
- scm:
name: smokey_Smokey
scm:
- git:
url: git@github.com:alphagov/smokey.git
branches: [main]
- job:
name: Smokey
description: Task to run the smoke tests after each deploy.
display-name: Smokey
project-type: freestyle
scm:
- smokey_Smokey
propertie... | Make Smokey job names more descriptive | Make Smokey job names more descriptive
Following on from the success of #11455, we can make a similar
change to our Smokey builds, so that it is easy to see whether
a build was for the entire test suite or for a particular app.
When TARGET_APPLICATION is set, it displays in the job name,
otherwise we have an empty st... | HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
144cea8273daeb4ea811ace3fe5432c9fe342072 | app/views/nomination_mailer/nomination_email.html.erb | app/views/nomination_mailer/nomination_email.html.erb | <!DOCTYPE html>
<html>
<head>
<%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
<%= javascript_include_tag "application", "data-turbolinks-track" => true %>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<p>Dear <%= @nominee %>,</p>
<... | <!DOCTYPE html>
<html>
<head>
<%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
<%= javascript_include_tag "application", "data-turbolinks-track" => true %>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<p>Dear <%= @nominee %>,</p>
<... | Change wording a bit in nomination mailer | Change wording a bit in nomination mailer
| HTML+ERB | mit | sethfri/VPAC,sethfri/VPAC |
2e1a95ff7fb7c04375ef8e78eb3f62f715be3953 | templates/jira.service.erb | templates/jira.service.erb | [Unit]
Description=Atlassian Systemd Jira Service
After=syslog.target network.target
[Service]
Type=forking
Environment="JAVA_HOME=<%= scope.lookupvar('jira::javahome') %>"
PIDFile=<%= scope.lookupvar('jira::webappdir') %>/work/catalina.pid
User=<%= scope.lookupvar('jira::user') %>
ExecStart=<%= scope.lookupvar('jira:... | [Unit]
Description=Atlassian Systemd Jira Service
After=syslog.target network.target
[Service]
Type=forking
Environment="JAVA_HOME=<%= scope.lookupvar('jira::javahome') %>"
User=<%= scope.lookupvar('jira::user') %>
ExecStart=<%= scope.lookupvar('jira::webappdir') %>/bin/start-jira.sh
ExecStop=<%= scope.lookupvar('jira... | Remove parameter PIDFile to prevent error messages | Remove parameter PIDFile to prevent error messages
May 26 13:01:40 centos7-64-1 systemd[1]: New main
PID 3276 does not belong to service, and PID file
is not owned by root. Refusing.
| HTML+ERB | apache-2.0 | voxpupuli/puppet-jira,puppet-community/puppet-jira,puppet-community/puppet-jira,mkrakowitzer/puppet-jira,voxpupuli/puppet-jira,mkrakowitzer/puppet-jira,puppet-community/puppet-jira,mkrakowitzer/puppet-jira |
c47a227813ae0a7c4d2dd73e27c4704bb9d786fc | chef/cookbooks/supermarket/templates/default/.env.erb | chef/cookbooks/supermarket/templates/default/.env.erb | GITHUB_KEY: <%= node['twitter_key'] %>
GITHUB_SECRET: <%= node['twitter_key'] %>
TWITTER_KEY: <%= node['twitter_key'] %>
TWITTER_SECRET: <%= node['twitter_secret'] %>
DEVISE_SECRET_KEY: <%= node['devise_secret_key'] %>
SECRET_KEY_BASE: <%= node['secret_key_base'] %>
DB_USERNAME: <%= node['postgres']['user'] %>
DB_PASSW... | GITHUB_KEY: <%= node['github_key'] %>
GITHUB_SECRET: <%= node['github_secret'] %>
TWITTER_KEY: <%= node['twitter_key'] %>
TWITTER_SECRET: <%= node['twitter_secret'] %>
DEVISE_SECRET_KEY: <%= node['devise_secret_key'] %>
SECRET_KEY_BASE: <%= node['secret_key_base'] %>
DB_USERNAME: <%= node['postgres']['user'] %>
DB_PASS... | Fix node attribute names for GitHub key and secret. | Fix node attribute names for GitHub key and secret.
| HTML+ERB | apache-2.0 | jzohrab/supermarket,leftathome/supermarket,juliandunn/supermarket,robbkidd/supermarket,nellshamrell/supermarket,rafaelmagu/supermarket,nellshamrell/supermarket,chef/supermarket,jzohrab/supermarket,leftathome/supermarket,leftathome/supermarket,dpnl87/supermarket,tas50/supermarket,chef/supermarket,jzohrab/supermarket,raf... |
ff3bc7b1be1a0a54c77192b1e30de1b2d2e8209b | views/layout.erb | views/layout.erb | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title><%= APP_TITLE %></title>
<link rel="stylesheet" href="https://d13nj05qmdn3m1.cloudfront.net/assets/external_triggers.css" />
<link rel="stylesheet" href="/style.css" />
<script type="text/javascript" src="https://d13nj05qmdn3m1.clo... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title><%= APP_TITLE %></title>
<link rel="stylesheet" href="https://d2npiipx5ecxt9.cloudfront.net/assets/external_triggers-cd37d737b663404517cbe0c5b7132ad8.css" />
<link rel="stylesheet" href="/style.css" />
<script type="text/javascript... | Use the right css and js | Use the right css and js
| HTML+ERB | mit | cosm/tweettriggers,cosm/tweettriggers |
969464736758da32e79b761f55c01d3e18e09c0a | modules/govuk_jenkins/templates/jobs/speedcurve_lux_js_version_check.yaml.erb | modules/govuk_jenkins/templates/jobs/speedcurve_lux_js_version_check.yaml.erb | ---
- job:
name: speedcurve-lux-js-version-check
display-name: SpeedCurve LUX JS version check
project-type: freestyle
description: 'Job to verify that GOV.UK is using the current JS version of Speedcurve LUX'
logrotate:
numToKeep: 100
triggers:
- timed: |
TZ=Europe/London
... | ---
- job:
name: speedcurve-lux-js-version-check
display-name: SpeedCurve LUX JS version check
project-type: freestyle
description: 'Job to verify that GOV.UK is using the current JS version of Speedcurve LUX'
logrotate:
numToKeep: 100
triggers:
- timed: |
TZ=Europe/London
... | Update LUX check to use latest version number | Update LUX check to use latest version number | HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
36e4626f8a0c9962896da6456b5f93f85a3e9ba8 | app/views/layouts/_contribution_section_box_avatar.html.erb | app/views/layouts/_contribution_section_box_avatar.html.erb | <%# this partial expects 2 local to be declared -- -%>
<%# 1) "object" for which the avatar is displayed (object.name() method should be available for any supplied object); -%>
<%= panel(nil, :class => 'text-center') do %>
<div>
<%= favouritable_icon(object, 120) -%>
</div>
<% if object.instance_of?(Perso... | <%# this partial expects 2 local to be declared -- -%>
<%# 1) "object" for which the avatar is displayed (object.name() method should be available for any supplied object); -%>
<%= panel(nil, :class => 'text-center') do %>
<div>
<%= favouritable_icon(object, 120) -%>
</div>
<% if object.instance_of?(Perso... | Hide "change picture" link when user doesn't actually have permission to do so | Hide "change picture" link when user doesn't actually have permission to do so
| HTML+ERB | bsd-3-clause | HITS-SDBV/seek,HITS-SDBV/seek,SynthSys/seek,HITS-SDBV/seek,HITS-SDBV/seek,SynthSys/seek,stuzart/seek,SynthSys/seek,stuzart/seek,SynthSys/seek,stuzart/seek |
0a100bd039ded2a7db21150792a6e4f637240d52 | app/views/shared/_yammer_javascript.html.erb | app/views/shared/_yammer_javascript.html.erb | <% if current_user.yammer_staging %>
<script type="text/javascript" src="https://assets.staging.yammer.com/platform/yam.js"></script>
<% else %>
<script type="text/javascript" src="https://assets.yammer.com/platform/yam.js"></script>
<% end %>
<script type="text/javascript">
yam.config({appId: '<%= ENV['CONSUMER_... | <% if current_user.yammer_staging %>
<script type="text/javascript" src="https://assets.staging.yammer.com/platform/yam.js"></script>
<% else %>
<script type="text/javascript" src="https://assets.yammer.com/platform/yam.js"></script>
<% end %>
<script type="text/javascript">
<% if current_user && current_user.yam... | Fix embedded feed on Yammer staging | Fix embedded feed on Yammer staging
| HTML+ERB | mit | mauricionr/sched.do,mauricionr/sched.do,yammer/sched.do,mauricionr/sched.do,YOTOV-LIMITED/sched.do,yammer/sched.do,YOTOV-LIMITED/sched.do,mauricionr/sched.do,yammer/sched.do,YOTOV-LIMITED/sched.do,YOTOV-LIMITED/sched.do,yammer/sched.do |
eccf8bca1fec9d613f692c5959642c173d52fc39 | app/views/shared/timeline/_timeline.html.erb | app/views/shared/timeline/_timeline.html.erb | <%= render 'shared/timeline/pagination' %>
<dl class="list-timetable">
<% @date_step.each do |date| %>
<% next unless Settings.timetable.weekdays.include?(date.wday) %>
<dt><%= "#{l date, format: :short} #{t('date.abbr_day_names')[date.wday]}" %></dt>
<dd>
<ul class="lecture-timeline">
<%= ... | <%= render 'shared/timeline/pagination' %>
<dl class="list-timetable">
<% @date_step.each do |date| %>
<% next unless Settings.timetable.weekdays.include?(date.wday) %>
<dt><%= "#{l date, format: :short} #{t('date.abbr_day_names')[date.wday]}" %></dt>
<dd>
<ul class="lecture-timeline">
<% i... | Add nil guard to timetable view | Add nil guard to timetable view
| HTML+ERB | mit | izumin5210/actopus,izumin5210/actopus |
8c77c2ad2f0a3af6d0530e2bda530fc7359d92d2 | lib/domgen/gwt/templates/support_test_module.java.erb | lib/domgen/gwt/templates/support_test_module.java.erb | /* DO NOT EDIT: File is auto-generated */
package <%= to_package(repository.gwt.qualified_support_test_module_name) %>;
@javax.annotation.Generated( "Domgen" )
@java.lang.SuppressWarnings( { "UnusedDeclaration", "JavaDoc" } )
public class <%= repository.gwt.support_test_module_name %>
extends org.realityforge.guicey... | /* DO NOT EDIT: File is auto-generated */
package <%= to_package(repository.gwt.qualified_support_test_module_name) %>;
@javax.annotation.Generated( "Domgen" )
@java.lang.SuppressWarnings( { "UnusedDeclaration", "JavaDoc" } )
public class <%= repository.gwt.support_test_module_name %>
extends org.realityforge.guicey... | FIx up generation of code for shared EventBus provider | FIx up generation of code for shared EventBus provider
| HTML+ERB | apache-2.0 | icaughley/domgen,realityforge/domgen,icaughley/domgen,realityforge/domgen |
54831f535fcb6c46d10314186fb486e9735d90a8 | generators/amber_bit_scaffold/templates/view__form.html.erb | generators/amber_bit_scaffold/templates/view__form.html.erb | <%% form_for(@<%= singular_name %>) do |f| %>
<%%= f.error_messages %>
<fieldset>
<legend><%%= t('<%= singular_name %>', :count => 1).humanize %></legend>
<% for attribute in attributes -%>
<div>
<%%= f.label :<%= attribute.name %>, t('<%= "attribute.#{attribute.column.name}" %>') %>
<% if attribute... | <%% form_for(@<%= singular_name %>) do |f| %>
<%%= f.error_messages %>
<fieldset>
<legend><%%= t('<%= singular_name %>', :count => 1).humanize %></legend>
<% for attribute in attributes -%>
<div>
<%%= f.label :<%= attribute.name %>, t('<%= "attribute.#{attribute.column.name}" %>') %>
<% if attribute... | Use id for label in form select when there's no name attribute in the associated model | Use id for label in form select when there's no name attribute in the associated model
| HTML+ERB | mit | amberbit/amberbit-scaffold |
7645ccebf249e9b387e40d4a73ded97178a6f14d | core/app/views/users/mailer/reset_password_instructions.html.erb | core/app/views/users/mailer/reset_password_instructions.html.erb | <% content_for :email_body do %>
<p>Hey <%= @resource.username %>!</p>
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
<p><%= link_to 'Change my password', edit_password_url(@resource, :reset_password_token => @resource.reset_password_token) %></p>
<p... | <% content_for :email_body do %>
<p>Hey <%= @resource.username %>!</p>
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
<% if (@resource.active) %>
<p><%= link_to 'Change my password', edit_password_url(@resource, :reset_password_token => @resource.re... | Send a different password reset link when the user is not active yet. | Send a different password reset link when the user is not active yet.
| HTML+ERB | mit | Factlink/factlink-core,daukantas/factlink-core,Factlink/factlink-core,daukantas/factlink-core,Factlink/factlink-core,Factlink/factlink-core,daukantas/factlink-core,daukantas/factlink-core |
dd880619922a7bf5b3ccc69574cb0822cc3840c9 | views/edit_query.erb | views/edit_query.erb | <form method="post" action="/jobs">
<div class="row">
<div class="small-12 columns">
<h2><%= query.persisted? ? "Edit Query" : "New Query" %></h2>
</div>
<div class="large-8 columns">
<label for="query_title">Title</label>
<input type="text" id="query_title" name="query[title]" placehol... | <form method="post" action="/jobs">
<div class="row">
<div class="small-12 columns">
<h2><%= query.persisted? ? "Edit Query" : "New Query" %></h2>
</div>
<% if query.errors.any? then %>
<div class="small-12 columns">
<div data-alert class="alert-box alert">
<h5>Error(s) on t... | Make forms more useable by adding validation and error messages | Make forms more useable by adding validation and error messages
| HTML+ERB | bsd-3-clause | francois/omoikane,francois/omoikane,francois/omoikane |
d3efcf796ae409beb1b2534f6c5a83436a6cb89e | modules/govuk_jenkins/templates/jobs/content_audit_tool.yaml.erb | modules/govuk_jenkins/templates/jobs/content_audit_tool.yaml.erb | ---
- job:
name: content_audit_tool_import_all_content_items
display-name: Content Audit Tool - import inventory
project-type: freestyle
description: "<p>Run the import:all_content_items rake task.</p>"
builders:
- shell: ssh deploy@$(govuk_node_list -c backend --single-node) "cd /var/apps/con... | Add job template for Content Audit Tool | Add job template for Content Audit Tool
Jenkins jobs to run rake tasks for Content Audit Tool. These
import content items and grab GA stats for them. These are copied
over from the Content Performance Manager, as part of splitting
the Audit Tool out of the CPM.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet | |
ada27c7a7983d6eb9d4f892623229e9045200255 | vendor/refinerycms/core/app/views/shared/_menu_branch.html.erb | vendor/refinerycms/core/app/views/shared/_menu_branch.html.erb | <%
css = if ((defined?(apply_css) && apply_css) || !defined?(apply_css)) and
(classes = css_for_menu_branch(menu_branch, menu_branch_counter, sibling_count||=nil)).any?
" class='#{classes.join(' ')}'"
end
dom_id = (" id='item_#{menu_branch_counter}'" if menu_branch.parent_id.nil? and menu_branch.ti... | <%
css = if ((defined?(apply_css) && apply_css) || !defined?(apply_css)) and
(classes = css_for_menu_branch(menu_branch, menu_branch_counter, sibling_count||=nil)).any?
"class='#{classes.join(' ')}'"
end
dom_id = ("id='item_#{menu_branch_counter}'" if menu_branch.parent_id.nil? and menu_branch.titl... | Tidy up how children are generated and how the css & dom_id are combined. Stopped removing pages from the collection as it is too likely to come back to bite us later. | Tidy up how children are generated and how the css & dom_id are combined. Stopped removing pages from the collection as it is too likely to come back to bite us later.
| HTML+ERB | mit | simi/refinerycms,mlinfoot/refinerycms,KingLemuel/refinerycms,kappiah/refinerycms,mkaplan9/refinerycms,Retimont/refinerycms,simi/refinerycms,KingLemuel/refinerycms,Retimont/refinerycms,johanb/refinerycms,LytayTOUCH/refinerycms,bricesanchez/refinerycms,koa/refinerycms,kappiah/refinerycms,hoopla-software/refinerycms,Smart... |
8b441934a7c03d90bb2f45abb098b3cc6e79bf6a | app/views/admin/projects/edit.html.erb | app/views/admin/projects/edit.html.erb | <h1>Editar projeto</h1>
<%= simple_form_for(@project, :url => { :action => :update }) do |f| %>
<div class="form-inputs">
<%= f.simple_fields_for :book do |b| %>
<%= b.input :template, :collection => LATEX_TEMPLATES %>
<%= b.input :cover, :as => :file %>
<% end %>
</div>
<div class="form-act... | <h1>Editar projeto</h1>
<%= simple_form_for(@project, :url => { :action => :update }) do |f| %>
<div class="form-inputs">
<%= f.simple_fields_for :book do |b| %>
<%= b.input :template, :collection => LATEX_TEMPLATES %>
<label for="project_book_attributes_cover">Capa</label>
<div class="fileupl... | Add file upload field to project edit form | Add file upload field to project edit form
| HTML+ERB | mit | hedra-digital/livro-da-classe,hedra-digital/livro-da-classe,hedra-digital/livro-da-classe,hedra-digital/livro-da-classe,hedra-digital/livro-da-classe,hedra-digital/livro-da-classe |
d3469a6ec18649d52cbced07c3c476d09ab5e2ba | backend/app/views/spree/admin/shared/_head.html.erb | backend/app/views/spree/admin/shared/_head.html.erb | <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<%= csrf_meta_tags %>
<title>
<% if content_for? :page_title %>
<%= yield :page_title %>
<% else %>
<%= "Spree #{Spree.t('administration')}: " %>
<%= Spree.t(controller.controller_name, :default => controller.controller_name.titleiz... | <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<%= csrf_meta_tags %>
<title>
<% if content_for? :title %>
<%= yield :title %>
<% else %>
<%= "Spree #{Spree.t('administration')}: " %>
<%= Spree.t(controller.controller_name, :default => controller.controller_name.titleize) %>
<%... | Call shared/_head title content_for 'title', becuase 'page_title' is already taken | Call shared/_head title content_for 'title', becuase 'page_title' is already taken
| HTML+ERB | bsd-3-clause | jaspreet21anand/spree,dafontaine/spree,JDutil/spree,mleglise/spree,calvinl/spree,knuepwebdev/FloatTubeRodHolders,ckk-scratch/solidus,Boomkat/spree,KMikhaylovCTG/spree,jasonfb/spree,CJMrozek/spree,wolfieorama/spree,siddharth28/spree,moneyspyder/spree,caiqinghua/spree,miyazawatomoka/spree,KMikhaylovCTG/spree,tesserakt/cl... |
1df49ead73e57c0ade8bf5aafa9fd17f2f2ffb4f | templates/filesystem.monit.erb | templates/filesystem.monit.erb | ### THIS FILE IS MANAGED BY PUPPET. ANY MANUAL CHANGES WILL GET OVERWRITTEN.
check device <%= @fs_name %>-filesystem with path <%= @path %>
alert <%= @servermonitor %> with reminder on 480 cycles
if space usage > <%= @space_usage %> then <%= @action_line %>
if inode usage > <%= @inode_usage %> then <%= @ac... | ### THIS FILE IS MANAGED BY PUPPET. ANY MANUAL CHANGES WILL GET OVERWRITTEN.
check device <%= @fs_name %>-filesystem with path <%= @path %>
alert <%= @email %> with reminder on 480 cycles
if space usage > <%= @space_usage %> then <%= @action_line %>
if inode usage > <%= @inode_usage %> then <%= @action_lin... | Fix @email parameter in filesystem template | Fix @email parameter in filesystem template
| HTML+ERB | bsd-2-clause | Puppet-Finland/monit,Puppet-Finland/monit |
9ea2700a94c12f041f5f4111adba0d62c209cd68 | views/_utils.erb | views/_utils.erb | <div class="utils">
<% unless @meta.layers.first.nil? %>
<% @layers = '' %>
<% @meta.layers.each do |layer| %>
<% @layers = @layers + layer + ',' %>
<% end %>
<span class="kml-link">
<a href="<%= kml_url(@layers.chop) %>">Google Earth</a>
<img alt="Google Earth Link" src="/images/ge.... | <div class="utils">
<% unless @meta.layers.first.nil? %>
<% @layers = '' %>
<% @meta.layers.each do |layer| %>
<% @layers = @layers + layer + ',' %>
<% end %>
<span class="kml-link">
<a href="<%= kml_url(@layers.chop) %>">Google Earth
<img alt="Google Earth Link" src="/images/ge.gif" />
</a>... | Make the icon for Google Earth linked | Make the icon for Google Earth linked
| HTML+ERB | apache-2.0 | scholarslab/geoportal,scholarslab/geoportal,scholarslab/geoportal |
3fd3adc174d4d0f65af8f9d402d6299f29cd5031 | views/layout.erb | views/layout.erb | <!DOCTYPE html>
<html>
<head>
<title>Word Frequency</title>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet">
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
</head>
<bod... | <!DOCTYPE html>
<html>
<head>
<title>Word Frequency</title>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet">
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon">
</head>
<bo... | Update path to favicon in index.erb. | Update path to favicon in index.erb.
| HTML+ERB | mit | matchbookmac/word_freq,matchbookmac/word_freq |
f3ea692530a8834370d9b69914b394960b951d06 | app/views/admin/government_response/_petition_action_government_response.html.erb | app/views/admin/government_response/_petition_action_government_response.html.erb | <h2 class="petition-action-heading">Government response</h2>
<%= form_for @government_response, :url => admin_petition_government_response_path(petition), method: :put do |f| -%>
<%= form_row :for => [f.object, :summary] do %>
<%= f.label :summary, 'Summary quote', class: 'form-label' %>
<%= error_messages_fo... | <h2 class="petition-action-heading">Government response</h2>
<%= form_for @government_response, :url => admin_petition_government_response_path(petition), method: :put do |f| -%>
<%= form_row :for => [f.object, :summary] do %>
<%= f.label :summary, 'Summary quote', class: 'form-label' %>
<%= error_messages_fo... | Fix error message to appear in form | Fix error message to appear in form
When the government response was moved to a separate model the fields
were renamed but the renaming was not carried through to the admin form. | HTML+ERB | mit | unboxed/e-petitions,StatesOfJersey/e-petitions,ansonK/e-petitions,unboxed/e-petitions,oskarpearson/e-petitions,oskarpearson/e-petitions,alphagov/e-petitions,alphagov/e-petitions,joelanman/e-petitions,joelanman/e-petitions,alphagov/e-petitions,StatesOfJersey/e-petitions,joelanman/e-petitions,StatesOfJersey/e-petitions,a... |
d69893793a86d5fda535e8f55915925a36f0e4f2 | templates/server/_default-footer.conf.erb | templates/server/_default-footer.conf.erb |
# Switch back to default ruleset
$RuleSet RSYSLOG_DefaultRuleset
<% if scope.lookupvar('rsyslog::server::enable_udp') -%>
$InputUDPServerBindRuleset remote
$UDPServerRun <%= scope.lookupvar('rsyslog::server::port') %>
<% end -%>
<% if scope.lookupvar('rsyslog::server::enable_tcp') -%>
$InputTCPServerBindRuleset remo... |
# Switch back to default ruleset
$RuleSet RSYSLOG_DefaultRuleset
<% if scope.lookupvar('rsyslog::server::enable_udp') -%>
$InputUDPServerBindRuleset remote
$UDPServerRun <%= scope.lookupvar('rsyslog::server::port') %>
<% end -%>
<% if scope.lookupvar('rsyslog::server::enable_tcp') -%>
$InputTCPServerBindRuleset remo... | Allow changing of the RELP server port. | server/_default-footer: Allow changing of the RELP server port.
| HTML+ERB | apache-2.0 | mrobbert/puppet-rsyslog,vmule/puppet-rsyslog,fuel-infra/puppet-rsyslog,ekini/puppet-rsyslog,triforce/puppet-rsyslog,plambert/puppet-rsyslog,mrobbert/puppet-rsyslog,redhat-cip/puppet-rsyslog,icann-dns/puppet-rsyslog,lclair/puppet-rsyslog,icann-dns/puppet-rsyslog,nickchappell/puppet-rsyslog,ekini/puppet-rsyslog,triforce/... |
2de1842712d0f3453ba2172862e88a2f2a788c19 | app/views/games/show.html.erb | app/views/games/show.html.erb | <script>
window.onload = function(){
var gameID = <%= @presenter.game_id %>;
Blokus.init(gameID);
};
</script>
<div id="wrapper">
<header>
<h2><%= current_user.name %></h2>
<nav></nav>
</header>
<div id="content">
<div id="board"></div>
</div>
<div id="rightcol">
<div id="gameover"></div>
<div id=... | <script>
window.onload = function(){
var gameID = <%= @game.id %>;
Blokus.init(gameID);
};
</script>
<div id="wrapper">
<header>
<h2><%= current_user.name %></h2>
<nav></nav>
</header>
<div id="content">
<div id="board"></div>
</div>
<div id="rightcol">
<div id="gameover"></div>
<div id="controls"... | Fix bug where gameID is not being set on the page | Fix bug where gameID is not being set on the page
| HTML+ERB | mit | ajesler/blokus,ajesler/blokus,ajesler/blokus |
52975855dfb8efe281cd5142098b0b2df7590cfd | app/views/reports/show.html.erb | app/views/reports/show.html.erb | <p id="notice"><%= notice %></p>
<p>
<strong>New:</strong>
<%= @report.new %>
</p>
<p>
<strong>Create:</strong>
<%= @report.create %>
</p>
<%= link_to 'Edit', edit_report_path(@report) %> |
<%= link_to 'Back', reports_path %>
| <p id="notice"><%= notice %></p>
<p>
<strong>Date:</strong>
<%= @report.date %>
</p>
<p>
<strong>DBN:</strong>
<%= @report.dbn %>
</p>
<p>
<strong>School:</strong>
<%= @report.school %>
</p>
<p>
<strong>Purpose:</strong>
<%= @report.purpose %>
</p>
<p>
<strong>What questions?:</strong>
<%= @rep... | Update to show information on report - with correct parameters | Update to show information on report - with correct parameters
| HTML+ERB | mit | fma2/school-visits-tool,fma2/school-visits-tool |
063fc8f9a59ab8a3aa5bd040981f3382d957bcc0 | app/views/shared/_part.html.erb | app/views/shared/_part.html.erb | <div class="panel panel-part part">
<div class="panel-heading js-sort-handle">
<h4 class="panel-title">
<a class="js-part-toggle" data-toggle="collapse" data-parent="#parts" href="#<%= f.object.slug || 'untitled-part' %>">
<i class="glyphicon glyphicon-chevron-down pull-left add-right-margin"></i>
... | <%= form_group(f, :body) do %>
<%= f.text_area :body, rows: 25, disabled: @resource.locked_for_edits?, class: "input-md-7 form-control" %>
<% end %>
| Update the Part view partial to display only Part attributes | Update the Part view partial to display only Part attributes
We now have a view partial that displays the attributes common to both
Parts and Variants.
This common partial in turn renders either the Part or Variant specific
partial. So, the Part partial only needs to render attributes that are
specific to Parts.
| HTML+ERB | mit | alphagov/publisher,alphagov/publisher,alphagov/publisher |
4a112838b9337cf90f10a26429e90b773589b899 | app/views/users/show.html.erb | app/views/users/show.html.erb | <h1><%= @user.screen %></h1>
<% if @articles.present? %>
<h2>Recent Articles</h2>
<% @articles.each do |article| %>
<%= render "shared/article", article: article %>
<% end %>
<% end %>
<% if @product.present? %>
<h2>Products</h2>
<% @product.each do |product| %>
<%= render "shared/product", product: ... | <h1><%= @user.screen %></h1>
<% if @articles.present? %>
<h2>Recent Articles</h2>
<% @articles.each do |article| %>
<%= render "shared/article", article: article %>
<% end %>
<% end %>
<% if @products.present? %>
<h2>Products</h2>
<% @products.each do |product| %>
<%= render "shared/product", product... | Fix bug where variable is named incorrectly | Fix bug where variable is named incorrectly
| HTML+ERB | apache-2.0 | NigoroJr/nigorojr.com,NigoroJr/nigorojr.com |
6f32a109c4b3de2a9ff55dd670d606a2e220df79 | app/views/users/show.html.erb | app/views/users/show.html.erb | <h1><%= @user.email %></h1> | <h1><%= @user.email %></h1>
<br>
<br>
<div>
<h3>Your Write Now History</h3>
<% @user.projects.each do |project| %>
<% if project != @user.projects.last %>
<%= project.title %>
<% else %>
<%= project.title %> (Your current project!)
<% end %>
<% end %>
</div> | Add logic to display a user's Write Now history. | Add logic to display a user's Write Now history.
| HTML+ERB | mit | tiger-swallowtails-2014/write-now,tiger-swallowtails-2014/write-now |
2b3b668a21edfc1cf62725e09edd7637d27f9621 | app/views/admin/templates/_paperclip_preview.html.erb | app/views/admin/templates/_paperclip_preview.html.erb | <%= link_to "#paperclip-lightbox", :class => "thumbnail paperclip-lightbox-link", :data => { :toggle => "lightbox", :image_url => preview } do %>
<%= image_tag thumb, options.merge(:alt => preview) %>
<% end %>
| <%= link_to "#paperclip-lightbox", :class => "thumbnail paperclip-lightbox-link", :data => { :image_url => preview } do %>
<%= image_tag thumb, options.merge(:alt => preview) %>
<% end %>
| Remove data-toggle attribute from paperclip preview links (since we're triggering with JS) | Remove data-toggle attribute from paperclip preview links (since we're triggering with JS)
| HTML+ERB | mit | thirdthing/typus,thirdthing/typus,thirdthing/typus,thirdthing/typus |
4b9c21d56ab2c004545b3e929bcf36aefdfa7a9e | app/views/request_mailer/not_clarified_alert.text.erb | app/views/request_mailer/not_clarified_alert.text.erb | <%= _('{{public_body}} has asked you to explain part of your {{law_used}} request.',
:public_body => @info_request.public_body.name,
:law_used => @info_request.law_used_short ) %>
<%= _('To do this, first click on the link below.') %>
<%=@url%>
<%= _('You will only get an answer to your request if you fol... | <%= _('{{public_body}} has asked you to explain part of your {{law_used}} request.',
:public_body => @info_request.public_body.name,
:law_used => @info_request.law_used_short ) %>
<%= _('To do this, first click on the link below.') %>
<%=@url%>
<%= _('You will only get an answer to your request if you fo... | Split long translation strings so that extra whitespace is omitted. | Split long translation strings so that extra whitespace is omitted.
Some small spacing fixes as well.
| HTML+ERB | agpl-3.0 | andreicristianpetcu/alaveteli,andreicristianpetcu/alaveteli_old,nzherald/alaveteli,andreicristianpetcu/alaveteli,nzherald/alaveteli,andreicristianpetcu/alaveteli_old,andreicristianpetcu/alaveteli,Br3nda/alaveteli,andreicristianpetcu/alaveteli_old,nzherald/alaveteli,nzherald/alaveteli,andreicristianpetcu/alaveteli_old,a... |
b070596a8353632bce4eb8266e5c0e873023ed91 | cookbooks/delayed_job/templates/default/dj.monitrc.erb | cookbooks/delayed_job/templates/default/dj.monitrc.erb | check process <%= @worker_name %>
with pidfile /var/run/engineyard/dj/<%= @app_name %>/dj_<%= @worker_name %>.pid
start program = "/engineyard/bin/dj <%= @app_name %> start <%= @framework_env %> <%= @worker_name %>" with timeout 60 seconds
stop program = "/engineyard/bin/dj <%= @app_name %> stop <%= @framework_en... | check process <%= @worker_name %>
with pidfile /var/run/engineyard/dj/<%= @app_name %>/dj_<%= @worker_name %>.pid
start program = "/engineyard/bin/dj <%= @app_name %> start <%= @framework_env %> <%= @worker_name %>" with timeout 60 seconds
stop program = "/engineyard/bin/dj <%= @app_name %> stop <%= @framework_en... | Increase DJ memory limit to 1GB. | Increase DJ memory limit to 1GB.
| HTML+ERB | mit | GlobalNamesArchitecture/GNITE,GlobalNamesArchitecture/GNITE,GlobalNamesArchitecture/GNITE |
bc890050c96344fbc42f363b4ce4e9070b511804 | app/views/backend/forms/index.html.erb | app/views/backend/forms/index.html.erb | <%= render 'backend/breadcrumbs' %>
<% if @forms.any? %>
<table class="table table-striped table-hover">
<thead class="thead-inverse">
<tr>
<th><%= t 'b.description' %></th>
<th> </th>
</tr>
</thead>
<tbody>
<% @forms.each do |f| %>
<tr>
<td><%= f... | <%= render 'backend/breadcrumbs' %>
<% if @forms.any? %>
<table class="table table-striped table-hover">
<thead class="thead-inverse">
<tr>
<th><%= t 'b.description' %></th>
<th> </th>
</tr>
</thead>
<tbody>
<% @forms.each do |f| %>
<tr>
<td><%= f... | Use another icon for the form submissions. | Use another icon for the form submissions.
| HTML+ERB | mit | udongo/udongo,udongo/udongo,udongo/udongo |
65909842b65218fb46a2265c913cbaf84073c18f | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Prism</title>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
<%= Gon::Base.render_data %>
<%= csrf_meta_tags %>
</head>
<body>
<% unless @navigation == false%>
<%= render '/layouts/navi' %>
<% end %>
<div class="ma... | <!DOCTYPE html>
<html>
<head>
<title>Prism</title>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
<%= Gon::Base.render_data %>
<%= csrf_meta_tags %>
</head>
<body>
<% unless @navigation == false %>
<%= render '/layouts/navi' %>
<% end %>
<div class="m... | Add footer conditional to not appear on index | Add footer conditional to not appear on index
| HTML+ERB | mit | beckylehmann91/prism,beckylehmann91/prism,beckylehmann91/prism |
1e7f7b0963b92a6c1f6aee55f1768570848108db | app/views/obs_factory/staging_projects/_buildinfo_cells.html.erb | app/views/obs_factory/staging_projects/_buildinfo_cells.html.erb | <td class="building-repositories">
<% if project.building_repositories.size.zero? %>
<%= sprite_tag('accept', alt: 'None') %>
<% else %>
<% building = project.building_repositories.map do |repo| %>
<% link_to "#{repo['repository']}-#{repo['arch']}".html_safe,
main_app.project_reposit... | <td class="building-repositories">
<% if project.building_repositories.size.zero? %>
<%= sprite_tag('accept', alt: 'None') %>
<% else %>
<% building = project.building_repositories.map do |repo| %>
<% link_to "#{repo['repository']}-#{repo['arch']}".html_safe,
main_app.project_reposit... | Fix a small bug in the dashboard view | Fix a small bug in the dashboard view
| HTML+ERB | mit | k0da/obs_factory,openSUSE-Team/obs_factory,ancorgs/obs_factory,k0da/obs_factory,openSUSE-Team/obs_factory,ancorgs/obs_factory,openSUSE-Team/obs_factory,k0da/obs_factory |
fa99aaca2e16ffcc3790354dfebc85be72d99818 | templates/default/systemd/default.erb | templates/default/systemd/default.erb | [Unit]
Description=<%= @daemon_name %> daemon
Wants=network-online.target
After=network-online.target
[Service]
User=<%= @user %>
EnvironmentFile=<%= @env_path %>
ExecStart=/bin/bash $KAFKA_RUN $KAFKA_ARGS $KAFKA_CONFIG
TimeoutSec=10
TimeoutStopSec=<%= @kill_timeout %>
<% if @ulimit %>
LimitNOFILE=<%= @ulimit %>
<% en... | [Unit]
Description=<%= @daemon_name %> daemon
Wants=network-online.target
After=network-online.target
[Service]
User=<%= @user %>
EnvironmentFile=<%= @env_path %>
SyslogIdentifier=kafka
ExecStart=/bin/bash $KAFKA_RUN $KAFKA_ARGS $KAFKA_CONFIG
TimeoutSec=10
TimeoutStopSec=<%= @kill_timeout %>
<% if @ulimit %>
LimitNOFI... | Add syslog identifier to systemd unit | Add syslog identifier to systemd unit
This adds a "kafka" syslog identifier so this stops showing up as "bash" in the systemd journal. | HTML+ERB | apache-2.0 | mthssdrbrg/kafka-cookbook,mthssdrbrg/kafka-cookbook,mthssdrbrg/kafka-cookbook |
6fcbb7dfa24bfa98e1cbce5e765dca26808e1c6a | modules/govuk_jenkins/templates/jobs/deploy_govuk_content_schemas.yaml.erb | modules/govuk_jenkins/templates/jobs/deploy_govuk_content_schemas.yaml.erb | ---
- scm:
name: Deploy_GOVUK_Content_Schemas
scm:
- git:
url: https://github.com/alphagov/govuk-content-schemas.git
branches:
- ${TAG}
- job:
name: Deploy_GOVUK_Content_Schemas
display-name: Deploy GOVUK content schemas
project-type: freestyle
description: "RSyncs the GOVUK content... | ---
- scm:
name: Deploy_GOVUK_Content_Schemas
scm:
- git:
url: https://github.com/alphagov/govuk-content-schemas.git
branches:
- ${TAG}
- job:
name: Deploy_GOVUK_Content_Schemas
display-name: Deploy GOVUK content schemas
project-type: freestyle
description:... | Fix GOV.UK content schemas Jenkins job | Fix GOV.UK content schemas Jenkins job
Indent the YAML properly.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
739de2808c5d39b7106eae78d6469325b4b88a49 | app/views/devise/sessions/new.html.erb | app/views/devise/sessions/new.html.erb | <h2>Einloggen</h2>
<%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %>
<br />
<%= f.label :email, t('stizun.users.attributes.email') %><br />
<%= f.text_field :email %><br />
<br />
<%= f.label :password, t('stizun.users.attributes.password') %><br />
<%= f.password_... | <h2>Einloggen</h2>
<%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %>
<br />
<%= f.label :email, t('stizun.users.attributes.email') %><br />
<%= f.text_field :email %><br />
<br />
<%= f.label :password, t('stizun.users.attributes.password') %><br />
<%= f.password_... | Make sure the line shows up. | Make sure the line shows up.
| HTML+ERB | apache-2.0 | lincompch/stizun,lincompch/stizun,lincompch/stizun,lincompch/stizun,lincompch/stizun |
2c9bed5e03027e2da0993f361e4fccf65303bf20 | app/views/categories/show.html.erb | app/views/categories/show.html.erb | <div class="container">
<div class="row">
<div class="col-xs-12">
<h3><%= @category.name %> Museums </h3>
</div>
</div>
</div>
<div class="container">
<div class="row">
<% @category.museums.each do |museum| %>
<div class="col-xs-6">
<%= render partial: "./museum_card", locals: {... | <div class="container">
<div class="row">
<div class="col-xs-12">
<h3><%= @category.name %> Museums </h3>
</div>
</div>
</div>
<div class="container">
<div class="row">
<% @category.museums.each do |museum| %>
<div class="col-xs-6">
<%= render partial: "./museum_card", locals: {... | Move end in category show up one line | Move end in category show up one line
| HTML+ERB | mit | nyc-fiery-skippers-2016/museum-finder,nyc-fiery-skippers-2016/museum-finder,nyc-fiery-skippers-2016/museum-finder |
8b2283a155a877d7a3fcddb79fcb12c5d5a9ec21 | app/views/common/services.html.erb | app/views/common/services.html.erb | <% content_for :title do %>Services - Performance Platform - GOV.UK<% end %>
<% @js_config = { "controller" => "common/controllers/services" } %>
<header>
<h1>Services</h1>
<h2>Services integrated with the Performance Platform</h2>
</header>
<div id="filter-wrapper" class="services"></div>
<section id="services-... | <% content_for :title do %>Services - Performance Platform - GOV.UK<% end %>
<% @js_config = { "controller" => "common/controllers/services" } %>
<header>
<h1>Services</h1>
<h2>Services providing detailed performance data to GOV.UK</h2>
</header>
<div id="filter-wrapper" class="services"></div>
<section id="serv... | Update subheader for services list | Update subheader for services list
| HTML+ERB | mit | gds-attic/limelight,gds-attic/limelight,gds-attic/limelight |
373ac064fc854d6eccbebcd3c9fb5a1bacb3b8d7 | app/views/announcements/_announcementFields.html.erb | app/views/announcements/_announcementFields.html.erb | <% content_for :javascripts do %>
<%= javascript_include_tag "initialize_datetimepickers" %>
<%= javascript_include_tag "confirm_discard_changes" %>
<% end %>
<%= f.text_field :title,
help_text: "The best titles are short and sweet." %>
<%= f.text_area :description,
help_text: "There'll also be limited space ... | <% content_for :javascripts do %>
<%= javascript_include_tag "initialize_datetimepickers" %>
<%= javascript_include_tag "confirm_discard_changes" %>
<% end %>
<%= f.text_field :title,
help_text: "The best titles are short and sweet." %>
<%= f.text_area :description,
help_text: "There'll also be limited space ... | Fix description of persistent announcement | Fix description of persistent announcement
| HTML+ERB | apache-2.0 | kk262777/Autolab,wcyz666/Autolab,cagdasbas/Autolab,cg2v/Autolab,AEgan/Autolab,cg2v/Autolab,wcyz666/Autolab,cg2v/Autolab,AEgan/Autolab,yunfanye/Autolab,anusornc/Autolab,kk262777/Autolab,jez/Autolab,yunfanye/Autolab,autolab/Autolab,cagdasbas/Autolab,jez/Autolab,cagdasbas/Autolab,wcyz666/Autolab,cagdasbas/Autolab,anusornc... |
c46c358686955b535b4214003f8fb1c1c9f6f91c | webapp/app/views/teams/_team.html.erb | webapp/app/views/teams/_team.html.erb | <tr>
<td><%= team.name %></td>
<%- @board.matches.each do |match| %>
<td class="numeric"><%= team.scores[match.id.to_s].round(2) %></td>
<%- end -%>
<td class="numeric calculated"><%= team.total.round(2) %></td>
</tr>
| <tr>
<td><%= team.name %></td>
<%- @board.matches.each do |match| %>
<td class="numeric"><%= team.scores[match.id.to_s].try :round, 2 %></td>
<%- end -%>
<td class="numeric calculated"><%= team.total.round(2) %></td>
</tr>
| Fix bug with scores for late entries | Fix bug with scores for late entries
| HTML+ERB | mit | danielfone/chchruby-robotwars-server,danielfone/chchruby-robotwars-server,danielfone/chchruby-robotwars-server |
def54ce855a113875d273c201d894d37a9b5a7a7 | app/views/accounts/new.html.erb | app/views/accounts/new.html.erb | <% title "Create Your FREE Appointment System" %>
<div id="registration" class="container clearfix">
<div class="container_heading"><h2>Create Your Own Appointment System</h2></div>
<div class="container_content clearfix">
<div class="inner clearfix">
<% semantic_form_for @account, :html => { :multipart =... | <% title "Create Your FREE Appointment System" %>
<div id="registration" class="container clearfix">
<div class="container_heading"><h2>Create Your Own Appointment System</h2></div>
<div class="container_content clearfix">
<div class="inner clearfix">
<% semantic_form_for @account, :html => { :multipart =... | Add class to the fieldset so that the fields can be styled | Add class to the fieldset so that the fields can be styled
| HTML+ERB | mit | bitfluent/wheneva,bitfluent/wheneva |
865391d14069162b71f5e3ea70307ad0f5c70889 | app/views/sessions/new.html.erb | app/views/sessions/new.html.erb | <% form_for User.new, { :url => session_path } do |f| %>
<%= f.text_field :login, :value => @login %>
<%= f.password_field :password %>
<%= f.submit 'Log in' %>
<% end %>
| <% form_for User.new, { :url => session_path } do |f| %>
<%= f.text_field :login, :value => @login %>
<%= f.password_field :password %>
<%= f.check_box :remember_me %>
<%= f.submit 'Log in' %>
<% end %>
| Add 'Remember me' checkbox on Login page. (Manually tested; both cases work) | Add 'Remember me' checkbox on Login page. (Manually tested; both cases work)
| HTML+ERB | mit | tricycle/predictionbook-legacy,DNCrane/predictionbook-honeypots,tricycle/predictionbook-legacy,DNCrane/predictionbook-honeypots |
0b48cc2558902283fa4d52c0a304d79b7d828e67 | geoFrame/app/views/chats/show.html.erb | geoFrame/app/views/chats/show.html.erb | <h1><%= @chat.title %></h1>
<div id="messages">
<%= render @chat.messages %>
</div>
<%= form_for @message, url: '#' do |f| %>
<div class="form-group">
<%= f.label :body %>
<%= f.text_area :body, class: 'form-control' %>
<small class="text-muted">From 2 to 1000 characters</small>
</div>
<%= f.subm... | <h1><%= @chat.title %></h1>
<div id="messages">
<%= render @chat.messages %>
</div>
<div id="messages" data-chat-id="<%= @chat.id %>">
<%= render @chat.messages %>
</div>
<%= form_for @message, url: '#' do |f| %>
<div class="form-group">
<%= f.label :body %>
<%= f.text_area :body, class: 'form-control'... | Add room id to script with data attribute. | Add room id to script with data attribute.
| HTML+ERB | mit | meredith-jones/geoFrame,meredith-jones/geoFrame,meredith-jones/geoFrame |
ba355daec9b3749d3d1e25498285c2436f62711b | app/views/public_activity/georgia_blog_post/_update.html.erb | app/views/public_activity/georgia_blog_post/_update.html.erb | <div id='activity_<%= activity.id %>' class="activity media">
<%= image_tag(avatar_url(activity.owner.email), alt: '', class: 'media-object pull-left') %>
<div class="media-body">
<h4 class="media-heading">
<%= activity.owner.name %> has updated blog post settings for <em><%= link_to activity.trackable.ti... | Add public activity update action | Add public activity update action
| HTML+ERB | mit | georgia-cms/georgia_blog,georgia-cms/georgia_blog | |
c9247777cbf7784c2bf92f786b3516ad5c509d1f | cookbooks/dmon/templates/default/start_component.service.erb | cookbooks/dmon/templates/default/start_component.service.erb | [Unit]
Description=<%=@componentName%> service
[Service]
ExecStart=<%=@home%>/bin/start.sh
ExecStop=<%=@home%>/bin/stop.sh
User=root
Type=forking
[Install]
WantedBy=multi-user.target
| [Unit]
Description=<%=@componentName%> service
[Service]
ExecStart=<%=@home%>/bin/start.sh
ExecStop=<%=@home%>/bin/stop.sh
WorkingDirectory=<%=@home%>/bin
User=root
Type=forking
[Install]
WantedBy=multi-user.target
| Add working directory in systemd config template. | Add working directory in systemd config template.
| HTML+ERB | apache-2.0 | IrimieBogdan/DmonDeployment,IrimieBogdan/DmonDeployment |
97bfd15b1a51907171037e9d333755de3608822c | app/views/automated_tests/_test_script_upload.html.erb | app/views/automated_tests/_test_script_upload.html.erb | <div class="test_script">
<%= form.fields_for :test_scripts, test_script do |f| %>
<%= f.label :script_name, t(:script_name) %>
<% if f.object.id %>
<%= text_field_tag 'test_script_' + f.object_id.to_s, f.object.script_name, :readonly => "true" %>
<%= label_... | <div class="test_script">
<%= form.fields_for :test_scripts, test_script do |f| %>
<%= f.label :script_name, t(:script_name) %>
<% if f.object.id %>
<%= text_field_tag 'test_script_' + f.object_id.to_s, f.object.script_name, :readonly => "true" %>
<%= label_... | Use object_id since id is deprecated | Use object_id since id is deprecated
| HTML+ERB | mit | ealonas/Markus,arkon/Markus,reidka/Markus,reidka/Markus,arkon/Markus,arkon/Markus,benjaminvialle/Markus,MarkUsProject/Markus,MarkUsProject/Markus,benjaminvialle/Markus,benjaminvialle/Markus,reidka/Markus,MarkUsProject/Markus,arkon/Markus,ealonas/Markus,MarkUsProject/Markus,MarkUsProject/Markus,arkon/Markus,benjaminvial... |
329b3486fc56e1d39052a845e302f3be710b3646 | templates/storage/ceph/ceph.conf.erb | templates/storage/ceph/ceph.conf.erb | [global]
fsid = <%= @fsid %>
mon_initial_members = <%= Array(@mon_initial_members).join(',') %>
mon_host = <%= Array(@mon_host).join(',') %>
auth_cluster_required = cephx
auth_service_required = cephx
auth_client_required = cephx
filestore_xattr_use_omap = true
public_network = <%= @public_network %>
cluster_network =... | [global]
fsid = <%= @fsid %>
mon_initial_members = <%= Array(@mon_initial_members).join(',') %>
mon_host = <%= Array(@mon_host).join(',') %>
auth_cluster_required = cephx
auth_service_required = cephx
auth_client_required = cephx
filestore_xattr_use_omap = true
public_network = <%= @public_network %>
cluster_network =... | Add client keyring references statically for now | Add client keyring references statically for now
| HTML+ERB | apache-2.0 | gwdg/puppet-openstack-cloud,gwdg/puppet-openstack-cloud,gwdg/puppet-openstack-cloud,gwdg/puppet-openstack-cloud |
920982019243cef9e61be19ae963e6dfbeeb8fc3 | source/thanks.html.erb | source/thanks.html.erb | <% content_for(:title) { } %>
<% content_for(:section) { 'I make things' } %>
<% content_for(:javascripts) do %>
<script type="text/javascript">
$.tracking.identify({ newsletter: true });
$.tracking.track("Newsletter sign up");
</script>
<% end %>
<section id="hero">
<header>
<h1>Thanks for Signing u... | <% content_for(:title) { } %>
<% content_for(:section) { 'I make things' } %>
<% content_for(:javascripts) do %>
<script type="text/javascript">
$.tracking.identify({ newsletter: true });
$.tracking.track("Newsletter sign up");
</script>
<% end %>
<section id="hero">
<header>
<h1>Thanks for Signing u... | Fix follow link on thanks page | Fix follow link on thanks page
| HTML+ERB | mit | rossta/rossta.github.com,rossta/rossta.github.com,rossta/rossta.github.com |
111d0ed96fe0a0af11ac0902e7f65e68ccf29386 | lib/generators/link_to_action/templates/index.html.erb | lib/generators/link_to_action/templates/index.html.erb | <h1>Listing <%= plural_table_name %></h1>
<table>
<thead>
<tr>
<% attributes.each do |attribute| -%>
<th><%= attribute.human_name %></th>
<% end -%>
<th></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<%%= content_tag_for(:tr, @<%= plural_table_name %>) do |<%= singular_... | <h1>Listing <%= plural_table_name %></h1>
<table>
<thead>
<tr>
<% attributes.each do |attribute| -%>
<th><%= attribute.human_name %></th>
<% end -%>
<th></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<%%= content_tag_for(:tr, @<%= plural_table_name %>) do |<%= singular_... | Remove spaces using minus sign. | Remove spaces using minus sign.
| HTML+ERB | mit | denispeplin/link_to_action,denispeplin/link_to_action,denispeplin/link_to_action |
7c0c47990bf0184b608ddb9e6e2d5dc2e76482fd | app/views/errors/forbidden.html.erb | app/views/errors/forbidden.html.erb | <div class="container-fluid text-center">
<h1 class="error-title">403</h1>
<h6 class="text-semibold content-group">Forbidden</h6>
<div class="row">
<div class="col-lg-4 col-lg-offset-5 col-sm-6 col-sm-offset-3">
<div class="row">
<div class="col-sm-6">
<a href="/" class="btn btn... | Create show for 403 status page | Create show for 403 status page
| HTML+ERB | mit | theresaboard/theres-a-board,theresaboard/theres-a-board,theresaboard/theres-a-board | |
a3c901eeca5ec7c959f5a2ffa28d21c774f21771 | templates/default/http_requests_per_second_by_status_code.graph.erb | templates/default/http_requests_per_second_by_status_code.graph.erb | title "Requests Per Second by HTTP Status"
area :none
hide_legend false
vtitle 'reqs / sec'
description "API Requests as seen by stats.<%= @app_name %>.application.byStatusCode.*"
# In contrast to the stats.timers 'count' metrics, the ones in 'stats'
# (no '.timer') are automatically rescaled to per ... | title "Requests Per Second by HTTP Status (more than 2 instances)"
area :none
hide_legend false
vtitle 'reqs / sec'
description "API Requests as seen by stats.<%= @app_name %>.application.byStatusCode.*"
# In contrast to the stats.timers 'count' metrics, the ones in 'stats'
# (no '.timer') are automa... | Tweak the title to reflect use of cutoff | Tweak the title to reflect use of cutoff
| HTML+ERB | apache-2.0 | opscode-cookbooks/opscode-bifrost,opscode-cookbooks/opscode-bifrost,opscode-cookbooks/opscode-bifrost |
6934ff613aa4cba448a555e1d5ea4592b92a9901 | app/views/components/_webchat.html.erb | app/views/components/_webchat.html.erb | <a href="https://www.pensionsadvisoryservice.org.uk/TPASPWChat" class="show-only-with-js">Try live chat to find out if you have the right pension type</a>
| <a href="https://www.pensionsadvisoryservice.org.uk/TPASPWChat" class="show-only-with-js">Need help? Live chat with our specialists</a>
| Improve wording for webchat callouts | Improve wording for webchat callouts
| HTML+ERB | mit | guidance-guarantee-programme/pension_guidance,guidance-guarantee-programme/pension_guidance,guidance-guarantee-programme/pension_guidance |
86b7392972ee91096261949e239984b59140589b | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Mountain Chat</title>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
<%= csrf_meta_tags %>
</head>
<body>
<header class="top-banner">
<h1>Mountain Chat Header</h1>
</header>
<%= yield %>
</body>
</html>
| <!DOCTYPE html>
<html>
<head>
<title>Mountain Chat</title>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
<%= csrf_meta_tags %>
</head>
<body>
<header class="top-banner">
<h1>Mountain Chat Header</h1>
</header>
<%= yield %>
<footer class="bottom-banner... | Include footer with login logic | Include footer with login logic
| HTML+ERB | mit | zlschatz/Mountain-Chat-Rails-App,zlschatz/Mountain-Chat-Rails-App,zlschatz/Mountain-Chat-Rails-App |
a8e9bc5ab7f3f3a2f98baf71a5d74027c95c7919 | app/views/questionnaires/view.html.erb | app/views/questionnaires/view.html.erb | <h1><%= @questionnaire.display_type %>: <%= @questionnaire.name %></h1>
<BR/>
<B>Created by:</B> <%= link_to @questionnaire.instructor_id,"mailto:"+@questionnaire.instructor_id.to_s %><BR/>
<B>Created at:</B> <%= @questionnaire.created_at %><BR/>
<B>Last modified at:</B> <%= @questionnaire.updated_at %>
<BR/><BR/>
<TA... | <h1><%= @questionnaire.display_type %>: <%= @questionnaire.name %></h1>
<BR/>
<B>Created by:</B> <%= link_to @questionnaire.instructor_id,"mailto:"+@questionnaire.instructor_id.to_s %><BR/>
<B>Created at:</B> <%= @questionnaire.created_at %><BR/>
<B>Last modified at:</B> <%= @questionnaire.updated_at %>
<BR/><BR/>
<TA... | Remove the link to questionnaire instruction. | Remove the link to questionnaire instruction.
| HTML+ERB | mit | michaelamoran/expertiza,ApertureScienceInnovators/expertiza,expertiza/expertiza,ApertureScienceInnovators/expertiza,ApertureScienceInnovators/expertiza,urmilparikh95/expertiza,sid5788/expertiza,kira0992/expertiza,arpitashekhar/expertiza,rmmaily/expertiza,mhhassan/expertiza,KunmiaoYang/expertiza,redsock88/expertiza,mhha... |
e11436a6e63eae4747007b392c4a629ae16cb270 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<%= favicon_link_tag 'favicon.ico?v=1', id: "favicon" %>
<title>LiarsDiceServer</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
... | <!DOCTYPE html>
<html>
<head>
<%= favicon_link_tag 'favicon.ico?v=1', id: "favicon" %>
<title>TwoSixes</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
<script... | Change the page title to TwoSixes | Change the page title to TwoSixes
| HTML+ERB | agpl-3.0 | bschmeck/two_sixes,bschmeck/two_sixes |
7b609a625f2e4be685708915f765a49a22544e6c | app/views/member_groups/index.html.erb | app/views/member_groups/index.html.erb | <% provide(:title, 'Member Groups') %>
<% provide(:jumbotron_class, 'about') %>
<%= render 'layouts/jumbotron' %>
<div class="container-content">
<div class="container">
<% @member_groups.each do |member_group| %>
<div class="row member-group-row">
<div class="col-xs-12 col-sm-5">
<%= im... | <% provide(:title, 'Member Groups') %>
<% provide(:jumbotron_class, 'about') %>
<%= render 'layouts/jumbotron' %>
<div class="container-content">
<div class="container">
<% @member_groups.each do |member_group| %>
<div class="row member-group-row">
<div class="col-xs-12 col-sm-5">
<%= im... | Add correct images for Member Groups | Add correct images for Member Groups
| HTML+ERB | mit | sethfri/VPAC,sethfri/VPAC |
b3b229165b62a03a58575ce7c4d3bf1f403d5eec | app/views/annotations/show.html.erb | app/views/annotations/show.html.erb | <header class="header_primary reverse_order">
<div class="container">
<nav class="header_nav">
<%= link_to '⬅︎ Read full document', @current_annotation.contextual_path %>
</nav>
<h1><%= link_to 'DocumentCloud', '/' %></h1>
</div>
</header>
<div class="container">
<div id="DC-note-<%= @current_a... | <header class="header_primary reverse_order">
<div class="container">
<nav class="header_nav">
<%= link_to '⬅︎ Read full document', @current_annotation.contextual_path %>
</nav>
<h1><%= link_to 'DocumentCloud', '/' %></h1>
</div>
</header>
<div class="container">
<div id="DC-note-<%= @current_a... | Remove background color from note show page | Remove background color from note show page
| HTML+ERB | mit | monofox/documentcloud,monofox/documentcloud,documentcloud/documentcloud,monofox/documentcloud,monofox/documentcloud,documentcloud/documentcloud,documentcloud/documentcloud,documentcloud/documentcloud |
067bda1fe0cf733ad0470e25f753834e6f871624 | app/views/sessions/_signin.html.erb | app/views/sessions/_signin.html.erb | <%= form_for :user, url: signin_path do |f| %>
Name: <%= f.text_field :username %>
Password: <%= f.password_field :password %>
<%= f.submit 'login' %>
<% end %>
<!-- </div> -->
| <%= form_for :user, url: signin_path do |f| %>
Name: <%= f.text_field :username %>
Password: <%= f.password_field :password %>
<%= f.submit 'login' %>
<% end %>
| Remove commented ode in signin | Remove commented ode in signin
| HTML+ERB | mit | grantziolkowski/caravan,bicyclethief/caravan,bicyclethief/caravan,bicyclethief/caravan,grantziolkowski/caravan,grantziolkowski/caravan |
255e41d0dd89688a3aa2c44e17a674531869f018 | app/views/static_pages/about.html.erb | app/views/static_pages/about.html.erb | <h1>about</h1>
<body class="splash">
<p class="splash_text">
A <a class="splash_link" href="http://rubyonrails.org" >Ruby on Rails</a> app created by <a class="splash_link" href="twitter.com/filipreese" >@filipreese</a>. Graphics by <a class="splash_link" href="twitter.com/libbacoopa" >@libbacoopa</a>.
</p>
</body... | <h1>about</h1>
<body class="splash">
<p class="splash_text">
A <a class="splash_link" href="http://rubyonrails.org" >Ruby on Rails</a> app created by <a class="splash_link" href="http://twitter.com/filipreese" >@filipreese</a>. Graphics by <a class="splash_link" href="http://twitter.com/libbacoopa" >@libbacoopa</a>... | Fix links on about page | Fix links on about page
| HTML+ERB | mit | reesef/totoapp,reesef/totoapp |
6e8ff58ae5ff05c2461d8fd027ec5dd32203e033 | app/views/tolk/locales/index.html.erb | app/views/tolk/locales/index.html.erb | <% content_for :locale do %><span class="locale empty"></span>
<% end %>
<h2>Locales <span>Primary locale is <%= Tolk::Locale.primary_locale.language_name %></span></h2>
<% if @locales.any? %>
<ul class="locales clearfix">
<% @locales.each do |locale| %>
<li>
<%= link_to locale.language_name, local... | <% content_for :locale do %><span class="locale empty"></span>
<% end %>
<h2>Locales <span>Primary locale is <%= Tolk::Locale.primary_locale.language_name %></span></h2>
<% if @locales.any? %>
<ul class="locales clearfix">
<% @locales.each do |locale| %>
<li>
<%= link_to locale.language_name, local... | Hide the missing count if it's zero | Hide the missing count if it's zero
| HTML+ERB | mit | tmp8/tolk,beni55/tolk,tmp8/tolk,beni55/tolk,10to1/tolk,tolk/tolk,tolk/tolk,dhh/tolk,joe-bader/tolk,MyMedsAndMe/tolk,dhh/tolk,rdunlop/tolk,joe-bader/tolk,rdunlop/tolk,beni55/tolk,MyMedsAndMe/tolk,10to1/tolk,rdunlop/tolk,MyMedsAndMe/tolk,munirent/tolk,tolk/tolk,munirent/tolk |
234e3540d6180a130f3e1eb1c30781357df09e47 | lib/generators/graphiti/templates/application_resource.rb.erb | lib/generators/graphiti/templates/application_resource.rb.erb | <%- unless omit_comments? -%>
# ApplicationResource is similar to ApplicationRecord - a base class that
# holds configuration/methods for subclasses.
# All Resources should inherit from ApplicationResource.
<%- end -%>
class ApplicationResource < Graphiti::Resource
<%- unless omit_comments? -%>
# Use the ActiveReco... | <%- unless omit_comments? -%>
# ApplicationResource is similar to ApplicationRecord - a base class that
# holds configuration/methods for subclasses.
# All Resources should inherit from ApplicationResource.
<%- end -%>
class ApplicationResource < Graphiti::Resource
<%- unless omit_comments? -%>
# Use the ActiveReco... | Handle errors on class load | Handle errors on class load
| HTML+ERB | mit | jsonapi-suite/jsonapi_suite,jsonapi-suite/jsonapi_suite,jsonapi-suite/jsonapi_suite |
a9464c4c0a706ce647e62b2e8110dabf06c0a148 | provider/vendor/plugins/oauth2_provider/app/views/oauth2/provider/oauth_authorize/index.html.erb | provider/vendor/plugins/oauth2_provider/app/views/oauth2/provider/oauth_authorize/index.html.erb | <% form_for(url_for(:action => :authorize), :html => {:id => 'oauth_authorize_form'}) do |f| -%>
Do you wish to allow the service named '<%= @client.name %>' to access this application on your behalf? <input type="checkbox" name="authorize" id="authorize" value="1" />
<input type="hidden" name="client_id" id="clien... | <% form_for(url_for(:action => :authorize), :html => {:id => 'oauth_authorize_form'}) do |f| -%>
Do you wish to allow the service named '<%= @client.name %>' to access this application on your behalf?
<input type="submit" value="Yes" name="authorize" value="1" />
<input type="submit" value="No" name="authorize" v... | Change the wording on the authorization page to make it an explicit 'yes' or 'no' answer, instead of a checkbox. | Change the wording on the authorization page to make it an explicit 'yes' or 'no' answer, instead of a checkbox. | HTML+ERB | mit | ThoughtWorksStudios/oauth2_provider,ThoughtWorksStudios/oauth2_provider,ThoughtWorksStudios/oauth2_provider,ThoughtWorksStudios/oauth2_provider |
cbc6d9e081e80c6e0f04c86a97d79bc6130fa565 | vendor/plugins/refinery/app/views/shared/_menu.html.erb | vendor/plugins/refinery/app/views/shared/_menu.html.erb | <% cache(:action_suffix => RefinerySetting.find_or_set(:refinery_menu_cache_action_suffix, "site_menu")) do %>
<ul id='<%= dom_id ||= "menu" %>' class='menu clearfix'>
<%= render :partial => "/shared/menu_branch", :collection => @menu_pages, :locals => {
:hide_children => RefinerySetting.find_or_set(:menu_h... | <% cache(:action_suffix => RefinerySetting.find_or_set(:refinery_menu_cache_action_suffix, "site_menu")) do %>
<ul id='<%= dom_id ||= "menu" %>' class='menu clearfix'>
<%= render :partial => "/shared/menu_branch", :collection => (collection ||= @menu_pages), :locals => {
:hide_children => RefinerySetting.fi... | Add flexibility to be able to pass in another collection (of pages at this stage) to the menu | Add flexibility to be able to pass in another collection (of pages at this stage) to the menu
| HTML+ERB | mit | mdoyle13/haymarket-ref,kritik/diamond-tours,mdoyle13/haymarket-ref,kritik/portfolio,johnreilly/johnandkaty,mdoyle13/haymarket-ref,kritik/portfolio,johnreilly/johnandkaty,mdoyle13/haymarket-ref,myabc/refinerycms,ashrafuzzaman/stips,captproton/fugu,ashrafuzzaman/stips,kritik/diamond-tours,myabc/refinerycms,captproton/fug... |
d6ffce3f722141aedc46fde303f13895cedd5518 | app/views/votes/_previous_vote_results.html.erb | app/views/votes/_previous_vote_results.html.erb | <div class="prev-winner pure-u-sm-1-2">
<div id="prev-winner-text" class="pure-u-1-2">
<p><strong>Winner!</strong><br>
<strong>Artist:</strong> <%=@prev_winner.name%><br>
<strong>Rank:</strong> <%= @prev_winner_ranking %></p>
<strong>Rating:</strong> <%=@prev_winner_score %><br>
</div>
<div clas... | <div class="prev-winner pure-u-sm-1-2">
<div id="prev-winner-text" class="pure-u-1-2">
<p><strong>Winner!</strong><br>
<strong>Artist:</strong> <%=@prev_winner.name%><br>
<strong>Rank:</strong> <%= @prev_winner_ranking %><br>
<strong>Rating:</strong> <%=@prev_winner_score %></p>
</div>
<div clas... | Fix scores text in prev-vote | Fix scores text in prev-vote
| HTML+ERB | mit | pdynowski/best-thing-ever,pdynowski/best-thing-ever,pdynowski/best-thing-ever |
ce6bf85262171559d29e3c39707ded5091789579 | app/views/devise/registrations/new.html.erb | app/views/devise/registrations/new.html.erb | <h2>Sign up</h2>
<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
<%= devise_error_messages! %>
<div class="field">
<%= f.label :email %><br />
<%= f.email_field :email, autofocus: true %>
</div>
<div class="field">
<%= f.label :password %>
<% if @min... | <h2>Sign up</h2>
<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
<%= devise_error_messages! %>
<div class="field">
<%= f.label :name %><br />
<%= f.text_field :name, autofocus: true %>
</div>
<div class="field">
<%= f.label :email %><br />
<%= f.em... | Include name field in User sign-up. | Include name field in User sign-up.
| HTML+ERB | agpl-3.0 | fossaegean/inventorius,fossaegean/inventorius,fossaegean/inventorius |
761f3ae6d07e359dabf24faeecab96d144c24c22 | app/views/game_over.html.erb | app/views/game_over.html.erb | <h1>GAME OVER WOMP WOMP WOMP :(</h1> | <div><h1>GAME OVER WOMP WOMP WOMP :(</h1></div>
<div><h2>Final Score: <%=session[:score] || 0%>/<%=session[:times] || 0%></h2></div> | Add final score to game over screen | Add final score to game over screen
- is not in a pretty form yet...
| HTML+ERB | mit | tweet-squared/Tweets-Squared-App,tweet-squared/Tweets-Squared-App,tweet-squared/Tweets-Squared-App |
d41a3b9752a16953747fc69b1f64aded4eb62afb | app/views/annual_report_uploads/changes_history.html.erb | app/views/annual_report_uploads/changes_history.html.erb | <%= render "shared/back_to_shipments" %>
<h3 class="sandbox-upload-summary no-border">
<%= @annual_report_upload.summary %>
</h3>
<h1 class="sandbox-title">Changes History</h1>
<%=
react_component 'ShipmentsTable',
{
pageName: 'shipments',
totalPages: @total_pages,
annualReportUploadId: @annu... | <%= render "shared/back_to_shipments" %>
<h3 class="sandbox-upload-summary no-border">
<%= @annual_report_upload.summary %>
</h3>
<div class="align-right batch-edit-link">
<i class="fa fa-download green"></i>
<%=
link_to t('download_changes_history'),
'',
class: 'green-link-underlined'
%>
</div>
<h1... | Add donwload changes history link | Add donwload changes history link
| HTML+ERB | mit | unepwcmc/trade_reporting_tool,unepwcmc/trade_reporting_tool,unepwcmc/trade_reporting_tool |
704a337baf39fb3ca4b2f3969393c39dfd28daee | modules/govuk_jenkins/templates/jobs/validate_published_dns.yaml.erb | modules/govuk_jenkins/templates/jobs/validate_published_dns.yaml.erb | ---
- job:
name: Validate_published_dns
display-name: Validate_published_dns
project-type: freestyle
description: "<p>Check that the published DNS records match those in the <a href='https://github.gds/govuk-dns-config'>govuk-dns-config repo</a> YAML file.</p>"
logrotate:
numToKeep: 30
b... | ---
- job:
name: Validate_published_dns
display-name: Validate_published_dns
project-type: freestyle
description: "<p>Check that the published DNS records match those in the <a href='https://github.gds/govuk-dns-config'>govuk-dns-config repo</a> YAML file.</p>"
logrotate:
numToKeep: 30
b... | Add path to bundle install for publish DNS job | Add path to bundle install for publish DNS job
The `bundle install` step of the job has been failing with errors like:
```bash
Bundler::GemspecError: Could not read gem at /usr/lib/rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/cache/rake-12.0.0.gem. It may be corrupted.
sudo: no tty present and no askpass program specified... | HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
28525b4ccad9aca42e4e1d9588c4f0724449f1c7 | app/views/active_storage/blobs/_blob.html.erb | app/views/active_storage/blobs/_blob.html.erb | <h2>Engine <code>blob/_blob</code>:</h2>
<%= debug blob %>
<figure>
<%= image_tag rails_blob_path(blob) %>
</figure>
| <figure class="attachment attachment--<%= blob.representable? ? "preview" : "file" %> attachment--<%= blob.filename.extension %>">
<% if blob.variable? %>
<%= image_tag blob.variant(resize: "1024x768>") %>
<% elsif blob.previewable? %>
<%= image_tag blob.preview(resize: "1024x768>") %>
<% end %>
<figca... | Build out basic blob template to match the editor's | Build out basic blob template to match the editor's
| HTML+ERB | mit | vipulnsward/rails,MSP-Greg/rails,flanger001/rails,betesh/rails,Erol/rails,eileencodes/rails,georgeclaghorn/rails,joonyou/rails,prathamesh-sonpatki/rails,repinel/rails,prathamesh-sonpatki/rails,Edouard-chin/rails,notapatch/rails,shioyama/rails,rails/rails,schuetzm/rails,Erol/rails,tgxworld/rails,fabianoleittes/rails,aru... |
ade2054e194266e0078127e158e64861a23fadca | app/views/devise/ichain_sessions/new.html.erb | app/views/devise/ichain_sessions/new.html.erb | <h2>Sign in</h2>
<%= form_tag(@login_url, :method => :post, :enctype => 'application/x-www-form-urlencoded') do %>
<%= hidden_field_tag :url, @back_url %>
<%= hidden_field_tag :context, @context %>
<%= hidden_field_tag :proxypath, @proxypath %>
<div><%= label_tag :username, "Username" %><br />
<%= text_fie... | <h2>Sign in</h2>
<%= form_tag(@login_url, :method => :post, :enctype => 'application/x-www-form-urlencoded') do %>
<%= hidden_field_tag :url, @back_url %>
<%= hidden_field_tag :context, @context %>
<%= hidden_field_tag :proxypath, @proxypath %>
<div><%= label_tag :username, "Username" %><br />
<%= text_fie... | Use a password field for the password | Use a password field for the password
| HTML+ERB | mit | openSUSE/devise_ichain_authenticatable,openSUSE/devise_ichain_authenticatable |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.