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 |
|---|---|---|---|---|---|---|---|---|---|
9ea24dea270c6f185326903aa608c06909148fe0 | views/index.erb | views/index.erb | <!DOCTYPE html>
<html>
<head>
<title>Gravatar API</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
</head>
<body>
<link rel="stylesheet" href="/help.css">
<h2>Wait a second... Where am I?</h2>
<p>Hello young one. I understand you are confused. Try this on for size:</p>
<pre>
<code clas... | <!DOCTYPE html>
<html>
<head>
<title>Gravatar API</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
</head>
<body>
<link rel="stylesheet" href="/help.css">
<h2>Wait a second... Where am I?</h2>
<p>Hello young one. I understand you are confused. Try this on for size:</p>
<pre>
<code clas... | Add the blog post link. | Add the blog post link.
| HTML+ERB | mit | JesseHerrick/gravatar-api-example |
81c6443a1469d1fda3b3e9abc5ebed902ef1877a | app/views/answers/_answer.html.erb | app/views/answers/_answer.html.erb | <div class="ques-answer">
<div class="content-row">
<% if answer.is_best_answer?(answer.question) %>
<div class="left-deets"><%= render "answers/best_answer_identifier" %></div>
<% end %>
<% if logged_in? %>
<% if answer.vote_on_this?(current_user.id) %>
<div class="left-deets"><%= ... | <div class="ques-answer">
<div class="content-row">
<% if answer.is_best_answer?(answer.question) %>
<div class="vote-deets"><%= render "answers/best_answer_identifier" %></div>
<% end %>
<% if logged_in? %>
<% if answer.vote_on_this?(current_user.id) %>
<div class="vote-deets"><%= ... | Change tag names for fixed styling | Change tag names for fixed styling
| HTML+ERB | mit | jeder28/stack_overphil,jeder28/stack_overphil,jeder28/stack_overphil |
fb3873266fb69fadd376cb3e49433165a7a9fad0 | app/views/shared/_contact.html.erb | app/views/shared/_contact.html.erb | <div class="contact">
<div class="l-constrained">
<section class="contact__container">
<h2 class="contact__heading"><%= t('home.show.contact.title') %></h2>
<p class="contact__text"><%= t('home.show.contact.introduction') %></p>
</section>
<section class="contact__container contact__container... | Add new contact partial for the homepage | Add new contact partial for the homepage
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend | |
a872abff930fd5f88faddcefa0df383ae01c85ee | lib/views/general/_before_body_end.html.erb | lib/views/general/_before_body_end.html.erb | <%= javascript_include_tag 'event_tracking' unless AlaveteliConfiguration::ga_code.empty? || (@user && @user.super?) %>
<%= javascript_include_tag 'personal_message_toggler' %>
| <%= javascript_include_tag 'event_tracking' unless AlaveteliConfiguration::ga_code.empty? || (@user && @user.is_admin?) %>
<%= javascript_include_tag 'personal_message_toggler' %>
| Use new way of figuring out if user is super user | Use new way of figuring out if user is super user
| HTML+ERB | mit | openaustralia/righttoknow,openaustralia/righttoknow,openaustralia/righttoknow |
da69aa441efe5e582c311498ffaa4450fcea90e0 | app/views/admin/shared/_breadcrumbs.html.erb | app/views/admin/shared/_breadcrumbs.html.erb | <nav aria-label="breadcrumb">
<ol class="breadcrumb">
<% num_parts_to_reject = %w(show edit).include?(action_name) ? 2 : 1 %>
<% path_parts = request.path.split('/').reject(&:blank?) %>
<% path_parts.each_with_index do |path_part, index| %>
<% path_part_name = path_part == 'admin' ? 'dashboard' : pa... | <nav aria-label="breadcrumb">
<ol class="breadcrumb">
<% num_parts_to_reject = %w(show edit new).include?(action_name) ? 2 : 1 %>
<% path_parts = request.path.split('/').reject(&:blank?) %>
<% path_parts.each_with_index do |path_part, index| %>
<% path_part_name = path_part == 'admin' ? 'dashboard' ... | Fix breadcrumbs link trail on new action | Fix breadcrumbs link trail on new action
| HTML+ERB | mit | dylanfisher/forest,dylanfisher/forest,dylanfisher/forest |
c8b5c91b32b9054d72ac8c12607dab9fc30217bc | lib/views/general/_frontpage_intro_sentence.html.erb | lib/views/general/_frontpage_intro_sentence.html.erb | <h2>
Your <strong>Right to Know</strong>
</h2>
<p>Every citizen has the right to access information held by public bodies. <strong>By law, they have to respond</strong>. <a href="<%= help_about_url %>">Find out more about Freedom of Information.</a></p>
| <h1 class="intro__title"><%= _("Your right to know") %></h1>
<p class="intro__description">
Every citizen has the right to access information held by public bodies.
<strong>By law, they have to respond</strong>.
<a href="<%= help_about_url %>">Find out more about Freedom of Information.</a>
</p>
| Update frontpage_intro_sentence to be closer to core | Update frontpage_intro_sentence to be closer to core
| HTML+ERB | mit | mysociety/mavc-theme,mysociety/mavc-theme |
71069dcf4cc016624083103e77c4a05c9b280077 | app/views/my/show.html.erb | app/views/my/show.html.erb | <h1><%= image_tag @avatar_url %> <%= @name %></h1>
<% unless @src_sets.empty? %>
<%= render :partial => 'src_sets/src_sets' %>
<% end %>
<%= render :partial => 'src_images/src_images' %>
<% unless @gend_images.empty? %>
<%= render :partial => 'gend_images/gend_images' %>
<% end %>
| <% unless @src_sets.empty? %>
<%= render :partial => 'src_sets/src_sets' %>
<% end %>
<%= render :partial => 'src_images/src_images' %>
<% unless @gend_images.empty? %>
<%= render :partial => 'gend_images/gend_images' %>
<% end %>
| Remove gravatar and header from top of my images. | Remove gravatar and header from top of my images.
| HTML+ERB | mit | patrickmcguire/meme,mmb/meme_captain_web,mmb/meme_captain_web,patrickmcguire/meme,mmb/meme_captain_web,mmb/meme_captain_web |
86e1db408b896c77a7add30b7d461843a488fa30 | app/assets/javascripts/analytics/init.js.erb | app/assets/javascripts/analytics/init.js.erb | (function() {
"use strict";
var consentCookie = window.GOVUK.getConsentCookie();
// Disable analytics by default
// This will be reversed below, if the consent cookie says usage cookies are allowed
window['ga-disable-UA-26179049-1'] = true;
if (!consentCookie || consentCookie["usage"]) {
window['ga-d... | (function() {
"use strict";
var consentCookie = window.GOVUK.getConsentCookie();
var dummyAnalytics = {
addLinkedTrackerDomain: function(){},
setDimension: function(){},
setOptionsForNextPageView: function(){},
trackEvent: function(){},
trackPageview: function(){},
trackShare: function()... | Add a dummy GOVUK.analytics when no cookie consent | Add a dummy GOVUK.analytics when no cookie consent
Previously we were not setting GOVUK.analytics
when the user had denied tracking cookie consent.
This is causing other apps to break as they call methods on this
directly, it always existed before.
This commit sets it to a dummy object (kinda like null object patter... | HTML+ERB | mit | alphagov/static,alphagov/static,alphagov/static |
0b67a4bbb55afa301818d11e8d6fb4c9a6f560b4 | app/views/forem/admin/forums/_form.html.erb | app/views/forem/admin/forums/_form.html.erb | <%= simple_form_for [forem, :admin, @forum] do |f| %>
<%= f.association :category, :include_blank => false %>
<%= f.input :title %>
<%= f.input :description, :as => :text %>
<h3>Moderator Groups</h3>
<%= f.association :moderators, :as => :check_boxes %>
<%= f.submit %>
<% end %>
| <%= simple_form_for [forem, :admin, @forum] do |f| %>
<%= f.association :category, :include_blank => false %>
<%= f.input :title %>
<%= f.input :description, :as => :text %>
<h3>Private for</h3>
<%= f.association :allowed_viewers, :as => :check_boxes %>
<h3>Moderator Groups</h3>
<%= f.association :moder... | Add 'private for' option in forum creation view | Add 'private for' option in forum creation view
| HTML+ERB | mit | gabriel-dehan/forem,gabriel-dehan/forem |
c52c489ee3adc5fe4cca73f7f1057fe68e16b20c | app/views/incidents/_index-results.html.erb | app/views/incidents/_index-results.html.erb | <h2 class="supporting">Results</h2>
<article class="incident-index-results" id="results">
</article>
<h1 class="incident-index-results-description">
<strong class="query-count"><%= @incidents.total_count %></strong>
<% if params[:incident_type] %>
<strong class="type">
<%= params[:incident_type] %>
</st... | <h2 class="supporting">Results</h2>
<article class="incident-index-results" id="results">
</article>
<h1 class="incident-index-results-description">
<strong class="query-count"><%= @incidents.total_count %></strong>
<% if params[:incident_type] %>
<strong class="type">
<%= params[:incident_type] %>
</st... | Use Incident Reports over Incidents | Use Incident Reports over Incidents
| HTML+ERB | agpl-3.0 | DetentionLogs/detentionlogs,DetentionLogs/detentionlogs |
fcc2e79ba1b2f36cfab8edd5c79c1ca67db8ad07 | app/views/management/widgets/index.html.erb | app/views/management/widgets/index.html.erb | <%= render partial: 'management/extended_header', locals: {type: 'widget'} %>
<%= include_gon %>
<%= render partial: 'management/tabs'%>
<%= javascript_pack_tag 'application' %>
<%= react_component('WidgetsListContainer', {
widgets: @widgets
} ) %>
| <%= render partial: 'management/extended_header', locals: {type: 'widget'} %>
<%= include_gon %>
<%= render partial: 'management/tabs'%>
<%= javascript_pack_tag 'application' %>
<%= react_component('WidgetsContainer', {
widgets: @widgets
} ) %>
| Load the correct React component for the widgets listing | Load the correct React component for the widgets listing
| HTML+ERB | mit | Vizzuality/forest-atlas-landscape-cms,Vizzuality/forest-atlas-landscape-cms,Vizzuality/forest-atlas-landscape-cms,Vizzuality/forest-atlas-landscape-cms |
d5d44649b5b2371c14e5dc4e650003b2def3e36b | app/views/shared/resource/_actions.html.erb | app/views/shared/resource/_actions.html.erb | <% if !resource.is_a?(Column) && (
can?(:destroy, resource) || can?(:edit, resource) || (
resource.respond_to?(:state_events) && resource.state_events.select{|event| can? event, resource }.any?
)
) %>
<div class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><%= t('general.actions')... | <% if !resource.is_a?(Column) && (
can?(:destroy, resource) || can?(:edit, resource) || (
resource.respond_to?(:state_events) && resource.state_events.select{|event| can? event, resource }.any?
)
) %>
<div class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><%= t('general.actions')... | Make edit link work with namespaced models. | Make edit link work with namespaced models.
| HTML+ERB | mit | jasnow/voluntary,jasnow/voluntary,volontariat/voluntary,jasnow/voluntary,volontariat/voluntary,volontariat/voluntary,volontariat/voluntary,jasnow/voluntary |
2b7bd9ce440ff086765acf5eebd63e88dd099463 | templates/default/gitignore_global.erb | templates/default/gitignore_global.erb | # Editor Droppings #
####################
<%= @ignore_idea ? "# " : ""%>.idea # Java projects check in the .idea directory
# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
| # Editor Droppings #
####################
<%= @ignore_idea ? "# " : ""%>.idea # Java projects check in the .idea directory
# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
# Tag files produced by exuberant ctags #
#########################################
TAGS
!TAGS/
tag... | Add tags files to default gitignore | Add tags files to default gitignore
| HTML+ERB | mit | pivotal-sprout/sprout-osx-apps,wendorf/sprout-osx-apps,webcoyote/pivotal_workstation,1000Bulbs/sprout,webcoyote/pivotal_workstation,pivotal-sprout/sprout-osx-apps,1000Bulbs/pivotal_workstation,1000Bulbs/pivotal_workstation,wendorf/sprout-osx-apps,Yesware/sprout,1000Bulbs/sprout,Yesware/sprout,webcoyote/pivotal_workstat... |
ff44c4976436dd5fd8f73d2abb7135ef277b8746 | lib/views/general/_responsive_topnav.html.erb | lib/views/general/_responsive_topnav.html.erb | <div id="topnav" class="topnav">
<ul id="navigation" class="navigation">
<li class="<%= 'selected' if params[:controller] == 'request' and ['new', 'select_authority'].include?(params[:action]) %>">
<%= link_to _("Make a request"), select_authority_path, :id => 'make-request-link' %>
</li>
<li clas... | Add template from core for override. | Add template from core for override.
From alaveteli commit 07d14ae06487c05455c685ff42690124a54a1a38
| HTML+ERB | mit | mysociety/askyourgovug-theme,mysociety/askyourgovug-theme | |
e20e765afe7cf89aa05da45d2eb30bee1f8c1e36 | app/assets/javascripts/locales/ar.js.erb | app/assets/javascripts/locales/ar.js.erb | //= depend_on 'client.ar.yml'
//= require locales/i18n
<%= JsLocaleHelper.output_locale(:ar) %>
I18n.pluralizationRules['ar'] = function (n) {
if (n == 0) return "zero";
if (n == 1) return "one";
if (n == 2) return "two";
if (n%100 >= 3 && n%100 <= 10) return "few";
if (n%100 >= 11) return "many";
return "... | //= depend_on 'client.ar.yml'
//= require locales/i18n
<%= JsLocaleHelper.output_locale(:ar) %>
I18n.pluralizationRules['ar'] = function (n) {
if (n == 0) return "zero";
if (n == 1) return "one";
if (n == 2) return "two";
if (n%100 >= 3 && n%100 <= 10) return "few";
if (n%100 >= 11 && n%100 <= 99) return "ma... | Fix Arabic Pluralization Rules for Client | Fix Arabic Pluralization Rules for Client
| HTML+ERB | mit | natefinch/discourse,natefinch/discourse |
5db8eab56492d6ff6bdae7bbab0c65a9141f7e26 | app/views/users/forgot_password.html.erb | app/views/users/forgot_password.html.erb | <div class="row-fluid">
<h2 align="center">MetaCorp</h2>
<h3 align="center">A GoatGroup Company</h3>
<div class="span12">
<div class="row-fluid">
<div class="span4 offset4">
<div class="signup">
<%= form_tag "forgot_password", :class=> "signup-wrapper" do %>
<div ... | <div class="row-fluid">
<h2 align="center">MetaCorp</h2>
<h3 align="center">A GoatGroup Company</h3>
<div class="span12">
<div class="row-fluid">
<div class="span4 offset4">
<div class="signup">
<%= form_tag "forgot_password", :class=> "signup-wrapper" do %>
<div ... | Fix typo, should be password | Fix typo, should be password
| HTML+ERB | mit | onemonth/onemonthsimple,Yas3r/railsgoat,immunio/railsgoat,onemonth/onemonthsimple,klamberth27/onemonthsimple,Pratibha25/railsgoat-1,jasnow/railsgoat,Pratibha25/railsgoat-1,Pratibha25/railsgoat-1,onemonth/onemonthsimple,tcopeland/railsgoat,rietta/railsgoat,Pratibha25/railsgoat-1,immunio/railsgoat,immunio/railsgoat,TheBl... |
130f9d1d5f07d7444849ac2093dec7031a92d138 | app/views/programs/show.html.erb | app/views/programs/show.html.erb |
<div class="container">
<div class="header">
<h1 class="program-title"><%= @program.name %></h1>
</div>
<h1>Required Courses</h1>
<% @course_names.each do |course| %>
<div class="course"><%= course %>, <%= @course_count[course] %></div>
<% end %>
<div class="footer">
<a href="<%= @rpi_url %>">V... |
<div class="container">
<div class="header">
<h1 class="program-title"><%= @program.name %></h1>
</div>
<h1>Required Courses</h1>
<% @course_names.each do |course| %>
<div class="course"><%= course %>
<% if @course_count[course] > 1 %>
x<%= @course_count[course] %>
<% end %>
</div>
... | Hide course count for singleton courses | Hide course count for singleton courses
| HTML+ERB | mit | nthomsn/yaps,nthomsn/yaps,nthomsn/yaps,nthomsn/yaps |
daf6a81091850932e50032261ce0aa58903250b3 | app/views/startups/edit.html.erb | app/views/startups/edit.html.erb | <div class='container'>
<div class='row-fluid'>
<h1>Editing '<%= @startup.name %>' Startup</h1>
<%= render 'form' %>
<%= link_to 'Delete', @startup, :method => :delete, :confirm => "Are you sure you want to delete #{@startup.name}?" %>
</div>
</div> | <div class='container'>
<div class='row-fluid'>
<%= content_tag(:h1, "Editing '#{@startup.name}' Startup") %>
<%= render 'form' %>
<%= link_to 'Delete', @startup, :method => :delete, :confirm => "Are you sure you want to delete #{@startup.name}?" %>
</div>
</div> | Update h1 header to use content_tag | Update h1 header to use content_tag
| HTML+ERB | mit | SoPR/sopr-platform,SoPR/sopr-platform |
4517879d7cffd6841f3b0d11fdc5f6bd70373b49 | app/views/welcome/index.html.erb | app/views/welcome/index.html.erb | <!-- Navigation -->
<%= render :partial => 'navigation' %>
<!-- Header -->
<header id="top" class="header cover">
<%= render :partial => 'header' %>
</header>
<!-- School search results -->
<section id="results-section" class="results-section cover">
<%= render :partial => 'school_info_section' %>
</section>
<!... | <!-- Navigation -->
<%= render :partial => 'navigation' %>
<!-- Header -->
<header id="top" class="header cover">
<%= render :partial => 'header' %>
</header>
<section id="" class="cover">
</section>
<!-- School search results -->
<section id="school-info-section" class="results-section cover">
<%= render :parti... | Add placeholder section between header and school info to take up space for now, change div name for school info section" | Add placeholder section between header and school info to take up space for now, change div name for school info section"
| HTML+ERB | mit | fma2/cfe-money,fma2/cfe-money,fma2/cfe-money |
e85d509fe6e32fd9c1f1d12b85fa40a02b93c7a2 | app/views/site_page/search_results.html.erb | app/views/site_page/search_results.html.erb | <%= javascript_pack_tag 'application' %>
<%= react_component('public/SearchResults', {
site: @site_page.site,
search: @search_string,
page: @page_number,
totalPages: @total_pages,
results: @search_results
}) %>
<script type="text/javascript">
window.route = 'SearchResults';
</script>
| <%= javascript_pack_tag 'application' %>
<%= react_component('public/SearchResults', {
site: @site_page.site,
image: @alternative_image,
search: @search_string,
page: @page_number,
totalPages: @total_pages,
results: @search_results
}) %>
<script type="text/javascript">
window.route = 'SearchResults';
</... | Fix a bug where the search page wouldn't have any cover image | Fix a bug where the search page wouldn't have any cover image
| HTML+ERB | mit | Vizzuality/forest-atlas-landscape-cms,Vizzuality/forest-atlas-landscape-cms,Vizzuality/forest-atlas-landscape-cms,Vizzuality/forest-atlas-landscape-cms |
246dd696b053acfb5d01986498f879268d59a5c8 | app/views/documents/_document_show.html.erb | app/views/documents/_document_show.html.erb | <%= div_for document, :class => 'content_size' do %>
<div class="document_show">
<%= link_to "", document, :class => icon75_class_for(document), :alt => document.title %>
</div>
<% end %>
| <%= div_for document, :class => 'content_size' do %>
<div class="document_show">
<iframe src="http://docs.google.com/viewer?url=http%3A%2F%2Fvishub.global.dit.upm.es<%=u download_document_path(document)%>&embedded=true" width="600" height="480" style="border: none;"></iframe>
</div>
<% end %>
| Add google docs embedded view | Add google docs embedded view
| HTML+ERB | agpl-3.0 | rogervaas/vish,ging/vish_orange,suec78/vish_storyrobin,nathanV38/vishTst,agordillo/vish,rogervaas/vish,ging/vish,ging/vish_orange,agordillo/vish,rogervaas/vish,suec78/vish_storyrobin,ging/vish,ging/vish,agordillo/vish,agordillo/vish,ging/vish_orange,nathanV38/vishTst,ging/vish,suec78/vish_storyrobin,ging/vish_orange,ro... |
a17d753b1a43a82699a749352742931ad173ce04 | app/views/site/index/_active_teams.html.erb | app/views/site/index/_active_teams.html.erb | <%= cache_in_private([:site_index, :active_teams], :expires_in => 15.minutes) do %>
<%= pull_box("Active teams", :class => "pull-box-510") do %>
<ul class="with_icons inline_icons">
<% @active_groups.each do |group| %>
<li class="group">
<%= image_tag(group.avatar.url(:thumb), :alt => "Ava... | <%= cache_in_private([:site_index, :active_teams], :expires_in => 15.minutes) do %>
<%= pull_box("Active teams") do %>
<table class="table">
<% @active_groups.each do |group| %>
<tr>
<td>
<%= image_tag(group.avatar.url(:thumb), :alt => "Avatar", :width => "16") %>
&... | Update markup in Active teams box | Update markup in Active teams box
| HTML+ERB | agpl-3.0 | tigefa4u/gitorious-mainline,Gitorious-backup/mainline,rae/gitorious-mainline,SamuelMoraesF/Gitorious,rae/gitorious-mainline,gitorious/mainline,spencerwp/mainline,elcom/gitorious,elcom/gitorious,gitorious/mainline,gitorious/mainline,tigefa4u/gitorious-mainline,SamuelMoraesF/Gitorious,tigefa4u/gitorious-mainline,SamuelMo... |
ca9e807cd4134aa4677848fa16c8d08b2d5d4288 | app/views/admin/poll/booth_assignments/index.html.erb | app/views/admin/poll/booth_assignments/index.html.erb | <%= render "/admin/poll/polls/poll_header" %>
<div id="poll-resources">
<%= render "/admin/poll/polls/subnav" %>
<%= render "search_booths" %>
<h3><%= t("admin.poll_booth_assignments.index.booths_title") %></h3>
<% if @booth_assignments.empty? %>
<div class="callout primary margin-top">
<%= t("admin... | <%= render "/admin/poll/polls/poll_header" %>
<div id="poll-resources">
<%= render "/admin/poll/polls/subnav" %>
<%= render "search_booths" %>
<h3><%= t("admin.poll_booth_assignments.index.booths_title") %></h3>
<%= link_to t("admin.booth_assignments.manage_assignments"),
manage_admin_poll_boo... | Add link to booth assignment management at poll booth assigments list | Add link to booth assignment management at poll booth assigments list
| HTML+ERB | agpl-3.0 | deivid-rodriguez/participacion,AyuntamientoPuertoReal/decidePuertoReal,AyuntamientoPuertoReal/decidePuertoReal,deivid-rodriguez/participacion,AyuntamientoMadrid/participacion,deivid-rodriguez/participacion,consul/consul,CDJ11/CDJ,consul/consul,AjuntamentdeCastello/consul,AyuntamientoMadrid/participacion,AjuntamentdeCas... |
b2babbdac366f0cab65bbc3575e1017e9f054ab3 | app/views/frontend/flexible_content/_picture.html.erb | app/views/frontend/flexible_content/_picture.html.erb | <% if object.present? && object.asset.present? %>
<% max_img_size = object.max_image_size %>
<% if object.url.present? %>
<%= link_to object.url do %>
<%= image_tag object.asset.image.url(max_img_size, max_img_size, quality: 65), alt: '', class: 'img-fluid' %>
<% end %>
<% else %>
<%= image_ta... | <% if object.present? && object.asset.present? %>
<% max_img_size = object.max_image_size %>
<% if object.url.present? %>
<%= link_to object.url do %>
<% if object.disallow_resize? %>
<%= image_tag object.asset.image.url, alt: '', class: 'img-fluid' %>
<% else %>
<%= image_tag objec... | Adjust the default content picture partial to take the 'disallow-resize' setting into account. | Adjust the default content picture partial to take the 'disallow-resize' setting into account.
| HTML+ERB | mit | udongo/udongo,udongo/udongo,udongo/udongo |
ece9a74c8c49559b00f2ca25740d2d7265cc6ded | app/views/shared/_newsletter_signup.html.erb | app/views/shared/_newsletter_signup.html.erb | <div class="newsletter-signup">
<%= form_tag(newsletter_subscription_path, class: 'newsletter', remote: true) do %>
<%= hidden_field_tag :authenticity_token, form_authenticity_token -%>
<fieldset>
<legend class="newsletter-signup__heading"><%= t('newsletter_subscriptions.title') %></legend>
<ul c... | <%= form_tag(newsletter_subscription_path, class: 'newsletter-signup', remote: true) do %>
<%= hidden_field_tag :authenticity_token, form_authenticity_token -%>
<h2 class="newsletter-signup__heading"><%= t('newsletter_subscriptions.title') %></h2>
<ul class="newsletter-signup__benefits-list list-benefits">
... | Restructure the newsletter signup HTML | Restructure the newsletter signup HTML
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
c201f569c171e143127b5d950dc94104b3e1915b | app/views/taggings/_form_for_taxons.html.erb | app/views/taggings/_form_for_taxons.html.erb | <h3>Taxons</h3>
<%= f.input :taxons,
collection: linkables.taxons,
placeholder: "Choose one...",
input_html: { multiple: true, class: :select2 } %>
<p class="explain">
This taxonomy is currently being developed by the Finding Things team.
</p>
| <h3>Taxons</h3>
<%= f.input :taxons,
collection: linkables.taxons,
placeholder: "Choose one...",
input_html: { multiple: true, class: :select2 } %>
<p class="explain">
This taxonomy is currently being developed.
</p>
| Remove note about the Finding Things team | Remove note about the Finding Things team
As this team doesn't currently exist.
| HTML+ERB | mit | alphagov/content-tagger,alphagov/content-tagger,alphagov/content-tagger |
cd9821d83a7ac594b1bf9cade85e0e67ab5e7a10 | views/partials/related_links_calculator.erb | views/partials/related_links_calculator.erb | <div class="inner group related-subsection">
<div class="guidance-session">
<h2 class="heading-small">Related information</h2>
<ul>
<li>
<a href="/tax-on-your-pension/1">Tax you pay on your pension</a>
</li>
<li>
<a href="/your-options/overview">Ways to take your pension mon... | Add calculator related links partial | Add calculator related links partial
| HTML+ERB | mit | guidance-guarantee-programme/alpha,guidance-guarantee-programme/alpha,guidance-guarantee-programme/alpha | |
90b0c645437568de86764ef67f24a1aaa73d72cb | app/views/root/report_a_problem.raw.html.erb | app/views/root/report_a_problem.raw.html.erb | <!-- report_a_problem -->
<p class="report-a-problem-toggle"><a href="">Is something wrong with this page?</a></p>
<div class="report-a-problem-container">
<p>Help us improve GOV.UK by telling us:</p>
<form accept-charset="UTF-8" action="/feedback" method="post">
<div style="margin:0;padding:0;display:inline"><... | <!-- report_a_problem -->
<p class="report-a-problem-toggle"><a href="">Is something wrong with this page?</a></p>
<div class="report-a-problem-container">
<p>Help us improve GOV.UK by telling us:</p>
<form accept-charset="UTF-8" action="/feedback" method="post">
<div style="margin:0;padding:0;display:inline"><... | Update form fields to have better names | Update form fields to have better names
| HTML+ERB | mit | alphagov/static,robinwhittleton/static,tadast/static,kalleth/static,kalleth/static,kalleth/static,kalleth/static,alphagov/static,robinwhittleton/static,robinwhittleton/static,tadast/static,tadast/static,robinwhittleton/static,alphagov/static,tadast/static |
c04a94194b62b345d58097eb27cdedf04af06b5c | wateringServer/app/views/plants/show.html.erb | wateringServer/app/views/plants/show.html.erb | <p>
Plant show
</p>
<p>
<%= @plant.name %>
</p>
<h2>Latest Waterings</h2>
<ul>
<% @plant.latest_watering(5).each do |watering| %>
<li>
<%= watering.date %>
<%= watering.amount %>
</li>
<% end %>
</ul>
<%= link_to 'New watering', new_plant_watering_path(@plant) %>
| <h1>
<%= @plant.name %>
</h1>
<h2>Latest Waterings</h2>
<ul>
<% @plant.latest_watering(5).each do |watering| %>
<li>
<%= watering.date %>
<%= watering.amount %>
</li>
<% end %>
</ul>
<%= link_to 'New watering', new_plant_watering_path(@plant) %>
| Clean up plant page with name a header | Clean up plant page with name a header
| HTML+ERB | mit | darmbrus/plant-watering-tracker,darmbrus/plant-watering-tracker,darmbrus/plant-watering-tracker,darmbrus/plant-watering-tracker,darmbrus/plant-watering-tracker |
df1fe524422fd53b0d99609c26f357168300ee46 | cookbooks/vertx/templates/default/supervisor-service.conf.erb | cookbooks/vertx/templates/default/supervisor-service.conf.erb | [program:<%= @mod_conf['mod'] %>]
command=<%= @vertx[:mods_dir] + "/" + @mod_conf['mod'] + ".run" %>
process_name=<%= @mod_conf['mod'] %>
autostart=true
autorestart=true
stopsignal=QUIT
user=<%= @vertx[:user] %>
group=<%= @vertx[:group] %>
| [program:<%= @mod_conf['mod'] %>]
command=<%= @vertx[:mods_dir] + "/" + @mod_conf['mod'] + ".run" %>
process_name=<%= @mod_conf['mod'] %>
autostart=true
autorestart=true
stopsignal=TERM
stopwaitsecs=30
user=<%= @vertx[:user] %>
group=<%= @vertx[:group] %>
| Fix vertx cookbook to send TERM signal to JVM process to signal proper shutdown - also wait 30 secs to allow JVM time to exit | Fix vertx cookbook to send TERM signal to JVM process to signal proper shutdown - also wait 30 secs to allow JVM time to exit
| HTML+ERB | apache-2.0 | citizenme/chef-repo,citizenme/chef-repo,citizenme/chef-repo,citizenme/chef-repo |
c4f8702521ab17bb86677a187e2ee4731bc96d36 | app/views/refinery/retailers/admin/retailers/_subregion_select.html.erb | app/views/refinery/retailers/admin/retailers/_subregion_select.html.erb | <div id="retailer_state_code_wrapper">
<% parent_region ||= params[:parent_region] %>
<% country = Carmen::Country.coded(parent_region) %>
<% if country.nil? %>
<em>Please select a country above</em>
<% elsif country.subregions? %>
<%= subregion_select(:order, :state_code, parent_region) %>
<% else %... | <div id="retailer_state_code_wrapper">
<% parent_region ||= params[:parent_region] %>
<% country = Carmen::Country.coded(parent_region) %>
<% if country.nil? %>
<em>Please select a country above</em>
<% elsif country.subregions? %>
<%= subregion_select(:retailer, :state_code, parent_region) %>
<% els... | Fix subregion_select with retailer controller | Fix subregion_select with retailer controller
| HTML+ERB | mit | bisscomm/refinerycms-retailers,bisscomm/refinerycms-retailers |
afd5ec3ecde61c2fc281ad90c882c9ac80d0c9dd | templates/gerrit.config.erb | templates/gerrit.config.erb | # This file is managed by puppet.
# https://github.com/openstack/openstack-ci-puppet
[gerrit]
basePath = git
canonicalWebUrl = <%= canonicalweburl %>
[database]
type = MYSQL
hostname = localhost
database = reviewdb
username = gerrit2
[auth]
type = OPENID_SSO
openIdSsoUrl = <%= openidssourl %>
[sendemail]
smtp... | # This file is managed by puppet.
# https://github.com/openstack/openstack-ci-puppet
[gerrit]
basePath = git
canonicalWebUrl = <%= canonicalweburl %>
[database]
type = MYSQL
hostname = localhost
database = reviewdb
username = gerrit2
[auth]
type = OPENID_SSO
openIdSsoUrl = <%= openidssourl %>
cookieSecure = t... | Increase gerrit session timeout to 24h. | Increase gerrit session timeout to 24h.
Set session cookies to SSL-only.
Change-Id: Ie49b0fe90f4c8c9f1c603d21b21e67fbdda6196c
| HTML+ERB | apache-2.0 | open-switch/infra_puppet-gerrit,open-switch/infra_puppet-gerrit,open-switch/infra_puppet-gerrit,dhiana/puppet-gerrit,dhiana/puppet-gerrit,dhiana/puppet-gerrit |
782e1d81203801be46b546753b123863e79d4deb | app/views/about/_free_and_open_source.html.erb | app/views/about/_free_and_open_source.html.erb | <section class="about" id="free-and-open-source" style="display: none;">
<h2>Free and Open Source</h2>
<p>Git is released under the <a href="http://opensource.org/licenses/GPL-2.0"
>GNU General Public License version 2.0</a>, which is an
<a href="http://www.opensource.org/docs/osd">open source license</a>.
... | <section class="about" id="free-and-open-source" style="display: none;">
<h2>Free and Open Source</h2>
<p>Git is released under the <a href="https://opensource.org/licenses/GPL-2.0"
>GNU General Public License version 2.0</a>, which is an
<a href="https://opensource.org/docs/osd">open source license</a>.
T... | Update links to prevent redirects | Update links to prevent redirects | HTML+ERB | mit | mosoft521/gitscm-next,mosoft521/gitscm-next,git/git-scm.com,Mokolea/git-scm.com,git/git-scm.com,mosoft521/gitscm-next,Mokolea/git-scm.com,Mokolea/git-scm.com,Mokolea/git-scm.com,mosoft521/gitscm-next,git/git-scm.com,git/git-scm.com |
23545c0041e8fac7276e6187214e6f681e182dcd | app/views/mailer/request_user_message.html.erb | app/views/mailer/request_user_message.html.erb | <!DOCTYPE html>
<html>
<head>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
Hi <%= @first_name %>,<br />
<br />
Below user requested to sign up. Review by going to <A HREF="http://expertiza.ncsu.edu/users/list_pending_requested">Expertiza</A>.<br />
<br />
Name: <%= @user.name(s... | <!DOCTYPE html>
<html>
<head>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
Hi <%= @first_name %>,<br />
<br />
Below user requested to sign up. Review by going to <A HREF="http://expertiza.ncsu.edu/users/list_pending_requested">Expertiza</A>.<br />
<br />
Name: <%= @user.name %... | Fix an issue related to request new user | Fix an issue related to request new user
[ci skip]
| HTML+ERB | mit | expertiza/expertiza,expertiza/expertiza,expertiza/expertiza,expertiza/expertiza |
0e56b7e0696faef8d29b7d3423f09c71be480f34 | app/views/partials/_social_media_nav.html.erb | app/views/partials/_social_media_nav.html.erb | <h1 class="sr-only">Social-media Navigation</h1>
<a href="https://twitter.com/downeydillon1">
<span class="fa-stack fa-lg">
<i class="fa fa-circle-o fa-stack-2x"></i>
<i class="fa fa-twitter fa-stack-1x"></i>
</span>
</a>
<a href="mailto:downeydillon@gmail.com">
<span class="fa-stack fa-lg">
<i class=... | <nav class="debug social-media-nav row text-center">
<h1 class="sr-only">Social-media Navigation</h1>
<a href="https://twitter.com/downeydillon1">
<span class="fa-stack fa-lg">
<i class="fa fa-circle-o fa-stack-2x"></i>
<i class="fa fa-twitter fa-stack-1x"></i>
</span>
</a>
<a href="mailto:d... | Add nav to element to social media partial | Add nav to element to social media partial
| HTML+ERB | mit | downeyd27/personal_website,downeyd27/personal_website,downeyd27/personal_website |
3d8034cfa01269c4746999e1df71dcf2de20d7d4 | gitconfig.erb | gitconfig.erb | [user]
name = <%= print("Your Name: "); STDOUT.flush; STDIN.gets.chomp %>
email = <%= print("Your Email: "); STDOUT.flush; STDIN.gets.chomp %>
[core]
excludesfile = <%= ENV['HOME'] %>/.gitignore
editor = vim
eol = lf
autocrlf = false
compression = 9
loosecompression = 1
[color]
diff = auto
status = auto
... | [user]
name = <%= print("Your Name: "); STDOUT.flush; STDIN.gets.chomp %>
email = <%= print("Your Email: "); STDOUT.flush; STDIN.gets.chomp %>
[core]
excludesfile = ~/.gitignore
editor = vim
eol = lf
autocrlf = false
compression = 9
loosecompression = 1
[color]
diff = auto
status = auto
branch = auto
[ap... | Add a ff-merge git alias and fix the excludesfile path | Add a ff-merge git alias and fix the excludesfile path
| HTML+ERB | mit | mscharley/dotfiles,mscharley/dotfiles,mscharley/dotfiles,mscharley/dotfiles |
954116c9b5bcd2a3fc2ceb0468c1314bcefd710a | gitconfig.erb | gitconfig.erb | [user]
name = <%= print("Your Name: "); STDOUT.flush; STDIN.gets.chomp %>
email = <%= print("Your Email: "); STDOUT.flush; STDIN.gets.chomp %>
[color]
ui = auto
[alias]
co = checkout
ci = commit
lol = log --oneline --decorate
diffc = diff --color
diffcc = diff --color --cached
su = s... | [user]
name = <%= print("Your Name: "); STDOUT.flush; STDIN.gets.chomp %>
email = <%= print("Your Email: "); STDOUT.flush; STDIN.gets.chomp %>
[color]
ui = auto
[init]
defaultBranch = main
[alias]
co = checkout
ci = commit
lol = log --oneline --decorate
diffc = diff --color
diffcc = ... | Make main default branch name | Make main default branch name
| HTML+ERB | mit | BinaryMuse/dotfiles,BinaryMuse/dotfiles,BinaryMuse/dotfiles,BinaryMuse/dotfiles |
2f5fb8b32b589a8c2806b6c361b2575fc2a0ae8d | gitconfig.erb | gitconfig.erb | <%local_file = File.expand_path('~/.gitconfig-local') %>
<% if File.exists? local_file %>
<%=File.read local_file %>
<% else %>
[user]
name = epochwolf
email = epochwolf@gmail.com
<% end %>
[alias]
st = status
ci = commit
br = branch
co = checkout
df = diff
lg = log -p
[core]
excludesfile = ~/.gitig... | <%local_file = File.expand_path('~/.gitconfig-local') %>
<% if File.exists? local_file %>
<%=File.read local_file %>
<% else %>
[user]
name = epochwolf
email = epochwolf@gmail.com
<% end %>
[alias]
st = status
ci = commit
br = branch
co = checkout
df = diff
lg = log -p
[core]
excludesfile = ~/.gitig... | Set the default behavior for git push to only push the current branch so git push --force doesn't clobber other remotes. | Set the default behavior for git push to only push the current branch so git push --force doesn't clobber other remotes.
| HTML+ERB | mit | epochwolf/dotfiles,epochwolf/dotfiles,epochwolf/dotfiles |
b479dac1f9ed0271beb94c5ef5c449471ff24ba5 | templates/openrc.erb | templates/openrc.erb | #!/bin/sh
<% if @keystone_admin_token -%>
export OS_SERVICE_TOKEN='<%= @keystone_admin_token.gsub(/'/){ %q(\') } %>'
export OS_SERVICE_ENDPOINT='http://<%= @controller_node %>:35357'
<% end -%>
export OS_NO_CACHE='<%= @use_no_cache %>'
export OS_TENANT_NAME='<%= @admin_tenant %>'
export OS_USERNAME='<%= @admin_user %>'... | #!/bin/sh
<% if @keystone_admin_token -%>
export OS_SERVICE_TOKEN='<%= @keystone_admin_token.gsub(/'/){ %q(\') } %>'
export OS_SERVICE_ENDPOINT='http://<%= @controller_node %>:35357/v2.0/'
<% end -%>
export OS_NO_CACHE='<%= @use_no_cache %>'
export OS_TENANT_NAME='<%= @admin_tenant %>'
export OS_USERNAME='<%= @admin_us... | Revert "Use plain Keystone endpoint without version information" | Revert "Use plain Keystone endpoint without version information"
This reverts commit b60988b025397477ba459719b42c67cb921d4daa.
| HTML+ERB | apache-2.0 | gwdg/puppet-openstack-cloud,gwdg/puppet-openstack-cloud,gwdg/puppet-openstack-cloud,gwdg/puppet-openstack-cloud |
37d6d6de8f3b3cbbf6a714907bda00187e19507a | templates/default/sv-jenkins-slave-run.erb | templates/default/sv-jenkins-slave-run.erb | #!/bin/sh
#
# This file was generated by Chef for <%= node['fqdn'] %>.
# Do NOT modify this file by hand.
#
exec 2>&1
cd <%= @options[:new_resource].remote_fs %>
exec chpst -u <%= @options[:new_resource].user %> \
<%= @options[:java_bin] %> \
<%- if @options[:new_resource].jvm_options -%>
<%= @options[:new_resour... | #!/bin/sh
#
# This file was generated by Chef for <%= node['fqdn'] %>.
# Do NOT modify this file by hand.
#
exec 2>&1
cd <%= @options[:new_resource].remote_fs %>
exec chpst -u <%= @options[:new_resource].user %> \
env HOME=<%= @options[:new_resource].remote_fs %> \
JENKINS_HOME=<%= @options[:new_resource].remote_... | Set HOME and JENKINS_HOME on slaves | Set HOME and JENKINS_HOME on slaves
| HTML+ERB | apache-2.0 | mlongob/jenkins,mknapik/jenkins,umar85/jenkins,Dispader/jenkins,Tiger66639/jenkins,cru-Luis-Rodriguez/jenkins,bhalothia/jenkins,cru-Luis-Rodriguez/jenkins,DataDog/jenkins,autoclone/iptables,thrucker/jenkins,bhalothia/jenkins,autoclone/iptables,autoclone/iptables,developerinlondon/jenkins,samdunne/jenkins,StephenKing/ch... |
6037e35f9d5f4b8df710ee939e0df70f23253839 | app/views/lesson_plan/_overview_entry.html.erb | app/views/lesson_plan/_overview_entry.html.erb | <hr class="hr-shrink-margin">
<div class="row">
<div class="span2">
<h4>Type</h4>
<select name="lesson_plan_entry[<%= entry.id %>][entry_type]" class="span2">
<% LessonPlanEntry::ENTRY_TYPES.each { |type| %>
<option value="<%= type[1] %>"><%= type[0] %></option>
<% } %>
</select>... | Add a rough template for mass editing Lesson Plan Entries. | Add a rough template for mass editing Lesson Plan Entries.
| HTML+ERB | mit | dariusf/coursemology.org,nusedutech/coursemology.org,allenwq/coursemology.org,nnamon/coursemology.org,allenwq/coursemology.org,dariusf/coursemology.org,nnamon/coursemology.org,allenwq/coursemology.org,nnamon/coursemology.org,nusedutech/coursemology.org,Coursemology/coursemology.org,allenwq/coursemology.org,Coursemology... | |
e306721d9ccded1a2a7805618f871ba6541891d3 | app/views/admin/system/notification_subscriptions/_notification_subscription.html.erb | app/views/admin/system/notification_subscriptions/_notification_subscription.html.erb | <% ns = notification_subscription %>
<tr>
<td><%= link_to ns.user.name, admin_system_user_path(ns.user) %></td>
<td><%= ns.user.affiliate %></td>
<td><code><%= ns.event_type %></code></td>
<td class="text-center"><%= tick(ns.email) %></td>
<td class="text-center"><%= tick(ns.sms) %></td>
<td class="text-cen... | <% ns = notification_subscription %>
<tr>
<td>
<% if ns.user %>
<%= link_to ns.user.name, admin_system_user_path(ns.user) %>
<% else %>
User ID: <%= ns.user_id %>
<% end %>
</td>
<td><%= ns.user&.affiliate %></td>
<td><code><%= ns.event_type %></code></td>
<td class="text-center"><%= ... | Fix null user in notification subscriptions | Fix null user in notification subscriptions
| HTML+ERB | mit | sumitbirla/rhombus_core,sumitbirla/rhombus_core,sumitbirla/rhombus_core |
1e075ce0d097119fc360fc50ae99a054b5dd0cca | app/views/devise/passwords/new.html.erb | app/views/devise/passwords/new.html.erb | <h2>Forgot your password?</h2>
<%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f| %>
<%= devise_error_messages! %>
<div class="field">
<%= f.label :email %><br />
<%= f.email_field :email, autofocus: true %>
</div>
<div class="actions">
<%... | <h2>Forgot your password?</h2>
<%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f| %>
<%= devise_error_messages! %>
<div class="field">
<%= f.label :email %><br />
<%= f.email_field :email, autofocus: true %>
</div>
<div class="actions">
<%... | Change the links partial path | Change the links partial path
| HTML+ERB | mit | juanhenriquez/move-rails,juanhenriquez/move-rails,juanhenriquez/move-rails |
52d08c779639ffe1dcebe718fafbe31329951fd9 | app/views/search/_sellers_form.html.erb | app/views/search/_sellers_form.html.erb | <h3><%= title %></h3>
<%= form_tag({:controller => 'search', :action => 'assets'}, {:method => 'get'}, :class => 'form-inline') do %>
<div class="search-in-opt"><%= _('Search in:') %>
<%= labelled_radio_button _('Enterprises'), 'asset', 'enterprises', true %><br />
<%= labelled_radio_button _('Products... | <h3><%= title %></h3>
<%= form_tag({:controller => 'search', :action => 'assets'}, {:method => 'get', :class => 'form-inline'}) do %>
<div class="search-in-opt"><%= _('Search in:') %>
<%= labelled_radio_button _('Enterprises'), 'asset', 'enterprises', true %><br />
<%= labelled_radio_button _('Products... | Fix class for bootstrap compatibility | Fix class for bootstrap compatibility | HTML+ERB | agpl-3.0 | blogoosfero/noosfero,blogoosfero/noosfero,coletivoEITA/noosfero-ecosol,EcoAlternative/noosfero-ecosol,CIRANDAS/noosfero-ecosol,coletivoEITA/noosfero-ecosol,EcoAlternative/noosfero-ecosol,coletivoEITA/noosfero-ecosol,coletivoEITA/noosfero-ecosol,samasti/noosfero,blogoosfero/noosfero,CIRANDAS/noosfero-ecosol,samasti/noos... |
8b4f76a813eb438b09da653511086e51338e75d4 | app/views/admin/competitors/nametags.html.erb | app/views/admin/competitors/nametags.html.erb | <% @competitors.each_slice(8) do |competitors_for_page| %>
<table>
<% competitors_for_page.each_slice(2) do |competitors_for_row| %>
<tr>
<% competitors_for_row.each do |competitor| %>
<td>
<span class="competition"><%= current_competition.name %></span>
<div class... | <% @competitors.each_slice(8) do |competitors_for_page| %>
<table>
<% competitors_for_page.each_slice(2) do |competitors_for_row| %>
<tr>
<% competitors_for_row.each do |competitor| %>
<td>
<span class="competition"><%= current_competition.name %></span>
<div class... | Remove local city from nametags | Remove local city from nametags
| HTML+ERB | mit | fw42/cubecomp,fw42/cubecomp,fw42/cubecomp,fw42/cubecomp |
266ca6cc264ebf611c99ec1d432502bdea29bd9c | app/views/reject_mailer/reject_email.html.erb | app/views/reject_mailer/reject_email.html.erb | <h1>Hello <%= @invite.name %></h1>
<p>Unfortunately, <%= @invite.user.username %> has rejected your request to join their game.</p>
<p>Look for other games maybe?</p>
<a href="http://<%= ENV["SITE_URL"] %>/games" style="background-color:#EB7035;border:1px solid #EB7035;border-radius:3px;color:#ffffff;display:inline-... | <h1>Hello <%= @reject.name %></h1>
<p>Unfortunately, <%= @reject.user.username %> has rejected your request to join their game at <%= @reject.game.arena.name %>.</p>
<p>Look for other games maybe?</p>
<a href="http://<%= ENV["SITE_URL"] %>/games" style="background-color:#EB7035;border:1px solid #EB7035;border-radius... | Fix content in reject email | Fix content in reject email
| HTML+ERB | apache-2.0 | FarazPatankar/turfsurf,FarazPatankar/turfsurf,FarazPatankar/turfsurf |
e70a54eb16e403b21da7f707c405793c4cf29642 | app/views/submission_filters/results.html.erb | app/views/submission_filters/results.html.erb | <%= render 'filters' %>
<% if submission_presenters.empty? %>
<%= render 'empty_table', message: "No rated submissions to show" %>
<% else %>
<%= link_to "Send emails", send_invitation_emails_path,
method: :post,
data: { confirm: "Are you sure?" },
class: "btn btn-small btn-emails"
%>
<%= render 'l... | <%= render 'filters' %>
<% if submission_presenters.empty? %>
<%= render 'empty_table', message: "No rated submissions to show" %>
<% else %>
<%= link_to "Send emails", send_invitation_emails_path,
method: :post,
data: { confirm: "From now on invitation and reminder emails will be sent to participants from... | Add info to send emails button | Add info to send emails button
| HTML+ERB | mit | LunarLogic/rails-girls-submissions,LunarLogic/rails-girls-submissions,LunarLogic/rails-girls-submissions |
98cfa42065c80d393c6bbf754e947872e9f102e7 | release/jobs/blobstore/templates/nginx.conf.erb | release/jobs/blobstore/templates/nginx.conf.erb | user vcap;
worker_processes 2;
daemon off;
error_log /var/vcap/sys/log/blobstore/error.log;
pid /var/vcap/sys/run/blobstore/nginx.pid;
events {
worker_connections 8192;
}
http {
include /var/vcap/jobs/blobstore/config/mime.types;
default_type text/html;
log_format timed_combined '$remote_addr - ... | user vcap;
worker_processes 2;
daemon off;
error_log /var/vcap/sys/log/blobstore/error.log;
pid /var/vcap/sys/run/blobstore/nginx.pid;
events {
worker_connections 8192;
}
http {
include /var/vcap/jobs/blobstore/config/mime.types;
default_type text/html;
log_format timed_combined '$remote_addr - ... | Configure sendfile_max_chunk in blobstore nginx | Configure sendfile_max_chunk in blobstore nginx
- When exporting large releases on a small instance type the file was
incomplete because nginx thought director timed out because it was
taking so long to write the file.
[#116808043](https://www.pivotaltracker.com/story/show/116808043)
Signed-off-by: William Lindn... | HTML+ERB | apache-2.0 | barthy1/bosh,barthy1/bosh,barthy1/bosh,barthy1/bosh |
f8782ebb7c48bf46548038d0f19221aa93e6703b | site-modules/profile/templates/swh/deploy/loader_opam/opam-manage-shared-state.sh.erb | site-modules/profile/templates/swh/deploy/loader_opam/opam-manage-shared-state.sh.erb | #!/usr/bin/env bash
# Managed by puppet class profile::swh::deploy::worker::loader_opam
# Changes will be overwritten
CMD=/usr/bin/opam
ROOT_DIR=<%= @opam_root %>
DEFAULT_INSTANCE="opam.ocaml.org"
INSTANCE=$1
INSTANCE_URL=$2
if [ $INSTANCE = $DEFAULT_INSTANCE ]; then
# Opam instance is considered the main instance... | #!/usr/bin/env bash
# Managed by puppet class profile::swh::deploy::worker::loader_opam
# Changes will be overwritten
CMD=/usr/bin/opam
ROOT_DIR=<%= @opam_root %>
DEFAULT_INSTANCE="opam.ocaml.org"
INSTANCE=$1
INSTANCE_URL=$2
if [ $INSTANCE = $DEFAULT_INSTANCE ]; then
# Opam instance is considered the main instance... | Fix wrong variable $INSTANCE typo | Fix wrong variable $INSTANCE typo
And drop the unnecessary workaround
| HTML+ERB | apache-2.0 | SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site |
37eb3da483ac5217b2a31c770cb5ea58d9aa05ce | app/views/customers/_job.html.erb | app/views/customers/_job.html.erb | <% if job %>
<div class="btn-group">
<button type="button" class="btn btn-xs btn-<%= job.last_error ? 'danger' : 'default' %> dropdown-toggle" data-toggle="dropdown" aria-expanded="false" title="<%= job.last_error || nil %>">
<% if job.last_error %>
<i class="fa fa-exclamation-triangle"></i>
<... | <% if job %>
<div class="btn-group">
<button type="button" class="btn btn-xs btn-<%= job.last_error ? 'danger' : 'default' %> dropdown-toggle" data-toggle="dropdown" aria-expanded="false" title="<%= job.last_error || nil %>">
<% if job.last_error %>
<i class="fa fa-exclamation-triangle"></i>
<... | Fix running job display in admin | Fix running job display in admin
| HTML+ERB | agpl-3.0 | fab-girard/mapotempo-web,fab-girard/mapotempo-web,fab-girard/mapotempo-web |
691ce1a73e1bc3c7000b382a3a0b5f6e370de44f | app/views/entries/_entry.json.erb | app/views/entries/_entry.json.erb | {
"id": "<%= entry.id %>",
"title": <%= entry.title.to_json.html_safe %>,
"read": <%= entry.read_by? user %>,
<% if entry.published.year == Date.today.year %>
"published": "<%= l entry.published.in_time_zone(ActiveSupport::TimeZone[current_user.timezone]), format: :short %>",
<% else %>
"published": "<%= l en... | {
"id": "<%= entry.id %>",
"title": <%= entry.title.to_json.html_safe %>,
"read": <%= entry.read_by? user %>,
<% if entry.published.year == Date.today.year %>
"published": "<%= l entry.published.in_time_zone(ActiveSupport::TimeZone[current_user.timezone]), format: :short %>",
<% else %>
"published": "<%= l en... | Add content and summary fields to JSON for an entry only if each field has value, respectively. | Add content and summary fields to JSON for an entry only if each field has value, respectively.
| HTML+ERB | mit | jmwenda/feedbunch,amatriain/feedbunch,amatriain/feedbunch,amatriain/feedbunch,amatriain/feedbunch,jmwenda/feedbunch,jmwenda/feedbunch |
bd3f6e86f3ef81f88319ec6258643f763f275adb | app/views/layouts/mailer.html.erb | app/views/layouts/mailer.html.erb | <html>
<body>
<%= yield %>
<p>
-----
</p>
<p>
<%= t('layouts.mailer.html.app_description',
app_name: link_to(t('app_name'), root_url)
) %>
</p>
<p>
<%= t('layouts.mailer.html.no_reply',
email: link_to(t('email'), "mailto:join.ifme@gma... | <html>
<body>
<%= yield %>
<p>
-----
</p>
<p>
<%= t('layouts.mailer.html.app_description',
app_name: link_to(t('app_name'), root_url)
).html_safe %>
</p>
<p>
<%= t('layouts.mailer.html.no_reply',
email: link_to(t('email'), "mailto:joi... | Make i18n text in mailer HTML safe | Make i18n text in mailer HTML safe
| HTML+ERB | agpl-3.0 | sexybiggetje/ifme,HashNotAdam/ifme,cartothemax/ifme,julianguyen/ifme,cartothemax/ifme,julianguyen/ifme,cartothemax/ifme,HashNotAdam/ifme,julianguyen/ifme,julianguyen/ifme,cartothemax/ifme,HashNotAdam/ifme,sexybiggetje/ifme,sexybiggetje/ifme |
83abf4f5972b402831b843d7e8cf91c7b365076e | app/views/homepage/_promotion-slots.html.erb | app/views/homepage/_promotion-slots.html.erb | <%#
Before updating a promotion slot please read the documentation.
See: https://docs.publishing.service.gov.uk/apps/frontend/update-homepage-promotion-slots.html
%>
<section class="homepage-section">
<div class="homepage-section__heading">
<%= render "govuk_publishing_components/components/heading", {
... | <%#
Before updating a promotion slot please read the documentation.
See: https://docs.publishing.service.gov.uk/apps/frontend/update-homepage-promotion-slots.html
%>
<section class="homepage-section">
<div class="homepage-section__heading">
<%= render "govuk_publishing_components/components/heading", {
... | Convert paths of srcset images to asset paths | Convert paths of srcset images to asset paths
Previously these weren't converted to rails asset paths and weren't
operational. Putting them through image_path resolves this.
The use of presence is to set the attribute to nil when there are no
srcset images and not display the attribute.
| HTML+ERB | mit | alphagov/frontend,alphagov/frontend,alphagov/frontend,alphagov/frontend |
b05e8e4332d3f64fbcbfa3ad7edd287ec4697ef6 | app/views/spree/admin/shared/_order_tabs.html.erb | app/views/spree/admin/shared/_order_tabs.html.erb | <% content_for :page_title do %>
<% if @order.quote.present? %>
<%= link_to "#{Spree.t(:order)} ##{@order.number} - Quote", spree.edit_admin_order_path(@order) %>
<% else %>
<%= link_to "#{Spree.t(:order)} ##{@order.number}", spree.edit_admin_order_path(@order) %>
<% end %>
<% end %>
<% content_for :side... | <% content_for :page_title do %>
<% if @order.quote.present? && @order.payment? %>
<%= link_to "#{Spree.t(:order)} ##{@order.number} - Quote", spree.edit_admin_order_path(@order) %>
<% else %>
<%= link_to "#{Spree.t(:order)} ##{@order.number}", spree.edit_admin_order_path(@order) %>
<% end %>
<% end %>
<... | Add validation to not show generate quote button when the order is paid | Add validation to not show generate quote button when the order is paid
| HTML+ERB | bsd-3-clause | littlebitselectronics/spree_quotes,littlebitselectronics/spree_quotes |
0c573742f02886eef479331538a7eeea04cab572 | app/views/coronavirus_pages/_actions.html.erb | app/views/coronavirus_pages/_actions.html.erb | <div class="app-side">
<div class="app-side__actions">
<%= link_to "Publish", coronavirus_page_publish_path(@coronavirus_page.slug), method: :post, class: "govuk-button" %>
<%= render "govuk_publishing_components/components/button", {
text: "Preview",
href: draft_govuk_url(@coronavirus_page.base... | <div class="app-side">
<div class="app-side__actions">
<%= form_with(url: coronavirus_page_publish_path(coronavirus_page_slug: @coronavirus_page.slug), local: true) do %>
<%= render "govuk_publishing_components/components/button", { text: "Publish" } %>
<% end %>
<%= render "govuk_publishing_compone... | Use govuk-publishing component button - replace link_to with publishing component - wire up the check live link | Use govuk-publishing component button
- replace link_to with publishing component
- wire up the check live link
| HTML+ERB | mit | alphagov/collections-publisher,alphagov/collections-publisher,alphagov/collections-publisher |
f8401795738c0ce30f7ead5efb66ddbe37991de6 | app/views/spree/admin/shared/_routes.html.erb | app/views/spree/admin/shared/_routes.html.erb | <script>
Spree.routes = <%== {
:variants_search => spree.admin_search_variants_path(:format => 'json'),
:taxons_search => main_app.api_taxons_path(:format => 'json'),
:user_search => spree.admin_search_users_path(:format => 'json'),
:orders_api => main_app.api_orders... | <script>
Spree.routes = <%== {
:variants_search => spree.admin_search_variants_path(:format => 'json'),
:taxons_search => main_app.api_taxons_path(:format => 'json'),
:user_search => spree.admin_search_users_path(:format => 'json'),
:orders_api => main_app.api_orders... | Remove .json from Spree.routes.orders_api. This path is only used to compose the order shipments path and thus cannot have the .json | Remove .json from Spree.routes.orders_api. This path is only used to compose the order shipments path and thus cannot have the .json
| HTML+ERB | agpl-3.0 | Matt-Yorkley/openfoodnetwork,mkllnk/openfoodnetwork,Matt-Yorkley/openfoodnetwork,mkllnk/openfoodnetwork,openfoodfoundation/openfoodnetwork,lin-d-hop/openfoodnetwork,lin-d-hop/openfoodnetwork,lin-d-hop/openfoodnetwork,lin-d-hop/openfoodnetwork,mkllnk/openfoodnetwork,openfoodfoundation/openfoodnetwork,openfoodfoundation/... |
6a7bc8fd69a96ef32e66bce9dda9e97375223f05 | cookbooks/web/templates/default/logrotate.web.erb | cookbooks/web/templates/default/logrotate.web.erb | # DO NOT EDIT - This file is being maintained by Chef
<%= node[:web][:log_directory] %>/*.log {
daily
missingok
rotate 7
compress
delaycompress
notifempty
create 0660 rails rails
sharedscripts
postrotate
<% if File.directory?("#{node[:web][:base_directory]}/rails") -%>
/usr/bin/passenger-config r... | # DO NOT EDIT - This file is being maintained by Chef
<%= node[:web][:log_directory] %>/*.log {
daily
missingok
rotate 7
compress
delaycompress
notifempty
create 0660 rails rails
sharedscripts
postrotate
<% if File.directory?("#{node[:web][:base_directory]}/rails") -%>
/usr/bin/passenger-config r... | Use systemctl for gpx-import log rotation | Use systemctl for gpx-import log rotation
| HTML+ERB | apache-2.0 | zerebubuth/openstreetmap-chef,openstreetmap/chef,Firefishy/chef,zerebubuth/openstreetmap-chef,Firefishy/chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,Firefishy/chef,openstreetmap/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,Firefishy/chef,tomhugh... |
e24e2d4549f808c83f41391a1e87c024453ca1f7 | app/views/devise/confirmations/new.html.erb | app/views/devise/confirmations/new.html.erb | <h2>Resend confirmation instructions</h2>
<%= form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f| %>
<%= devise_error_messages! %>
<div class="field">
<%= f.label :email %><br />
<%= f.email_field :email, autofocus: true %>
</div>
<div class="a... | <h2>Resend confirmation instructions</h2>
<%= form_for(resource, as: resource_name, url: resource_confirmation_path, html: { method: :post }) do |f| %>
<%= devise_error_messages! %>
<div class="field">
<%= f.label :email %><br />
<%= f.email_field :email, autofocus: true %>
</div>
<div class="actions... | Fix devise confirmations new view. | Fix devise confirmations new view.
| HTML+ERB | mit | msducheminjr/rails_blog,msducheminjr/rails_blog,msducheminjr/rails_blog |
ba323f6834503cd6472e4233c72e3524a737916f | alert_templates/prod/uaa_ui_latency.json.erb | alert_templates/prod/uaa_ui_latency.json.erb | {
"created_at": 1573264076000,
"deleted": null,
"message": "This may be related to the [#mushy-steel incident](https://docs.google.com/document/d/16UjSuinRkZQp_kASMts7cf9cmHE4eA3XygSEe6bVzxA/edit#).\n\nA quick way to confirm user-impacting behavior is to try login.<%= domain_url %> and see if you receive a delaye... | Add monitor for UAA UI Latency | Add monitor for UAA UI Latency
| HTML+ERB | apache-2.0 | pivotal-cf-experimental/datadog-config-oss,pivotal-cf-experimental/datadog-config-oss | |
029f2a9f48de0eef2c02bdaeb0d82a020750e3d0 | frontend/app/views/spree/orders/show.html.erb | frontend/app/views/spree/orders/show.html.erb | <fieldset id="order_summary" data-hook>
<legend><%= Spree.t(:order_number, :number => @order.number) %></legend>
<h1><%= accurate_title %></h1>
<div id="order" data-hook>
<% if order_just_completed?(@order) %>
<h1><%= Spree.t(:thank_you_for_your_order) %></h1>
<% end %>
<%= render :partial => '... | <fieldset id="order_summary" data-hook>
<legend><%= Spree.t(:order_number, :number => @order.number) %></legend>
<h1><%= accurate_title %></h1>
<% if order_just_completed?(@order) %>
<strong><%= Spree.t(:thank_you_for_your_order) %></strong>
<% end %>
<div id="order" data-hook>
<%= render :partial =>... | Make thank_you_for_your_order message much smaller | [frontend] Make thank_you_for_your_order message much smaller
It's not a header, just a notice. It doesn't need to be as big as the order number.
| HTML+ERB | bsd-3-clause | Boomkat/spree,devilcoders/solidus,TrialGuides/spree,patdec/spree,thogg4/spree,reidblomquist/spree,vulk/spree,degica/spree,piousbox/spree,azranel/spree,mindvolt/spree,azclick/spree,radarseesradar/spree,Kagetsuki/spree,beni55/spree,rbngzlv/spree,derekluo/spree,jasonfb/spree,surfdome/spree,nooysters/spree,pervino/spree,pr... |
f17f1f03c0b9b74c2f00aac46d96c25c58e3ef22 | app/views/collections/_comment_form.html.erb | app/views/collections/_comment_form.html.erb | <div class="form-input">
<%= form_for Comment.new, url: collection_comments_path(@collection.id) do |f| %>
<%= f.hidden_field :user_id, value: current_user.id %>
<%= f.hidden_field :collection_id, value: @collection.id %>
<div class="field">
<%= f.text_area :content, class: "form-control", placehol... | <% content_for :head do %>
<%= javascript_include_tag "comments/comment" %>
<% end %>
<div class="form-input">
<%= form_for Comment.new, url: collection_comments_path(@collection.id) do |f| %>
<%= f.hidden_field :user_id, value: current_user.id %>
<%= f.hidden_field :collection_id, value: @collection.id %>... | Include javascript in header of comment form | Include javascript in header of comment form
| HTML+ERB | mit | evanscloud/monocle,evanscloud/monocle,evanscloud/monocle |
1f706377a301557f85d3e552ae35ea8d84167c44 | app/views/listings/_form.html.erb | app/views/listings/_form.html.erb | <!--
This file is known as a "partial."
I will put code in here specifically for forms. In the "listings/new.html.erb" where you want to insert a form, all you need to write is:
{%= render 'listings/form' %}
-->
<%= simple_form_for(@listing) do |f| %>
<%= f.error_notification %>
<div class="form-inputs">
... | <!--
This file is known as a "partial."
I will put code in here specifically for forms. In the "listings/new.html.erb" where you want to insert a form, all you need to write is:
{%= render 'listings/form' %}
-->
<%= simple_form_for(@listing) do |f| %>
<%= f.error_notification %>
<div class="form-inputs">
... | Update form to include categories | Update form to include categories
| HTML+ERB | mit | erikcaineolson/HARE,HumanAssistanceResourceExchange/SHARE,HumanAssistanceResourceExchange/SHARE,femmestem/HARE,femmestem/HARE,erikcaineolson/HARE,erikcaineolson/HARE,HumanAssistanceResourceExchange/SHARE,femmestem/HARE |
5c11e3ae5f8c9d781d35574c10de869bc28123ce | app/views/nodes/index.geojson.erb | app/views/nodes/index.geojson.erb | {
"type":"FeatureCollection",
"bbox":[<%= @left %>,<%= @bottom %>,<%= @right %>,<%= @top %>],
"features":
[
<%- @places.each_with_index do |node, index| %>
{
"type":"Feature",
"geometry": {
"coordinates": [ <%= node.lon %>, <%= node... | {
"type":"FeatureCollection",
"bbox":[<%= @left %>,<%= @bottom %>,<%= @right %>,<%= @top %>],
"features":
[
<%- @places.each_with_index do |node, index| %>
{
"type":"Feature",
"geometry": {
"coordinates": [ <%= node.lon %>, <%= node... | Fix rendering Vector marker for IE7 | Fix rendering Vector marker for IE7
| HTML+ERB | agpl-3.0 | sozialhelden/wheelmap,sozialhelden/wheelmap,sozialhelden/wheelmap,sozialhelden/wheelmap,sozialhelden/wheelmap |
2066cd3df4ff1caf4b141de82e38808753948bae | app/views/resources/show.html.erb | app/views/resources/show.html.erb | <h1><%= @resource.title %></h1>
<p>Added by <%= @resource.user_name %>.</p>
<p><%= @resource.language_name %></p>
<h3>Topics:</h3>
<ul>
<% @resource.topics.each do |topic| %>
<li><%= topic.name %></li>
<% end %>
</ul>
<p>URL: <%= link_to "http://#{@resource.url}", "http://#{@resource.url}" %></p>
<h3>What it... | <h1><%= @resource.title %></h1>
<p>Added by <%= @resource.user_name %>.</p>
<p><%= @resource.language_name %></p>
<h3>Topics:</h3>
<ul>
<% @resource.topics.each do |topic| %>
<li><%= topic.name %></li>
<% end %>
</ul>
<p>URL: <%= link_to @resource.url, @resource.url %></p>
<h3>What it's about:</h3>
<p><%= @r... | Hide delete if not correct user. | Hide delete if not correct user.
| HTML+ERB | mit | abonner1/sorter,abonner1/code_learning_resources_manager,abonner1/sorter,abonner1/code_learning_resources_manager,abonner1/sorter,abonner1/code_learning_resources_manager |
a10201602bb51d96ea724b335ca2267c5ee900ca | app/views/projects/comments/unfold.xhrml.erb | app/views/projects/comments/unfold.xhrml.erb | <% @comment ||= comment %>
<div class="issue-overview">
<div class="overview text-muted">
<%= @comment.member.smart_name %> 在 <%=l @comment.created_at, format: :long %> 发表了评论
<a href="#collapse_comment_<%= @comment.id %>" data-toggle="collapse" class="small text-muted">展开</a>
</div>
<div class="issue-comm... | <% comment ||= @comment %>
<div class="issue-overview">
<div class="overview text-muted">
<%= comment.member.smart_name %> 在 <%=l comment.created_at, format: :long %> 发表了评论
<a href="#collapse_comment_<%= comment.id %>" data-toggle="collapse" class="small text-muted">展开</a>
</div>
<div class="issue-comment... | Fix error when updating comments | Fix error when updating comments
| HTML+ERB | mit | ll100-cn/testpoint,ll100-cn/testpoint,ll100-cn/testpoint,ll100-cn/testpoint |
8ebe677878f9195e0cfe7d9512e8f466b3aab9e0 | templates/glusterd.vol.erb | templates/glusterd.vol.erb | volume management
type mgmt/glusterd
option working-directory /var/lib/glusterd
option transport-type socket,rdma
option transport.socket.keepalive-time 10
option transport.socket.keepalive-interval 2
option transport.socket.read-fail-log off
end-volume
| volume management
type mgmt/glusterd
option working-directory /var/lib/glusterd
option transport-type socket,rdma
option transport.socket.keepalive-time 10
option transport.socket.keepalive-interval 2
option transport.socket.read-fail-log off
# option base-port 49152
end-volume
| Add missing line from gluster packages. | Add missing line from gluster packages.
This prevents an unnecessary template change on puppet runs.
| HTML+ERB | agpl-3.0 | pulecp/puppet-gluster,purpleidea/puppet-gluster,pulecp/puppet-gluster,purpleidea/puppet-gluster,pdrakeweb/puppet-gluster,RewardGateway/puppet-gluster,RewardGateway/puppet-gluster,purpleidea/puppet-gluster,pulecp/puppet-gluster,derjohn/puppet-gluster,rdo-puppet-modules/puppet-gluster,rdo-puppet-modules/puppet-gluster,pd... |
9388a3bac6e24fc3c03707e781c6a13eb49ed30c | app/views/three_two_one_videos/index.html.erb | app/views/three_two_one_videos/index.html.erb | <div id="content-wrapper">
<div id="single-column-wrapper">
<div id="content">
<h1>Three Two One Videos</h1>
<p>Description of three two one videos goes here!</p>
<div id="three-two-one-videos-wrapper">
<%= render 'three_two_one_videos/videos', videos: @videos %>
</div>
<% i... | <div id="content-wrapper">
<div id="single-column-wrapper">
<div id="content">
<h1>Three Two One Videos</h1>
<div id="three-two-one-videos-wrapper">
<%= render 'three_two_one_videos/videos', videos: @videos %>
</div>
<% if policy(ThreeTwoOneVideo).view_admin? %>
<h2>Unrele... | Remove placeholder description for threetwoone videos index | Remove placeholder description for threetwoone videos index
| HTML+ERB | mit | CollegeSTAR/collegestar_org,CollegeSTAR/collegestar_org,CollegeSTAR/collegestar_org |
6488f1ee920b00f47d80d0a90e4457ea96ab0185 | app/views/collections/show.html.erb | app/views/collections/show.html.erb | <div id="collection-show">
<h1>Collection: <%= @collection.name %><span><%= link_to " <span class=\"glyphicon glyphicon-trash\"></span>".html_safe, @collection, method: :delete %></span></h1>
<% @code_snippets.each do |code_snippet| %>
<p><h3>Github Path: </h3><%= code_snippet.path %></p>
<p><h3>Github Ur... | <div id="collection-show">
<h1>Collection: <%= @collection.name %>
<% if current_user %>
<span><%= link_to " <span class=\"glyphicon glyphicon-trash\"></span>".html_safe, @collection, method: :delete %></span>
<% end %>
</h1>
<% @code_snippets.each do |code_snippet| %>
<p><h3>Github Path: </h3>... | Update restrictions on collections view page | Update restrictions on collections view page
| HTML+ERB | mit | chi-bobolinks-2015/sift,chi-bobolinks-2015/sift,chi-bobolinks-2015/sift |
a085d569f068cdd72fca523cbe08109301701ad7 | app/views/schools/_results.html.erb | app/views/schools/_results.html.erb | <h6>search results: <%= @results.length %></h5>
<% @results.each do |item| %>
<div class="result-item">
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#schoolModal" data-dbn=<%= item.dbn%> data-school="<%= item.school %>" data-enrollment=<%= item.total_enrollment %> data-owed=<%= ite... | <h6>search results: <%= @results.length %></h5>
<ul class="list-group">
<% @results.each do |item| %>
<div class="result-item">
<a data-toggle="modal" data-target="#schoolModal" data-dbn=<%= item.dbn%> data-school="<%= item.school %>" data-enrollment=<%= item.total_enrollment %> data-owed=<%= item.amount_owed ... | Change list of results to list-group from bootstrap | Change list of results to list-group from bootstrap
| HTML+ERB | mit | fma2/cfe-money,fma2/cfe-money,fma2/cfe-money |
602fb2c625f36984b126c46dea38dba8a318e7f9 | app/views/user_drops/index.html.erb | app/views/user_drops/index.html.erb |
<div class="container-fluid">
<h1> Hello, <%= current_user.username %>! Here you can see the drops that you have added: </h1>
<p> You have added <%= @drops.count %> drops</p>
<div id="map" class="map-index"></div>
<script type="text/javascript">
var coordinateList = JSON.parse('<%= @drops.map... |
<div class="container-fluid">
<h1> Hello, <%= current_user.username %>! Here you can see the drops that you have added: </h1>
<p> You have added <%= @drops.count %> drops</p>
<div id="map" class="map-index" data-drops=<%= @drops.map{ |drop| { lat: drop.latitude.to_f, lng: drop.longitude.to_f, id: drop... | Change key from drop to id for consistency | Change key from drop to id for consistency
| HTML+ERB | mit | sounddrop/sounddrop,sounddrop/sounddrop,sounddrop/sounddrop,sounddrop/sounddrop |
71e7c923f489002303c9055402847b035a060be1 | site-modules/profile/templates/swh/deploy/journal/swh-indexer-journal-client@.service.erb | site-modules/profile/templates/swh/deploy/journal/swh-indexer-journal-client@.service.erb | # Indexer Journal Client unit file
# Managed by puppet class profile::swh::deploy::base_indexer
# Changes will be overwritten
[Unit]
Description=Software Heritage Indexer Journal Client %i
After=network.target
[Service]
User=<%= @user %>
Group=<%= @group %>
Type=simple
# Mandatory environment variables (check associ... | # Indexer Journal Client unit file
# Managed by puppet class profile::swh::deploy::base_indexer
# Changes will be overwritten
[Unit]
Description=Software Heritage Indexer Journal Client %i
After=network.target
[Service]
User=<%= @user %>
Group=<%= @group %>
Type=simple
# Mandatory environment variables (check associ... | Make indexer journal client less verbose | Make indexer journal client less verbose
Prior to release v2.2, indexer were celery tasks (and the logging configuration was
hard-coded to warn only about that namespace. After that release, the indexers are now
journal clients without any setup regarding this namespace, so they are very verbose.
This commit silences... | HTML+ERB | apache-2.0 | SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site |
0ca63559a3a00d88f77c147e945a8f908cde5a66 | source/partials/_footer.erb | source/partials/_footer.erb | <footer>
<div class='footer-tags'>
<h3>Random Tags</h3>
<ul class='random-tag-list'>
<% blog.tags.to_a.shuffle[0...20].each do |tag, articles| %>
<li><%= link_to "#{tag}", tag_path(tag) %></li>
<% end %>
</ul>
</div>
<div class='recent-posts'>
<h3>Random Posts</h3>
<ul>
... | <footer>
<div class='footer-tags'>
<h3>Random Tags</h3>
<ul class='random-tag-list'>
<% blog.tags.to_a.shuffle[0...20].each do |tag, articles| %>
<li><%= link_to "#{tag}", tag_path(tag) %></li>
<% end %>
</ul>
</div>
<div class='recent-posts'>
<h3>Random Interviewees</h3>
<... | Improve random post list in footer | Improve random post list in footer
Instead of linking to singular articles
Author list points to tags of author
Offer a bigger, more useful selection and overview
| HTML+ERB | mit | vis-kid/betweenscreens,vis-kid/betweenscreens,vis-kid/betweenscreens |
ed8fb0e556d3a2c1de0e828deb55f76084ccee67 | cookbooks/git/templates/default/gitconfig.erb | cookbooks/git/templates/default/gitconfig.erb | # DO NOT EDIT - This file is being maintained by Chef
[safe]
directory = /var/lib/chef/public
directory = /var/lib/chef/private
| # DO NOT EDIT - This file is being maintained by Chef
[safe]
directory = /var/lib/chef/public
directory = /var/lib/chef/private
directory = /var/lib/dns
| Add DNS directory to list of safe git directories | Add DNS directory to list of safe git directories
| HTML+ERB | apache-2.0 | openstreetmap/chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,zerebub... |
72b74f1611aea20ce887a440a48ab360c15c45ba | app/views/guides_front_end/guide.html.erb | app/views/guides_front_end/guide.html.erb | <!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title><%= edition.title %> | alpha.gov.uk</title>
</head>
<body>
<header>
AlphaGov
</header>
<article>
<div id="page">
<div id="content-container">
<div id="content">
... | <!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title><%= edition.title %> | alpha.gov.uk</title>
</head>
<body>
<header>
AlphaGov
</header>
<article>
<div id="page">
<div id="content-container">
<div id="content">
... | Bring basic HTML in for guides. Still has legacy links, etc. which need pulling out | Bring basic HTML in for guides. Still has legacy links, etc. which need pulling out
| HTML+ERB | mit | telekomatrix/publisher,telekomatrix/publisher,theodi/publisher,theodi/publisher,theodi/publisher,alphagov/publisher,leftees/publisher,leftees/publisher,alphagov/publisher,alphagov/publisher,leftees/publisher,leftees/publisher,telekomatrix/publisher,telekomatrix/publisher,theodi/publisher |
147624d65b614543477dd03111c2dcb5936e2b7e | app/views/shared/_captcha_widget.html.erb | app/views/shared/_captcha_widget.html.erb | <div id="captcha_widget">
<p>Please type in the letters and numbers you see in the picture below.</p>
<% random_string = ActiveSupport::SecureRandom.hex(10) %>
<%= captcha_image random_string %>
<br />
<%= captcha_audio random_string %>
<br />
<%= link_to 'Refresh challenge', '#', :class => 'refresh_lin... | <div id="captcha_widget">
<p>Please type in the letters and numbers you see in the picture below.</p>
<% random_string = SecureRandom.hex(10) %>
<%= captcha_image random_string %>
<br />
<%= captcha_audio random_string %>
<br />
<%= link_to 'Refresh challenge', '#', :class => 'refresh_link', :id => 'cap... | Use SecureRandom instead of ActiveSupport::SecureRandom | Use SecureRandom instead of ActiveSupport::SecureRandom
ActiveSupport::SecureRandom was added to maintain compatibility between
Ruby 1.8.7 and later version that had SecureRandom built-in. Since the
minimum version for Rails 4.0 and above is Ruby 1.9.3 then we can just
use the built-in library.
| HTML+ERB | mit | joelanman/e-petitions,unboxed/e-petitions,alphagov/e-petitions,telekomatrix/e-petitions,oskarpearson/e-petitions,unboxed/e-petitions,unboxed/e-petitions,StatesOfJersey/e-petitions,StatesOfJersey/e-petitions,oskarpearson/e-petitions,alphagov/e-petitions,alphagov/e-petitions,joelanman/e-petitions,ansonK/e-petitions,State... |
097e72b67bf7b1d0516206be957ba9e9257c7a86 | templates/bacula-fd.conf.erb | templates/bacula-fd.conf.erb |
Director {
Name = <%= scope.lookupvar('bacula::params::bacula_director') %>-dir
Password = "<%= scope.lookupvar('bacula::params::bacula_password') %>"
}
Director {
Name = <%= scope.lookupvar('bacula::params::bacula_director') %>-mon
Password = "<%= scope.lookupvar('bacula::params::bacula_password') %>... |
Director {
Name = <%= scope.lookupvar('bacula::params::bacula_director') %>-dir
Password = "<%= scope.lookupvar('bacula::params::bacula_password') %>"
}
Director {
Name = <%= scope.lookupvar('bacula::params::bacula_director') %>-mon
Password = "<%= scope.lookupvar('bacula::params::bacula_password') %>... | Test and see if this fixes bacula. | Test and see if this fixes bacula.
| HTML+ERB | apache-2.0 | jhooyberghs/puppet-bacula,SoftcomInc/puppet-bacula,SoftcomInc/puppet-bacula,SoftcomInc/puppet-bacula,xaque208/puppet-bacula,avisi/puppet-bacula,jhooyberghs/puppet-bacula,avisi/puppet-bacula,jhooyberghs/puppet-bacula |
f9a28059dbc3ad09f036aa8f6c5404752d7d3a70 | core/app/views/home/partials/_easy_integration.html.erb | core/app/views/home/partials/_easy_integration.html.erb | <div class="on-your-site-container">
<div class="on-your-site-content">
<h1 class="on-your-site-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 loo... | <div class="on-your-site-container">
<div class="on-your-site-content">
<h1 class="on-your-site-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 loo... | Move icon to be inline with title | Move icon to be inline with title
| HTML+ERB | mit | daukantas/factlink-core,daukantas/factlink-core,Factlink/factlink-core,Factlink/factlink-core,Factlink/factlink-core,daukantas/factlink-core,Factlink/factlink-core,daukantas/factlink-core |
6032ef51e91317d802ace1c4e0387a850e407cea | dummy/app/views/layouts/application.html.erb | dummy/app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title><%= t('layout.title') %></title>
<meta charset='utf-8'>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<%= stylesheet_link_tag 'voluntary/application', media: 'all' %>
<%= stylesheet_link_tag 'application', media: 'all' %>
</head>
<body>
<%= render '... | <!DOCTYPE html>
<html>
<head>
<title><%= t('layout.title') %></title>
<meta charset='utf-8'>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<%= stylesheet_link_tag 'voluntary/application', media: 'all' %>
<%= stylesheet_link_tag 'application', media: 'all' %>
</head>
<body>
<%= render '... | Enable passing of side nav links count to side nav renderer. | Enable passing of side nav links count to side nav renderer.
| HTML+ERB | mit | volontariat/voluntary_classified_advertisement,volontariat/voluntary_classified_advertisement,volontariat/voluntary_classified_advertisement |
69e15490d83c1c65c1ac5636fa3b5823520178cf | templates/zones.conf.erb | templates/zones.conf.erb | # THIS CONFIGURATION IS MANAGED BY PUPPET
# see man 5 knot.conf for all available configuration options
<%- @zones.each do |k,v| -%>
<%= k -%> {
file "<%= k -%>.zone";
<%- if (@zone_defaults && v && v.length > 0) then _v = @zone_defaults.merge(v) -%>
<%- elsif (v && v.length > 0) then _v = v -%>
<%- elsif (@zone_defa... | # THIS CONFIGURATION IS MANAGED BY PUPPET
# see man 5 knot.conf for all available configuration options
<%- @zones.each do |k,v| -%>
<%= k -%> {
file "<%= k.gsub(/\//, "_") -%>.zone";
<%- if (@zone_defaults && v && v.length > 0) then _v = @zone_defaults.merge(v) -%>
<%- elsif (v && v.length > 0) then _v = v -%>
<%- e... | Support of slash character in zone names. | Support of slash character in zone names.
| HTML+ERB | bsd-3-clause | tobru/puppet-knot,tobru/puppet-knot |
6c25270bbf65b969d69b100ccc66a560a12eae75 | app/views/main/_inactive_tab_content.html.erb | app/views/main/_inactive_tab_content.html.erb | <% tabs_list = active_secondary_tabs_list(current_app_id, @current_tab_id, custom_secondary_tabs(@current_tab_id)).reject{ |tab| tab.first==@current_tab_id }
tabs_list.each do |tab| %>
<article class="tab-pane" id="<%= tab[0] %>"></article>
<%= javascript_on_load do %>
$('a[href="#<%= tab[0] %>"]').on('sho... | <% tabs_list = active_secondary_tabs_list(current_app_id, @current_tab_id, custom_secondary_tabs(@current_tab_id)).reject{ |tab| tab.first==@current_tab_id }
tabs_list.each do |tab| %>
<article class="tab-pane" id="<%= tab[0] %>"></article>
<%= javascript_on_load do %>
$('a[href="#<%= tab[0] %>"]').on('sho... | Add ajax code to show loading spinner for navigation resources | Add ajax code to show loading spinner for navigation resources
| HTML+ERB | mit | thl/universal_navigation,thl/universal_navigation,thl/universal_navigation |
232c3c0a137768520f4b2f78ffd129693836bf94 | kiwi/app/views/answers/_answer_show.html.erb | kiwi/app/views/answers/_answer_show.html.erb | <div class="answer">
<div class="vote-container">
<ul class="vote-attributes">
<li id="up-vote"><%= link_to '▲'.html_safe, answer_votes_path(answer, vote: {direction: '1'}), method: :post %></li>
<li><%= answer.sum_of_votes %></li>
<li id="down-vote"><%= link_to '▼'.html_safe, answer... | Create _answer_show partial to render in question view | Create _answer_show partial to render in question view | HTML+ERB | mit | nyc-island-foxes-2016/kiwi-overflow,nyc-island-foxes-2016/kiwi-overflow,nyc-island-foxes-2016/kiwi-overflow | |
f109f7d7eafb5db44a93b871feb1b25fb7c3d105 | app/views/application/_under_construction.html.erb | app/views/application/_under_construction.html.erb | <div class="under-construction"
style="width: <%= MemeCaptainWeb::Config::THUMB_SIDE %>px; height: <%= MemeCaptainWeb::Config::THUMB_SIDE %>px;">
<p>Under Construction</p>
</div>
| <div class="under-construction">
<p>Under Construction</p>
</div>
| Remove width and height from under construction div. | Remove width and height from under construction div.
This will make it scale correctly on mobile.
| HTML+ERB | mit | mmb/meme_captain_web,mmb/meme_captain_web,mmb/meme_captain_web,mmb/meme_captain_web |
8f52cc77af705daf4567499298607b589e97fb67 | app/views/layouts/delayed/web/application.html.erb | app/views/layouts/delayed/web/application.html.erb | <!DOCTYPE html>
<html lang="en">
<head>
<title><%= title %></title>
<%= stylesheet_link_tag 'delayed/web/application' %>
</head>
<body>
<div class="container">
<% flash.each do |type, message| %>
<div class="alert <%= flash_dom_class(type) %>">
<%= flash[type] %>
</div>... | <!DOCTYPE html>
<html lang="<%= I18n.locale %>">
<head>
<title><%= title %> | Delayed Job</title>
<%= stylesheet_link_tag 'delayed/web/application' %>
</head>
<body>
<div class="container">
<% flash.each do |type, message| %>
<div class="alert <%= flash_dom_class(type) %>">
<%=... | Update page meta locale and add page title suffix | Update page meta locale and add page title suffix
| HTML+ERB | mit | thebestday/delayed-web,thebestday/delayed-web,thebestday/delayed-web |
c275131ac164d6e659fdefb5237f28565a3b2345 | app/views/alchemy/admin/clipboard/insert.js.erb | app/views/alchemy/admin/clipboard/insert.js.erb | <% if params[:remove] -%>
$(".element-editor[data-element-id='<%= @item.id %>']").remove();
<% if @item.class.to_s == 'Element' -%>
$('#element_area .sortable-elements').sortable('refresh');
<% end -%>
Alchemy.growl('<%= j Alchemy.t("item moved to clipboard", name: @item.class.to_s == "Alchemy::Element" ? @item.di... | <% if params[:remove] -%>
$(".element-editor[data-element-id='<%= @item.id %>']").remove();
<% if @item.class.name == 'Alchemy::Element' -%>
$('#element_area .sortable-elements').sortable('refresh');
<% if @item.fixed? -%>
Alchemy.FixedElements.removeTab(<%= @item.id %>);
<% end -%>
<% end -%>... | Remove tab if fixed element cut into clipboard | Remove tab if fixed element cut into clipboard
| HTML+ERB | bsd-3-clause | AlchemyCMS/alchemy_cms,robinboening/alchemy_cms,mamhoff/alchemy_cms,mamhoff/alchemy_cms,AlchemyCMS/alchemy_cms,robinboening/alchemy_cms,mamhoff/alchemy_cms,robinboening/alchemy_cms,AlchemyCMS/alchemy_cms |
bb03528e0ebe2609e465c3aaa1a0fc38a8b064ce | lib/manservant/server/views/not_found.erb | lib/manservant/server/views/not_found.erb | <div class="man-error">
<div class="hero-unit">
<h1>404</h1>
<p>No manual entry for <%= @name %></p>
</div>
</div>
| <div class="man-error">
<div class="hero-unit">
<h1>404</h1>
<p>No manual entry for <%= @name %> in section <%= @section || 1 %> of the manual.</p>
</div>
</div>
| Add section number to 404 page | Add section number to 404 page
| HTML+ERB | mit | jimeh/manservant,jimeh/manservant,jimeh/manservant |
50a297bae79dc5eba3ffdf41878c4d7910edc9c5 | app/views/admin/content/pages/_search.html.erb | app/views/admin/content/pages/_search.html.erb | <div class="row">
<div class="col-md-4">
<div class="form-group">
<%= f.label :name_cont %>
<%= f.text_field :name_cont, class: "form-control" %>
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<%= f.label "Site" %>
<%= f.collection_select :site_pages_site_id_eq, Site.all.order(defaul... | <div class="row">
<div class="col-md-3">
<div class="form-group">
<%= f.label :name_cont %>
<%= f.text_field :name_cont, class: "form-control" %>
</div>
</div>
<div class="col-md-3">
<div class="form-group">
<%= f.label "Site" %>
<%= f.collection_select :site_pages_site_id_eq, Site.all.order(defaul... | Add page blueprint search to pages | Add page blueprint search to pages
| HTML+ERB | mit | builtbybuffalo/buffalo_pages,builtbybuffalo/buffalo_pages,builtbybuffalo/buffalo_pages |
daab397ab611aedd4fd13ea9c0ada68cc26fea77 | app/views/admin/educators/_navigation.html.erb | app/views/admin/educators/_navigation.html.erb | <%#
# Navigation
This partial is used to display the navigation in Administrate.
By default, the navigation contains navigation links
for all resources in the admin dashboard,
as defined by the routes in the `admin/` namespace
%>
<% if action_name == "show" || action_name == "edit" %>
<nav class="navigation" role="... | <%#
# Navigation
This partial is used to display the navigation in Administrate.
By default, the navigation contains navigation links
for all resources in the admin dashboard,
as defined by the routes in the `admin/` namespace
%>
<% if action_name == "show" || action_name == "edit" %>
<nav class="navigation" role="... | Update administrate partial so it's only about educator model | Update administrate partial so it's only about educator model
| HTML+ERB | mit | studentinsights/studentinsights,studentinsights/studentinsights,studentinsights/studentinsights,studentinsights/studentinsights |
3cef4ee66b7354afd03f536e58187b559ca98659 | cookbooks/bind/templates/default/named.options.erb | cookbooks/bind/templates/default/named.options.erb | # DO NOT EDIT - This file is being maintained by Chef
acl "osm" {
127.0.0.1/32;
<% @ipv4_clients.sort.each do |address| -%>
<%= address %>/32;
<% end -%>
::1/128;
<% @ipv6_clients.sort.each do |address| -%>
<%= address %>/128;
<% end -%>
};
options {
# Directory to use for any working files
directory "/... | # DO NOT EDIT - This file is being maintained by Chef
acl "osm" {
127.0.0.1/32;
<% node.interfaces(:family => :inet).each do |interface| -%>
<%= interface[:network] %>/<%= interface[:prefix] %>;
<% end -%>
<% @ipv4_clients.sort.each do |address| -%>
<%= address %>/32;
<% end -%>
::1/128;
<% node.interfaces... | Allow local netblocks to access bind as well as known hosts | Allow local netblocks to access bind as well as known hosts
| HTML+ERB | apache-2.0 | openstreetmap/chef,openstreetmap/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,Firefishy/chef,openstreetmap/chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,Firefishy/chef,Firefishy/chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,zere... |
65c5cdfd56b43753d88bd2131f642710473156bf | app/views/questions/show.html.erb | app/views/questions/show.html.erb | <h1>SHOW Page </h1>
<%= render partial: 'question', @question: @question %>
<% @question.comments.each do |comment| %>
<%= render 'comment', comment: @comment %>
<% end %>
<hr/>
<h3>Answers</h3>
<% @answers.each do |answer| %>
<div class = "render-question-answer">
<%= render 'answer' %>
</d... | <h1>SHOW Page </h1>
<%= render 'question', question: @question %>
<% @question.comments.each do |comment| %>
<%= render 'comment', comment: @comment %>
<% end %>
<hr/>
<h3>Answers</h3>
<% @answers.each do |answer| %>
<div class = "render-question-answer">
<%= render 'answer' %>
</div>
<... | Change render partial to render | Change render partial to render
| HTML+ERB | mit | nyc-dragonflies-2015/hack-overflow,nyc-dragonflies-2015/hack-overflow,tgoldenberg/hack-overflow,tgoldenberg/hack-overflow,nyc-dragonflies-2015/hack-overflow,tekd/hack-overflow,tgoldenberg/hack-overflow,tekd/hack-overflow,tekd/hack-overflow |
741e5cad4b67f2555f17aabf20620e97f1944556 | app/views/shared/_alerts.html.erb | app/views/shared/_alerts.html.erb | <% flash.each do |name, msg| %>
<div class="global-alert">
<div class="global-alert__content-container">
<strong class="global-alert__heading">#{name}</strong>
<p class="global-alert__message">
<%= content_tag :p, msg %>
</p>
</div>
</div>
<% end %>
| <% flash.each do |name, msg| %>
<div class="global-alert global-alert--<%= name %>">
<div class="global-alert__content-container">
<strong class="global-alert__heading"><%= name.titleize %></strong>
<%= content_tag :p, msg, class: 'global-alert__message' %>
</div>
</div>
<% end %>
| Add Global alert heading flag, modifier class and <p> formatting | Add Global alert heading flag, modifier class and <p> formatting
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
ad24d28fef2c71f75ea9d3f8405864907eecb3c2 | templates/default/modules/http_geoip.conf.erb | templates/default/modules/http_geoip.conf.erb | geoip_country <%= @country_dat %>;
<% if @city_dat -%>
geoip_city <%= @city_dat %>;
<% end -%>
| geoip_country <%= @country_dat %> utf8;
<% if @city_dat -%>
geoip_city <%= @city_dat %> utf8;
<% end -%>
| Add utf8 for geoIp data | Add utf8 for geoIp data
| HTML+ERB | apache-2.0 | luishdez/nginx-cookbook,luishdez/nginx-cookbook,luishdez/nginx-cookbook |
7eb8162a07ce9b1d441b26e0d0c044977ea5182d | src/templates/README.md.erb | src/templates/README.md.erb | The Benchmark of Regular Expression Libraries
====
Introduction
----
Regular epxressions (regexp) are widely used in text parsing. When processing
large text files, the performance of the regexp engine will greatly affect the
efficiency of the parser. In this project, various regexp engines are compared
using differe... | The Benchmark of Regular Expression Libraries
====
Introduction
----
Regular epxressions (regexp) are widely used in text parsing. When processing
large text files, the performance of the regexp engine will greatly affect the
efficiency of the parser. In this project, various regexp engines are compared
using differe... | Remove preleading space to make github happily parse the table | Remove preleading space to make github happily parse the table
| HTML+ERB | mit | xis19/regexp_benchmark,xis19/regexp_benchmark,xis19/regexp_benchmark,xis19/regexp_benchmark,xis19/regexp_benchmark,xis19/regexp_benchmark |
a2fbb3eae8d2b17c654ca74f3667435bc29c309b | puppet/modules/redmine/templates/database.erb | puppet/modules/redmine/templates/database.erb | production:
adapter: <%= has_variable?("redmine_database_adapter") ? redmine_database_adapter: 'mysql' %>
database: <%= has_variable?("redmine_database_name") ? redmine_database_name: 'redmine' %>
host: <%= has_variable?("redmine_database_host") ? redmine_database_host: 'mysql.priv' %>
username: <%= has_variabl... | production:
adapter: <%= has_variable?("redmine_database_adapter") ? redmine_database_adapter: 'mysql' %>
database: <%= has_variable?("redmine_database_name") ? redmine_database_name: 'redmine' %>
host: <%= has_variable?("redmine_database_host") ? redmine_database_host: 'mysql.pub' %>
username: <%= has_variable... | Use mysql.pub as hostname for DB | Use mysql.pub as hostname for DB
| HTML+ERB | apache-2.0 | enovance/software-factory,enovance/software-factory,invenfantasy/software-factory,invenfantasy/software-factory,enovance/software-factory,enovance/software-factory,invenfantasy/software-factory,invenfantasy/software-factory,enovance/software-factory,invenfantasy/software-factory |
05a582382cfe22986592376146acffc16acfe2e5 | srv/logstash/config/filter.d/ci_ip_diagnostics_kv.filter.conf.erb | srv/logstash/config/filter.d/ci_ip_diagnostics_kv.filter.conf.erb | # Filter type => "ci_ip_diagnostics"
if [@type] == "ci_ip_diagnostics_kv" {
mutate {
add_field => [ "@messagetmp", "DateTimeLogged=%{@message}" ]
}
kv {
source => "@messagetmp"
field_split => ","
}
mutate {
rename => [ "ProcessDesc", "ProcessDescRaw" ]
}
csv {
source => "ProcessDes... | # Filter type => "ci_ip_diagnostics"
if [@type] == "ci_ip_diagnostics_kv" {
mutate {
add_field => [ "@messagetmp", "DateTimeLogged=%{@message}" ]
}
kv {
source => "@messagetmp"
field_split => ","
}
mutate {
rename => [ "ProcessDesc", "ProcessDescRaw" ]
}
csv {
source => "ProcessDes... | Remove temporary fix for incorrect timezone in source data | Remove temporary fix for incorrect timezone in source data
| HTML+ERB | apache-2.0 | cityindex-attic/logsearch,cityindex-attic/logsearch,cityindex-attic/logsearch,cityindex-attic/logsearch |
3874982707cb6f8ab98d74cea23e5b8d39174f84 | app/views/root/404.html.erb | app/views/root/404.html.erb | <%= render partial: "four_hundred_error", locals: {
title: "Page not found - 404",
heading: "The page you are looking for can't be found",
intro: '<p>Please check that you have entered the correct web address, or try using the search box below or explore <a href="/">GOV.UK</a> to find the information you ne... | <%= render partial: "four_hundred_error", locals: {
title: "Page not found - 404",
heading: "This page cannot be found",
intro: '<p>Please check that you have entered the correct web address, or try using the search box below or explore <a href="/">GOV.UK</a> to find the information you need.</p>'
} %>
| Use a simpler heading for404 pages | Use a simpler heading for404 pages
| HTML+ERB | mit | tadast/static,alphagov/static,robinwhittleton/static,kalleth/static,tadast/static,robinwhittleton/static,kalleth/static,kalleth/static,tadast/static,robinwhittleton/static,kalleth/static,tadast/static,alphagov/static,alphagov/static,robinwhittleton/static |
d6435071d4e2305bd39d4c3f26b0bd59672f0254 | app/views/intellectual_objects/_facets.html.erb | app/views/intellectual_objects/_facets.html.erb | <% # main container for facets/limits menu -%>
<% if has_facet_values? %>
<div id="facets" class="facets sidenav">
<h4 data-toggle="collapse" data-target=".facets-collapse">
<a class="btn btn-navbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>... | <%= render 'catalog/facets' %>
| Add the active/all widget to the intellectual_object view. | Add the active/all widget to the intellectual_object view.
| HTML+ERB | apache-2.0 | APTrust/fluctus,APTrust/fluctus,APTrust/fluctus |
90775a73c237d66cf54915581d68910b127efbd6 | app/views/submissions/_submission_feed.html.erb | app/views/submissions/_submission_feed.html.erb | <% ########################################################### %>
<% # IMPORTANT: Do not display the actual submission unless # %>
<% # you make it safe first. These could be # %>
<% # specifically designed to break web services # %>
<% # or steal user cookies. ... | <% ########################################################### %>
<% # IMPORTANT: Do not display the actual submission unless # %>
<% # you make it safe first. These could be # %>
<% # specifically designed to break web services # %>
<% # or steal user cookies. ... | Fix user/team deleted, submission feed breaks | Fix user/team deleted, submission feed breaks
| HTML+ERB | mit | RCydefe/hack-the-arch,mcpa-stlouis/hack-the-arch,mcpa-stlouis/hack-the-arch,mcpa-stlouis/hack-the-arch,RCydefe/hack-the-arch,RCydefe/hack-the-arch,mcpa-stlouis/hack-the-arch,mcpa-stlouis/hack-the-arch,RCydefe/hack-the-arch |
437ff84f12bcafd7068fd2a21c7b43b5ecc4330c | modules/govuk_jenkins/templates/jobs/whitehall_run_broken_link_checker.yaml.erb | modules/govuk_jenkins/templates/jobs/whitehall_run_broken_link_checker.yaml.erb | ---
- job:
name: whitehall_run_broken_link_checker
display-name: whitehall_run_broken_link_checker
project-type: freestyle
description: "<p>Triggers the broken link checker rake task on whitehall-backend-1.</p>"
properties:
- build-discarder:
days-to-keep: 30
artifact-num-t... | ---
- job:
name: whitehall_run_broken_link_checker
display-name: whitehall_run_broken_link_checker
project-type: freestyle
description: "<p>Triggers the broken link checker rake task on whitehall-backend-1.</p>"
properties:
- build-discarder:
days-to-keep: 30
artifact-num-t... | Update destination address for broken link reports | Update destination address for broken link reports
Sending direct to basecampe to avoid an unnecessary manual step by content support.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
9a4472cf68d7b7fd4ad40083c5bb00b57ebdfae5 | app/views/events/show.html.erb | app/views/events/show.html.erb | <p class="breadcrumb"><%= link_to 'Home', root_path %> > <%= breadcrumb_link_according_to_user_status %> > <%= @event.name %></p>
<h1><span class="conflogo--medium"><%= event_image @event %></span><%= @event.name %></h1>
<div class="two-columns">
<%= render :partial => "events/event" %>
<% if @event.open? %>
<% if... | <p class="breadcrumb"><%= link_to 'Home', root_path %> > <%= breadcrumb_link_according_to_user_status %> > <%= @event.name %></p>
<h1><span class="conflogo--medium"><%= event_image @event %></span><%= @event.name %></h1>
<div class="two-columns">
<%= render :partial => "events/event" %>
<% if !@event.approved && (@e... | Make tests pass again: remove if block that kept disabled 'Apply' button code from being executed | Make tests pass again: remove if block that kept disabled 'Apply' button code from being executed
| HTML+ERB | mit | rubymonsters/diversity_ticketing,rubymonsters/diversity_ticketing,rubymonsters/diversity_ticketing |
c04ef43b2f17de9fb47d1dcc84fe73b58e54889d | app/views/stats/index.html.erb | app/views/stats/index.html.erb | <% @title = "Stats" %>
<div class="stats">
<h2 class="stat" data-icon="⟡">
Total Gems
<span class="stat__count"><%= number_with_delimiter @number_of_gems %></span>
</h2>
<h2 class="stat" data-icon="☺">
Total Users
<span class="stat__count"><%= number_with_delimiter @number_of_users %></span>
</... | <% @title = "Stats" %>
<div class="stats">
<h2 class="stat" data-icon="⟡">
Total Gems
<span class="stat__count"><%= number_with_delimiter @number_of_gems %></span>
</h2>
<h2 class="stat" data-icon="☺">
Total Users
<span class="stat__count"><%= number_with_delimiter @number_of_users %></span>
</... | Add link to gem page in stats | Add link to gem page in stats
| HTML+ERB | mit | sonalkr132/rubygems.org,Exeia/rubygems.org,algolia/rubygems.org,iSC-Labs/rubygems.org,kbrock/rubygems.org,algolia/rubygems.org,knappe/rubygems.org,wallin/rubygems.org,kbrock/rubygems.org,farukaydin/rubygems.org,rubygems/rubygems.org,andrew/rubygems.org,childbamboo/rubygems.org,farukaydin/rubygems.org,jamelablack/rubyge... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.