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 |
|---|---|---|---|---|---|---|---|---|---|
26f609b70bb27c81d70f60175ac6af11ef213058 | core/app/views/refinery/admin/_make_sortable.html.erb | core/app/views/refinery/admin/_make_sortable.html.erb | <% content_for :after_javascript_libraries do %>
<%= javascript_include_tag 'refinery/nestedsortables' %>
<%= javascript_include_tag 'refinery/serializelist' %>
<%= javascript_include_tag 'refinery/tree.js' %>
<% end %>
<% content_for :javascripts do %>
<script>
$(document).ready(function(){
list_reo... | <% content_for :after_javascript_libraries do %>
<%= javascript_include_tag 'refinery/nestedsortables' %>
<%= javascript_include_tag 'refinery/serializelist' %>
<%= javascript_include_tag 'refinery/tree.js' %>
<% end %>
<% content_for :javascripts do %>
<script>
$(document).ready(function(){
list_reo... | Fix a bug when default_url_options[:host] is not setted at action controller in production mode. | Fix a bug when default_url_options[:host] is not setted at action controller in production mode. | HTML+ERB | mit | refinery/refinerycms,mlinfoot/refinerycms,mkaplan9/refinerycms,anitagraham/refinerycms,johanb/refinerycms,stefanspicer/refinerycms,louim/refinerycms,LytayTOUCH/refinerycms,anitagraham/refinerycms,hoopla-software/refinerycms,aguzubiaga/refinerycms,gwagener/refinerycms,simi/refinerycms,simi/refinerycms,Retimont/refineryc... |
4c8d7918bd97fdda70f0da6ddb088db1c9ad4a18 | source/_footer.html.erb | source/_footer.html.erb | <footer class="site_footer">
<form class="site_footer-form js-validate" action="http://email.thechangelog.com/t/t/s/zjykt/" method="post" name="" target="_blank">
<h3>Subscribe to Changlog Weekly</h3>
<input class="site_footer-form-email" type="email" name="cm-zjykt-zjykt" placeholder="Enter your email addres... | <footer class="site_footer">
<form class="site_footer-form js-validate" action="http://email.thechangelog.com/t/t/s/zjykt/" method="post" name="" target="_blank">
<h3>Subscribe to Changlog Weekly</h3>
<input class="site_footer-form-email" type="email" name="cm-zjykt-zjykt" placeholder="Email address..." requi... | Adjust newsletter signup text for better mobile display | Adjust newsletter signup text for better mobile display
| HTML+ERB | mit | thechangelog/beyondcode,thechangelog/beyondcode,thechangelog/beyondcode |
e023993a940c73d6c8e37ca6801deea4f130376e | source/_footer.html.erb | source/_footer.html.erb | <footer id="footer">
<div class="container-outer">
<div class="container-inner">
<hr />
<div class="content">
<span>
Flynn is designed, built, and managed by <a href="https://cupcake.io">Cupcake</a>.<br />
© 2013-2014 Apollic Software, LLC.<br/>
Flynn i... | <footer id="footer">
<div class="container-outer">
<div class="container-inner">
<hr />
<div class="content">
<span>
Flynn is designed, built, and managed by <a href="https://cupcake.io">Cupcake</a>.<br />
© 2013-2014 Apollic Software, LLC.<br/>
Flynn i... | Add sponsor link to footer | website: Add sponsor link to footer
| HTML+ERB | bsd-3-clause | josephglanville/flynn,ozum/flynn,rikur/flynn,jzila/flynn,whouses/flynn,lmars/flynn,arekkas/flynn,lmars/flynn,flynn/flynn,rikur/flynn,Brandywine2161/flynn,arekkas/flynn,whouses/flynn,felixrieseberg/flynn,tonicbupt/flynn,Brandywine2161/flynn,tonicbupt/flynn,clifff/flynn,whouses/flynn,tonicbupt/flynn,technosophos/flynn,cl... |
7e9faa9b8d6347e23b76a0719fdc83d00c701e3d | app/views/backend/content/_image.html.erb | app/views/backend/content/_image.html.erb | <% if object.present? && object.file.present? %>
<% if object.url.present? %>
<%= link_to object.url, class: 'th radius' do %>
<%= image_tag object.file.size_1024x640.url, alt: '' %>
<% end %>
<% else %>
<%= image_tag object.file.size_1024x640.url, alt: '' %>
<% end %>
<% if object.caption.... | <% if object.present? && object.file.present? %>
<% if object.url.present? %>
<%= link_to object.url do %>
<%= image_tag object.file.size_1024x640.url, alt: '', class: 'img-fluid' %>
<% end %>
<% else %>
<%= image_tag object.file.size_1024x640.url, alt: '', class: 'img-fluid' %>
<% end %>
<... | Fix the flexible content image preview. | Fix the flexible content image preview.
| HTML+ERB | mit | udongo/udongo,udongo/udongo,udongo/udongo |
ee8b771632251a82875a35a66ed583c99c4cbc8a | app/views/index.erb | app/views/index.erb | <h1>pgp.io</h1>
<h2>Anonymous, online service for sending and receiving encrypted PGP messages</h2>
<div class="cli">
<div class="box">
<label>Encrypt & Send</label>
<code>
$ echo "hello" | gpg -aesr '<recipient>' | pgpio<br>
<span class="result">https://pgp.io/m/Jag61Hgz19L</span>
... | <h1>pgp.io</h1>
<h2>Anonymous, online service for sending and receiving encrypted PGP messages</h2>
<div class="cli">
<div class="box">
<label>Encrypt & Send</label>
<code>
$ echo "hello" | gpg -aesr '<recipient>' | pgpio<br>
<span class="result">https://pgp.io/m/Jag61Hgz19L</span>
... | Remove gittip widget from main page | Remove gittip widget from main page
| HTML+ERB | mit | pgpio/web |
47bfa9b6a6445b76264a4c1f8668662408172e6a | app/views/content/form/_attribute_field_dropdown.html.erb | app/views/content/form/_attribute_field_dropdown.html.erb | <a class='dropdown-button black-text attribute-field-dropdown' href='#' data-target="attribute-field-menu-<%= field.id %>" data-constrainwidth='false'>
<i class="material-icons">more_vert</i>
</a>
<ul id="attribute-field-menu-<%= field.id %>" class='dropdown-content'>
<li>
<%= link_to "Delete this attribute fo... | <a class='dropdown-trigger black-text attribute-field-dropdown' href='#' data-target="attribute-field-menu-<%= field.id %>" data-constrainwidth='false'>
<i class="material-icons">more_vert</i>
</a>
<ul id="attribute-field-menu-<%= field.id %>" class='dropdown-content'>
<li>
<%= link_to "Delete this attribute f... | Fix dropdown issue from materialize upgrade | Fix dropdown issue from materialize upgrade
| HTML+ERB | mit | indentlabs/notebook,indentlabs/notebook,indentlabs/notebook |
1c4b4253f91f815ba15342ef232c4217874543e2 | app/views/deliverables/_student_list_entry.html.erb | app/views/deliverables/_student_list_entry.html.erb | <div class="summary">
<span class="name"><%= deliverable.name %></span>
<div class="new">
<% if submission.user == current_user %>
<%= render 'submissions/form',
submission: Submission.new(deliverable: deliverable) %>
<% end %>
</div>
</div>
<div class="details">
<p class="description"... | <div class="summary">
<span class="name"><%= deliverable.name %></span>
<div class="new">
<% if !submission || submission.user == current_user %>
<%= render 'submissions/form',
submission: Submission.new(deliverable: deliverable) %>
<% end %>
</div>
</div>
<div class="details">
<p clas... | Fix for crash on homework listing page. | Fix for crash on homework listing page.
| HTML+ERB | mit | spark008/igor,pwnall/igor,pwnall/seven,spark008/igor,spark008/seven,spark008/seven,pwnall/igor,pwnall/seven,spark008/igor,spark008/seven,spark008/igor,spark008/seven,pwnall/igor,pwnall/seven,pwnall/seven,pwnall/igor,pwnall/seven,pwnall/igor,spark008/igor,spark008/seven |
6e6a16ee1e60fd405761d0695fcb58f2064dc782 | source/index.html.erb | source/index.html.erb | ---
title: Welcome to Middleman
---
<div class="welcome">
<h1>Middleman is Watching</h1>
<p class="doc">
<%= link_to "Read Online Documentation", "http://middlemanapp.com/" %>
</p><!-- .doc -->
</div><!-- .welcome --> | ---
title: Welcome to Middleman
---
<div class="welcome">
<h1>Middleman is Watching</h1>
<b><%= link_to "Page with spacey image names", "/spacey.html" %></b>
</div><!-- .welcome -->
| Add link from top page to spacey image page | Add link from top page to spacey image page
| HTML+ERB | unlicense | thunderrabbit/middleman-with-spaces-in-filenames,thunderrabbit/middleman-with-spaces-in-filenames,thunderrabbit/middleman-with-spaces-in-filenames |
6ae44b345681708117d6f099388b462896e10bfb | app/views/admin/default/_form_buttons.html.erb | app/views/admin/default/_form_buttons.html.erb | <%= submit_tag "Save" %>
<%= submit_tag "Save and continue", :name => "commit_and_continue" %> or
<%= link_to "cancel", [:admin, @model] %>
<script type="text/javascript">
$(function () {
$('form').submit(function () {
$(this).find('input[type=submit]').attr('disabled', 'disabled');
});
});
</script> | <%= submit_tag "Save" %>
<%= submit_tag "Save and continue", :name => "commit_and_continue" %> or
<%= link_to "cancel", [:admin, @model] %>
<script type="text/javascript">
$(function () {
$('form').submit(function () {
var form = this;
setTimeout(function () {
$(form).find('input[type=submit]... | Fix issue with 'save' / 'save and continue' buttons | Fix issue with 'save' / 'save and continue' buttons
| HTML+ERB | mit | brightin/brightcontent,brightin/brightcontent,brightin/brightcontent |
ca3dabe1fb352cd8bcbca247f2b474e6d3b0dfef | app/views/records/edit_fields/_rights.html.erb | app/views/records/edit_fields/_rights.html.erb | <%= f.input :rights, as: :multi_value_select,
collection: CurationConcerns::LicenseService.new.select_active_options,
include_blank: true,
item_helper: method(:include_current_value),
input_html: { class: 'form-control' } %>
<%= render "curation_concerns/file_sets/rights_modal" %>
| <% license_service = CurationConcerns::LicenseService.new %>
<%= f.input :rights, as: :multi_value_select,
collection: license_service.select_active_options,
include_blank: true,
item_helper: license_service.method(:include_current_value),
input_html: { class: 'form-control' } %>
<%= render "curation_co... | Use include_current_value in the LicenseService | Use include_current_value in the LicenseService
For compatibility with
https://github.com/projecthydra/curation_concerns/pull/986
| HTML+ERB | apache-2.0 | samvera/hyrax,samvera/hyrax,samvera/hyrax,samvera/hyrax |
82c1a9e01d40ce12172283733337b1e446625e8a | app/views/petitions/search/_results_for_pre_create_petition.html.erb | app/views/petitions/search/_results_for_pre_create_petition.html.erb | <% petitions.each do |petition| %>
<ul>
<li class="petition-item petition-item-existing">
<div class="panel-indent">
<%= link_to petition.action, petition_path(petition) %>
<p>
<% unless petition.rejected? -%>
<%= signature_count(:default, petition.signature_count) %>
... | <% petitions.each do |petition| %>
<ul>
<li class="petition-item petition-item-existing">
<div class="panel-indent">
<%= link_to petition.action, petition_path(petition) %>
<p>
<% unless petition.rejected? -%>
<%= signature_count(:default, petition.signature_count) %>
... | Put background rather than additional details in create checks | Put background rather than additional details in create checks
| HTML+ERB | mit | ansonK/e-petitions,unboxed/e-petitions,ansonK/e-petitions,StatesOfJersey/e-petitions,joelanman/e-petitions,telekomatrix/e-petitions,StatesOfJersey/e-petitions,alphagov/e-petitions,oskarpearson/e-petitions,alphagov/e-petitions,telekomatrix/e-petitions,oskarpearson/e-petitions,joelanman/e-petitions,StatesOfJersey/e-petit... |
55980308413cddd5f649002654b4a5f982a554dc | app/views/districts/index.html.erb | app/views/districts/index.html.erb | <h1>Listing districts</h1>
<table>
<thead>
<tr>
<th colspan="3"></th>
</tr>
</thead>
<tbody>
<% @districts.each do |district| %>
<tr>
<td><%= district.jurisdiction_name%></td>
<td><%= link_to 'Show', district %></td>
<td><%= link_to 'Edit', edit_district_path(dist... | <h1>Listing districts</h1>
<table>
<thead>
<tr>
<th colspan="3"></th>
</tr>
</thead>
<tbody>
<% @districts.each do |district| %>
<tr>
<td><%= district.jurisdiction_name%></td>
<td><%= link_to 'Show', district %></td>
</tr>
<% end %>
</tbody>
</table>
<br>
| Remove edit, delete links for district list | Remove edit, delete links for district list
| HTML+ERB | mit | fma2/school-visits-tool,fma2/school-visits-tool |
e8918fe139de7ea94ea3364279c4153070c6f826 | app/views/layouts/_header.html.erb | app/views/layouts/_header.html.erb | <div class="lg:hidden fixed pin-t pin-x bg-primary p-3 mb-10 flex items-center justify-center shadow-md z-10">
<i id="sidebar-menu" class="fixed pin-l ml-3 fa fa-bars fa-lg cursor-pointer text-white"></i>
<%= link_to root_url do %>
<%= image_tag 'icon.png', class: 'h-10' %>
<% end %>
</div>
| <div class="lg:hidden fixed pin-t pin-x bg-primary p-3 mb-10 flex items-center justify-center shadow-md z-10">
<i id="sidebar-menu"
class="fixed pin-l ml-3 fa fa-bars fa-lg cursor-pointer text-white text-center"
style="height: 40px; width: 40px; line-height: 40px;"></i>
<%= link_to root_url do %>
<%= i... | Increase tap target for mobile hamburger | Increase tap target for mobile hamburger
| HTML+ERB | mit | robyparr/adjourn,robyparr/adjourn,robyparr/adjourn |
aaf9227c127e9cb42514bc00f3416f18b8d14eb3 | app/views/passwords/index.html.erb | app/views/passwords/index.html.erb | <% content_for :heading do -%><%= t('myplaceonline.passwords.title') %><% end -%>
<h1><%= t('myplaceonline.passwords.title') %></h1>
<%= flashes! %>
<%
if @passwords.length == 0
%>
<p><%= t('myplaceonline.passwords.none') %></p>
<%
else
%>
<ul data-role="listview" data-inset="true" data-filter="true">
<%
@passwords.... | <% content_for :heading do -%><%= t('myplaceonline.passwords.title') %><% end -%>
<h1><%= t('myplaceonline.passwords.title') %></h1>
<%= flashes! %>
<%
if @passwords.length == 0
%>
<p><%= t('myplaceonline.passwords.none') %></p>
<%
else
%>
<div class="searchable_container">
<ul class="searchable" data-role="listview... | Add ENTER support to passwords list | Add ENTER support to passwords list
| HTML+ERB | agpl-3.0 | myplaceonline/myplaceonline_rails,myplaceonline/myplaceonline_rails,myplaceonline/myplaceonline_rails |
0bd7e9f0c3225404ac23f5e2bcc3a3e43d00d03e | cookbooks/chef/templates/default/client.rb.erb | cookbooks/chef/templates/default/client.rb.erb | # DO NOT EDIT - This file is being maintained by Chef
# Configuration File For Chef (chef-client)
#
# The chef-client program will connect the local system to the specified
# server URLs through a RESTful API to retrieve its configuration.
# Force the default external encoding to UTF-8
Encoding.default_external = En... | # DO NOT EDIT - This file is being maintained by Chef
# Configuration File For Chef (chef-client)
#
# The chef-client program will connect the local system to the specified
# server URLs through a RESTful API to retrieve its configuration.
# Force the default external encoding to UTF-8
Encoding.default_external = En... | Use new syntax to configure ohai plugin path | Use new syntax to configure ohai plugin path
| HTML+ERB | apache-2.0 | tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,Firefishy/chef,gravitystorm/chef,openstreetmap/chef,openstreetmap/chef,gravitystorm/chef,gravitystorm/chef,Firefishy/chef,gravitystorm/chef,gravitystorm/chef,tomhughes/openstreetmap-chef,Firefishy/chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,o... |
9c84d3b3fa142cef8ea1ca3a43168a012c47fa10 | app/views/components/_latest_articles.html.erb | app/views/components/_latest_articles.html.erb | <div id="<%= slot_code %>" class="component latest-articles <%= 'double' if expand %> <%= additional_classes %>">
<h3 class="sup-title"><%=h component.title %></h3>
<ul id="latest-articles">
<% for article in component.articles %>
<li class="<%= cycle("first", "second", "third") %>">
<a href="<%= ... | <% unless component.article_list.nil? %>
<div id="<%= slot_code %>" class="component latest-articles <%= 'double' if expand %> <%= additional_classes %>">
<h3 class="sup-title"><%=h component.title %></h3>
<ul id="latest-articles">
<% for article in component.articles %>
<li class="<%= cycle("first", "se... | Fix error is no article list is selected | Fix error is no article list is selected
| HTML+ERB | mit | noodall/noodall-articles,noodall/noodall-articles |
759c4cb3ce7913e35f26771ca3f55e5b1e3bb205 | app/views/spree/admin/gift_cards/edit.html.erb | app/views/spree/admin/gift_cards/edit.html.erb | <% content_for :page_title do %>
<%= Spree.t(:editing_gift_card) %>
<% end %>
<% content_for :page_actions do %>
<li>
<%= button_link_to Spree.t(:back_to_gift_cards_list), spree.admin_gift_cards_path, :icon => 'icon-arrow-left' %>
</li>
<% end %>
<%= render :partial => 'spree/shared/error_messages', :locals... | <% content_for :page_title do %>
<%= Spree.t(:editing_gift_card) %>
<% end %>
<% content_for :page_actions do %>
<li>
<%= button_link_to Spree.t(:back_to_gift_cards_list), spree.admin_gift_cards_path, :icon => 'icon-arrow-left' %>
</li>
<% end %>
<%= render :partial => 'spree/shared/error_messages', :locals... | Use correct path helper to link to orders associated with card | Use correct path helper to link to orders associated with card
| HTML+ERB | bsd-3-clause | JDutil/spree_gift_card,Boomkat/spree_gift_card,Boomkat/spree_gift_card,mr-ado/spree_gift_card,tcjuan/spree_gift_card,tcjuan/spree_gift_card,AdamGoodApp/spree_gift_card,AdamGoodApp/spree_gift_card,Boomkat/spree_gift_card,JDutil/spree_gift_card,AdamGoodApp/spree_gift_card,mr-ado/spree_gift_card,mr-ado/spree_gift_card,JDu... |
3a8b80b77a3a8bb89f75940bc908951c208d8a3f | app/views/admins/show.html.erb | app/views/admins/show.html.erb | <% content_for :title, "Administrator" %>
<div class="row">
<div class="columns small-12 medium-6 large-4">
<ul class="side-nav">
<li class="heading"><%= fa_icon 'cog'%> General</li>
<li><%= link_to 'Defaults', admin_configurable_path %></li>
<li><a href="#">Mass mail</a></li>
</ul>
</... | <% content_for :title, "Administrator" %>
<div class="row">
<div class="columns small-12 medium-6 large-4">
<ul class="side-nav">
<li class="heading"><%= fa_icon 'cog'%> General</li>
<li><%= link_to 'Defaults', admin_configurable_path %></li>
<li><a href="#">Mass mail</a></li>
</ul>
</... | Correct link for new group | Correct link for new group
| HTML+ERB | mit | cthit/chalmersit-account-rails,cthit/chalmersit-account-rails,cthit/chalmersit-account-rails |
5b0dad5d39fb4c67339d2a3b9f706eb5a495a950 | app/views/needs/_form.html.erb | app/views/needs/_form.html.erb | <%= semantic_form_for(@need) do |f| %>
<% if @need.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@need.errors.count, "error") %> prohibited this need from being saved:</h2>
<ul>
<% @need.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
<% end %>
</ul... | <%= semantic_form_for(@need) do |f| %>
<% if @need.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@need.errors.count, "error") %> prohibited this need from being saved:</h2>
<ul>
<% @need.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
<% end %>
</ul... | Add link back to list of needs | Add link back to list of needs
| HTML+ERB | mit | gds-attic/need-o-tron,gds-attic/need-o-tron,gds-attic/need-o-tron |
5a4b850edfcd198168a61c7dcd9633436cc9fa86 | app/views/users/index.html.erb | app/views/users/index.html.erb | <% if current_user && current_user.admin? %>
<!-- Flash message when successfully updating/destroying a user -->
<%= render 'flash_message' %>
<!-- End of flash message -->
<h1>All clients</h1>
<table class="table table-striped">
<thead>
<tr>
<th>Name</th>
<th>Email</th>
<th colspan="3"... | <% if current_user && current_user.admin? %>
<!-- Flash message when successfully updating/destroying a user -->
<%= render 'flash_message' %>
<!-- End of flash message -->
<h1>All clients</h1>
<table class="table table-striped">
<thead>
<tr>
<th>Name</th>
<th>Email</th>
<th colspan="3"... | Change edit and delete text to images in user index | Change edit and delete text to images in user index
| HTML+ERB | mit | Aaron1515/WorkOutTracker,Aaron1515/WorkOutTracker,Aaron1515/WorkOutTracker |
add68cb232644af8ed42b15db1fea1419ccf2048 | app/views/devise/registrations/new.html.erb | app/views/devise/registrations/new.html.erb | <h2>Sign up</h2>
<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
<%= devise_error_messages! %>
<div><%= f.label :email %><br />
<%= f.email_field :email, autofocus: true %></div>
<div><%= f.label :password %><br />
<%= f.password_field :password, autocomplete: "... | <div class="container">
<div class="row">
<div class="col-md-6 col-md-offset-3">
<h2>Sign up</h2>
<hr>
<%= devise_error_messages! %>
<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
<div class="form-gro... | Update registration views to use Twitter Bootstrap. | Update registration views to use Twitter Bootstrap.
| HTML+ERB | mit | francisbrito/sarah_rails,francisbrito/sarah_rails |
46d28e69ae5fb84ab0aa00b8192e8aa918cf8864 | app/views/users/registrations/edit.html.erb | app/views/users/registrations/edit.html.erb | <div class="edit-settings row">
<h2>Edit Account Settings</h2>
<div class="small-12 small-centered medium-10 large-10 column">
<div class="change-password-form row">
<%= form_for(resource, as: resource_name, url: user_registration_path(resource_name), html: { method: :put }) do |f| %>
<%= devise_err... | <div class="edit-settings row">
<h2>Edit Account Settings</h2>
<div class="small-12 small-centered medium-10 large-10 column">
<div class="change-password-form row">
<%= form_for(resource, as: resource_name, url: user_registration_path(resource_name), html: { method: :put }) do |f| %>
<%= devise_err... | Add placeholders and change labels | Add placeholders and change labels
| HTML+ERB | mit | calblueprint/ashby-village,calblueprint/ashby-village,calblueprint/ashby-village |
7254e9bd2c7511f9ab5f5e5eee2917eef4ed969a | templates/_header.erb | templates/_header.erb | ### File managed with puppet ###
## Served by: '<%= scope.lookupvar('::servername') %>'
## Module: '<%= scope.to_hash['module_name'] %>'
<%
module_paths = Puppet::Node::Environment.current[:modulepath].split(':').map{|i| File.expand_path(i) }.join('|')
%>## Template source: 'MODULES<%= template_sour... | Add puppet header template file. | Add puppet header template file.
| HTML+ERB | mit | gizmoguy/puppet-ssh,gizmoguy/puppet-ssh | |
f7264041cb2e9940a850ea9f5c0275301119d4dc | modules/backup/templates/post_command.sh.erb | modules/backup/templates/post_command.sh.erb | if [[ $? = 0 ]]; then
NAGIOS_CODE=0
NAGIOS_MESSAGE=\"OK\"
else
NAGIOS_CODE=2
NAGIOS_MESSAGE=\"CRITICAL\"
fi
printf \"<%= @fqdn -%>\t<%= @service_description -%>\t\${NAGIOS_CODE}\t\${NAGIOS_MESSAGE}\\n\" | /usr/sbin/send_nsca -H alert.cluster >/dev/null
| if [[ $? = 0 ]]; then
NAGIOS_CODE=0
NAGIOS_MESSAGE=\"OK\"
else
NAGIOS_CODE=2
NAGIOS_MESSAGE=\"CRITICAL\"
fi
printf "<%= @fqdn -%>\t<%= @service_description -%>\t${NAGIOS_CODE}\t${NAGIOS_MESSAGE}\n" | /usr/sbin/send_nsca -H alert.cluster >/dev/null
| Fix quoting in backup::assets::job Icinga check | Fix quoting in backup::assets::job Icinga check
We were escaping this too many times, so the check was never being properly
completed, and thus even though backups completed, the check didn't change
state.
Refactored the check to reduce the amount of escaping.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
a8b971e0534c4c0c482462aa16bfcd08c26788be | app/views/advertisements/index.html.erb | app/views/advertisements/index.html.erb | <h4>Advertisement Statistics</h4>
<table>
<thead>
<tr>
<th>#</th>
<th>Image URL</th>
<th>Width</th>
<th>Height</th>
<th>Ad Type</th>
<th>Status</th>
<th>Hit Count</th>
<th></th>
</tr>
</thead>
<tbody>
<% @ads.each do |ad| %>
<tr>
<td><%= l... | <h4>Advertisement Statistics</h4>
<table>
<thead>
<tr>
<th>#</th>
<th>Image URL</th>
<th>Width</th>
<th>Height</th>
<th>Ad Type</th>
<th>Status</th>
<th>Hit Count</th>
<th></th>
</tr>
</thead>
<tbody>
<% @ads.each do |ad| %>
<tr>
<td><%= l... | Add link to add new ads (nonfunctional) | Add link to add new ads (nonfunctional)
| HTML+ERB | isc | moebooru/moebooru,moebooru/moebooru,nanaya/moebooru,nanaya/moebooru,moebooru/moebooru,moebooru/moebooru,nanaya/moebooru,moebooru/moebooru,euank/moebooru-thin,nanaya/moebooru,euank/moebooru-thin,euank/moebooru-thin,euank/moebooru-thin,nanaya/moebooru,euank/moebooru-thin |
02a0367ef5d156f484cc88c690aa577cdb76aad7 | app/views/orders/_reject_modal.html.erb | app/views/orders/_reject_modal.html.erb | <div id="reject-modal" class="modal fade" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
... | Create reject modal for rejection email | Create reject modal for rejection email
| HTML+ERB | mit | on-site/StockAid,on-site/StockAid,on-site/StockAid | |
f3ae1a569f323954d35c4e24f864260fc681c794 | app/views/admin/news_items/_news_item.html.erb | app/views/admin/news_items/_news_item.html.erb | <li class='clearfix record <%= cycle("on", "on-hover") %>'>
<span class='title'>
<%=h news_item.title %>
<span class="preview"> </span>
</span>
<span class='actions'>
<%= link_to refinery_icon_tag('application_go.png'), news_item_url(news_item),
:title => t('.view_live'),
... | <li class='clearfix record <%= cycle("on", "on-hover") %>'>
<span class='title'>
<%=h news_item.title %>
<span class="preview"> </span>
</span>
<span class='actions'>
<%= link_to refinery_icon_tag('application_go.png'), news_item_url(news_item),
:title => t('.view_live'),
... | Use :confirm and :method link_to methods. | Use :confirm and :method link_to methods.
| HTML+ERB | mit | wuboy0307/refinerycms-news,ipmobiletech/refinerycms-news,krisquigley/refinerycms-news,ipmobiletech/refinerycms-news,refinery/refinerycms-news,krisquigley/refinerycms-news,refinery/refinerycms-news,wuboy0307/refinerycms-news |
f00ec60a4c029bf2287ca84112c301056d1fd12f | app/views/application/_flash_messages.html.erb | app/views/application/_flash_messages.html.erb | <% flash.each do |key, value| %>
<div class="alert alert-<%= key %>">
<a href="#" data-dismiss="alert" class="close">×</a>
<ul>
<li>
<%= value %>
</li>
</ul>
</div>
<% end %>
| <div class="container">
<div class="row">
<div class="col-sm-12">
<% flash.each do |key, value| %>
<div class="alert alert-<%= bootstrap_class_for key %> alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
... | Add better flash message template | Add better flash message template
| HTML+ERB | agpl-3.0 | payloadtech/mailpenny,payloadtech/mailpenny,payloadtech/mailpenny |
5fc6ea1e4848bec9d1cb0073fa3a33f8a7a10716 | app/views/shared/_list-children-pages.html.erb | app/views/shared/_list-children-pages.html.erb | <%= GovukPublishingComponents::AppHelpers::TableHelper.helper(self, "Children", { caption_classes: "govuk-heading-m" }) do |table| %>
<%= table.head do %>
<%= table.header "Title" %>
<%= table.header "Status" %>
<%= table.header "Actions" if gds_editor? %>
<% end %>
<%= table.body do %>
<% page.... | <%= render "govuk_publishing_components/components/heading", {
text: "Children",
margin_bottom: 3,
} %>
<% if page.sorted_children.any? %>
<%= GovukPublishingComponents::AppHelpers::TableHelper.helper(self, "Children", { caption_classes: "govuk-visually-hidden" }) do |table| %>
<%= table.head do %>
<... | Add empty state message for child list | Add empty state message for child list
Previously any empty table was show which was not very nice visually, now it shows a message.
| HTML+ERB | mit | alphagov/collections-publisher,alphagov/collections-publisher,alphagov/collections-publisher |
ebbeaa0f1eb386bcea45abe32d1408a934c8bead | app/views/visitors/donation_thank_you.html.erb | app/views/visitors/donation_thank_you.html.erb | <% content_for :title do %>Thank you!
<% end %>
<h3>Donations</h3>
<hr>
<p>
<strong>Thank you very much for your donation to OpenSplitTime.</strong> Your generous gift will help us continue to provide better
tools to the non-profit endurance event community.
</p>
<p>
<%= link_to "Return to the home page", root_pa... | <% content_for :title do %>Thank you!
<% end %>
<h3>Thank you!</h3>
<hr>
<p>
<strong>Thank you very much for your donation to OpenSplitTime.</strong> Your generous gift will help us continue to provide better
tools to the non-profit endurance event community.
</p>
<p>
<%= link_to "Return to the home page", root_p... | Improve donations thank you page. | Improve donations thank you page.
| HTML+ERB | mit | voltagead/OpenSplitTime,voltagead/OpenSplitTime,SplitTime/OpenSplitTime,SplitTime/OpenSplitTime,SplitTime/OpenSplitTime,voltagead/OpenSplitTime |
e7cfdd6211b95357a0871a2ff41c9557b94f55d9 | app/views/layouts/godmin/application.html.erb | app/views/layouts/godmin/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Godmin</title>
<%= stylesheet_link_tag "godmin/application", "admin/custom", media: "all" %>
<%= javascript_include_tag "godmin/application", "admin/custom" %>
<%= csrf_meta_tags %>
</head>
<body>
<nav class="navbar navbar-default navbar-static-top" role="navigation">
... | <!DOCTYPE html>
<html>
<head>
<title>Godmin</title>
<%= stylesheet_link_tag "godmin/application", "godmin", media: "all" %>
<%= javascript_include_tag "godmin/application", "godmin" %>
<%= csrf_meta_tags %>
</head>
<body>
<nav class="navbar navbar-default navbar-static-top" role="navigation">
<div cla... | Put custom manifest files in root files called godmin :bomb: | Put custom manifest files in root files called godmin :bomb:
| HTML+ERB | mit | varvet/godmin,varvet/godmin,inserve/godmin-material,inserve/godmin-material,varvet/godmin,inserve/godmin-material |
2556aea171891221422a4b7e2795adadb525cd6c | app/views/tracks/show.html.erb | app/views/tracks/show.html.erb | <div class="col-md-12 results-container">
<div class="section-title">
<h1>Results</h1>
<span class="st-border"></span>
</div>
</div>
<%@tracks.each do |track|%>
<div class="col-md-4 col-sm-6 st-service">
<h3 class="track-title"><%= track.title %></h3>
<h2><%= track.artist_name %> <br></h2>... | <div class="col-md-12 results-container">
<div class="section-title">
<h1>Results</h1>
<span class="st-border"></span>
</div>
</div>
<%@tracks.each do |track|%>
<div class="col-md-4 col-sm-6 st-service">
<h3 class="track-title"><%= track.title %></h3>
<h2><%= track.artist_name %> <br></h2>... | Refactor details popover to only trigger over the word details | Refactor details popover to only trigger over the word details
| HTML+ERB | mit | FridaSjoholm/lyrically-challenged,FridaSjoholm/lyrically-challenged,FridaSjoholm/lyrically-challenged |
d9cdb03eba24fee24a3d7fc7f93fff7dfdd9defc | pages/plugins/overview.md.erb | pages/plugins/overview.md.erb | Plugins sidebar group
Pages:
# Overview
- what are plugins
- how do they work
- common use cases
# Using plugins
- adding a plugin to your pipeline (as a step/in other steps)
- configuration
- more complex code example with a description of how the build would run
- sources (github, git, local)
# Developing p... | Add outline for new section | Add outline for new section
| HTML+ERB | mit | buildkite/docs,buildkite/docs,buildkite/docs,buildkite/docs | |
b818907980747fc096cc4be96c3ee45079d8ca87 | app/views/lesson_plan/_milestone_form.html.erb | app/views/lesson_plan/_milestone_form.html.erb | <p>Milestones are effective from the time the previous milestone ends.</p>
<%= form_for [@course, @lesson_plan_milestone], :html => { :class => 'form-horizontal' } do |f| %>
<div class="control-group">
<%= f.label :title, :class => 'control-label' %>
<div class="controls">
<%= f.text_fi... | <p>Milestones start at the time the previous milestone (if any) ends.</p>
<%= form_for [@course, @lesson_plan_milestone], :html => { :class => 'form-horizontal' } do |f| %>
<div class="control-group">
<%= f.label :title, :class => 'control-label' %>
<div class="controls">
<%= f.text_fie... | Use HTML editor for Milestones, change text on Submit button. | Use HTML editor for Milestones, change text on Submit button.
| HTML+ERB | mit | nnamon/coursemology.org,allenwq/coursemology.org,nusedutech/coursemology.org,Coursemology/coursemology.org,Coursemology/coursemology.org,allenwq/coursemology.org,Coursemology/coursemology.org,dariusf/coursemology.org,nusedutech/coursemology.org,allenwq/coursemology.org,Coursemology/coursemology.org,dariusf/coursemology... |
28854e4980070229ab34f08575ea5031ff9da643 | plugins/solr/views/search/search_page.html.erb | plugins/solr/views/search/search_page.html.erb | <% extend SolrPlugin::SearchHelper %>
<% set_facets_variables %>
<%= search_page_title( @titles[@asset], @category ) %>
<% if !@empty_query %>
<div id='search-column-left'>
<%= render :partial => 'facets' %>
</div>
<div id='search-column-right'>
<%= render :partial => 'results' %>
</div>
<% else %>
... | <% extend SolrPlugin::SearchHelper %>
<% set_facets_variables %>
<%= search_page_title( @titles[@asset], @category ) %>
<div id='search-column-left'>
<%= render :partial => 'facets' if !@empty_query %>
</div>
<div id='search-column-right'>
<%= render :partial => 'results' %>
</div>
<div style="clear: both"></di... | Use same column structure for all pages | Use same column structure for all pages
| HTML+ERB | agpl-3.0 | macartur/noosfero,marcosronaldo/noosfero,AlessandroCaetano/noosfero,alexandreab/noosfero,hackathon-oscs/cartografias,tallysmartins/noosfero,macartur/noosfero,coletivoEITA/noosfero,blogoosfero/noosfero,evandrojr/noosfero,hackathon-oscs/cartografias,marcosronaldo/noosfero,vfcosta/noosfero,hackathon-oscs/rede-osc,evandroj... |
400f5e67714934f7d2f31e0cf344e8d036cbfcb3 | pages/community/index.erb | pages/community/index.erb | ---
layout: default
title: Community
---
<h3>Friends of The Setup</h3>
<p>Some awesome people have taken the time to make localised Setup-style sites, picking the brains of the people around them, or those within a particular field of interest. Others have written up personal interviews with themselves. All are awesom... | ---
layout: default
title: Community
---
<h3>Friends of The Setup</h3>
<p>Some awesome people have taken the time to make localised Setup-style sites, picking the brains of the people around them, or those within a particular field of interest. Others have written up personal interviews with themselves. All are awesom... | Put the summary on a new line. | Put the summary on a new line.
| HTML+ERB | mit | ivuk/usesthis,waferbaby/usesthis,ivuk/usesthis,orta/usesthis,waferbaby/usesthis,MjAbuz/usesthis,MjAbuz/usesthis,orta/usesthis,MjAbuz/usesthis |
06318545c3fd8cc582d6db8d1af5326103092456 | app/views/categories/_child_categories.html.erb | app/views/categories/_child_categories.html.erb | <% contents.each_with_index do |child_category, i| %>
<section class="category-detail">
<%= heading_tag child_category.title,
level: 2,
id: child_category.id,
class: 'category-detail__heading' %>
<p><%= child_category.description %></p>
<% i... | <% contents.each_with_index do |child_category, i| %>
<section class="category-detail">
<%= heading_tag child_category.title,
level: 2,
id: child_category.id,
class: 'category-detail__heading' %>
<p><%= child_category.description %></p>
<% i... | Add view all paragraph to child categories | Add view all paragraph to child categories
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
bb702e44a567d8724d0aaffea96f50da20d67b4a | core/app/views/spree/layouts/spree_application.html.erb | core/app/views/spree/layouts/spree_application.html.erb | <!doctype html>
<!--[if lt IE 7 ]> <html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]> <html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]> <html class="ie ie8" lang="en"> <![endif]-->
<!--[if IE 9 ]> <html class="ie ie9" lang="en"> <![endif]-->
<!--[if gt IE 9]><!--><html lang="en"><!--<![end... | <!doctype html>
<!--[if lt IE 7 ]> <html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]> <html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]> <html class="ie ie8" lang="en"> <![endif]-->
<!--[if IE 9 ]> <html class="ie ie9" lang="en"> <![endif]-->
<!--[if gt IE 9]><!--><html lang="en"><!--<![end... | Add missing "?" from sidebar content check. | Add missing "?" from sidebar content check.
| HTML+ERB | bsd-3-clause | lsirivong/spree,scottcrawford03/solidus,PhoenixTeam/spree_phoenix,jasonfb/spree,AgilTec/spree,shioyama/spree,dandanwei/spree,Lostmyname/spree,hifly/spree,fahidnasir/spree,rajeevriitm/spree,JDutil/spree,carlesjove/spree,Senjai/solidus,piousbox/spree,priyank-gupta/spree,degica/spree,athal7/solidus,edgward/spree,odk211/sp... |
03014df1704829e83eb3cb35e5d597490ef330d9 | app/views/layouts/_inside_sidebar.html.erb | app/views/layouts/_inside_sidebar.html.erb | <ul class="nav nav-list">
<% if can? :manage, Performance %>
<li class="nav-header">Verwalten</li>
<%= nav_link_to "Benutzer", jmd_users_path if can? :manage, User %>
<%= nav_link_to "Wettbewerbe", jmd_competitions_path if can? :manage, Competition %>
<%= nav_link_to "Aktuelle Vorspiele", list_curre... | <ul class="nav nav-list">
<% if can? :manage, Performance %>
<li class="nav-header">Verwalten</li>
<%= nav_link_to icon_tag("user") + " Benutzer", jmd_users_path if can? :manage, User %>
<%= nav_link_to icon_tag("globe") + " Wettbewerbe", jmd_competitions_path if can? :manage, Competition %>
<%= nav... | Add icons to inside sidebar navigation | Add icons to inside sidebar navigation
| HTML+ERB | mit | richeterre/jumubase-rails,richeterre/jumubase-rails,richeterre/jumubase-rails |
438594cc214826949c824d8e2bb33f39236dc5ed | pages/agent/debian.md.erb | pages/agent/debian.md.erb | # Installing Buildkite Agent on Debian
The Buildkite Agent can be installed on on Debian versions 7.x and 8.x using our signed apt repository.
<%= toc %>
## Installation
<%= render_agent_setup :debian %>
## SSH Key Configuration
<%= render_markdown 'agent/ssh_key_with_buildkite_agent_user' %>
See the [Agent SSH ... | # Installing Buildkite Agent on Debian
The Buildkite Agent can be installed on on Debian versions 7.x and 8.x using our signed apt repository.
<%= toc %>
## Installation
<%= render_agent_setup :debian %>
## SSH Key Configuration
<%= render_markdown 'agent/ssh_key_with_buildkite_agent_user' %>
See the [Agent SSH ... | Clarify running multiple Debian agents | Clarify running multiple Debian agents | HTML+ERB | mit | buildkite/docs,buildkite/docs,buildkite/docs,buildkite/docs |
2810024b1539a7621c8e4c4a60261820f66fdf2a | templates/unicorn_upstart.erb | templates/unicorn_upstart.erb | #!/bin/bash
if [ -f tmp/pids/unicorn.pid ]; then
unicorn_pid_file=tmp/pids/unicorn.pid
# Someone restarted the master; wait for the new master to exit.
PID=`cat $unicorn_pid_file`
while kill -0 $PID; do
sleep 2
PID=`cat $unicorn_pid_file`
done
# If we get here, the master has exited, either becau... | #!/bin/bash
unicorn_pid_file=tmp/pids/unicorn.pid
if [ -f $unicorn_pid_file ]; then
# Someone restarted the master; wait for the new master to exit.
function graceful_shutdown {
echo "Initializing graceful shutdown"
kill -QUIT `cat $unicorn_pid_file`
# Git unicorn some time to stop
sleep 1
}
... | Make signaled unicorn stops on upstart stop | Make signaled unicorn stops on upstart stop
| HTML+ERB | mit | anjlab/pushapp,anjlab/pushapp,anjlab/pushapp |
fe5b56f059f5a218decfe8cd04b65282ef9cfefb | BHCDatabase/app/views/feedbacks/show.html.erb | BHCDatabase/app/views/feedbacks/show.html.erb | <% provide(:title, @feedback.id) %>
<div id="initiative">
<h1>Feedback</h1>
<div class="stdcontainer">
<% @feedback.answers.each do |answer| %>
<h3><%= answer.question.sort %>. <%= answer.question.question %></h3>
<%= answer.response %>
<% end %>
</div>
</div>
| <% provide(:title, @feedback.id) %>
<div id="initiative">
<h1>Feedback</h1>
<div class="stdcontainer">
<div class="panel panel-default">
<% @feedback.answers.each do |answer| %>
<div class="panel-heading">
<h3><%= answer.question.sort %>. <%= answer.question.question %></h3>
... | Format feedback show page to display the answers more elegantly. | Format feedback show page to display the answers more elegantly.
| HTML+ERB | mit | DaBrown95/BHCDatabase,DaBrown95/BHCDatabase,DaBrown95/BHCDatabase |
a904a8e8f48c70fb709d3e7a2ee266504aec0a98 | source/partials/_head.erb | source/partials/_head.erb | <meta charset="utf-8" />
<meta http-equiv='X-UA-Compatible' content='IE=edge;chrome=1' />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/png" href="images/favicon.png" />
<link rel="apple-touch-icon" href="images/apple-touch-icon.png" />
<%= stylesheet_link_tag "site... | <meta charset="utf-8" />
<meta http-equiv='X-UA-Compatible' content='IE=edge;chrome=1' />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/png" href="images/favicon.png" />
<link rel="apple-touch-icon" href="images/apple-touch-icon.png" />
<%= stylesheet_link_tag "site... | Change the way the site title is displayed | Change the way the site title is displayed
| HTML+ERB | mit | speedy1812/daysinukraine.com,speedy1812/daysinukraine.com,speedy1812/daysinukraine.com,speedy1812/daysinukraine.com |
036a3cc629bb34e047fc4f85ced0991e60c89b4d | templates/default/modules/http_realip.conf.erb | templates/default/modules/http_realip.conf.erb | <% node['nginx']['realip']['addresses'].each do |address| %>
set_real_ip_from <%= address %>;
<% end %>
real_ip_header <%= node['nginx']['realip']['header'] %>;
<% if node['nginx']['version'] >= '1.2.1' -%>
real_ip_recursive <%= node['nginx']['realip']['real_ip_recursive'] %>;
<% end -%>
| <% node['nginx']['realip']['addresses'].each do |address| -%>
set_real_ip_from <%= address %>;
<% end -%>
real_ip_header <%= node['nginx']['realip']['header'] %>;
<% if node['nginx']['version'].to_f >= '1.2' -%>
real_ip_recursive <%= node['nginx']['realip']['real_ip_recursive'] %>;
<% end -%>
| Fix a version check in the realip recipe | Fix a version check in the realip recipe
This technically catches 1.2.0 as well, but this works "better" than the old check
Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
| HTML+ERB | apache-2.0 | miketheman/nginx,chef-cookbooks/chef_nginx,Sauraus/chef_nginx,miketheman/nginx,Roblox/chef_nginx,axos88/chef_nginx,miketheman/nginx,chef-cookbooks/chef_nginx,axos88/chef_nginx,Sauraus/chef_nginx,Roblox/chef_nginx,Sauraus/chef_nginx,Roblox/chef_nginx,chef-cookbooks/chef_nginx,axos88/chef_nginx |
87a18247f6e2adef6ffaf0b89ad4fe1915705fb6 | app/views/root/_publication_metadata.html.erb | app/views/root/_publication_metadata.html.erb | <div id="report-a-problem"></div>
<div class="meta-data group">
<div class="inner">
<% if publication.updated_at %>
<p class="modified-date">Last updated: <%= publication.updated_at.to_formatted_s(:short_ordinal) %></p>
<% end %>
<% if [:programme, :guide].include? publication.type.to_sym %>
... | <div id="report-a-problem"></div>
<div class="meta-data group">
<div class="inner">
<% if publication.updated_at %>
<p class="modified-date">Last updated: <%= publication.updated_at.to_formatted_s(:short_ordinal) %></p>
<% end %>
<% if [:programme, :guide].include? publication.type.to_sym %>
... | Update test for guide print view link. | Update test for guide print view link.
This should help with the expectation artound it automatically printing.
| HTML+ERB | mit | alphagov/frontend,alphagov/frontend,alphagov/frontend,alphagov/frontend |
6d2c688825fcfb028a7bd4e3188a0b9299503634 | app/views/submission_filters/results.html.erb | app/views/submission_filters/results.html.erb | <%= render 'result_table', { submissions: submissions_accepted, table_title: "accepted" } %>
<%= render 'result_table', { submissions: submissions_waitlist, table_title: "waitlist" } %>
<aside class="aside-widget aside-widget-fixed aside-widget-dashboard">
<h2 class="aside-widget-header">Download:</h2>
<ul class="... | <%= render 'result_table', { submissions: submissions_accepted, table_title: "accepted" } %>
<%= render 'result_table', { submissions: submissions_waitlist, table_title: "waitlist" } %>
<aside class="aside-widget aside-widget-fixed aside-widget-dashboard">
<h2 class="aside-widget-header">Download:</h2>
<ul class="... | Add confirmation screen before sending invitations | [132] Add confirmation screen before sending invitations
| HTML+ERB | mit | LunarLogic/rails-girls-submissions,LunarLogic/rails-girls-submissions,LunarLogic/rails-girls-submissions |
baeff6251ee31a2c7a6312e02469e495182fa374 | Isengard/app/views/access_levels/_form.html.erb | Isengard/app/views/access_levels/_form.html.erb | <tr>
<%= form_for [object.event, object], remote: true do |f| %>
<td><%= f.text_field :name, class: 'form-control' %></td>
<td><%= f.number_field :capacity, class: 'form-control', placeholder: 100 %></td>
<td><%= f.text_field :price, class: 'form-control', placeholder: "0.00" %></td>
<td><%= form_chec... | <tr>
<%= form_for [object.event, object], remote: true do |f| %>
<td><%= f.text_field :name, class: 'form-control' %></td>
<td><%= f.number_field :capacity, class: 'form-control', placeholder: 0 %></td>
<td><%= f.text_field :price, class: 'form-control', placeholder: "0.00" %></td>
<td><%= form_check_... | Change capacity placeholder from 100 to 0 | Change capacity placeholder from 100 to 0
As some people got confused that y default only 100 tickets are allowed.
| HTML+ERB | mit | ZeusWPI/Gandalf,ZeusWPI/Gandalf,ZeusWPI/Gandalf,ZeusWPI/Gandalf |
094f10c80a15fb6d236d365383a2b0d68e5bd6f9 | lib/domgen/jpa/templates/unit_descriptor.java.erb | lib/domgen/jpa/templates/unit_descriptor.java.erb | /* DO NOT EDIT: File is auto-generated */
package <%= to_package(repository.jpa.qualified_unit_descriptor_name) %>;
public final class <%= repository.jpa.unit_descriptor_name %>
{
public static final String NAME = "<%= repository.jpa.unit_name %>";
public static final String RESOURCE_NAME = "<%= repository.jpa.dat... | /* DO NOT EDIT: File is auto-generated */
package <%= to_package(repository.jpa.qualified_unit_descriptor_name) %>;
public final class <%= repository.jpa.unit_descriptor_name %>
{
public static final String NAME = "<%= repository.jpa.unit_name %>";
public static final String RESOURCE_NAME = "<%= repository.jpa.dat... | Remove generate catalog of entity classes that no longer used | Remove generate catalog of entity classes that no longer used
| HTML+ERB | apache-2.0 | realityforge/domgen,icaughley/domgen,realityforge/domgen,icaughley/domgen |
c173813ad1661c257fe7c85fd562df33833d0a0a | app/views/components/_emergency_banner.html.erb | app/views/components/_emergency_banner.html.erb | <div class="emergency-banner emergency-banner--<%= campaign_class %>" role="banner" data-nosnippet>
<div class="govuk-width-container">
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<h2 class="emergency-banner__heading"><%= heading %></h2>
<% if short_description %>... | <div class="emergency-banner emergency-banner--<%= campaign_class %>" role="banner" data-nosnippet>
<div class="govuk-width-container">
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<h2 class="emergency-banner__heading"><%= heading %></h2>
<% if short_description %>... | Remove govuk-body from summary text | Remove govuk-body from summary text
| HTML+ERB | mit | alphagov/static,alphagov/static,alphagov/static |
bcb60a40dc9356a38018099d13e9bbfea14a5cc4 | app/views/content/form/_privacy_toggle.html.erb | app/views/content/form/_privacy_toggle.html.erb | <% disabled = false if local_assigns[:disabled].nil? %>
<!-- privacy toggle -->
<%= form_for(content, remote: true, html: {role: :form, 'data-model': content.class.model_name}) do |form|%>
<div class="switch">
<div class="col s6">
<b><%= content.name %></b>’s privacy setting:
</div>
<label class="... | <%= form_for(content, remote: true, html: {role: :form, 'data-model': content.class.model_name}) do |form|%>
<div class="switch">
<div class="col s6">
<b><%= content.name %></b>’s privacy setting:
</div>
<label class="col s6 right-align">
private
<%= form.check_box :privacy, { onchan... | Remove "disabled" argument to privacy toggle | Remove "disabled" argument to privacy toggle
| HTML+ERB | mit | indentlabs/notebook,indentlabs/notebook,indentlabs/notebook |
10082a0ae898a66613472bfebc33f3465aafd92d | views/categories.html.erb | views/categories.html.erb | <table class="categories" cellspacing="0">
<% categories.each do |name, category| %>
<tr class="category <%= "incomplete" unless category.complete? %>">
<td class="key">
<a class="text" href="/?filters[key]=^<%= category.name %>"><%= category.name %></a>
</td>
</tr>
<% end %>
</table>
| <table class="categories" cellspacing="0">
<% categories.each do |name, category| %>
<tr class="category <%= "incomplete" unless category.complete? %>">
<td class="key">
<a class="text" href="/?filters[key]=<%= Rack::Utils.escape("^#{category.name}") %>"><%= category.name %></a>
</td>
</tr... | Fix category links: escape "^" character | Fix category links: escape "^" character
| HTML+ERB | mit | knugie/translator,thomet/iye,firmafon/iye,thomet/iye,Sage/translator,1st8/iye,Sage/translator,firmafon/iye,knugie/translator |
3742b390edbbd1edbbc6794d5cceef0980a5d581 | app/views/application_details/_form.html.erb | app/views/application_details/_form.html.erb | <%= form_for @application_detail, :html => {:class => "form-horizontal"} do |f| %>
<% if @application_detail.errors.any? %>
<div id="error_explanation" class="alert alert-error">
<h2><%= pluralize(@application_detail.errors.count, "error") %> prohibited this record from being saved:</h2>
<ul>
... | <%= form_for @application_detail, :html => {:class => "form-horizontal"} do |f| %>
<% if @application_detail.errors.any? %>
<div id="error_explanation" class="alert alert-error">
<h2><%= pluralize(@application_detail.errors.count, "error") %> prohibited this record from being saved:</h2>
<ul>
<%... | Update the application details form for Bootstrap 3 | Update the application details form for Bootstrap 3
| HTML+ERB | mit | NYULibraries/marli,NYULibraries/marli,NYULibraries/marli,NYULibraries/marli |
54f7ec479690494e9a685d8aafb358baf1e008ba | app/views/devise/registrations/edit.html.erb | app/views/devise/registrations/edit.html.erb | <div class="devise-form">
<h2>Edit Account</h2>
<%= simple_form_for(resource, :as => resource_name,
:url => registration_path(resource_name),
:html => { :method => :put, :class => 'form-horizontal' }) do |f| %>
<%= f.error_notification %>
... | <div class="devise-form">
<h2>Edit Account</h2>
<%= simple_form_for(resource, :as => resource_name,
:url => registration_path(resource_name),
:html => { :method => :put, :class => 'form-horizontal' }) do |f| %>
<%= f.error_notification %>
... | Update Devise Edit Registration View for PayPal | Update Devise Edit Registration View for PayPal
Add the verification link for the Devise registration edit view.
| HTML+ERB | mit | jekhokie/IfSimply,jekhokie/IfSimply,jekhokie/IfSimply |
9efb6f2e068f7e959dfeddee55a6cc386bd3d07a | _assets/stylesheets/app.css.sass.erb | _assets/stylesheets/app.css.sass.erb | // Add stylesheets required for your deck.
// Add deck extensions from deck.js/extensions.
// Add deck styles and transitions from deck.js/themes.
//= require normalize-css
//= require highlightjs/styles/default
//= require css-spinners/css/spinner/spinner
//= require deck.js/core/deck.core
//= require deck.js/themes/t... | // Add stylesheets required for your deck.
// Add deck extensions from deck.js/extensions.
// Add deck styles and transitions from deck.js/themes.
//= require normalize-css
//= require highlightjs/styles/default
//= require css-spinners/css/spinner/spinner
//= require deck.js/core/deck.core
//= require deck.js/themes/t... | Hide scrollbars since CSS Modal sets overflow-y: scroll. | Hide scrollbars since CSS Modal sets overflow-y: scroll.
| HTML+ERB | mit | razor-x/jekyll-and-deck.js,razor-x/jekyll-and-deck.js,razor-x/jekyll-and-deck.js |
ea62200bcf3cadf7c22a20e6de91074e78823288 | app/views/tagger/modals/_message_modal.html.erb | app/views/tagger/modals/_message_modal.html.erb | <div id="messageModal" class="modal hide fade">
<div class="modal-header">
<a href="javascript:$('#messageModal').modal('hide');" class="close">×</a>
<h3>Delete Tag</h3>
</div>
<div class="modal-body">
</div>
<div class="modal-footer">
<a href="javascript:$('#messageModal').modal('hide');" ... | <div id="messageModal" class="modal hide fade">
<div class="modal-header">
<a href="javascript:$('#messageModal').modal('hide');" class="close">×</a>
<h3 class="header-text"></h3>
</div>
<div class="modal-body">
<div class="body-text">
</div>
</div>
<div class="modal-footer">
<a hre... | Define write areas and button color | Define write areas and button color
| HTML+ERB | apache-2.0 | inbloom/APP-tagger,inbloom/APP-tagger |
0c659bd1974cc317601d8f41dc9f6495702ac253 | app/views/herbaria/curator_requests/new.html.erb | app/views/herbaria/curator_requests/new.html.erb | <%# Display form for a new request to be a herbarium curator %>
<%
@title = :show_herbarium_curator_request.t
tabs = [
link_with_query(
:cancel_and_show.t(type: :herbarium), herbarium_path(@herbarium)
),
link_with_query(:herbarium_index.t, herbaria_nonpersonals_path)
]
@tabsets = { right: dra... | <%# Display form for a new request to be a herbarium curator %>
<%
@title = :show_herbarium_curator_request.t
tabs = [
link_with_query(
:cancel_and_show.t(type: :herbarium), herbarium_path(@herbarium)
),
link_with_query(:herbarium_index.t, herbaria_nonpersonals_path)
]
@tabsets = { right: dra... | Remove CuratorRequests explicit hidden fields | Remove CuratorRequests explicit hidden fields
Let Rails take care of this by providing information in the url
| HTML+ERB | mit | JoeCohen/mushroom-observer,JoeCohen/mushroom-observer,MushroomObserver/mushroom-observer,JoeCohen/mushroom-observer,MushroomObserver/mushroom-observer,MushroomObserver/mushroom-observer,JoeCohen/mushroom-observer,JoeCohen/mushroom-observer,JoeCohen/mushroom-observer,JoeCohen/mushroom-observer,MushroomObserver/mushroom-... |
49d2baeafff1dbf3cce88c7c17e790e70ad4f4da | app/assets/javascripts/renalware/dialogs.js.erb | app/assets/javascripts/renalware/dialogs.js.erb | // Disable animations during tests to increase stability
<% reveal_animation = Rails.env.test? ? 'none' : 'fadeAndPop' %>
$(document).foundation({
reveal: {
animation: '<%= reveal_animation %>',
animation_speed: 200,
close_on_background_click: false,
close_on_esc: true,
dism... | // Disable animations during tests to increase stability
<% reveal_animation = Rails.env.test? ? 'none' : 'fadeAndPop' %>
$(document).foundation({
reveal: {
animation: '<%= reveal_animation %>',
animation_speed: 200,
close_on_background_click: false,
close_on_esc: true,
dism... | Fix broken client side validationon allergy form | Fix broken client side validationon allergy form
A change in rails clientsidevalidations gem menas we now have to use this selector:
$(“form[data-client-side-validations]”)
when enabling validations when on a modal dialog
| HTML+ERB | mit | airslie/renalware-core,airslie/renalware-core,airslie/renalware-core,airslie/renalware-core |
ef49936c60b88e1dfa3ea2ac2caa4800cf1c0992 | puppet/nailgun/templates/cobbler/dhclient_ignore_routers_opt.snippet.erb | puppet/nailgun/templates/cobbler/dhclient_ignore_routers_opt.snippet.erb | # Force dhclient to ingnore 'routers' option on all interfaces.
mkdir -p /etc/dhcp
echo "supersede routers 0;" > /etc/dhcp/dhclient.conf
if (grep -q "^\s*DHCLIENTARGS" /etc/sysconfig/network); then
sed -i 's#^\s*DHCLIENTARGS.*#DHCLIENTARGS="-cf /etc/dhcp/dhclient.conf"#' /etc/sysconfig/network
else
echo 'DHCLIE... | # Force dhclient to ingnore 'routers' option on all interfaces.
mkdir -p /etc/dhcp
echo "supersede routers 0;" > /etc/dhcp/dhclient.conf
if (grep -q "^\s*DHCLIENTARGS" /etc/sysconfig/network); then
sed -i 's#^\s*DHCLIENTARGS.*#DHCLIENTARGS="-cf /etc/dhcp/dhclient.conf"#' /etc/sysconfig/network
else
echo 'DHCLIE... | Add comment about Anaconda dhclient artifacts. | Add comment about Anaconda dhclient artifacts.
| HTML+ERB | apache-2.0 | prmtl/fuel-web,ddepaoli3/fuel-main-dev,dancn/fuel-main-dev,ddepaoli3/fuel-main-dev,Fiware/ops.Fuel-main-dev,eayunstack/fuel-web,SmartInfrastructures/fuel-web-dev,eayunstack/fuel-main,SmartInfrastructures/fuel-main-dev,prmtl/fuel-web,eayunstack/fuel-main,SmartInfrastructures/fuel-main-dev,eayunstack/fuel-main,koder-ua/n... |
8a56b74bd5dee9fdcde17f54b281c5367f3193de | app/views/connections/index.html.erb | app/views/connections/index.html.erb | <h1>Contacts for <%= @person.name %></h1>
<%- column_div :type => :primary do -%>
<% unless @contacts.empty? -%>
<%= will_paginate(@contacts) %>
<%= raster image_links(@contacts, :captions => @contacts.map(&:name),
:destroy => (current_person? @person), #destroy if in own profi... | <h1>Contacts for <%= @person.name %></h1>
<%- column_div :type => :primary do -%>
<% unless @contacts.empty? -%>
<%= will_paginate(@contacts) %>
<%= raster image_links(@contacts, :captions => @contacts.map(&:name),
:destroy => (current_person? @person), #destroy if in own profi... | Send messages from your contacts view | Send messages from your contacts view
| HTML+ERB | mit | karant/Barkhood,npy179/insoshi,bharathi/insoshi,owl975/insoshi,rubytalk/insoshi,trentono/insoshi,insoshi/insoshi,rahulbahuguna/insoshi,remco/insoshi,owl975/insoshi,karant/Barkhood,fiveohg/insoshi,cgorringe/oscurrency,karant/Barkhood,npy179/insoshi,jsollano/insoshi,RobDoan/weeshoop,sponsoredbythewind/insoshi,owl975/inso... |
164a7ac242a32fcb725c1d9f26c3777a91ca08ff | app/views/mailer/activation.text.erb | app/views/mailer/activation.text.erb | <%
#--
# Copyright (C) 2012 Gitorious AS
# Copyright (C) 2009 Fabio Akita <fabio.akita@gmail.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the Licen... | <%
#--
# Copyright (C) 2012 Gitorious AS
# Copyright (C) 2009 Fabio Akita <fabio.akita@gmail.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the Licen... | Use direct path to add key page in the sign up confirmation email | Use direct path to add key page in the sign up confirmation email
| HTML+ERB | agpl-3.0 | SamuelMoraesF/Gitorious,gitorious/mainline,Gitorious-backup/mainline,spencerwp/mainline,tigefa4u/gitorious-mainline,gitorious/mainline,Gitorious-backup/mainline,tigefa4u/gitorious-mainline,elcom/gitorious,gitorious/mainline,spencerwp/mainline,SamuelMoraesF/Gitorious,elcom/gitorious,elcom/gitorious,rae/gitorious-mainlin... |
b89d21beb4fb389320685cac3d0b458f7c2c904c | app/views/organizations/_summary.erb | app/views/organizations/_summary.erb | <div class='organization organization-summary' vocab="http://schema.org/" typeOf="Organization">
<div class='organization-logo pull-right'
style='background-image: url(<%= organization.logo.rectangular.url %>)'>
</div>
<div class='organization-content'>
<h2 property="name"><%= link_to organization.nam... | <div class='organization organization-summary' vocab="http://schema.org/" typeOf="Organization">
<div class='organization-logo pull-right'
style='background-image: url(<%= organization.logo.rectangular.url %>)'>
</div>
<div class='organization-content'>
<h2 property="name"><%= link_to organization.nam... | Add descriptive title to more information link | Add descriptive title to more information link
Fixes #118 | HTML+ERB | mit | theodi/member-directory,theodi/member-directory,theodi/member-directory |
0e6cd29b341008b76b7c4c2b40cef124ca633b43 | cookbooks/piwik/templates/default/config.erb | cookbooks/piwik/templates/default/config.erb | ; <?php exit; ?> DO NOT REMOVE THIS LINE
; file automatically generated or modified by Piwik; you can manually override the default values in global.ini.php by redefining them in this file.
[database]
host = "localhost"
username = "piwik"
password = "<%= @passwords['database'] %>"
dbname = "piwik"
tables_prefix = "piwi... | ; <?php exit; ?> DO NOT REMOVE THIS LINE
; file automatically generated or modified by Matomo; you can manually override the default values in global.ini.php by redefining them in this file.
[database]
host = "localhost"
username = "piwik"
password = "<%= @passwords['database'] %>"
dbname = "piwik"
tables_prefix = "piw... | Switch piwik database to utf8mb4 | Switch piwik database to utf8mb4
| HTML+ERB | apache-2.0 | zerebubuth/openstreetmap-chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-ch... |
0bfc47880ae40b42f54d9681925635b1da952291 | src/templates/runit/app.erb | src/templates/runit/app.erb | #!/bin/sh -e
# redirect stderr to stdout
exec 2>&1
# set HOME
export HOME=/users/gonano
# clear PATH so we can explicitly build it
PATH=""
# source any environment variables that were dropped by engines
# including, perhaps, a custom PATH
if [ -d <%= env_dir %> ]; then
for env in $(/bin/ls <%= env_dir %>); ... | #!/bin/sh -e
# redirect stderr to stdout
exec 2>&1
# set HOME
export HOME=/home/gonano
# clear PATH so we can explicitly build it
PATH=""
# source any environment variables that were dropped by engines
# including, perhaps, a custom PATH
if [ -d <%= env_dir %> ]; then
for env in $(/bin/ls <%= env_dir %>); d... | Set HOME to the correct path | Set HOME to the correct path
| HTML+ERB | mit | nanobox-io/nanobox-hooks-code,nanobox-io/nanobox-hooks-code,nanobox-io/nanobox-hooks-code |
7dbafddc7456e519a582f6ab8c10b79f5a7312b7 | views/show_open_group.erb | views/show_open_group.erb | <p> Open Group </p>
<p> Welcome to <%= @open_group.name %> group </p>
<p> Open Group Name: <%= @open_group.name %> </p>
<p> Open Group Description: <%= @open_group.description %> </p>
<p> Open Group Admin's Username: <%= @group_admin %> </p>
<p> -------------------------------- </p>
<% if not @has_joined %>
<f... | <p> Open Group </p>
<p> Welcome to <%= @open_group.name %> group </p>
<p> Open Group Name: <%= @open_group.name %> </p>
<p> Open Group Description: <%= @open_group.description %> </p>
<p> Open Group Admin's Username: <%= @group_admin %> </p>
<p> -------------------------------- </p>
<% if not @has_joined %>
<f... | Add leave open group button. | Add leave open group button.
| HTML+ERB | mit | pepincho/Rubick,pepincho/Ruby-Course-Project,pepincho/Ruby-Course-Project,pepincho/Rubick |
582612a53c1120c27af29bf316c7cf1ee3df3687 | source/jobs/_contact_us.erb | source/jobs/_contact_us.erb | <% roles_count ||= 1 %>
<section class="component">
<div class="component__tile text-tile">
<h2 class="text-tile__title">
Send us your CV
</h2>
<p class="text-tile__paragraph--with-spacing">
Matt is our people person. If <%= (roles_count > 1)? "one of these roles" : "this role" %> sounds of i... | <% roles_count ||= 1 %>
<section class="component">
<div class="component__tile text-tile">
<h2 class="text-tile__title">
Send us your CV
</h2>
<p class="text-tile__paragraph--with-spacing">
Matt is our people person. If <%= (roles_count > 1)? "one of these roles" : "this role" %> sounds of i... | Add glassdoor review link to jobs pages | Add glassdoor review link to jobs pages
| HTML+ERB | mit | unboxed/unboxed.co,unboxed/unboxed.co,unboxed/unboxed.co,unboxed/ubxd_web_refresh,unboxed/ubxd_web_refresh,unboxed/ubxd_web_refresh |
52fda178320423da9590fe9b06ee23e29fd48aca | app/views/forms/payee.html.erb | app/views/forms/payee.html.erb | <%= breadcrumbs %>
<div class="row">
<div class="col-sm-6">
<h2>Payee Information</h2>
<%= simple_form_for(@grant, url: wizard_path, method: :put, html: { data: { live_guarded: true } }) do |f| %>
<%= f.simple_fields_for :payees, @grant.payees do |pf| %>
<%= pf.input :name, required: true, input_html:... | <%= breadcrumbs %>
<div class="row">
<div class="col-sm-6">
<h2>Payee Information</h2>
<%= simple_form_for(@grant, url: wizard_path, method: :put, html: { data: { live_guarded: true } }) do |f| %>
<%= f.simple_fields_for :payees, @grant.payees do |pf| %>
<%= pf.input :name, required: true, input_html:... | Add length limit to zip on payee form | Add length limit to zip on payee form
| HTML+ERB | mit | on-site/Grantzilla,on-site/Grantzilla,on-site/Grantzilla |
b5cc5c08f58ea9cbd65b6357e891b1006f06856d | app/views/admin/shared/_history.html.erb | app/views/admin/shared/_history.html.erb | <div class="row-fluid">
<div class="span6">
<%= semantic_form_for(:note, :url=> admin_notes_path) do |f| %>
<%= f.inputs do %>
<%= hidden_field_tag :edition_id, resource.id %>
<%= f.input :comment, :label => 'Note', :as => :text, :input_html => { :class=> 'span6', :rows => 6, :cols => 120 }... | <div class="row-fluid">
<% if resource.safe_to_preview? %>
<p>This edition can be previewed at <%= link_to preview_edition_path(resource), preview_edition_path(resource) %>.</p>
<% else %>
<p>This edition is not yet ready to be previewed.</p>
<% end %>
<p>Fact check responses should (when appropriate) be ... | Add link to preview and fact check email address at top of History tab | Add link to preview and fact check email address at top of History tab
Feedback from the Subhi has suggested this will help significantly with the fact check process.
| HTML+ERB | mit | theodi/publisher,theodi/publisher,theodi/publisher,alphagov/publisher,leftees/publisher,telekomatrix/publisher,telekomatrix/publisher,telekomatrix/publisher,telekomatrix/publisher,alphagov/publisher,leftees/publisher,alphagov/publisher,leftees/publisher,theodi/publisher,leftees/publisher |
71237a21201282f65d4384f228e23996955f79e0 | app/views/mailer/reminder_email.html.erb | app/views/mailer/reminder_email.html.erb | <table class="body-wrap">
<tr>
<td></td>
<td class="container" bgcolor="#FFFFFF">
<div class="content">
<table>
<tr>
<td>
<h3><%= "Hi #{@user.name}" %></h3>
<!-- Callout Panel -->
<p class="callout">
Please fill
<%=... | <table class="body-wrap">
<tr>
<td></td>
<td class="container" bgcolor="#FFFFFF">
<div class="content">
<table>
<tr>
<td>
<h3><%= "Hi #{@user.name}" %></h3>
<!-- Callout Panel -->
<p class="callout">
Please fill
<%=... | Use correct timezone in reminder mail. | Use correct timezone in reminder mail. | HTML+ERB | mit | danevron/hours-report-app,danevron/hours-report-app,danevron/hours-report-app |
b04621159d5898435b4903bfddd143324015f52f | app/views/people/_current_roles.html.erb | app/views/people/_current_roles.html.erb | <section id="current-roles">
<% person.current_roles.each do |role| %>
<section class="role_appointment role govuk-!-padding-bottom-8">
<%= render "govuk_publishing_components/components/heading", {
text: person.current_roles_title,
id: person.current_roles_title.parameterize,
margin_b... | <section id="current-roles">
<% person.current_roles.each do |role| %>
<section class="role_appointment role govuk-!-padding-bottom-8">
<%= render "govuk_publishing_components/components/heading", {
text: person.current_roles_title,
id: person.current_roles_title.parameterize,
... | Fix indentation in HTML template file | Fix indentation in HTML template file
| HTML+ERB | mit | alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections |
6993194ab21230ae0baa156ece16b36284c603b9 | config/templates/gitlab-rails/bundle_exec_wrapper.erb | config/templates/gitlab-rails/bundle_exec_wrapper.erb | #!/bin/bash
export PATH=<%= install_dir %>/bin:<%= install_dir %>/embedded/bin:$PATH
# default to RAILS_ENV=production
if [[ -z $RAILS_ENV ]]; then
export RAILS_ENV=production
fi
gitlab_user=$(ls -lLd <%= install_dir %>/embedded/service/gitlab-rails/log | awk '{ print $3 }')
cd <%= install_dir %>/embedded/service... | #!/bin/bash
export PATH=<%= install_dir %>/bin:<%= install_dir %>/embedded/bin:$PATH
# default to RAILS_ENV=production
if [[ -z $RAILS_ENV ]]; then
export RAILS_ENV=production
fi
gitlab_user=$(ls -lLd <%= install_dir %>/embedded/service/gitlab-rails/log | awk '{ print $3 }')
export HOME=$(eval echo ~${gitlab_user... | Set HOME for the GitLab user in wrapper script | Set HOME for the GitLab user in wrapper script
Whenever we `bundle exec` a command as the GitLab user, set the HOME
environment variable accordingly. This is the moral equivalent of the
`-H` in `sudo -u git -H bundle exec ...`.
| HTML+ERB | apache-2.0 | copystudy/omnibus-gitlab,aleksandrs-ledovskis/omnibus-gitlab,gitlabhq/omnibus-gitlab,copystudy/omnibus-gitlab,felixbuenemann/omnibus-gitlab,felixbuenemann/omnibus-gitlab,felixbuenemann/omnibus-gitlab,copystudy/omnibus-gitlab,aleksandrs-ledovskis/omnibus-gitlab,aleksandrs-ledovskis/omnibus-gitlab,gitlabhq/omnibus-gitlab... |
3af9e5719b5c53bfb8ca3c419b377057322ef1ee | cookbooks/bcpc/templates/default/ceph-crush.erb | cookbooks/bcpc/templates/default/ceph-crush.erb | ################################################
#
# Generated by Chef
#
################################################
root ssd {
alg straw
hash 0 # rjenkins1
}
root hdd {
alg straw
hash 0 # rjenkins1
}
rule ssd {
ruleset <%=@node["bcpc"]["ceph"]["ssd"]["ruleset"]%>
type rep... | ################################################
#
# Generated by Chef
#
################################################
root ssd {
alg straw
hash 0 # rjenkins1
}
root hdd {
alg straw
hash 0 # rjenkins1
}
rule ssd {
ruleset <%=@node["bcpc"]["ceph"]["ssd"]["ruleset"]%>
type rep... | Revert "default to store a replica per rack instead of host" | Revert "default to store a replica per rack instead of host"
This reverts commit 724b3d778df1354eabed8ea12fb8c26587a5b9af.
| HTML+ERB | apache-2.0 | agilemobiledev/chef-bcpc,jrossi/chef-bcpc,mihalis68/chef-bcpc,cloudm2/chef-bcpc,caiush/chef-bcpc,caiush/bos,bloomberg/chef-bcpc,agilemobiledev/chef-bcpc,semenovroman/chef-bcpc,caiush/bos,caiush/bos,caiush/chef-bcpc,caiush/chef-bcpc,mihalis68/chef-bcpc,agilemobiledev/chef-bcpc,cloudm2/chef-bcpc,semenovroman/chef-bcpc,ag... |
ca482298c562f65dc6badf49764a617b734df2be | backend/app/views/spree/admin/shared/_js_locale_data.html.erb | backend/app/views/spree/admin/shared/_js_locale_data.html.erb | <script>
if (Spree === undefined) {
var Spree = {}
}
Spree.translations = <%==
I18n.t("spree").merge({
:date_picker => Spree.t(:js_format,
scope: 'date_picker',
default: 'yy/mm/dd'),
:abbr_day_names => I18n.t(:abbr_day_names,... | <script>
if (Spree === undefined) {
var Spree = {}
}
Spree.translations = <%==
I18n.t("spree").merge({
date_picker: Spree.t(:js_format,
scope: 'date_picker',
default: 'yy/mm/dd'),
abbr_day_names: I18n.t(:abbr_day_names, s... | Convert to 1.9 hash syntax | Convert to 1.9 hash syntax
| HTML+ERB | bsd-3-clause | pervino/solidus,pervino/solidus,pervino/solidus,pervino/solidus |
f9f727ebf68e3d82ae6fbad5f6c388fb63e9150b | modules/hdo/templates/nginx-files-vhost.conf.erb | modules/hdo/templates/nginx-files-vhost.conf.erb | #
# This file is managed by Puppet. Local edits will be lost.
#
server {
listen 80;
server_name <%= @server_name %>;
root <%= @files_root %>;
autoindex off;
charset utf-8;
access_log /opt/nginx/logs/<%= @server_name %>.access.log combined;
error_log /opt/nginx/logs/<%= @server_name ... | #
# This file is managed by Puppet. Local edits will be lost.
#
server {
listen 80;
server_name <%= @server_name %>;
root <%= @files_root %>;
autoindex off;
charset utf-8;
charset_types text/html text/xml text/plain text/vnd.wap.wml application/javascript application/rss+xml applicatio... | Add charset_types to files vhost | Add charset_types to files vhost
| HTML+ERB | bsd-3-clause | holderdeord/hdo-puppet,holderdeord/hdo-puppet,holderdeord/hdo-puppet,holderdeord/hdo-puppet,holderdeord/hdo-puppet |
71d68d97afce3df390c844f247475117d582544e | frontends/default/views/_list_inline_adapter.html.erb | frontends/default/views/_list_inline_adapter.html.erb | <%= update_page_tag { |page| page.replace_html active_scaffold_messages_id, :partial => 'messages' } %>
<tr class="inline-adapter">
<td colspan="99" class="inline-adapter-cell">
<div class="<%= "#{params[:action]}-view" if params[:action] %> <%= "#{params[:associations] ? params[:associations] : params[:controlle... | <%= update_page_tag { |page| page.replace_html active_scaffold_messages_id, :partial => 'messages' } %>
<%# nested_id, allows us to remove a nested scaffold programmatically %>
<tr class="inline-adapter" id="<%= element_row_id :action => :nested %>">
<td colspan="99" class="inline-adapter-cell">
<div class="<%= "... | Copy from edwinmoss Add id to inline_adapter | Copy from edwinmoss Add id to inline_adapter
| HTML+ERB | mit | vhochstein/active_scaffold,BookingBug/active_scaffold,BookingBug/active_scaffold,asoltys/active_scaffold,vhochstein/active_scaffold,BookingBug/active_scaffold,silverpond/active_scaffold,ajacksified/active_scaffold,silverpond/active_scaffold,asoltys/active_scaffold,silverpond/active_scaffold,vhochstein/active_scaffold,a... |
5fe9d197bc60960e87adfbc532ec94696634f93a | app/views/worldwide_organisations/_header.html.erb | app/views/worldwide_organisations/_header.html.erb | <%
world_locations ||= organisation.world_locations
link_to_organisation ||= false
object_for_translation ||= organisation
%>
<header class="block worldwide-organisation-header">
<div class="inner-block floated-children">
<div class="logo">
<h1>
<% if link_to_organisation %>
<%= link... | <%
world_locations ||= organisation.world_locations
link_to_organisation ||= false
object_for_translation ||= organisation
%>
<header class="block worldwide-organisation-header">
<div class="inner-block floated-children">
<div class="logo">
<h1>
<% if link_to_organisation %>
<%= link... | Use location name not the title on world org pages | Use location name not the title on world org pages
This reverts commit 6ef77f031e28287db8fc13aa0bc585454b045252.
| HTML+ERB | mit | ggoral/whitehall,hotvulcan/whitehall,ggoral/whitehall,alphagov/whitehall,YOTOV-LIMITED/whitehall,askl56/whitehall,askl56/whitehall,robinwhittleton/whitehall,robinwhittleton/whitehall,hotvulcan/whitehall,YOTOV-LIMITED/whitehall,hotvulcan/whitehall,ggoral/whitehall,ggoral/whitehall,askl56/whitehall,alphagov/whitehall,alp... |
4444667071946c8a0a48331d1b9376aa93222756 | chef/lib/chef/knife/bootstrap/ubuntu12.10-gems.erb | chef/lib/chef/knife/bootstrap/ubuntu12.10-gems.erb | bash -c '
<%= "export http_proxy=\"#{knife_config[:bootstrap_proxy]}\"" if knife_config[:bootstrap_proxy] -%>
if [ ! -f /usr/bin/chef-client ]; then
aptitude update
aptitude install -y ruby ruby1.9.1-dev build-essential wget rubygems
fi
gem update --no-rdoc --no-ri
gem install ohai --no-rdoc --no-ri --verbose
gem... | Add Ruby 1.9 based Ubuntu 12.10 Gems bootstrap | CHEF-3672: Add Ruby 1.9 based Ubuntu 12.10 Gems bootstrap
| HTML+ERB | apache-2.0 | cgvarela/chef,mal/chef,cachamber/chef,faspl/chef,circleback/chef,acaiafa/chef,criteo-forks/chef,sekrett/chef,cgvarela/chef,Ppjet6/chef,jordane/chef,skmichaelson/chef,acaiafa/chef,nguyen-tien-mulodo/chef,polamjag/chef,mikedodge04/chef,malisettirammurthy/chef,tas50/chef-1,onlyhavecans/chef,evan2645/chef,jaymzh/chef,jk47/... | |
74eedc02eced5a21b19cd070717056e310210b75 | files/gitlab-cookbooks/gitlab/templates/default/database.yml.postgresql.erb | files/gitlab-cookbooks/gitlab/templates/default/database.yml.postgresql.erb | #
# PRODUCTION
#
production:
adapter: postgresql
encoding: unicode
database: gitlabhq_production
pool: 10
username: <%= node['gitlab']['postgresql']['sql_user'] %>
password: <%= node['gitlab']['postgresql']['sql_password'] %>
host: <%= node['gitlab']['postgresql']['listen_address'] %>
port: <%= node['gi... | #
# PRODUCTION
#
production:
adapter: postgresql
encoding: unicode
database: gitlabhq_production
pool: 10
username: <%= node['gitlab']['postgresql']['sql_user'] %>
password: "<%= node['gitlab']['postgresql']['sql_password'] %>"
host: <%= node['gitlab']['postgresql']['listen_address'] %>
port: <%= node['... | Put quotes around the Postgresql database password | Put quotes around the Postgresql database password
| HTML+ERB | apache-2.0 | gitlabhq/omnibus-gitlab,gitlabhq/omnibus-gitlab,copystudy/omnibus-gitlab,aleksandrs-ledovskis/omnibus-gitlab,felixbuenemann/omnibus-gitlab,felixbuenemann/omnibus-gitlab,aleksandrs-ledovskis/omnibus-gitlab,aleksandrs-ledovskis/omnibus-gitlab,copystudy/omnibus-gitlab,gitlabhq/omnibus-gitlab,gitlabhq/omnibus-gitlab,copyst... |
64793186744b505c8ce662837c448a3257f58d85 | lib/views/frontend/spree/shared/_login.html.erb | lib/views/frontend/spree/shared/_login.html.erb | <%= form_for Spree::User.new, :as => :spree_user, :url => spree.create_new_session_path do |f| %>
<div id="password-credentials">
<p>
<%= f.label :email, Spree.t(:email) %><br />
<%= f.email_field :email, :class => 'title', :tabindex => 1 %>
</p>
<p>
<%= f.label :password, Spree.t(:passw... | <%= form_for Spree::User.new, :as => :spree_user, :url => spree.create_new_session_path do |f| %>
<div id="password-credentials">
<p>
<%= f.label :email, Spree.t(:email) %><br />
<%= f.email_field :email, :class => 'title', :tabindex => 1, autofocus: true %>
</p>
<p>
<%= f.label :passwor... | Add autofocus to login form | Add autofocus to login form
Springing from the discussion in https://github.com/spree/spree/issues/4715, this change allows the HTML5 `autofocus` attribute to put the cursor into the email field when displaying the login screen, which removes one step from the user login process.
Closes #190
| HTML+ERB | bsd-3-clause | Hates/spree_auth_devise,Hates/spree_auth_devise,godaddy/spree_auth_devise,godaddy/spree_auth_devise |
33c1d2fc4c1f19e73f5fc45e3dfda3e6556fcfde | app/views/devise/sessions/_login_form.html.erb | app/views/devise/sessions/_login_form.html.erb | <%= form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => { :class => "login" }) do |f| %>
<div><%= f.label :email %>
<%= f.email_field :email %></div>
<div><%= f.label :password %>
<%= f.password_field :password %>
<%- if devise_mapping.recoverable? && controller_name != 'pa... | <%= form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => { :class => "login" }) do |f| %>
<div><%= f.label :email %>
<%= f.email_field :email %></div>
<div><%= f.label :password %>
<%= f.password_field :password %>
<%- if devise_mapping.recoverable? && controller_name != 'pa... | Fix styling on the login form a bit | Fix styling on the login form a bit
| HTML+ERB | mit | neinteractiveliterature/intercode,neinteractiveliterature/intercode,neinteractiveliterature/intercode,neinteractiveliterature/intercode,neinteractiveliterature/intercode |
588d804c037722ba903f97fb0b00118c74e73d04 | app/views/active_scaffold_overrides/_update_form.html.erb | app/views/active_scaffold_overrides/_update_form.html.erb | <% cancel_link = true if cancel_link.nil? %>
<%= render :partial => "base_form", :locals => {:xhr => xhr ||= nil,
:form_action => form_action ||= :update,
:method => method ||= :put,
... | <%if @record && @record.id%><span class="top_id"><%=@record.id%></span><%end%>
<% cancel_link = true if cancel_link.nil? %>
<%= render :partial => "base_form", :locals => {:xhr => xhr ||= nil,
:form_action => form_action ||= :update,
... | Add base id to top right of update form | Add base id to top right of update form | HTML+ERB | mit | BookingBug/active_scaffold,BookingBug/active_scaffold,BookingBug/active_scaffold |
d898f187ec936bc1e9e3923ceea65f4fc9056eab | app/views/specialist_documents/_attachments_form.html.erb | app/views/specialist_documents/_attachments_form.html.erb | <div class="col-md-4">
<%= render partial: 'shared/govspeak-help' %>
<h2>Attachments</h2>
<% if document.persisted? %>
<%= link_to "Add attachment", new_specialist_document_attachment_path(document) %>
<% else %>
<p>To add an attachment, please save the draft first.</p>
<% end %>
<ul class="attac... | <div class="col-md-4">
<%= render partial: 'shared/govspeak-help' %>
<% if action_name != 'update' %>
<h2>Attachments</h2>
<% if document.persisted? %>
<%= link_to "Add attachment", new_specialist_document_attachment_path(document) %>
<% else %>
<p>To add an attachment, please save the dra... | Hide attachments list on update action of document | Hide attachments list on update action of document
Bug: go to edit a specialist document which has attachments, submit an
invalid edit, receive 500 error.
This is caused by a similar problem to 4ce549e, but I have resolved it
differently.
Because we aren’t really editing an existing document edition, but
duplicating... | HTML+ERB | mit | ministryofjustice/specialist-publisher,alphagov/specialist-publisher-rebuild,alphagov/specialist-publisher-rebuild,alphagov/specialist-publisher,alphagov/manuals-publisher,alphagov/manuals-publisher,alphagov/specialist-publisher,alphagov/specialist-publisher-rebuild,alphagov/specialist-publisher-rebuild,alphagov/manual... |
2f616960a222b1a1de6df4b99ff6b81a392da292 | templates/zone-master.erb | templates/zone-master.erb | # File managed by puppet
zone "<%=name%>" IN {
type master;
file "/etc/bind/pri/<%=name%>.conf";
<% if zone_xfers and not zone_xfers.empty? -%>
<% if zone_xfers.is_a?(Array) -%>
allow-transfer { <%= zone_xfers.join('; ') -%>; };
<% else -%>
allow-transfer { <%= zone_xfers %>; };
<% end -%>
<% else -%>
a... | # File managed by puppet
zone "<%=name%>" IN {
type master;
file "/etc/bind/pri/<%=name%>.conf";
<% if zone_xfers and not zone_xfers.empty? -%>
<% if zone_xfers.is_a?(Array) -%>
allow-transfer { <%= zone_xfers.join('; ') -%>; };
<% else -%>
allow-transfer { <%= zone_xfers %>; };
<% end -%>
<% else -%>
a... | Add check-names warn; in bind zone templates | Add check-names warn; in bind zone templates
| HTML+ERB | apache-2.0 | cyrus-mc/puppet-bind,raphink/puppet-bind,mcanevet/puppet-bind,mvisonneau/puppet-bind,cloudbuy/puppet-bind,interlegis/puppet-bind,mcanevet/puppet-bind,cyrus-mc/puppet-bind,raphink/puppet-bind,camptocamp/puppet-bind,interlegis/puppet-bind,ccin2p3/puppet-bind,camptocamp/puppet-bind,cloudbuy/puppet-bind,mvisonneau/puppet-b... |
be9c91a3c2e962549f25ae0147e621c21cf5b568 | modules/router/templates/default-vhost.conf.erb | modules/router/templates/default-vhost.conf.erb | server {
listen 80 default_server;
location /__varnish_check__ {
# This is the varnish upstream defined in the www.gov.uk vhost
proxy_pass http://varnish;
}
<%- if scope.lookupvar('::aws_migration') %>
# Send the Strict-Transport-Security header
include /etc/nginx/add-sts.conf;
# Required for L7... | server {
listen 80 default_server;
location /__varnish_check__ {
# This is the varnish upstream defined in the www.gov.uk vhost
proxy_pass http://varnish;
}
<%- if scope.lookupvar('::aws_migration') %>
# Health checks from ALB reuse Fastly __canary__ health check path
# and bypass authentication o... | Add Cache ALB health check path | Add Cache ALB health check path
Define location paths for application health checks from the public ALB.
We want to add the instance to the ALB `www` target group when Nginx, Varnish and
Router are up. We can achieve this with the `__canary__` endpoint. This endpoint
is not cached in Varnish.
`assets` traffic will b... | HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
c5c23c9573c99aca79812ccf55f8a897e4d14e4a | app/views/spree/checkout/payment/_adyen.html.erb | app/views/spree/checkout/payment/_adyen.html.erb | <p>
You'll be redirected to Adyen Hosted Payment Pages. After completing the
payment form you'll be back to the store.
</p>
<%= link_to "Pay with Adyen", ::Adyen::Form.redirect_url(
:currency_code => Spree::Config.currency,
# :merchantReturnData => payment_method.id,
:ship_before_date => Da... | <p>
You'll be redirected to Adyen Hosted Payment Pages. After completing the
payment form you'll be back to the store.
</p>
<%= link_to "Pay with Adyen", ::Adyen::Form.redirect_url(
:currency_code => Spree::Config.currency,
# :merchantReturnData => payment_method.id,
:ship_before_date => Da... | Hide checkout Save and Continue button for AdyenHPP | Hide checkout Save and Continue button for AdyenHPP
Users shouldn't be able to advance checkout using that button because
for AdyenHPP payment must be done outside of the store
| HTML+ERB | mit | StemboltHQ/spree-adyen,freerunningtech/solidus-adyen,StemboltHQ/solidus-adyen,StemboltHQ/solidus-adyen,freerunningtech/spree-adyen,quentinuys/spree-adyen,locomotivapro/spree-adyen,StemboltHQ/solidus-adyen,freerunningtech/solidus-adyen,petlove/spree-adyen,locomotivapro/spree-adyen,watg/spree-adyen,freerunningtech/spree-... |
6f942e81c1d62396e6b77377af7a53af54f0b157 | app/views/layouts/godmin/application.html.erb | app/views/layouts/godmin/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Godmin</title>
<%= stylesheet_link_tag "godmin/application", media: "all" %>
<%= javascript_include_tag "godmin/application" %>
<%= csrf_meta_tags %>
</head>
<body>
<div class="container">
<%= render 'godmin/shared/nav_bar' %>
<%= yield %>
</div>
</body... | <!DOCTYPE html>
<html>
<head>
<title>Godmin</title>
<%= stylesheet_link_tag "godmin/application", media: "all" %>
<%= javascript_include_tag "godmin/application", "admin/custom" %>
<%= csrf_meta_tags %>
</head>
<body>
<div class="container">
<%= render 'godmin/shared/nav_bar' %>
<%= yield %>
... | Include custom js in layout | Include custom js in layout
| HTML+ERB | mit | inserve/godmin-material,inserve/godmin-material,varvet/godmin,inserve/godmin-material,varvet/godmin,varvet/godmin |
7c6e752af9bf50736abeca5d6ee712f1dd894c70 | app/views/users/new.html.erb | app/views/users/new.html.erb | <p id="google-login"><%= link_to "SIGN IN", "/auth/google_oauth2", id: "sign_in" %></p>
<div class="login">
<h1>TheFeels</h1>
<i class="fa fa-heart-o fa-5x fa-landing" aria-hidden="true"></i> <i class="fa fa-heart-o fa-5x fa-landing" aria-hidden="true"></i> <i class="fa fa-heart-o fa-5x fa-landing" aria-hidden="tru... | <div class="container">
<p id="google-login"><%= link_to "SIGN IN", "/auth/google_oauth2", id: "sign_in" %></p>
</div>
<div class="landing-content">
<h1><%= link_to "The Feels", "/auth/google_oauth2", id: "sign_in" %></h1>
<div id="explanation">
<p>Find out what you say to your </p>
<p>partner and how you... | Remove slider from view and add wording for landing page | Remove slider from view and add wording for landing page
| HTML+ERB | apache-2.0 | sarahikeda/TheFeels,sarahikeda/TheFeels,sarahikeda/TheFeels |
15c605eede8b1b8bdc19d482ddf5d9d2c3b8c87d | templates/service.erb | templates/service.erb | #!/bin/bash
#
# This file is managed by Puppet
#
sudo -u <%= @user %> <%= @dir %>/bin/zotonic $1
| #!/bin/bash
#
# This file is managed by Puppet
#
sudo -u <%= scope.lookupvar('zotonic::user') -%> <%= scope.lookupvar('zotonic::dir') -%>/bin/zotonic $1
| Fix template lookup for Puppet future parser | Fix template lookup for Puppet future parser
| HTML+ERB | mit | driebit/puppet-zotonic,driebit/puppet-zotonic |
8ce1bbafa851c9951c79505125e685875eb261e8 | app/views/home/index.html.erb | app/views/home/index.html.erb | <article>
<header>
<h2><%= @article.title %></h2>
<time>Posted <%= @article.posted_at %></time>
<summary><b>tl;dr;</b> <%= @article.blurb.html_safe %></summary>
</header>
<%= @article.copy_copy %>
</article>
| <article>
<header>
<h2><%= @article.title %></h2>
<time>Posted <%= @article.posted_at %></time>
</header>
<%= @article.copy_copy %>
</article>
| Remove article blurb from homepage | Remove article blurb from homepage
| HTML+ERB | mit | indrode/lament-rails,indrode/lament-rails,indrode/lament-rails |
76c694493aa662a24b1ac69b15c550d3cd971d4e | app/views/users/show.html.erb | app/views/users/show.html.erb | <h4>Welcome Back <%=@user.first_name.capitalize %></h4>
<h6>Picture here</h6>
<h6>Username: <%= @user.username %></h6>
<h6>Member Since: <%= @user.created_at %></h6>
<h4>Recent Echos</h4>
<% @user.pins.each do |pin| %>
<%= pin.song %>
<%= pin.comment %>
<%=link_to "Edit", pin_path(pin.id) %>
<% en... | <h4>Welcome Back <%=@user.first_name.capitalize %></h4>
<h6>Picture here</h6>
<h6>Username: <%= @user.username %></h6>
<h6>Member Since: <%= @user.created_at %></h6>
<h4>Recent Echos</h4>
<% @user.pins.each do |pin| %>
<%= pin.song %>
<%= pin.comment %>
<%=link_to "Edit", edit_pin_path(pin.id) %>
... | Fix route to edit pin in user profile | Fix route to edit pin in user profile
| HTML+ERB | mit | jjshin85/echo,jjshin85/echo,jjshin85/echo |
b95283c1b4b17e0b43cfca633daf136e70bb5cbd | app/views/georgia/ckeditor/assets/_asset.html.erb | app/views/georgia/ckeditor/assets/_asset.html.erb | <tr id='<%= dom_id(asset) %>'>
<td>
<%= image_tag "georgia/content-types/#{asset.extension}.jpg", alt: 'asset.data_content_type' if asset.extension %>
</td>
<td>
<%= asset.filename || asset.data.file.filename %>
</td>
<td>
<%= asset.data.file.exists? ? number_to_human_size(asset.size) : 'File not ... | <tr id='<%= dom_id(asset) %>'>
<td>
<%= link_to asset.url do %>
<%= image_tag "georgia/content-types/#{asset.extension}.jpg", alt: 'asset.data_content_type' if asset.extension %>
<% end %>
</td>
<td>
<%= asset.filename || asset.data.file.filename %>
</td>
<td>
<%= asset.data.file.exists?... | Add link to assets in media library | Add link to assets in media library
| HTML+ERB | mit | georgia-cms/georgia,georgia-cms/georgia,georgia-cms/georgia |
4333c1b8d9592dd8475a9f715d967577ea3101c4 | app/views/shared/_date_picker_javascript.html.erb | app/views/shared/_date_picker_javascript.html.erb | <script type='text/javascript'>
function makeDatePickers () {
$('#trip_pickup_time, #trip_appointment_time, [data-behavior=date-time-picker]').datetimepicker({
ampm: true,
stepMinute: 15,
stepHour: 1,
hourMin: 8,
hourMax: 18,
hourGrid: 2,
minuteGrid: 15,
... | <script type='text/javascript'>
function makeDatePickers () {
$('#trip_pickup_time, #trip_appointment_time, [data-behavior=date-time-picker]').datetimepicker({
ampm: true,
stepMinute: 15,
stepHour: 1,
hourMin: 7,
hourMax: 18,
hourGrid: 2,
minuteGrid: 15,
... | Change start hour to 7a from 8a for datetime widget | Change start hour to 7a from 8a for datetime widget
| HTML+ERB | agpl-3.0 | rideconnection/ridepilot,rideconnection/ridepilot,camsys/ridepilot,rideconnection/ridepilot,camsys/ridepilot,camsys/ridepilot |
47edf171e1f5df1369bb6589de4270071ad8db2d | app/views/tweets/index.erb | app/views/tweets/index.erb | <h1>ALL THE TWEETS</h1>
<p>
<% @tweet.each do |tweet|%>
<ul>
<li><%= p tweet.body %><br></li>
</ul>
<% end %>
</p>
| <h1>ALL THE TWEETS</h1>
<p>
<% @tweet.each do |tweet|%>
<ul>
<li><%= p tweet.body %><br></li>
User: <%= tweet.user.username %>
</ul>
<% end %>
</p>
| Update every tweet to display username | Update every tweet to display username
| HTML+ERB | mit | UmarFBajwa/rackup-twitter,UmarFBajwa/rackup-twitter,UmarFBajwa/rackup-twitter |
bb9158e19b1b87826e3080c9f9a3062eb6b9128a | modules/projects/templates/shared/nginx.conf.erb | modules/projects/templates/shared/nginx.conf.erb | upstream <%= @server_name %> {
server unix:<%= scope.lookupvar "boxen::config::socketdir" %>/<%= @name %>;
}
server {
access_log <%= scope.lookupvar "nginx::config::logdir" %>/<%= @name %>.access.log main;
listen 80;
root <%= @repo_dir %>/public;
server_name <%= @server_name %> *.<%= @server_name %>;
clien... | upstream <%= @server_name %> {
server unix:<%= scope.lookupvar "boxen::config::socketdir" %>/<%= @name %>;
}
server {
access_log <%= scope.lookupvar "nginx::config::logdir" %>/<%= @name %>.access.log main;
listen 80;
root <%= @repo_dir %>/public;
server_name
<%= @server_name.gsub(/_/, '-') %>
*.<%= @s... | Add xip.io support to Nginx virtual hosts | Add xip.io support to Nginx virtual hosts
| HTML+ERB | mit | barkingiguana/our-boxen,barkingiguana/our-boxen |
ba6ad4efc59d3ba85ab77b6b27f17a403a884972 | test/dummy/app/views/public/pages/edit.html.erb | test/dummy/app/views/public/pages/edit.html.erb | <%= form_for current_page do |f| %>
<p><%= f.label :title %><br /><%= f.text_field :title %></p>
<%= asset_drop(f) %>
<%= f.submit %>
<% end %>
<%= assets_toolbar %> | <%= form_for current_page do |f| %>
<p><%= f.label :title %><br /><%= f.text_field :title %></p>
<%= asset_drop(:form => f, :field => :file_id) %>
<%= f.submit %>
<% end %>
<%= assets_toolbar %> | Resolve form builder error by using hash for helper arg. | Resolve form builder error by using hash for helper arg.
| HTML+ERB | mit | ample/ample_assets,ample/ample_assets,ample/ample_assets |
f16b2a607265eccf06fba819568fffdee62e4fc4 | modules/icinga/templates/pager_contact.cfg.erb | modules/icinga/templates/pager_contact.cfg.erb | define contact {
contact_name <%= @name %>
alias PagerDuty Pseudo-Contact
service_notification_period <%= @notification_period %>
host_notification_period <%= @notification_period %>
service_no... | define contact {
contact_name <%= @name %>
service_notification_period <%= @notification_period %>
host_notification_period <%= @notification_period %>
service_notification_options <%= @service_notification_options %>
host_noti... | Make whitespace tidier in `pager_contact` template | Make whitespace tidier in `pager_contact` template
The sample Icinga config files in the icinga-core repository
have 8 spaces of indentation rather than 7.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
4649f64f948a110cdecc08fd60e8867aaa3e8cb8 | app/views/backend/content/rows/pictures/edit.html.erb | app/views/backend/content/rows/pictures/edit.html.erb | <%= render 'backend/general_form_error', object: @model %>
<div class="card">
<div class="card-header">
<%= t 'b.msg.flexible_content.edit_picture' %>
</div>
<div class="card-block">
<%= image_tag @model.asset.image.url(1700, 1700, quality: 65), alt: '', class: 'img-fluid' %>
<%= simple_form_for [:... | <%= render 'backend/general_form_error', object: @model %>
<div class="card">
<div class="card-header">
<%= t 'b.msg.flexible_content.edit_picture' %>
</div>
<div class="card-block">
<%= image_tag @model.asset.image.url(1700, 1700, quality: 65), alt: '', class: 'img-fluid' %>
<%= simple_form_for [:... | Use an editor when allowed for the picture caption. | Use an editor when allowed for the picture caption.
| HTML+ERB | mit | udongo/udongo,udongo/udongo,udongo/udongo |
dc665516f40261c795c225fe4e33be4fd5361bfa | 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, target: object.target do %>
<% if object.disallow_resize? %>
<%= image_tag object.asset.image.url, alt: '', class: 'img-fluid' %>
<% else %>
... | <% if object.present? && object.asset.present? %>
<% max_img_size = object.max_image_size %>
<% if object.background_image? %>
<div style="background-image: url('<%= object.asset.image.url(max_img_size, max_img_size, quality: 65) %>'); height: 100%; min-height: <%= object.min_height %>px">
</d... | Rework the flexible content frontend picture rendering. | Rework the flexible content frontend picture rendering.
| HTML+ERB | mit | udongo/udongo,udongo/udongo,udongo/udongo |
eea79caeefc61771cf5f17c29a42bf22a3e9d60d | app/views/koi/settings/_field_tags.html.erb | app/views/koi/settings/_field_tags.html.erb | <%- id = "koi-#{ new_uuid }" -%>
<% if object.respond_to?("#{object.key.singularize}_list".to_sym) %>
<%= f.input "#{object.key.singularize}_list".to_sym, as: :string, input_html: { id: id, style: 'width:500px' }, label: label %>
<%= render "koi/admin_crud/form_field_collection_errors", f: f, attr: attr %>
<sc... | <%- id = "koi-#{ new_uuid }" -%>
<% if object.respond_to?("#{object.key.singularize}_list".to_sym) %>
<%= f.input "#{object.key.singularize}_list".to_sym, as: :string, input_html: { id: id, style: 'width:500px' }, label: label %>
<%= render "koi/admin_crud/form_field_collection_errors", f: f, attr: attr %>
<%
... | Append any data_source tags to the existing tag list for extensibility. | Append any data_source tags to the existing tag list for extensibility.
| HTML+ERB | mit | katalyst/koi,katalyst/koi,katalyst/koi |
9bfe3313316d9f52617f6054081a58e96af6eca7 | app/views/layouts/tolk/application.html.erb | app/views/layouts/tolk/application.html.erb | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Tolk</title>
<%= javascript_include_ta... | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Tolk</title>
<% if respond_to?(:sproc... | Use sprokets.js if present, else use the default javascripts | Use sprokets.js if present, else use the default javascripts
| HTML+ERB | mit | joe-bader/tolk,10to1/tolk,MyMedsAndMe/tolk,dhh/tolk,tolk/tolk,beni55/tolk,beni55/tolk,tolk/tolk,tmp8/tolk,tolk/tolk,rdunlop/tolk,beni55/tolk,tmp8/tolk,rdunlop/tolk,joe-bader/tolk,dhh/tolk,MyMedsAndMe/tolk,rdunlop/tolk,munirent/tolk,MyMedsAndMe/tolk,10to1/tolk,munirent/tolk |
9ea850bd52cc0441b8f1c59ada27af48682abc2d | app/views/user_mailer/feedback_complete.html.erb | app/views/user_mailer/feedback_complete.html.erb | <%
requestor = @requestor.name(false)
recipient_name = @user.name(false)
plan_name = @plan.title
tool_name = Rails.configuration.branding[:application][:name]
%>
<p><%= _('Hello %{recipient_name}') % { recipient_name: recipient_name } %></p>
<p><%= _('%{commenter} has finished providing feedback on the plan ... | <%
requestor = @requestor.name(false)
recipient_name = @user.name(false)
plan_name = @plan.title
tool_name = Rails.configuration.branding[:application][:name]
%>
<p><%= _('Hello %{recipient_name}') % { recipient_name: recipient_name } %></p>
<p>
<%= _("%{commenter} has finished providing feedback on the pla... | Add comments text to feedback completed email | Add comments text to feedback completed email
Issue 1492
| HTML+ERB | mit | CDLUC3/dmptool,CDLUC3/roadmap,CDLUC3/dmptool,CDLUC3/dmptool,CDLUC3/roadmap,CDLUC3/roadmap,CDLUC3/roadmap,CDLUC3/dmptool |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.