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
6fdc460b8119e4469adc0107f81db2d9c5f0048e
cookbooks/hardware/templates/default/lldp.rb.erb
cookbooks/hardware/templates/default/lldp.rb.erb
require "json" Ohai.plugin(:Lldp) do provides "lldp" collect_data(:default) do lldp Mash.new json = JSON.parse(%x(/sbin/lldpctl -f json)) json["lldp"].each do |key, value| lldp[key] = value end lldp end end
require "json" Ohai.plugin(:Lldp) do provides "lldp" collect_data(:default) do lldp Mash.new json = JSON.parse(%x(/sbin/lldpctl -f json)) json["lldp"]["interface"].each do |interface| interface.each do |name, details| lldp[name] = details end end lldp end end
Improve layout of LLDP data
Improve layout of LLDP data
HTML+ERB
apache-2.0
openstreetmap/chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,zerebubuth/openstr...
0ce790be54901752ae0fc2f0eca8f59c72aee479
puppet/modules/role/templates/flow/conf.php.erb
puppet/modules/role/templates/flow/conf.php.erb
// see https://www.mediawiki.org/wiki/Extension:Flow $wgFlowAjaxTimeout = 90; // Seconds $wgFlowEventLogging = true; $wgFlowServerCompileTemplates = true; // always recompile in dev mode $wgFlowContentFormat = 'html'; // Parsoid dependency $wgFlowOccupyPages = array ( 'Talk:Flow QA', // used by Flow extension's brows...
// see https://www.mediawiki.org/wiki/Extension:Flow $wgFlowAjaxTimeout = 90; // Seconds $wgFlowEventLogging = true; $wgFlowServerCompileTemplates = true; // always recompile in dev mode $wgFlowContentFormat = 'html'; // Parsoid dependency $wgExtraNamespaces[190] = 'Flow_test'; $wgExtraNamespaces[191] = 'Flow_test_ta...
Add Flow_test NS to Flow role
Add Flow_test NS to Flow role * Same NS exist on ca.beta and en.beta * Used by browser tests Change-Id: I426cb4ad957045f13f5bbf55c709bcde5383c4d7
HTML+ERB
mit
wikimedia/mediawiki-vagrant,stuartbman/mediawiki-vagrant,HarriAlasi/wiki3dviewer,stuartbman/mediawiki-vagrant,stuartbman/mediawiki-vagrant,stuartbman/mediawiki-vagrant,HarriAlasi/wiki3dviewer,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,HarriAlasi/wiki3dviewer,HarriAlasi/wiki3dvie...
e0adf1b95657a39f9bb17c2a732cae397f6e9a2f
app/views/resources/index.html.erb
app/views/resources/index.html.erb
<h2>Search by Tag</h2> <%= form_tag("/search", method: "get") do %> <%= label_tag(:q, "Search by Tag:") %> <%= text_field_tag(:q) %> <%= submit_tag("Search") %> <% end %> <h2>Resources</h2> <div id='all-resources'> <ul> <% if @q %> <% @tags.each do |tag| %> <% if tag.name == @q.downcase %> ...
<h2>Search by Tag</h2> <%= form_tag("/search", method: "get") do %> <%= label_tag(:q, "Search by Tag:") %> <%= text_field_tag(:q) %> <%= submit_tag("Search") %> <% end %> <h2>Resources</h2> <div id='all-resources'> <ul> <% if @q %> <h3><%=@q.downcase%></h3> <% @tags.each do |tag| %> <% i...
Add search term as heading for list, cleaned up code spacing
Add search term as heading for list, cleaned up code spacing
HTML+ERB
mit
derekmpham/resource-repository-app,derekmpham/resource-repository-app,derekmpham/resource-repository-app
0814cdeb4a10860d3018d7ce3b9adfd4503893a8
app/views/reviews/_review.html.erb
app/views/reviews/_review.html.erb
<div class="recent-review"> <div class="review-rating-grade"> <% review.rating.times do %> <i class="fa fa-star" id='fa'></i> <% end %> <% (5-review.rating).times do %> <i class="fa fa-star-o" id='fa'></i> <% end %> &nbsp; <%= review.grade %> </div> <div class="review-date">Pub...
<div class="recent-review"> <div class="review-rating-grade"> <% review.rating.times do %> <i class="fa fa-star" id='fa'></i> <% end %> <% (5-review.rating).times do %> <i class="fa fa-star-o" id='fa'></i> <% end %> &nbsp; <%= review.grade %> </div> <div class="review-date">Pub...
Revert "review: fix line breaks not showing"
Revert "review: fix line breaks not showing" This reverts commit 3d2b9b8a0332a8a372dce14bd64d499c66a4fcf5.
HTML+ERB
mit
mesch-hmc/Claremontreview,mesch-hmc/Claremontreview,mesch-hmc/Claremontreview,mesch-hmc/Claremontreview
6ec55a2020e32dab36765dafcb602b7895dace15
plugins/inquiry/app/views/inquiry/inquiries/update.js.erb
plugins/inquiry/app/views/inquiry/inquiries/update.js.erb
// close modal window Dashboard.hideModal(); // reload remote inquries PollingService.update('inquiries');
<%if @inquiry%> $("#inquiry_<%=params[:id]%>").replaceWith("<%= j(render(partial: 'inquiry/inquiries/item', locals: {inquiry: @inquiry, remote_links: false})) %>"); $("#inquiry_<%=params[:id]%>").update(); <%else%> $("#inquiry_<%=params[:id]%>").remove(); <%end%> // close modal window Dashboard.hideModal(); // reload r...
Update inqury item inline after update
Update inqury item inline after update
HTML+ERB
apache-2.0
sapcc/elektra,sapcc/elektra,sapcc/elektra,sapcc/elektra
7c0aa77c8b2fe95fefe3dbc919d396206d7309b5
source/partials/_header.erb
source/partials/_header.erb
<header> <div id="logo"> <% link_to '/betweenscreens' do %> <%= image_tag 'Between_Screens_Logo_Cube_Up.svg', alt: 'Logo cube' %> <% end %> </div> <nav class="navigation"> <ul class="nav-list"> <li><%= link_to 'fork!', 'https://github.com/vis-kid/betweenscreens' %></li> ...
<header> <div id="logo"> <% link_to '/' do %> <%= image_tag 'Between_Screens_Logo_Cube_Up.svg', alt: 'Logo cube' %> <% end %> </div> <nav class="navigation"> <ul class="nav-list"> <li><%= link_to 'fork!', 'https://github.com/vis-kid/betweenscreens' %></li> <li><%...
Update Logo link in navbar
Update Logo link in navbar
HTML+ERB
mit
vis-kid/betweenscreens,vis-kid/betweenscreens,vis-kid/betweenscreens
ec1d5b8ed0e9858db7ab161b5ac82e15e453a3c9
app/views/user_sessions/unauthorized_patron.html.erb
app/views/user_sessions/unauthorized_patron.html.erb
<h1 class="error">Unauthorized patron</h1> <p>Sorry, you are not authorized to view this page. If you believe you've received this message by mistake please contact your University department and the <a href="http://library.nyu.edu/forms/services/study_spaces.html">NYU Libraries Access Services Department</a>.</p>
<h1 class="error">Unauthorized patron</h1> <p>Sorry, you are not authorized to view this page. If you believe you've received this message by mistake please contact your University department and the <a href="https://library.nyu.edu/services/study-spaces/">NYU Libraries Access Services Department</a>.</p>
Fix broken link on access denied form
Fix broken link on access denied form
HTML+ERB
mit
NYULibraries/rooms,NYULibraries/rooms,NYULibraries/rooms,NYULibraries/rooms
5996b813aa546ba5cdca16d94ed241c3602ff2e2
app/views/user_mailer/reset_password_instructions.text.erb
app/views/user_mailer/reset_password_instructions.text.erb
Hello <%= @user.email %>! Someone has requested a link to change your password. You can do this through the link below. <%= edit_password_url(@user, :reset_password_token => @token) %> If you didn't request this, please ignore this email. Your password won't change until you access the link above and create a new o...
Someone has requested a link to change your password. You can do this through the link below. <%= edit_password_url(@user, :reset_password_token => @token) %> If you didn't request this, please ignore this email. Your password won't change until you access the link above and create a new one. The link will be valid...
Remove duplicate greeting in email template
Remove duplicate greeting in email template
HTML+ERB
mit
alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2
233491f4cc5ccd1f96ff8739592ddf24e6d4b180
templates/default/iptables.erb
templates/default/iptables.erb
# Generated by Chef for <%= node['fqdn'] %> # Do NOT modify this file by hand. # <%# IPtables declares items in the following pattern: *tablename, e.g. *filter or *mangle default chains custom chains rules to go into the chain COMMIT next table and so on %> <% unless @iptables.nil? || @iptables.empty? -%> <% @iptables...
# Generated by Chef # Do NOT modify this file by hand. # <%# IPtables declares items in the following pattern: *tablename, e.g. *filter or *mangle default chains custom chains rules to go into the chain COMMIT next table and so on %> <% unless @iptables.nil? || @iptables.empty? -%> <% @iptables.each do |table, data| -...
Remove the FQDN from the config file
Remove the FQDN from the config file
HTML+ERB
apache-2.0
opscode-cookbooks/iptables,chef-cookbooks/iptables,opscode-cookbooks/iptables,opscode-cookbooks/iptables,chef-cookbooks/iptables,chef-cookbooks/iptables
2580f08e39f79ef55efbe62055a935af1f889f78
mike_rowe/app/views/layouts/application.html.erb
mike_rowe/app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>MikeRowe</title> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> <%= csrf_meta_tags %> </head> <header> <nav class="navbar navbar-default navbar-fixed...
<!DOCTYPE html> <html> <head> <title>MikeRowe</title> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> <%= csrf_meta_tags %> <link href="http://cdn.wijmo.com/jquery.wijmo-pro.all.3.20153.83.m...
Change path for students page in layout file
Change path for students page in layout file
HTML+ERB
mit
RockinRonE/mike_rowe,RockinRonE/mike_rowe,RockinRonE/mike_rowe
8cf8bad63502ba8f3f34174a58708e7b99afa946
layouts/article.erb
layouts/article.erb
--- # Template for Articles (Blog Posts) --- <% render 'default' do %> <div class='blog-entry'> <h1 class="entry-title"><%= item[:title] %></h1> <aside class="entry-meta"> <p class="entry-date">Posted on <%= item[:author_date] %> by <%= item[:author] %></p> </aside> <!-- end .post-data --> <arti...
--- # Template for Articles (Blog Posts) --- <% render 'default' do %> <div class='blog-entry'> <h1 class="entry-title"><%= item[:title] %></h1> <div class="entry-meta"> <span class="entry-date">Posted on <%= pretty_time(item[:created_at]) %></span> <span class="entry-author">by <%= item[:author...
Use span tags to seperate entry-date and entry-author while still keeping them on the same line
Use span tags to seperate entry-date and entry-author while still keeping them on the same line
HTML+ERB
mit
VoxelDavid/voxeldavid-website,vocksel/my-website,VoxelDavid/voxeldavid-website,vocksel/my-website
0fe2580d5f82003f1007892274aa274579b9aa30
templates/start.ini.erb
templates/start.ini.erb
# # <%= @configuration.inspect %> # <% if @configuration -%> --module=home-base-warning <% if @configuration['modules'].has_key?('server') -%> --module=server <% @configuration['modules'].fetch('server',[]).each do |k,v| -%> <%= k %>=<%= v %> <% end -%> <% end -%> <% if @configuration['modules'].has_key?('logging') -...
<% if @configuration -%> --module=home-base-warning <% if @configuration['modules'].has_key?('server') -%> --module=server <% @configuration['modules'].fetch('server', {}).each { |k,v| <%= k %>=<%= v %> } -%> <% end -%> <% if @configuration['modules'].has_key?('logging') -%> --module=logging <% end -%> <% if @config...
Change array to hash in the default values
Change array to hash in the default values
HTML+ERB
apache-2.0
jjuarez/puppet-jetty,jjuarez/puppet-jetty
0a491c1ccf78914fb33f81a04dbfdac01ef580c0
templates/openvpn.conf.erb
templates/openvpn.conf.erb
LoadPlugin openvpn <Plugin openvpn> StatusFile <%= statusfile %> ImprovedNamingSchema <%= improvednamingschema %> CollectCompression <%= collectcompression %> CollectIndividualUsers <%= collectindividualusers %> CollectUserCount <%= collectusercount %> </Plugin>
LoadPlugin openvpn <Plugin openvpn> StatusFile "<%= statusfile %>" ImprovedNamingSchema <%= improvednamingschema %> CollectCompression <%= collectcompression %> CollectIndividualUsers <%= collectindividualusers %> CollectUserCount <%= collectusercount %> </Plugin>
Add missing quotes to openvpn plugin
Add missing quotes to openvpn plugin
HTML+ERB
apache-2.0
voxpupuli/puppet-collectd,archii/puppet-collectd,archii/puppet-collectd,juniorsysadmin/puppet-collectd,archii/puppet-collectd,voxpupuli/puppet-collectd,voxpupuli/puppet-collectd,juniorsysadmin/puppet-collectd
bd6b6a2e6c0d3a09127d8b6a342195d6f924de44
templates/torrc.global.erb
templates/torrc.global.erb
# runtime RunAsDaemon 1 <% if (v=scope.lookupvar('tor::daemon::data_dir')) != '/var/lib/tor' -%> DataDirectory <%= v %> <% end -%> # log <% if (rules=scope.lookupvar('tor::daemon::log_rules')).empty? -%> Log notice syslog <% else -%> <% rules.each do |log_rule| -%> Log <%= log_rule %> <% end -%> <% end -%> <%-...
# runtime RunAsDaemon 1 <% if (v=scope.lookupvar('tor::daemon::data_dir')) != '/var/lib/tor' -%> DataDirectory <%= v %> <% end -%> # log <% if (rules=scope.lookupvar('tor::daemon::log_rules')).empty? -%> Log notice syslog <% else -%> <% rules.each do |log_rule| -%> Log <%= log_rule %> <% end -%> <% end -%> <%-...
Update template to really honor tor::daemon's safe_logging parameter.
Update template to really honor tor::daemon's safe_logging parameter. Without this change, using tor::daemon with the default safe_logging parameter results in a "SafeLogging 1" line being added to torrc, which is obviously not the intent of this piece of code. Also, this change makes parameters lookup consistent wit...
HTML+ERB
agpl-3.0
leapcode/puppet_tor,duritong/puppet-tor,duritong/puppet-tor,leapcode/puppet_tor,leapcode/puppet_tor
9a51e408b29fa00efac825bfcd4ec28d7e2d08c4
app/views/tracks/show.html.erb
app/views/tracks/show.html.erb
<div class="col-md-12"> <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> <h2>Valence:...
<div class="col-md-12"> <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> <h2>Valence:...
Add see more results link to show page
Add see more results link to show page
HTML+ERB
mit
FridaSjoholm/lyrically-challenged,FridaSjoholm/lyrically-challenged,FridaSjoholm/lyrically-challenged
9b37a44248281d721dfcd6a7df6e40160c721fc5
app/views/users/_user.html.erb
app/views/users/_user.html.erb
<td> <%= user.full_name %> </td> <td> <%= link_to user.email, user %> </td> <td> <%= l(user.confirmed_at, format: :full_with_time) %> </td> <td> <%= form_for(user) do |f| %> <%= f.select(:role, User.roles.keys.map {|role| [role.titleize,role]}) %> <%= f.submit 'Change Role', :class => 'button-xs' %>...
<td> <%= user.full_name %> </td> <td> <%= link_to user.email, user %> </td> <td> <%= l(user.confirmed_at, format: :full_with_time) if user.confirmed_at %> </td> <td> <%= form_for(user) do |f| %> <%= f.select(:role, User.roles.keys.map {|role| [role.titleize,role]}) %> <%= f.submit 'Change Role', :cl...
Handle nil value for confirmed_at in user index.
Handle nil value for confirmed_at in user index.
HTML+ERB
mit
voltagead/OpenSplitTime,voltagead/OpenSplitTime,SplitTime/OpenSplitTime,voltagead/OpenSplitTime,SplitTime/OpenSplitTime,SplitTime/OpenSplitTime
da5b0157c1b435fb3dc7de3fe727bb7d71ffc8c7
app/views/admin/shared/_title_etc.html.erb
app/views/admin/shared/_title_etc.html.erb
<%= hidden_field_tag "return_to", params[:return_to] if params[:return_to] %> <label for="edition_assigned_to_id">Assigned to</label> <%= f.collection_select :assigned_to_id, User.order_by([[:name, :asc]]).all, :id, :name, :prompt => "Select someone" %> <%= f.input :title, :input_html => { :class => "span7", :a...
<fieldset class='form-horizontal'> <%= hidden_field_tag "return_to", params[:return_to] if params[:return_to] %> <div class="control-group"> <label for="edition_assigned_to_id" class="control-label">Assigned to</label> <div class="controls"> <%= f.collection_select :assigned_to_id, User.order_by([[:n...
Use form-horizontal in the title-etc partial
Use form-horizontal in the title-etc partial Because nicer
HTML+ERB
mit
theodi/publisher,theodi/publisher,theodi/publisher,theodi/publisher
cd7dace130970d4483f438c7c663afbb6951888d
app/views/layouts/without_sidebar.html.erb
app/views/layouts/without_sidebar.html.erb
<!DOCTYPE html> <html lang="en" dir="ltr"> <head> <%= render 'layouts/head' %> </head> <body class="<%= Rails.env.development? ? 'development' : '' %>"> <%= render 'layouts/header' %> <main class="container"> <div class="grid"> <div class="grid--cell is-12"> <div class="has-padding-4"> <% {notice...
<!DOCTYPE html> <html lang="en" dir="ltr"> <head> <%= render 'layouts/head' %> </head> <body class="<%= Rails.env.development? ? 'development' : '' %>"> <%= render 'layouts/header' %> <main class="container"> <div class="grid"> <div class="grid--cell is-12"> <div class="has-padding-4"> <% {notice...
Copy over CSS id change
Copy over CSS id change
HTML+ERB
agpl-3.0
ArtOfCode-/qpixel,ArtOfCode-/qpixel,ArtOfCode-/qpixel,ArtOfCode-/qpixel
bef0a9b25dd185b2ea0e6549abac4308e22a2f11
app/assets/templates/footer.html.erb
app/assets/templates/footer.html.erb
<footer> <div class="container"> <ul class="text-muted"> <li>Some</li> <li>Footer</li> <li>Things</li> <li>To</li> <li>Play</li> <li>With</li> </ul> <ul class="text-muted"> <li>Simulating</li> <li>Large</li> <li>Footer</li> <li>Layout</li> </ul> <ul class="text-muted"...
Add a footer with three lists to play around with styling
Add a footer with three lists to play around with styling
HTML+ERB
mit
jeremymcintyre/rails-angular-sandbox,jeremymcintyre/rails-angular-sandbox,jeremymcintyre/rails-angular-sandbox
63dd296d7e08a81da104e8fadb3349f3bd9baae8
app/views/notifications/new.html.erb
app/views/notifications/new.html.erb
<h1>Let's send a text!</h1> <div class="row"> <div class="col-md-4"> <form method="post" action="<%= notifications_path %>" role="form"> <div class="form-group"> <label for="number">Number:</label> <input class="form-control" type="text" id="number" name="number" placeholder="1234567890"> ...
<div class="container"> <h1>Let's send a text!</h1> <div class="row"> <div class="col-md-4"> <form method="post" action="<%= notifications_path %>" role="form"> <div class="form-group"> <label for="number">Number:</label> <input class="form-control" type="text" id="number" name="numbe...
Add container class around input form
Add container class around input form
HTML+ERB
mit
codeforamerica/lexington-notify,codeforamerica/lexington-notify
73af158747e48b1ec49fed5423cb44ef7b3b71bc
modules/fuel_project/templates/roles/ns/ns-update.sh.erb
modules/fuel_project/templates/roles/ns/ns-update.sh.erb
#!/bin/bash set -e export BRANCH=${BRANCH:-<%= @dns_branch %>} export TMPDIR=${TMPDIR:-<%= @dns_tmpdir %>} export REPO=${REPO:-<%= @dns_repo %>} export TARGETPATH=${TARGETPATH:-<%= @target_path %>} ( flock -n 9 || exit 1 echo "Clean up..." rm -rf "${TMPDIR}" echo "Cloning..." git clone "${REPO}" "${TMPDIR...
#!/bin/bash set -e export BRANCH=${BRANCH:-<%= @dns_branch %>} export TMPDIR=${TMPDIR:-<%= @dns_tmpdir %>} export REPO=${REPO:-<%= @dns_repo %>} export TARGETPATH=${TARGETPATH:-<%= @target_path %>} ( flock -n 9 || exit 1 echo "Clean up..." rm -rf "${TMPDIR}" echo "Cloning..." git clone "${REPO}" "${TMPDIR...
Fix for rndc launch: use full path
Fix for rndc launch: use full path Change-Id: Ie2d483711a43267ff97cb7463ed96795280e1986 Signed-off-by: Igor Shishkin <754e6e0fd0f692545d04d1591d9a3de62bb04f84@mirantis.com>
HTML+ERB
apache-2.0
fuel-infra/puppet-manifests,fuel-infra/puppet-manifests,fuel-infra/puppet-manifests,fuel-infra/puppet-manifests
be84b875619e60e5f8fbe7256707e3cc8db40888
app/views/users/_short_form.html.erb
app/views/users/_short_form.html.erb
<%= simple_form_for @user, url: { controller: 'users', action: 'quick_create' }, html: { class: 'form-vertical' }, remote: true, wrapper: :vertical_form do |f| %> <%= f.error_notification %> <%= f.input :username, as: :hidden %> <%= f.input :first_name,...
<%= simple_form_for @user, url: { controller: 'users', action: 'quick_create' }, html: { class: 'form-vertical' }, remote: true, wrapper: :vertical_form do |f| %> <%= f.error_notification %> <%= f.input :username, as: :hidden %> <%= f.input :first_name,...
Fix cancel button on quick new user modal
Fix cancel button on quick new user modal Resolves #1376
HTML+ERB
mit
YaleSTC/reservations,YaleSTC/reservations,YaleSTC/reservations
c4678e114e7111f86b9dd47bcf7e11d2337dfda0
app/views/admin/editions/new.html.erb
app/views/admin/editions/new.html.erb
<h1>Draft new policy</h1> <%= render partial: "form", locals: {disabled: false, edition: @edition} %>
<h1>Draft new <%= @edition.document_type %></h1> <%= render partial: "form", locals: {disabled: false, edition: @edition} %>
Document type should be correctly displayed in title.
Document type should be correctly displayed in title.
HTML+ERB
mit
robinwhittleton/whitehall,YOTOV-LIMITED/whitehall,YOTOV-LIMITED/whitehall,ggoral/whitehall,ggoral/whitehall,hotvulcan/whitehall,ggoral/whitehall,YOTOV-LIMITED/whitehall,alphagov/whitehall,ggoral/whitehall,askl56/whitehall,hotvulcan/whitehall,hotvulcan/whitehall,askl56/whitehall,askl56/whitehall,askl56/whitehall,robinwh...
767b65e7d688945bc6bf573cdf1f58469a88d823
app/views/relationable/_related_content.html.erb
app/views/relationable/_related_content.html.erb
<div class="related-content padding"> <div class="margin-bottom"> <h2 class="inline-block"> <%= t("related_content.title") %>&nbsp;<span>(<%= relationable.relationed_contents.count %>)</span> </h2> <% if current_user %> <button type="button" data-toggle="related_content" class="add-related-co...
<div class="related-content padding"> <div class="margin-bottom"> <h2 class="inline-block"> <%= t("related_content.title") %>&nbsp;<span>(<%= relationable.relationed_contents.count %>)</span> </h2> <% if current_user %> <button type="button" data-toggle="related_content" class="add-related-co...
Remove unused related content button ID attribute
Remove unused related content button ID attribute
HTML+ERB
agpl-3.0
consul/consul,consul/consul,consul/consul,consul/consul,consul/consul
cf147600a76dd25e9072b9d7a2ace3bdc65db5d7
app/views/analytics/system_activity_logs.html.erb
app/views/analytics/system_activity_logs.html.erb
<h3>System Activity Logs</h3> <%= render "log_filters" %> <table id="logs" class="datatable table table-striped table-bordered" > <thead> <tr> <th>User</th> <th>Category</th> <th>Message</th> <th>Date</th> </tr> </thead> <tbody> <% @logs.each do |log| %> <tr> <...
<h3>System Activity Logs</h3> <%= render "log_filters" %> <table id="logs" class="datatable table table-striped table-bordered" > <thead> <tr> <th>User</th> <th>Category</th> <th>Message</th> <th>Date</th> </tr> </thead> <tbody> <% @logs.each do |log| %> <tr> <...
Move to more modern try syntax
Move to more modern try syntax
HTML+ERB
agpl-3.0
houhoulis/ReadyResponder,kgf/lims,kgf/lims,kgf/lims,kgf/lims,houhoulis/ReadyResponder,ReadyResponder/ReadyResponder,ReadyResponder/ReadyResponder,ReadyResponder/ReadyResponder,houhoulis/ReadyResponder,houhoulis/ReadyResponder,ReadyResponder/ReadyResponder
ba7059d4675358bf913de4f9426a034575f97419
app/views/layouts/frontend.html.erb
app/views/layouts/frontend.html.erb
<%= render :layout => 'layouts/frontend_base' do %> <nav id="proposition-menu" class="no-proposition-name"> <ul id="proposition-links"> <li><%= main_navigation_link_to "Departments", organisations_path %></li> <li><%= main_navigation_link_to "Worldwide", world_locations_path(locale: :en) %></li> ...
<%= render :layout => 'layouts/frontend_base' do %> <nav id="proposition-menu" class="no-proposition-name" aria-label="Departments and policy navigation"> <ul id="proposition-links"> <li><%= main_navigation_link_to "Departments", organisations_path %></li> <li><%= main_navigation_link_to "Worldwide", ...
Add aria label to site header navigation
Add aria label to site header navigation The site header links are a nav element, often appearing on pages which have other nav elements. When there are multiple navigation landmarks on a page, they should be labelled in order to help assistive tech users differentiate between them. This adds aria-label to the site h...
HTML+ERB
mit
alphagov/whitehall,alphagov/whitehall,alphagov/whitehall,alphagov/whitehall
0266778e5b514b4244cc51a5cdacd59deed1ae51
auth/app/views/spree/user_passwords/edit.html.erb
auth/app/views/spree/user_passwords/edit.html.erb
<%= render :partial => 'spree/shared/error_messages', :locals => { :target => @user } %> <h2><%= t(:change_my_password) %></h2> <%= form_for @user, :url => spree.user_password_path, :html => {:method => :put} do |f| %> <p> <%= f.label :password %><br /> <%= f.password_field :password %><br /> </p> <p> ...
<%= render :partial => 'spree/shared/error_messages', :locals => { :target => @user } %> <h2><%= t(:change_my_password) %></h2> <%= form_for @user, :url => spree.user_password_path, :html => {:method => :put} do |f| %> <p> <%= f.label :password, t(:password) %><br /> <%= f.password_field :password %><br /> ...
Make password and password_confirmation translatable
[auth] Make password and password_confirmation translatable
HTML+ERB
bsd-3-clause
patdec/spree,gautamsawhney/spree,devilcoders/solidus,sideci-sample/sideci-sample-spree,Machpowersystems/spree_mach,welitonfreitas/spree,abhishekjain16/spree,tomash/spree,TrialGuides/spree,builtbybuffalo/spree,JDutil/spree,athal7/solidus,Engeltj/spree,vmatekole/spree,archSeer/spree,madetech/spree,Ropeney/spree,Lostmynam...
e1ff0368dc34d88a4d59ba62a1ac9b6c4c88d37e
cookbooks/wt_actioncenter/templates/default/PublicPrivateKeys.rsa.erb
cookbooks/wt_actioncenter/templates/default/PublicPrivateKeys.rsa.erb
<RSAKeyValue> <Modulus><%= @modulus %></Modulus> <Exponent><%= @exponent %></Exponent> <P><%= @p %></P> <Q><%= @q %></Q> <DP><% @dp %></DP> <DQ><% @dq %></DQ> <InverseQ><%= @inverse_q %></InverseQ> <D><%= @d %></D> </RSAKeyValue>
<RSAKeyValue> <Modulus><%= @modulus %></Modulus> <Exponent><%= @exponent %></Exponent> <P><%= @p %></P> <Q><%= @q %></Q> <DP><%= @dp %></DP> <DQ><%= @dq %></DQ> <InverseQ><%= @inverse_q %></InverseQ> <D><%= @d %></D> </RSAKeyValue>
Fix template, add = to dp and dq vars
Fix template, add = to dp and dq vars
HTML+ERB
apache-2.0
scottymarshall/rundeck,scottymarshall/rundeck,scottymarshall/rundeck
6b2c9d6507f51158ca83124956081e56596cce32
app/views/partials/_results.erb
app/views/partials/_results.erb
<div id="menu1" class="tab-pane fade"> <h3><%#= %></h3> <p></p> </div> <% taxa.each do |taxon| %> <% if !taxon.nil? %> <% if taxon[:rank] == "species" %> <p> <%= taxon %> </p> <% end %> <% end %> <% end %>
<div id="menu1" class="tab-pane fade"> <h3><%#= %></h3> <p></p> </div>
Refactor partial to remove unnecessary comments
Refactor partial to remove unnecessary comments
HTML+ERB
mit
groovestation31785/inaturalist,groovestation31785/inaturalist
2949878570a32e346e0dc55e965390dee40d0243
app/views/actions/index.html.erb
app/views/actions/index.html.erb
<div class='btn-group pull-right' role='group'> <%= link_to(new_activity_path, class: 'btn btn-default') do %> <%= icon_for(:add) %> Add New Activity <% end %> </div> <div> <% if current_activities.any? %> <h4>Available Keybinds/Activities:</h4> <% current_activities.in_groups_of(3, false) do |gr...
<div class='btn-group pull-right' role='group'> <%= link_to(new_activity_path, class: 'btn btn-default') do %> <%= icon_for(:add) %> Add New Activity <% end %> </div> <div> <% if current_activities.any? %> <h4>Available Activities (Click to Activate/Deactivate)</h4> <% current_activities.in_group...
Remove header reference to keybind
Remove header reference to keybind
HTML+ERB
mit
siggymcfried/data_day,siggymcfried/data_day,siggymcfried/data_day
747b3f00befb65dffbd3b597b687a64ef1bfb4c4
app/views/devices/index.html.erb
app/views/devices/index.html.erb
<section class="widget"> <header> <h4><i class="icon-mobile-phone"></i> Devices</h4> </header> <div class="body"> <table class="table table-hover"> <thead> <tr> <th>Device Identifier</th> <th>Device Label</th> <th>Number of Surveys</th> <!-- <th>Comple...
<section class="widget"> <header> <h4><i class="icon-mobile-phone"></i> Devices</h4> </header> <div class="body"> <table class="table table-hover"> <thead> <tr> <th>Device Identifier</th> <th>Device Label</th> <th>Number of Surveys</th> <!-- <th>Comple...
Add current version of app to device list
Add current version of app to device list
HTML+ERB
mit
DukeMobileTech/rails_survey,DukeMobileTech/rails_survey,DukeMobileTech/rails_survey
16308e8a59670209876e39c666ca4a81f5280d23
app/views/events/_event.html.erb
app/views/events/_event.html.erb
<div class="row event"> <div class="col-md-2 col-sm-3"> <%= image_tag event.logo.thumb %> </div> <div class="col-md-10 col-sm-9"> <h2><%= link_to event.name, event, :class => 'title' %></h2> <p><small> <%= l(event.start_at, :format => :long) %> to <%= l(event.end_at, :format => :lon...
<div class="row event"> <div class="col-md-2 col-sm-3"> <%= image_tag event.logo.thumb %> </div> <div class="col-md-10 col-sm-9"> <h2><%= link_to event.name, event, :class => 'title' %></h2> <p><small> <%= l(event.start_at, :format => :long) %> to <%= l(event.end_at, :format => :lon...
Set destroy event button to red
Set destroy event button to red
HTML+ERB
mit
devcon-ph/devcon,devcon-ph/devcon,devcon-ph/devcon
8bb7a61ea921c6159224f1409630ba76da61338d
app/views/versions/delete.html.erb
app/views/versions/delete.html.erb
<fieldset> <legend>Delete Version</legend> <h3>Are you sure you want to delete this Version?</h3> <hr class="space" /> <div class="box version <%=h @version.state %>"> <div class="clearfix"> <h2>Version</h2> <div class="span-5"> <h3><%=h @version %></h3> <span class="date">Las...
<fieldset> <legend>Delete Version</legend> <h3>Are you sure you want to delete this Version?</h3> <hr class="space" /> <div class="box version <%=h @version.state %>"> <div class="clearfix"> <h2>Version</h2> <div class="span-7"> <h3><%=h @version %></h3> <span class="date">Las...
Allow some more room between the different columns in delete version.
Allow some more room between the different columns in delete version.
HTML+ERB
mit
jbripley/brazil,jbripley/brazil
bb6093fa4d7db5fb5110f3e6934130d3d05924b5
backend/app/views/spree/admin/orders/_line_items.html.erb
backend/app/views/spree/admin/orders/_line_items.html.erb
<table class="line-items index" data-hook="line-items"> <colgroup> <col style="width: 10%;" /> <col style="width: 45%;" /> <col style="width: 10%;" /> <col style="width: 10%;" /> <col style="width: 10%;" /> <col style="width: 15%;" /> </colgroup> <thead> <tr> <th colspan="2"><%=...
<table class="line-items index" data-hook="line-items"> <colgroup> <col style="width: 10%;" /> <col style="width: 45%;" /> <col style="width: 10%;" /> <col style="width: 10%;" /> <col style="width: 10%;" /> <col style="width: 15%;" /> </colgroup> <thead> <tr> <th colspan="2"><%=...
Add note to section rendered by JS
Add note to section rendered by JS
HTML+ERB
bsd-3-clause
pervino/solidus,pervino/solidus,pervino/solidus,pervino/solidus
42e320ee7a9355d25497881976c301e765029904
app/views/addresses/show.html.erb
app/views/addresses/show.html.erb
<div id="map"></div> <h1 data-latlng="<%= @address.postcode.lat_lng.to_a.join(",") %>"> <% @address.full_address_lines.each do |line| %> <%= line %><br> <% end %> <%= alternate_link_buttons(class: 'btn btn-sm btn-primary') %> </h1>
<%= render 'address_submit' %> <div id="map"></div> <h1 data-latlng="<%= @address.postcode.lat_lng.to_a.join(",") %>"> <% @address.full_address_lines.each do |line| %> <%= line %><br> <% end %> <%= alternate_link_buttons(class: 'btn btn-sm btn-primary') %> </h1>
Add partial to show page
Add partial to show page Sometimes, we redirect to one address if there is only one match, so people might want to submit an address here too
HTML+ERB
mit
OpenAddressesUK/theodolite,OpenAddressesUK/theodolite,OpenAddressesUK/theodolite
f9d267326a82431ed62db9275a2418b2c6b45e79
app/views/features/_form.html.erb
app/views/features/_form.html.erb
<%= form.hidden_field :product_id %> <div> <%= form.label :name %>:<br /> <%= form.text_field :name, :class => "text" %> </div> <div> <%= form.label :ui_type, 'Display as a' %>:<br /> <select id="feature_ui_type" name="feature[ui_type]"> <option value="<%= Feature::TEXT_FIELD %>">Text field</option> <opt...
<%= form.hidden_field :product_id %> <div> <%= form.label :name %>:<br /> <%= form.text_field :name, :class => "text" %> </div> <div> <%= form.label :ui_type, 'Display as a' %>:<br /> <select id="feature_ui_type" name="feature[ui_type]"> <option value="<%= Feature::TEXT_FIELD %>"<%= ' selected="selected"' if...
Select current UI type from drop down menu when editing features (kludgy)
Select current UI type from drop down menu when editing features (kludgy)
HTML+ERB
mit
ianfleeton/zmey,ianfleeton/zmey,ianfleeton/zmey,ianfleeton/zmey
7cacc7737d73061744487851d61880c97b909b21
app/views/manuals/_title.html.erb
app/views/manuals/_title.html.erb
<h1 class="page-header"><%= manual.title %> <ul class='document-slug'> <li title='<% if !manual.published? %>When published this manual will appear at this URL<% end %>'> <%= manual.slug %> </li> <% if manual.published? %> <li><%= link_to "View on website", public_url %></li> <% end %> ...
<h1 class="page-header"><%= manual.title %> <ul class='document-slug'> <li title='<% if !manual.published? %>When published this manual will appear at this URL<% end %>'> <%= manual.slug %> </li> <% if manual.published? %> <li><%= link_to "View on website", public_url %></li> <% end %> ...
Fix closing tag for UL
Fix closing tag for UL
HTML+ERB
mit
alphagov/manuals-publisher,alphagov/manuals-publisher,alphagov/manuals-publisher
9e6ce6497a2e093eee08bea3a204a4886a043db0
app/views/stories/search.html.erb
app/views/stories/search.html.erb
<div id="search-results"> <br></br> <% if params[:search].empty? %> <h3> There is no content matching "<%= params[:search] %>." </h3> <% else %> <h3> Content with "<%= params[:search] %>" in the Title: </h3> <% @searched_stories.each do |story| %> <% display_string = story.title %> <% x =...
<div id="search-results"> <br></br> <% if @searched_stories.empty? %> <h3> There is no Story content matching "<%= params[:search] %>." </h3> <% else %> <h3> Stories with "<%= params[:search] %>" in the Title: </h3> <% @searched_stories.each do |story| %> <% x = params[:search].upcase %> ...
Clean up logic in stories search view
Clean up logic in stories search view
HTML+ERB
mit
pearlshin/StoryVine,mxngyn/StoryVine,SputterPuttRedux/storyvine_clone,mxngyn/StoryVine,pearlshin/StoryVine,SputterPuttRedux/storyvine_clone,pearlshin/StoryVine,SputterPuttRedux/storyvine_clone,mxngyn/StoryVine
4861f8533a3946a97d81f0bb7b9789957d8a56ed
app/views/projects/new.js.erb
app/views/projects/new.js.erb
$('#project_form').replaceWith('<%= j render 'form', :project => @project, :remote => true %>'); if (($('#project_modal').data('bs.modal') || { isShown: false }).isShown == false) { $('#project_modal').modal('show'); }
$('#project_modal #project_form').replaceWith('<%= j render 'form', :project => @project, :remote => true %>'); if (($('#project_modal').data('bs.modal') || { isShown: false }).isShown == false) { $('#project_modal').modal('show'); }
Fix javascript new form replacing while editing project
Fix javascript new form replacing while editing project
HTML+ERB
mit
technoeleganceteam/kanban_on_rails,technoeleganceteam/kanban_on_rails
14e56d234a8830c6e7fec6564f41fafce5d12c78
app/views/radius/_ga.html.erb
app/views/radius/_ga.html.erb
<script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.j...
<script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.j...
Update Google Analytics tracking code per AJ
Update Google Analytics tracking code per AJ
HTML+ERB
mit
RadiusNetworks/radius-rails,RadiusNetworks/radius-rails,RadiusNetworks/radius-rails,RadiusNetworks/radius-rails,RadiusNetworks/radius-rails
3f8ce84c19fcbb2a678ba4d1bc58081e32373e36
app/views/shared/_header.html.erb
app/views/shared/_header.html.erb
<div id="header"> <div id="header_padding" class="container"> <div class="span-16 colborder"> <h1><%= link_to image_tag("echowaves.gif", :border => 0, :width => "282px", :height => "50px" ), home_path %></h1> </div> <div class="span-6 last"> <% if logged_in? %> <%= link_to image_tag(...
<div id="header"> <div id="header_padding" class="container"> <div class="span-16 colborder"> <h1><%= link_to image_tag("echowaves.gif", :border => 0, :width => "282px", :height => "50px" ), home_path %></h1> </div> <div class="span-6 last"> <% if logged_in? %> <%= link_to image_tag(...
Add a temporary edit profile link to header, so the users can change their timezones
Add a temporary edit profile link to header, so the users can change their timezones
HTML+ERB
mit
dmitryame/echowaves,dmitryame/echowaves
1bb17377aa9f89d48a86edfaafc9a380d901bfcf
app/views/snippets/index.html.erb
app/views/snippets/index.html.erb
<ul> <% @snippets.each do |snippet| %> <div class="snippet"> <li><%= link_to snippet.content[0...249].html_safe, snippet_path(snippet) %></li> </div> <% end %> </ul>
<ul> <% @snippets.each do |snippet| %> <div class="snippet"> <li><%= link_to snippet.content, snippet_path(snippet) %></li> </div> <% end %> </ul>
Change link_to for now because of blank snippets
Change link_to for now because of blank snippets
HTML+ERB
mit
SputterPuttRedux/storyvine_clone,mxngyn/StoryVine,pearlshin/StoryVine,mxngyn/StoryVine,pearlshin/StoryVine,pearlshin/StoryVine,SputterPuttRedux/storyvine_clone,mxngyn/StoryVine,SputterPuttRedux/storyvine_clone
3e71c456b4fb708cd5de1db45a628cfadd466d81
app/cells/post/show.erb
app/cells/post/show.erb
<article class="post" id="<%= @post.presenter.dom_id %>" data-pos="<%= @post.pos %>"> <header class="info"> <% if @post.options_raw %> <%= mail_to @post.options_raw do %><span class="author"><%= @post.author || "anonymous" %></span><% end %> <% else %> <span class="author"><%= @post.author %></spa...
<article class="post" id="<%= @post.presenter.dom_id %>" data-pos="<%= @post.pos %>"> <header class="info"> <span class="id">#<%= @post.pos %></span> <% if @post.options_raw %> <%= mail_to @post.options_raw do %><span class="author"><%= @post.author || "anonymous" %></span><% end %> <% else %> ...
Move pos to the front
Move pos to the front It is used more often than date but is short (difficult to locate)
HTML+ERB
mit
lulalala/mei,lulalala/mei,lulalala/mei
957ece4846db9069bbcc79da8d02f19854cbaf8f
config/nginx/base.conf.erb
config/nginx/base.conf.erb
server { listen 51000; server_name <%= domain %>; root <%= current_path %>/public; # Write the real client IP when it's passed via X-Forwarded-For from HAProxy. set_real_ip_from 127.0.0.1; real_ip_header X-Forwarded-For; access_log <%= shared_path %>/log/access.log combined; error_log <%= shared_path...
server { listen 51000; server_name <%= domain %>; root <%= current_path %>/public; # Write the real client IP when it's passed via X-Forwarded-For from HAProxy. set_real_ip_from 127.0.0.1; real_ip_header X-Forwarded-For; access_log <%= shared_path %>/log/access.log combined; error_log <%= shared_path...
Fix big documentation pages failing to save in the admin by allowing nginx to accept bigger request bodies.
Fix big documentation pages failing to save in the admin by allowing nginx to accept bigger request bodies.
HTML+ERB
mit
cmc333333/api-umbrella-web,NREL/api-umbrella-web,NREL/api-umbrella-web,johan--/api-umbrella-web,cmc333333/api-umbrella-web,apinf/api-umbrella,NREL/api-umbrella,apinf/api-umbrella,apinf/api-umbrella,johan--/api-umbrella-web,cmc333333/api-umbrella-web,NREL/api-umbrella-web,NREL/api-umbrella,johan--/api-umbrella-web,NREL/...
579b9dc38e83242118d96f6dfe9b1206ba8d678e
lib/generators/curation_concerns/templates/workflow.json.erb
lib/generators/curation_concerns/templates/workflow.json.erb
{ "workflows": [ { "name": "default", "label": "Default workflow", "description": "A single submission step, default workflow", "actions": [ { "name": "deposit", "from_states": [], "tr...
{ "workflows": [ { "name": "default", "label": "Default workflow", "description": "A single submission step, default workflow", "allows_access_grant": true, "actions": [ { "name": "deposit", "...
Update the default workflow to allow_access_grants
Update the default workflow to allow_access_grants
HTML+ERB
apache-2.0
samvera/hyrax,samvera/hyrax,samvera/hyrax,samvera/hyrax
fda4c949ebdc2860c71e1d92ffbfd8efd29ec5af
lib/generators/jsonapi/templates/destroy_request_spec.rb.erb
lib/generators/jsonapi/templates/destroy_request_spec.rb.erb
require 'rails_helper' RSpec.describe "<%= type %>#destroy", type: :request do context 'basic destroy' do let!(:<%= file_name %>) { FactoryBot.create(:<%= file_name %>) } it 'updates the resource' do expect { delete "/<%= api_namespace %>/v1/<%= type %>/#{<%= file_name %>.id}" }.to chang...
require 'rails_helper' RSpec.describe "<%= type %>#destroy", type: :request do context 'basic destroy' do let!(:<%= file_name %>) { create(:<%= file_name %>) } it 'updates the resource' do expect { delete "/<%= api_namespace %>/v1/<%= type %>/#{<%= file_name %>.id}" }.to change { <%= mod...
Remove explicit FactoryGirl/Bot from destroy spec gen
Remove explicit FactoryGirl/Bot from destroy spec gen We are including the method helpers so we can just use `#create` directly.
HTML+ERB
mit
richmolj/jsonapi_compliable,jsonapi-suite/jsonapi_suite,jsonapi-suite/jsonapi_compliable,jsonapi-suite/jsonapi_compliable,jsonapi-suite/jsonapi_suite,jsonapi-suite/jsonapi_compliable,richmolj/jsonapi_compliable,richmolj/jsonapi_compliable,jsonapi-suite/jsonapi_suite
02ab1d21105c50fb975a330247c05705c1b6aa85
plugins/orders_cycle/views/orders_cycle_plugin_order/_delivery.html.erb
plugins/orders_cycle/views/orders_cycle_plugin_order/_delivery.html.erb
<% form_for :order, order, :url => {:action => :confirm, :id => order} do |f| %> <% if order.cycle.delivery_methods.count > 0 %> <div> <h3><%= t('orders_cycle_plugin.views.order._delivery.delivery_method') %></h3> <strong><%= order.supplier_delivery.name %></strong> <div class="subtitle"><%= ord...
<% form_for :order, order, :url => {:action => :confirm, :id => order} do |f| %> <% if order.cycle.delivery_methods.count > 0 %> <div> <h3><%= t('orders_cycle_plugin.views.order._delivery.delivery_method') %></h3> <% if order.supplier_delivery %> <strong><%= order.supplier_delivery.name %></st...
Check if supplier delivery is selected
Check if supplier delivery is selected
HTML+ERB
agpl-3.0
samasti/noosfero,blogoosfero/noosfero,EcoAlternative/noosfero-ecosol,samasti/noosfero,EcoAlternative/noosfero-ecosol,CIRANDAS/noosfero-ecosol,coletivoEITA/noosfero-ecosol,coletivoEITA/noosfero-ecosol,EcoAlternative/noosfero-ecosol,CIRANDAS/noosfero-ecosol,samasti/noosfero,coletivoEITA/noosfero-ecosol,coletivoEITA/noosf...
e04ceeec9804d7d65759e9465dc36a0d9bdb56c0
views/game.erb
views/game.erb
<html> <head> <title>TicTacToe</title> </head> <body> <h1>TicTacToe</h1> <table style="border: 10px solid black;"> <tr> <td style="border: 10px solid black;"><%= session[:board].board_arr[0] %></td> <td style="border: 10px solid black;"><%= session[:board].board_arr[1] %></td> <td style="bo...
<div class="centered"> <%= erb :board %> <h2 class="message"><%= session[:message]%></h2> <h2><%= session[:board].turn%>'s Turn</h2> <h2>Enter a number between <%= session[:board].valid_slots %> that corresponds with the opening slots starting from the top left. </h2> <form method='post' action='/game/mo...
Use partial to show board
Use partial to show board
HTML+ERB
mit
portatlas/tictactoe,portatlas/tictactoe
ad54fc6b5def385edfcd6a39cf34d68392990441
app/views/api_sampler/kaminari/_paginator.html.erb
app/views/api_sampler/kaminari/_paginator.html.erb
<%= paginator.render do %> <nav class="ui right floated mobile only pagination menu"> <%= prev_page_tag unless current_page.first? %> <% each_page do |page| %> <% if page.left_outer? || page.right_outer? || page.inside_window? %> <%= page_tag page %> <% elsif !page.was_truncated? %> ...
<%= paginator.render do %> <nav class="ui right floated pagination menu"> <%= prev_page_tag unless current_page.first? %> <% each_page do |page| %> <% if page.left_outer? || page.right_outer? || page.inside_window? %> <%= page_tag page %> <% elsif !page.was_truncated? %> <%= gap_ta...
Remove unused CSS classes from the paginator
Remove unused CSS classes from the paginator
HTML+ERB
mit
smaximov/api_sampler,smaximov/api_sampler,smaximov/api_sampler
0462b171c2b8b9bbda9146fc354003e0084d31f1
app/views/shared/_export_links.html.erb
app/views/shared/_export_links.html.erb
<% javascript('export_configure') %> <form method="get" action="<%= export_project_plan_path(plan.project, plan) -%>" target="_blank"> <%= label_tag(:format, t('helpers.format')) %> <%= select_tag(:format, options_for_select(%i( pdf text html xml json ), :pdf)) %> <%= submit_tag(t('helpers.export'), class: 'btn b...
<% javascript('export_configure') %> <form method="get" action="<%= export_project_plan_path(plan.project, plan) -%>" target="_blank"> <%= label_tag(:format, t('helpers.format')) %> <%= select_tag(:format, options_for_select(%i( pdf text html xml json ), :pdf)) %> <%= submit_tag(t('helpers.export'), class: 'btn b...
Bring back plan_settings_indicator to export settings form
Bring back plan_settings_indicator to export settings form
HTML+ERB
agpl-3.0
cau-vfu/DMPonline_v4,DigitalCurationCentre/DMPonline_v4,cau-vfu/DMPonline_v4,BibNumUMontreal/DMPonline_v4,DigitalCurationCentre/DMPonline_v4,BibNumUMontreal/DMPonline_v4,cau-vfu/DMPonline_v4,DigitalCurationCentre/DMPonline_v4,BibNumUMontreal/DMPonline_v4
78881083c7d88c7e42e8f364c2b6c1ed947765dc
app/views/riews/views/index.html.erb
app/views/riews/views/index.html.erb
<p id="notice"><%= notice %></p> <h1>Views</h1> <%= bootstrap_table do |table| table.headers << 'Name' table.headers << 'Model' table.headers << 'Code' table.headers << 'Edit' @views.each do |view| table.rows << [ view.name, view.model, view.code, link_to('Edit view', ed...
<p id="notice"><%= notice %></p> <h1>Views</h1> <%= bootstrap_table do |table| table.headers << 'Name' table.headers << 'Model' table.headers << 'Code' table.headers << 'Show' table.headers << 'Edit' table.headers << 'Destroy' @views.each do |view| table.rows << [ view.name, view.mo...
Add show and destroy links to views table
Add show and destroy links to views table
HTML+ERB
mit
bustikiller/riews,bustikiller/riews,bustikiller/riews
5c6ed44e4ac3031e2f7053c3cd5acbb3d9763c48
app/views/ads/index.html.erb
app/views/ads/index.html.erb
<% content_for(:meta_title, t('nlt.home_title')) %> <% content_for :action do %> <div class="ad_change_location_home"> <% if location_suggest %> <%= link_to t('nlt.change_city'), location_ask_path %> <% end %> </div> <div class="ad_create_tab"> <% if location_suggest %> <% title = t('nlt...
<% content_for(:meta_title, t('nlt.home_title')) %> <% content_for :action do %> <div class="ad_change_location_home"> <% if location_suggest %> <%= link_to t('nlt.change_city'), location_ask_path %> <% end %> </div> <div class="ad_create_tab"> <% if location_suggest %> <% title = t('nlt...
Make "Last published gifts" the h1 element
Make "Last published gifts" the h1 element It's more important than rankings. Give it more importance.
HTML+ERB
agpl-3.0
alabs/nolotiro.org,alabs/nolotiro.org,alabs/nolotiro.org,alabs/nolotiro.org
9ce4fd1e0f4d9a812e1cae3433de466f087872d9
app/views/tags/update.js.erb
app/views/tags/update.js.erb
feedbin.updateFeeds('<%= j render partial: 'feeds/feeds', locals: {collections: @collections, tags: @tags, feeds: @feeds} %>'); feedbin.hideTagsForm(); $('[data-behavior~=show_tags_form]').replaceWith('<%= j render partial: "shared/buttons/tag", locals: {feed: nil, tags: nil, tag: @new_tag} %>'); $('[data-behavior~=uns...
feedbin.updateFeeds('<%= j render partial: 'feeds/feeds', locals: {collections: @collections, tags: @tags, feeds: @feeds} %>'); $('[data-behavior~=feeds_target] [data-tag-id~=<%= @new_tag.id %>] .tag-link').click() feedbin.hideTagsForm(); $('[data-behavior~=show_tags_form]').replaceWith('<%= j render partial: "shared/b...
Update entries column when renaming tags.
Update entries column when renaming tags.
HTML+ERB
mit
feedbin/feedbin,saitodisse/feedbin,azukiapp/feedbin,brendanlong/feedbin,feedbin/feedbin,saitodisse/feedbin,brendanlong/feedbin,azukiapp/feedbin,feedbin/feedbin,azukiapp/feedbin,brendanlong/feedbin,nota-ja/feedbin,nota-ja/feedbin,fearenales/feedbin,saitodisse/feedbin,fearenales/feedbin,feedbin/feedbin,fearenales/feedbin...
811f32b90f08f6417c0e78bb981eb5f0205e607f
app/views/spree/admin/volume_price_models/_select.html.erb
app/views/spree/admin/volume_price_models/_select.html.erb
<%= f.field_container :volume_price_model, class: ['form-group'] do %> <%= f.label :volume_price_model_id, I18n.t('spree.volume_price_model') %> <%= f.collection_select :volume_price_model_ids, Spree::VolumePriceModel.all, :id, :name, { include_blank: I18n.t('spree.match_choices.none') }, { ...
<div class="row"> <div class="col-4"> <%= f.field_container :volume_price_model, class: ['form-group'] do %> <%= f.label :volume_price_model_id, I18n.t('spree.volume_price_model') %> <%= f.collection_select :volume_price_model_ids, Spree::VolumePriceModel.all, :id, :name, { i...
Put volume_price_model select into grid
Put volume_price_model select into grid
HTML+ERB
bsd-3-clause
solidusio-contrib/solidus_volume_pricing,solidusio-contrib/solidus_volume_pricing,solidusio-contrib/solidus_volume_pricing,solidusio-contrib/solidus_volume_pricing
eee1ce7fe096b1d55af91191a93ad87411343409
backend/app/views/spree/admin/orders/_add_product.html.erb
backend/app/views/spree/admin/orders/_add_product.html.erb
<%= render partial: "spree/admin/variants/autocomplete", formats: :js %> <%= render partial: "spree/admin/variants/autocomplete_stock", formats: :js %> <div class="card mb-3" id="add-line-item" data-hook> <div class="card-header"> <h1 class="card-title mb-0 h5"> <%= Spree.t(:add_product) %> </h1> </d...
<%= render partial: "spree/admin/variants/autocomplete", formats: :js %> <%= render partial: "spree/admin/variants/autocomplete_stock", formats: :js %> <div class="card mb-3" id="add-line-item" data-hook> <div class="card-header"> <h1 class="card-title mb-0 h5"> <%= Spree.t(:add_product) %> </h1> </d...
Order variant autocomplete select style fix
Order variant autocomplete select style fix
HTML+ERB
bsd-3-clause
imella/spree,imella/spree,ayb/spree,ayb/spree,ayb/spree,imella/spree,ayb/spree
320a54c4cf05e9558b817ca5858352b2682d60b9
app/views/shared/_test_case_result.html.erb
app/views/shared/_test_case_result.html.erb
<div class="row"> <div class="col-md-12"> <% if test_case_result.answer.correct? %> <div class="alert alert-danger text-left" style="display: inline-block; width: 100%"> <div class="col-md-1"> <i class='icon fa fa-check'></i> <% else %> <div class="alert alert-success text-left" sty...
Create a partial to test case result
Create a partial to test case result
HTML+ERB
mit
rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn
d8bb943ad4cc862d9dae90dc645f790e3d93f3e4
app/views/home/index.html.erb
app/views/home/index.html.erb
<p> This is a JSON API for sport data. You can find fixtures, rosters and match events here. </p> <p> Read API documentation <%= link_to "here", "http://docs.hackday1.apiary.io/" %> <p> <h3>Example endpoints</h3> <ul> <li><%= link_to "Leagues", api_leagues_path %></li> <li><%= link_to "Fixtures", api_leagu...
<p> This is a JSON API for sport data. You can find fixtures, rosters and match events here. </p> <p> Read API documentation <%= link_to "here", "http://docs.hackday1.apiary.io/" %> </p> <p> See the source code <%= link_to "here", "https://github.com/X8/football-api/" %> </p> <h3>Example endpoints</h3> <ul>...
Add a link to the source code
Add a link to the source code
HTML+ERB
mit
footballhackday/football-api,footballhackday/football-api,footballhackday/football-api
665cc04ec4e08cbb69f987c850520c5d5508c2f6
app/views/shared/_ga.html.erb
app/views/shared/_ga.html.erb
<!-- analytics.js --> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-ana...
<!-- analytics.js --> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-ana...
Remove ga.js + more use anonymizeip for analytics
Remove ga.js + more use anonymizeip for analytics
HTML+ERB
bsd-3-clause
holderdeord/hdo-site,holderdeord/hdo-site,holderdeord/hdo-site,holderdeord/hdo-site
ec7ddeae70099cf8aa712941962ff6b2ac02e481
app/views/users/edit.html.erb
app/views/users/edit.html.erb
<% provide(:title, "Edit account") %> <% provide(:button_text, "Save changes") %> <% provide(:path, user_path(@user)) %> <% provide(:verb, :patch) %> <h1>Your account</h1> <div class="row"> <div class="col-md-6 col-md-offset-3"> <%= render 'form' %><br> <p class="center">To see a list of all your payments, c...
<% provide(:title, "Edit account") %> <% provide(:button_text, "Save changes") %> <% provide(:path, user_path(@user)) %> <% provide(:verb, :patch) %> <h1>Your account</h1> <div class="row"> <div class="col-md-6 col-md-offset-3"> <%= render 'form' %><br> <p class="center">To see a list of all your payments, c...
Make aesthetic modification to Users edit view
Make aesthetic modification to Users edit view
HTML+ERB
mit
crwhitesides/deliberate_finances_app,crwhitesides/deliberate_finances_app,crwhitesides/deliberate_finances_app
03a261f088f1fd04f48054aa3ca46e0bb8762c2b
app/views/users/edit.html.erb
app/views/users/edit.html.erb
<%if current_user.id != @user.id%> <div class="margin_header"> <h1>Going somewhere?</h1> </div> <div class="container_not_you" align ='center'> <h3>This is not you! Either go back </h3> <%= link_to "< Back", user_url(current_user), method: :get %> <h3>Or log out and sign in under your accout</h3...
<%if current_user.id != @user.id%> <div class="margin_header"> <h1>Going somewhere?</h1> </div> <div class="container_not_you" align ='center'> <h3>This is not you! Either go back </h3> <%= link_to "< Back", user_url(current_user), method: :get %> <h3>Or log out and sign in under your accout</h3...
Update back button to a get
Update back button to a get
HTML+ERB
mit
JupiterLikeThePlanet/Quoter,JupiterLikeThePlanet/Quoter,JupiterLikeThePlanet/Quoter
0db6af2b53ea12d11962a8eac802712da580f14e
app/views/users/show.html.erb
app/views/users/show.html.erb
<div class="pure-g"> <div class="pure-u-1-3"> </div> <div class="pure-u-1-3"> <h1><%= User.find(params[:id]).username %>'s Profile</h1> <% if @groups.length > 0 %> <h2>Your Groups</h2> <ul> <% @groups.each do |group| %> <li class="user-group"><a href="/groups/<%= group....
<div class="pure-g"> <div class="pure-u-1-3"> </div> <div class="pure-u-1-3"> <h1><%= User.find(params[:id]).username %>'s Profile</h1> <% if @groups.length > 0 %> <h2>Your Groups</h2> <ul> <% @groups.each do |group| %> <li class="user-group"><a href="/groups/<%= group....
Make user page mobile responsive
Make user page mobile responsive
HTML+ERB
mit
pdynowski/best-thing-ever,pdynowski/best-thing-ever,pdynowski/best-thing-ever
06b6ab7293d69e87362ed7dec7e28bf2c23ca272
app/views/users/show.html.erb
app/views/users/show.html.erb
<% provide(:title, @user.name) %> <h1> <%= gravatar_for @user %> <%= @user.name %> </h1> <%= "WPM: #{@user.WPM}" if @user.WPM %>
<% provide(:title, @user.name) %> <h1> <%= gravatar_for @user %> <%= @user.name %> </h1> <%# "WPM: #{@user.WPM}" if @user.WPM %>
Disable wpm display until new solution in place
Disable wpm display until new solution in place
HTML+ERB
mit
phansch/typist,phansch/typist,phansch/typist
28c656967ba4105561a656279eab084ad02e2aeb
lib/views/dashboards/show.erb
lib/views/dashboards/show.erb
<ul class="grid rows-<%= @dashboard.rows %> cols-<%= @dashboard.columns %>" id="<%= @dashboard.slug %>"> <% @dashboard.metrics.each do |metric| %> <li class="row-<%= metric[:row] %> col-<%= metric[:col] %> height-1 width-1"> <div style="postition: relative"> <iframe src='/metrics/<%= metric[:name] %...
<ul class="grid rows-<%= @dashboard.rows %> cols-<%= @dashboard.columns %>" id="<%= @dashboard.slug %>"> <% @dashboard.metrics.each do |metric| %> <li class="row-<%= metric[:row] %> col-<%= metric[:col] %> height-<%= metric[:height] || 1 %> width-<%= metric[:width] || 1 %>"> <div style="postition: relative"...
Add widths and heights to dashboard
Add widths and heights to dashboard
HTML+ERB
mit
theodi/metrics-api,theodi/bothan,theodi/bothan,theodi/bothan,theodi/bothan,theodi/metrics-api,theodi/metrics-api
26014ef8ea507b5df6187c41ab7d2b8ac80e9232
app/views/apipony/documentation/_request.html.erb
app/views/apipony/documentation/_request.html.erb
<div class="m-b-3"> <h5 class="m-b-1">Request</h4> <% if endpoint.request.headers.present? %> <div class="card"> <div class="card-header">Headers</div> <pre class="code hljs json"><%= JSON.pretty_generate(endpoint.request.headers) %></pre> </div> <% end %> <% if endpoint.request.params %> ...
<div class="m-b-3"> <h5 class="m-b-1">Request</h4> <% if endpoint.request.headers? %> <div class="card"> <div class="card-header">Headers</div> <pre class="code hljs json"><%= JSON.pretty_generate(endpoint.request.headers) %></pre> </div> <% end %> <% if endpoint.request.params? %> <di...
Fix headers and params conditions for request partial
Fix headers and params conditions for request partial
HTML+ERB
mit
droptheplot/apipony,droptheplot/apipony,droptheplot/apipony
6b70e23d7109afcfa7bd5c9a184e2eb7c1c1ffb3
app/manifests/templates/interfaces.erb
app/manifests/templates/interfaces.erb
# The loopback network interface auto lo iface lo inet loopback # The primary network interface <% configuration[:network][:interfaces].each do |iface| %> # <%= iface.desc %> auto <%= iface.name %> iface <%= iface.name %> inet static <% if iface[:address] %> address <%= iface[:address] %> <% end %> <% if iface...
# The loopback network interface auto lo iface lo inet loopback # The primary network interface <% configuration[:network][:interfaces].each do |iface| %> # <%= iface[:desc] %> auto <%= iface[:name] %> iface <%= iface[:name] %> inet static <% if iface[:address] %> address <%= iface[:address] %> <% end %> <% if...
Fix a few lingering template changes.
Fix a few lingering template changes. Signed-off-by: Rails Machine <c62973cc56845b0e473e9e3c40b6e1f0a84662ef@railsmachine.com>
HTML+ERB
mit
vegantech/sims,vegantech/sims,vegantech/sims,vegantech/sims
d411a995830e9236e6d5908d25452a780c8767cc
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>Giftoppr</title> <link href='http://fonts.googleapis.com/css?family=Raleway' rel='stylesheet' type='text/css'> <%= stylesheet_link_tag "application", :media => "all" %> <%= csrf_meta_tags %> <%= render :partial => 'layouts/head_js' %> <script>head.js("<%= javascript_p...
<!DOCTYPE html> <html> <head> <title>Giftoppr</title> <link href='http://fonts.googleapis.com/css?family=Raleway' rel='stylesheet' type='text/css'> <%= stylesheet_link_tag "application", :media => "all" %> <%= csrf_meta_tags %> <%= render :partial => 'layouts/head_js' %> </head> <body> <header> <div ...
Revert "Move head.js call to just after the script loader."
Revert "Move head.js call to just after the script loader." This reverts commit fe808aa46dbe9c85063e97f4170b847c03703913.
HTML+ERB
mit
desktoppr/giftoppr,desktoppr/giftoppr
25e26705bf146fcd6c92d2d7152c4095296f1745
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title><%= yield :page_title %> - GOV.UK</title> <!--[if gt IE 8]><!--><%= stylesheet_link_tag "application.css" %><!--<![endif]--> <!--[if IE 6]><%= stylesheet_link_tag "application-ie6.css" %><![endif]--> <!--[if IE 7]><%= stylesheet_link_tag "application-ie7.css" %><![endi...
<!DOCTYPE html> <html> <head> <title><%= yield :page_title %> - GOV.UK</title> <!--[if gt IE 8]><!--><%= stylesheet_link_tag "application.css" %><!--<![endif]--> <!--[if IE 6]><%= stylesheet_link_tag "application-ie6.css" %><![endif]--> <!--[if IE 7]><%= stylesheet_link_tag "application-ie7.css" %><![endi...
Remove invalid breadcrumbs aria role
Remove invalid breadcrumbs aria role `role="breadcrumbs"` is not a thing. https://www.w3.org/TR/wai-aria/roles#role_definitions We previously removed from the component: https://github.com/alphagov/static/pull/737
HTML+ERB
mit
alphagov/contacts-frontend,alphagov/contacts-frontend,alphagov/contacts-frontend,alphagov/contacts-frontend
76deb5bed17a4b4f17ad0ceb50383b72fa5d4746
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>OauthCancanDemo</title> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> <%= csrf_meta_tags %> </head> <body> <nav id="navigation-bar"> <a href="/">Home...
<!DOCTYPE html> <html> <head> <title>OauthCancanDemo</title> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> <%= csrf_meta_tags %> </head> <body> <nav id="navigation-bar"> <table style=...
Add placeholder for login link and current user
Add placeholder for login link and current user
HTML+ERB
mit
project-awesome/pa-skills-oauth-cancan,project-awesome/pa-skills-oauth-cancan,project-awesome/pa-skills-oauth-cancan
edf94cd87c3dc1ea57f28f11d8511e1bb630141e
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title><%= full_title(yield(:title)) %></title> <%= render 'layouts/stylesheets' %> <%= javascript_include_tag "application" %> <%= csrf_meta_tags %> <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></s...
<!DOCTYPE html> <html> <head> <title><%= full_title(yield(:title)) %></title> <%= render 'layouts/stylesheets' %> <%= javascript_include_tag "application" %> <%= csrf_meta_tags %> <script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></...
Use https to access mathjax cdn
Use https to access mathjax cdn
HTML+ERB
mit
scirate/scirate,scirate/scirate,silky/scirate,scirate/scirate,silky/scirate,scirate/scirate,silky/scirate
eb55118d151dfa8cc29c37a5fc6d66fcdbabfe3c
app/views/name/email_tracking.html.erb
app/views/name/email_tracking.html.erb
<% @title = :email_tracking_title.t(:name => @name.display_name) tabs = [ link_to(:cancel_and_show.t(:type => :name), :action => 'show_name', :id => @name.id) ] @tabsets = { right: draw_tab_set(tabs) } %> <%= :email_tracking_help.tp %> <%= form_tag(:action => 'email_tracking', :id => @name.id...
<% @title = :email_tracking_title.t(name: @name.display_name) tabs = [ link_to(:cancel_and_show.t(type: :name), action: :show_name, id: @name.id) ] @tabsets = { right: draw_tab_set(tabs) } %> <%= :email_tracking_help.tp %> <%= form_tag(action: :email_tracking, id: @name.id) do %> <br/><center> <%= ...
Increase height of email tracking template window to display entire default template.
Increase height of email tracking template window to display entire default template. * Prevents user from mistakenly thinking she deleted entire template. See [Pivotal #129185765](https://www.pivotaltracker.com/story/show/129185765). * Also trivial refactored view to use more current, idiomatic Rails.
HTML+ERB
mit
pellaea/mushroom-observer,pellaea/mushroom-observer,raysuelzer/mushroom-observer,pellaea/mushroom-observer,MushroomObserver/mushroom-observer,JoeCohen/mushroom-observer,JoeCohen/mushroom-observer,JoeCohen/mushroom-observer,pellaea/mushroom-observer,JoeCohen/mushroom-observer,MushroomObserver/mushroom-observer,pellaea/m...
7c600f93715606133f104708435d9c0ca504ced1
app/views/teams/_search_modal.html.erb
app/views/teams/_search_modal.html.erb
<div class="modal" id="search-modal" tabindex="-1"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button id="close" type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button> <br></br> <%= form_tag search_answers_team...
<div class="modal" id="search-modal" tabindex="-1"> <div class="modal-dialog modal-lg"> <div class="modal-content"> <div class="modal-header"> <button id="close" type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button> <br></br> <%= form_tag search_ans...
Change form method to get
Change form method to get
HTML+ERB
mit
rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn
a913a0be5405cdb6bb7c9bf6c52e73f08d71ab2c
templates/bond/opts-redhat.erb
templates/bond/opts-redhat.erb
<%= %w[mode miimon downdelay updelay lacp_rate primary primary_reselect xmit_hash_policy].reject { |thing| scope[thing] == :undef }.map {|thing| "#{thing}=#{scope[thing]}"}.join(' ') -%>
<%= %w[mode miimon downdelay updelay lacp_rate primary primary_reselect xmit_hash_policy].reject { |thing| scope.lookupvar(thing) == :undef }.map {|thing| "#{thing}=#{scope.lookupvar(thing)}"}.join(' ') -%>
Use 2.7 compatible syntax for accessing scope object
Use 2.7 compatible syntax for accessing scope object
HTML+ERB
apache-2.0
voxpupuli/puppet-network,voxpupuli/puppet-network
83e08ff174c5632333dcfef928f0a193ff1abf55
app/views/welcome/homepage.html.erb
app/views/welcome/homepage.html.erb
<div id='welcome'> <h1>Hi there,</h1> <h1>I'm Steph.</h1> <h3>A web developer passioante about building amazing products</h3> </div> <div id="projects"> <ul> <li>LotifyMe</li> <li>iBall</li> <li>Friendzone</li> <li>iLove</li> <li>SurveyUnicorn</li> <li>Boba Racer</li> <li>GraPhantasy (in progress)...
<div id='welcome'> <h1>Hi there,</h1> <h1>I'm Steph.</h1> <h3>A web developer passioante about building amazing products</h3> </div> <div id="projects"> <ul> <li>LotifyMe</li> <li>iBall</li> <li>Friendzone</li> <li>iLove</li> <li>SurveyUnicorn</li> <li>Boba Racer</li> <li>GraPhantasy (in progress)...
Add basic content and divs.
Add basic content and divs.
HTML+ERB
mit
barreyro/steph.rocks,barreyro/steph.rocks,barreyro/steph.rocks
5ab9daf8f3349d8bb1d18505558f1cd931cf2160
alert_templates/shared/loggregator/drains_per_adapter_above_threshold.json.erb
alert_templates/shared/loggregator/drains_per_adapter_above_threshold.json.erb
{ "message": "## Description:\n <%= loggregator_pagerduty %> \n\nThere are more than {{threshold}} drains per adapter. You need to scale the number of adapters.", "name": "<%= environment %> CF: More than {{threshold}} drains per adapter", "query": "avg(last_5m):avg:datadog.nozzle.cf_syslog_drain.scheduler.dra...
{ "name": "<%= environment %> CF: More than {{threshold}} drains per adapter", "type": "query alert", "query": "avg(last_30m):avg:datadog.nozzle.cf_syslog_drain.adapter.drain_bindings{bosh_environment:vpc-bosh-run-pivotal-io} > 550", "message": "## Description:\n{{#is_alert}} <%= loggregator_pagerduty %> {{/is_aler...
Update drain binding alerts to include warnings
Update drain binding alerts to include warnings Signed-off-by: John Cornish <c2b52b810843975f620b46da0881d5da0a3da265@pivotal.io>
HTML+ERB
apache-2.0
pivotal-cf-experimental/datadog-config-oss,pivotal-cf-experimental/datadog-config-oss
abf72d9b1b5f5f55cb6d92ddb8fb4ed3062e1742
lib/smart_answer_flows/check-uk-visa/outcomes/outcome_partner_family_eea_y.erb
lib/smart_answer_flows/check-uk-visa/outcomes/outcome_partner_family_eea_y.erb
<% text_for :title do %> You’ll need a visa to join your family or partner in the UK <% end %> <% govspeak_for :body do %> Apply for a [family permit](/family-permit). <% end %>
<% text_for :title do %> You’ll need a visa to join your family or partner in the UK <% end %> <% govspeak_for :body do %> You can apply for a free [family permit](/family-permit) to join your partner or family member for up to 6 months. You cannot work or study. If you plan to do these things, you may be able ...
Clarify options for visa nationals with EEA family
Clarify options for visa nationals with EEA family
HTML+ERB
mit
alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers
464acbe4f6253c8b51c20e82617bfd4cee11d415
app/views/notifiable_admin/admin/users/show.html.erb
app/views/notifiable_admin/admin/users/show.html.erb
<h1><%= @user.alias %> <%= user_notification_button(@account, @user) %></h1> <% @device_tokens = @user.device_tokens %> <%= render "notifiable_admin/admin/device_tokens/table" %>
<h1><%= @user.alias %> <%= user_notification_button(@app, @user) %></h1> <% @device_tokens = @user.device_tokens %> <%= render "notifiable_admin/admin/device_tokens/table" %>
Fix private message button bug
Fix private message button bug
HTML+ERB
apache-2.0
FutureWorkshops/notifiable_admin,FutureWorkshops/notifiable_admin,FutureWorkshops/notifiable_admin
2dfcb4160edbe27b72363864a675d3b0535a6d27
app/views/detour/flags/index.html.erb
app/views/detour/flags/index.html.erb
<h1><%= params[:flaggable_type].classify %> Flags</h1> <%= form_tag do %> <table class="table table-striped"> <thead> <tr> <th>Feature</th> </tr> </thead> <tbody> <%= render partial: "feature_form", collection: @features, as: :feature %> </tbody> </table> <% end %>
<h1><%= params[:flaggable_type].classify %> Flags</h1> <%= form_tag do %> <div class="table-responsive"> <table class="table table-striped"> <thead> <tr> <th>Feature</th> </tr> </thead> <tbody> <%= render partial: "feature_form", collection: @features, as: :fe...
Add table-responsive wrapper to flags table
Add table-responsive wrapper to flags table
HTML+ERB
mit
jclem/detour,jclem/detour
a259b50d0d4982d1e61234556a9ddc2bb79ac9c7
erb/centos6.erb
erb/centos6.erb
bash -c ' <%= "export http_proxy=\"#{knife_config[:bootstrap_proxy]}\"" if knife_config[:bootstrap_proxy] -%> if [ ! -f /usr/bin/chef-client ]; then rpm -Uvh http://rbel.frameos.org/rbel6 wget http://ftp.riken.jp/Linux/fedora/epel/RPM-GPG-KEY-EPEL-6 rpm --import RPM-GPG-KEY-EPEL-6 rm -f RPM-GPG-KEY-EPEL-6 ca...
Add CentOS 6.x bootstrap script.
Add CentOS 6.x bootstrap script.
HTML+ERB
apache-2.0
fifthecho/knife-cloudstack-fog
6cc09eacc7fdaa7a60ff6ecd863c024ebedd72bb
app/views/hits/index.html.erb
app/views/hits/index.html.erb
<%= render partial: 'hits', locals: { hits: @category.hits, site: @site, points: @category.points, title: "All hits", <<<<<<< HEAD active: 'All hits', ======= active: 'Hits', >>>>>>> Extend bootstrap header styles and update breadcrumb paths no_content_message: "We don’t have any tr...
<%= render partial: 'hits', locals: { hits: @category.hits, site: @site, points: @category.points, title: "All hits", active: 'All hits', no_content_message: "We don’t have any traffic data for #{@site.abbr} #{@period.no_content}." } %>
Rename hits to all hits
Rename hits to all hits - Rename Hits to All hits for tabs and graphs
HTML+ERB
mit
alphagov/transition,alphagov/transition,alphagov/transition
1ec0dc53158c8799a4612701e72c1d9105e06202
app/views/home/index.html.erb
app/views/home/index.html.erb
<% title('Home') %> <% if !current_user %> <%= render partial: 'shared/subscribe' %> <% end %> <br/> <% if current_user %> <div class="well subphez-heading-well"> <ul class="list-inline"> <li><h2>All</h2></li> <li>&nbsp;&nbsp;</li> </ul> </div> <% end %> <% @posts.each do |post| %> <% @p...
<% title('Home') %> <% if current_user %> <div class="well subphez-heading-well"> <ul class="list-inline"> <li><h2>All</h2></li> <li>&nbsp;&nbsp;</li> </ul> </div> <% end %> <% @posts.each do |post| %> <% @post = post %> <%= render :partial => 'posts/heading' %> <% end %> <%= will_paginat...
Remove newsletter subscription box for now.
Remove newsletter subscription box for now.
HTML+ERB
mit
tonystubblebine/majority-report,tonystubblebine/majority-report,tonystubblebine/majority-report
dcc5d2a70783ed93b92b427d22a2b82c924320e1
app/views/setups/new.html.erb
app/views/setups/new.html.erb
<h1>Setup &rarr; <%= setting_up %></h1> <%= render "new_#{step}" %>
<% content_for :page_title do %>Thredded Setup &raquo; <%= setting_up %><% end %> <h1>Setup &rarr; <%= setting_up %></h1> <%= render "new_#{step}" %>
Add the page title for the setup process
Add the page title for the setup process
HTML+ERB
mit
shanesveller/thredded,shanesveller/thredded
186303ea4e455fd0a4caa8f4ddf0d396996e0744
app/views/users/show.html.erb
app/views/users/show.html.erb
<%= render :partial => 'convo_stats' %> <!-- <%= render :partial => 'users/user_tags'%> --> <div class="notice"> <p>you can chat with me in my <%= link_to "personal convo", conversation_path(@user.personal_conversation) %></p> <%= @user.personal_conversation.description %> </div> <%= render "user_links" %> <h6>...
<%= render :partial => 'convo_stats' %> <%= render "user_links" %> <!-- <%= render :partial => 'users/user_tags'%> --> <div class="notice"> <p>you can chat with me in my <%= link_to "personal convo", conversation_path(@user.personal_conversation) %></p> <%= @user.personal_conversation.description %> </div> <h6>...
Move user links to a better place
Move user links to a better place
HTML+ERB
mit
dmitryame/echowaves,dmitryame/echowaves
90a5767020c42f56d2e5507d8a1dda445a400f0a
app/views/users/show.html.erb
app/views/users/show.html.erb
Welcome <%=@user.email%>. You reside in <b><%=@district%></b> <h3>Your polling place</h3> <%=@polling_place%> <h3>Upcoming elections</h3> <%@state_elections.each do |election|%> <ul class="accordion" data-accordion> <li class="accordion-navigation"> <a href="#panel1"><%=election.election_title%></a> ...
Welcome <%=@user.email%>. You reside in <b><%=@district%></b> <h3>Your polling place</h3> <%=@polling_place%> <h3>Upcoming elections</h3> <%@state_elections.each do |election|%> <ul class="accordion" data-accordion> <li class="accordion-navigation"> <a href="#panel0"><%=election.election_title%></a> ...
Fix first panel so it displays seperately from second panel
Fix first panel so it displays seperately from second panel
HTML+ERB
mit
CorainChicago/I-voted,CorainChicago/I-voted,CorainChicago/I-voted
126212a85b65a1f1d049e004024bdb45c81ea7cb
app/views/scormfiles/_quick_search_result.html.erb
app/views/scormfiles/_quick_search_result.html.erb
<div class="quick_search"> <div class="photo"> Photo </div> <div class="data"> <div class="name"> Name </div> <div class="author"> Author </div> </div> </div>
<div class="quick_search"> <div class="photo"> <%= link_to icon(scormfile), scormfile, :title => scormfile.title %> </div> <div class="data"> <div class="name"> <%= link_to scormfile.title, scormfile %> </div> <div class="author"> <%= link_to truncate_name(scormfile.author.name, lengt...
Add quiz s result for SCORM packages
Add quiz s result for SCORM packages
HTML+ERB
agpl-3.0
ging/vish_orange,rogervaas/vish,suec78/vish_storyrobin,agordillo/vish,ging/vish_orange,rogervaas/vish,ging/vish,ging/vish,agordillo/vish,ging/vish,suec78/vish_storyrobin,suec78/vish_storyrobin,ging/vish,ging/vish,rogervaas/vish,rogervaas/vish,suec78/vish_storyrobin,ging/vish_orange,agordillo/vish,agordillo/vish,ging/vi...
abc3e20b9d763df3c868868bb71a2d4901570eb6
app/views/index.erb
app/views/index.erb
<div class="wrapper"> <form class="search_form"> <label for="query">Query</label> <input id="query" name="query" type="text" size="60" /><br /><br /> <input id="bt_search" name="bt_search" type="submit" value="Search" /> </form> <button class="next">Next</button> </div>
<div class="wrapper"> <form class="search_form"> <label for="query">Query</label> <input id="query" name="query" type="text" size="60" /> <select name="category"> <option value="Business">Business</option> <option value="Entertainment">Entertainment</option> <option value="Health">Health...
Add news category option to form
Add news category option to form
HTML+ERB
mit
slgarden/news-worthy,slgarden/news-worthy,slgarden/news-worthy
74ad8e1ff748190ca09413943d1b362dea778ac6
app/views/index.erb
app/views/index.erb
<div class="homepage-container"> <div class="row"> <div class="col-md-6 surveys-taken-container"> <div class="panel panel-success"> <div class="panel-heading text-center"> <h3 class="panel-title">Surveys Taken</h3> </div> <div class="panel-body"> <% @surveys_taken.each do |su...
<div class="homepage-container"> <div class="row"> <div class="col-md-6 surveys-taken-container"> <div class="panel panel-success"> <div class="panel-heading text-center"> <h3 class="panel-title">Surveys Taken</h3> </div> <div class="panel-body"> <% @surveys_taken.each do |su...
Fix survey links on Homepage
Fix survey links on Homepage
HTML+ERB
mit
bkmorimoto/survey-gorilla,bkmorimoto/survey-gorilla,nyc-rock-doves-2015/asian_power_survey_gorilla,nyc-rock-doves-2015/asian_power_survey_gorilla,nyc-rock-doves-2015/asian_power_survey_gorilla,bkmorimoto/survey-gorilla
23446fbacc656150f208255629ae70b460becc17
templates/mac_puppet_conf.erb
templates/mac_puppet_conf.erb
[master] # These are needed when the puppetmaster is run by passenger # and can safely be removed if webrick is used. ssl_client_header = SSL_CLIENT_S_DN ssl_client_verify_header = SSL_CLIENT_VERIFY pluginsync=true [agent] ##This is managed by puppet server=<%= server_name %> certname=<%= @clean_certname %> report=tru...
[master] # These are needed when the puppetmaster is run by passenger # and can safely be removed if webrick is used. ssl_client_header = SSL_CLIENT_S_DN ssl_client_verify_header = SSL_CLIENT_VERIFY pluginsync=true [agent] ##This is managed by puppet server=<%= @server_name %> certname=<%= @clean_certname %> report=tr...
Fix up the old style template
Fix up the old style template
HTML+ERB
apache-2.0
grahamgilbert/puppet-puppet_run,hopeistm/puppet-puppet_run,hopeistm/puppet-puppet_run,grahamgilbert/puppet-puppet_run,grahamgilbert/puppet-puppet_run,hopeistm/puppet-puppet_run
8661b5440720e31cc19bdf535e4803bee6d9ea9e
app/views/commands/_command.html.erb
app/views/commands/_command.html.erb
<div class="toggle" style="border: 1px solid #000; padding: .8em; margin: .8em"> <table class="index sortable"> <thead> <tr> <td>ID</td> <td>Label</td> <td>Exit status</td> <td>Started</td> <td>Finished</td> </tr> </thead> <tbody> <tr> <td><%= command.id %></td> ...
<div class="toggle" style="border: 1px solid #000; padding: .8em; margin: .8em"> <table class="index sortable"> <thead class="toggleme"> <tr> <td>ID</td> <td>Label</td> <td>Exit status</td> <td>Started</td> <td>Finished</td> </tr> </thead> <tbody> <tr> <td><%= comma...
Add class="toggleme" to a thead, to prevent the field from collapsing after selecting output text in a web browswer (previously, the mouse-up triggered a close-on-click for the DOM element). Whitespace police.
Add class="toggleme" to a thead, to prevent the field from collapsing after selecting output text in a web browswer (previously, the mouse-up triggered a close-on-click for the DOM element). Whitespace police.
HTML+ERB
isc
Wijnand/retcon-web,driehuis/retcon-web,driehuis/retcon-web,Wijnand/retcon-web,driehuis/retcon-web,driehuis/retcon-web
7de55d7632a417580aa7d118bb75448af154d025
app/views/sessions/no_users.html.erb
app/views/sessions/no_users.html.erb
<h1>No Users</h1> <p>There are no users in the system.</p> <% if @show_help %> <p> You may create the first user by running the command: <code>rake onebody:new_user <% unless Site.current.default? %>SITE="<%=h Site.current.name %>"<% end %></code> </p> <% end %>
<h1>No Users</h1> <p>There are no users in the system.</p> <% if @show_help %> <p> You may create the first user by running the command: <code>rake onebody:new_user <% unless Site.current.default? %>SITE="<%=h Site.current.name %>"<% end %></code> </p> <p> Alternatively, you can load up OneBody with...
Improve help text when system has no users.
Improve help text when system has no users.
HTML+ERB
agpl-3.0
Capriatto/onebody,tmecklem/onebody,kevinjqiu/onebody,brunoocasali/onebody,acbilimoria/onebody,moss-zc/sns_shop,hooray4me/onebody2,davidleach/onebody,cessien/onebody,cessien/onebody,calsaviour/onebody,davidleach/onebody,fadiwissa/onebody,samuels410/church-portal,kevinjqiu/onebody,fadiwissa/onebody,tochman/onebody,ebenna...
0255a7c6dde9c7f1c4863b2ee160895248cfca05
app/views/entries/show.html.erb
app/views/entries/show.html.erb
<script type="text/javascript"> var entriesController = new EntriesController(); entriesController.initialize(); entriesController.scrollEnabled = false; $( window ).off('scroll'); entriesController.fetchEntry(<%= slug %>); </script>
<script type="text/javascript"> var entriesController = new EntriesController(); entriesController.initialize(); entriesController.scrollEnabled = false; $( window ).off('scroll'); entriesController.fetchEntry("<%= @slug %>"); </script>
Fix in entries show JS
Fix in entries show JS
HTML+ERB
mit
california-pizza-kitchen/flatiron-blogs,california-pizza-kitchen/flatiron-blogs
bb7cb6eed6466abf2d5162b706454636e3cc24e4
app/views/layout.erb
app/views/layout.erb
<!DOCTYPE html> <html lang="en"> <head> <!-- normalize.css removes cross-browser differences in defaults, e.g., differences in how form elements appear between Firefox and IE See: http://necolas.github.com/normalize.css/ --> <link rel="stylesheet" href="/css/normalize.css"> <!-- application.css...
<!DOCTYPE html> <html lang="en"> <head> <!-- normalize.css removes cross-browser differences in defaults, e.g., differences in how form elements appear between Firefox and IE See: http://necolas.github.com/normalize.css/ --> <link rel="stylesheet" href="/css/normalize.css"> <!-- application.css ...
Add nav bar to header.
Add nav bar to header.
HTML+ERB
mit
UmarFBajwa/rackup-twitter,UmarFBajwa/rackup-twitter,UmarFBajwa/rackup-twitter
b1b8a1f6a9d42119eb29f6cf0ddeedb898496a36
app/views/pages/guides.html.erb
app/views/pages/guides.html.erb
<% @content_title = "Resources" %>
<% @content_title = "Resources" %> <h2>Software Craftsmanship</h2> <ul> <% sc_urls = ["http://blog.objectmentor.com/", "http://blog.8thlight.com/", "http://codekata.pragprog.com/"] %> <% sc_urls.each do |url| %> <li><%= auto_link url %></li> <% end %> </ul> <h2>Ruby</h2> <u...
Add resources to the guide
Add resources to the guide
HTML+ERB
mit
markmcspadden/coding-mentors,markmcspadden/coding-mentors
2a5dced2187373f8821e57fcc41055253838acaf
app/views/home/index.html.erb
app/views/home/index.html.erb
<p> This is a JSON API for sport data. You can find fixtures, rosters and match events here. </p> <h3>Example endpoints</h3> <ul> <li><%= link_to "Leagues", api_leagues_path %></li> <li><%= link_to "Fixtures", api_league_fixtures_path(39) %></li> <li><%= link_to "Arsenal Roster", api_league_roster_path(39, ...
<p> This is a JSON API for sport data. You can find fixtures, rosters and match events here. </p> <p> Read API documentation <%= link_to "here", "http://docs.hackday1.apiary.io/" %> <p> <h3>Example endpoints</h3> <ul> <li><%= link_to "Leagues", api_leagues_path %></li> <li><%= link_to "Fixtures", api_leagu...
Add a link to API docs
Add a link to API docs
HTML+ERB
mit
footballhackday/football-api,footballhackday/football-api,footballhackday/football-api
433dab8a863db5a716eee8e72039d2462f322e43
app/views/partials/_footer.html.erb
app/views/partials/_footer.html.erb
<!-- Footer --> <footer> <nav class="debug col-md-12 navbar navbar-default navbar-fixed-bottom row text-center"> <%= render 'partials/social_media_nav' %> </nav> </footer>
<!-- Footer --> <footer> <nav class="debug navbar navbar-default navbar-fixed-bottom row text-center"> <div class="col-md-12"> <%= render 'partials/social_media_nav' %> </div> </nav> </footer>
Fix footer width with div aroun partial taking class col-md-12
Fix footer width with div aroun partial taking class col-md-12
HTML+ERB
mit
downeyd27/personal_website,downeyd27/personal_website,downeyd27/personal_website
1227f7472801d4feea521fee7b08c0e98906541d
LunchOverflow/app/views/layouts/_nav.erb
LunchOverflow/app/views/layouts/_nav.erb
<div id="nav-bar"> <% if current_user %> <%= link_to 'Logout', logout_path %> <% else %> <%= link_to 'Login', login_path %> <%= link_to 'Signup', new_user_path %> <% end %> </div>
<div id="nav-bar"> <% if current_user %> <%= link_to 'Add Post', new_post_path %> <%= link_to 'Logout', logout_path %> <% else %> <%= link_to 'Login', login_path %> <%= link_to 'Signup', new_user_path %> <% end %> </div>
Add link to new post in navbar
Add link to new post in navbar
HTML+ERB
mit
rock-doves-2014/LunchOverflow,rock-doves-2014/LunchOverflow
60bb9799311ccce74b2b2b66ae388f6ccb399497
app/views/contacts/_form.html.erb
app/views/contacts/_form.html.erb
<%= form.inputs do %> <%= form.input :name %> <%= form.input :postal_address %> <%= form.inputs 'Phone numbers' do %> <% form.object.phone_numbers.each do |phone_number| %> <%= semantic_fields_for 'contact[phone_numbers_attributes][]', phone_number, :index => nil do |form| %> <div class="phone-...
<%= form.inputs do %> <%= form.input :name %> <%= form.input :postal_address %> <%= form.inputs 'Phone numbers' do %> <% form.object.phone_numbers.each do |phone_number| %> <%= semantic_fields_for 'contact[phone_numbers_attributes][]', phone_number, :index => nil do |form| %> <div class="phone-...
Hide blank phone number form with JavaScript
Hide blank phone number form with JavaScript
HTML+ERB
mit
gds-attic/contact-o-tron,gds-attic/contact-o-tron,gds-attic/contact-o-tron
6cda40a96af36fee2cdb01bc41dda71b90516d0c
app/views/spree/shared/_nav_bar.html.erb
app/views/spree/shared/_nav_bar.html.erb
<nav class="nav-collapse collapse" style="height:0px"> <ul class="nav"> <li class="active"><a href="index.html">Home</a> </li> <li><a href="myaccount.html">My Account </a> </li> <li><a href="shopping-cart.html">Shopping Cart</a> </li> <li><a href="checkout.html">Checkout</a> </li> </ul> </nav>
<nav class="nav-collapse collapse" style="height:0px"> <ul class="nav"> <li class="active"> <%= link_to Spree.t(:home), spree.root_path %> </li> <li> <%= link_to Spree.t(:my_account), spree.account_path if spree_current_user %> </li> <li> <%= link_to Spree.t(:shopping_cart), spr...
Enable button left, shopping cart, falta el efecto ajax and multilenguaje
Enable button left, shopping cart, falta el efecto ajax and multilenguaje
HTML+ERB
bsd-3-clause
gilbertoTN/spree_skins,gilbertoTN/spree_skins
8670b27d44a090ec9edfc36ca9b6ade6c998ef11
lib/templates/javascript_notifier.erb
lib/templates/javascript_notifier.erb
<%= javascript_tag %Q{ var notifierJsScheme = (("https:" == document.location.protocol) ? "https://" : "http://"); document.write(unescape("%3Cscript src='" + notifierJsScheme + "#{host}/javascripts/notifier.js' type='text/javascript'%3E%3C/script%3E")); } %> <%= javascript_tag %Q{ Airbrake.setKey('#{api...
<%= javascript_tag %Q{ (function(){ var notifierJsScheme = (("https:" == document.location.protocol) ? "https://" : "http://"); document.write(unescape("%3Cscript src='" + notifierJsScheme + "#{host}/javascripts/notifier.js' type='text/javascript'%3E%3C/script%3E")); })(); }%> <%= javascript_tag %Q{ wi...
Use either Airbrake or Hoptoad object.
Use either Airbrake or Hoptoad object. The current http://airbrakeapp.com/javascripts/notifier.js (v0.1.0) defines a Hoptoad object, which Airbrake 3.0 expects an Airbrake object. Add Hoptoad as a fall-back. Also wrap the first javascript with a closure so it won't pollute the global namespace.
HTML+ERB
mit
thoughtbot/airbrake,nick-desteffen/airbrake,Shopify/airbrake,nick-desteffen/airbrake,CarlosCD/airbrake,airbrake/airbrake,airbrake/airbrake,stevecrozz/hydraulic_brake,CarlosCD/airbrake,benjaminoakes/airbrake,thoughtbot/hoptoad_notifier
1dfc3286d3740d970a2c52b134a82e400b3e9c2e
templates/fwd_zone_file.erb
templates/fwd_zone_file.erb
$ORIGIN <%= @name -%>. $TTL <%= @ttl -%> @ SOA <%= @nameservers[0] -%>. hostmaster.<%= @name -%>. ( serialnumber ; Serial Number <%= @refresh -%> ; Refresh <%= @retry -%> ; Retry <%= @expire -%> ; Expire <%= @negresp -%> ; Neg response TTL ) <%...
$ORIGIN <%= @name -%>. $TTL <%= @ttl -%> @ SOA <%= @nameservers[0] -%>. hostmaster.<%= @name -%>. ( serialnumber ; Serial Number <%= @refresh -%> ; Refresh <%= @retry -%> ; Retry <%= @expire -%> ; Expire <%= @negresp -%> ; Neg response TTL ) <%...
Clean up the pattern to match one digit
Clean up the pattern to match one digit
HTML+ERB
mit
covermymeds/puppet-bind,covermymeds/puppet-bind
0ce14af4d0ff26f6a3e6fceeeee653d712891078
templates/install.sh.erb
templates/install.sh.erb
#!/bin/sh REQUIRED_PUPPET_VERSION=<%= properties['min_puppet_version'] %> check_puppet_ver() { puppet_bin=$(which puppet) if [ ! -z $puppet_bin ]; then installed_puppet_version=$(puppet --version) else installed_puppet_version=0 fi if [ $(echo "$installed_puppet_version\n$REQUIRED_PUPPET_VERSION...
#!/bin/sh REQUIRED_PUPPET_VERSION=<%= properties['min_puppet_version'] %> check_puppet_ver() { puppet_bin=$(which puppet) if [ ! -z $puppet_bin ]; then installed_puppet_version=$(puppet --version) else installed_puppet_version=0 fi if [ $(echo "$installed_puppet_version\n$REQUIRED_PUPPET_VERSION...
Add installation of base dependency packages
Add installation of base dependency packages Currently only 'sudo'. Our sudo module is broken and does not work if sudo is not installed before puppet runs.
HTML+ERB
apache-2.0
camptocamp/puppet_standalone_installer_builder,camptocamp/puppet_standalone_installer_builder,camptocamp/puppet_standalone_installer_builder,ckaenzig/puppet_standalone_installer_builder