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
fb9b8de0c0dc037a44839c1d3e62aeace40741c6
app/views/admin/_nav.html.erb
app/views/admin/_nav.html.erb
<div class="row"> <br> <ul class="nav nav-tabs"> <li role="presentation" class="<%= cp('/admin/stats') %>"><a href="/admin/stats">Stats</a></li> <li role="presentation" class="<%= cp('/admin/stats/github') %>"><a href="/admin/stats/github">GitHub Stats</a></li> <li role="presentation" class="<%= cp('/ad...
<div class="row"> <br> <ul class="nav nav-tabs"> <li role="presentation" class="<%= cp('/admin/stats') %>"><a href="/admin/stats">Stats</a></li> <li role="presentation" class="<%= cp('/admin/stats/github') %>"><a href="/admin/stats/github">GitHub Stats</a></li> <li role="presentation" class="<%= cp('/ad...
Handle deleted projects in suggestions
Handle deleted projects in suggestions
HTML+ERB
agpl-3.0
tomnatt/libraries.io,librariesio/libraries.io,librariesio/libraries.io,samjacobclift/libraries.io,abrophy/libraries.io,samjacobclift/libraries.io,abrophy/libraries.io,abrophy/libraries.io,samjacobclift/libraries.io,tomnatt/libraries.io,librariesio/libraries.io,librariesio/libraries.io,tomnatt/libraries.io
b1bf480e27ddd42a0fc4671ac27b6675affbcea0
app/views/users/new.html.erb
app/views/users/new.html.erb
<div class="container"> <div class="row row-grid"> <div class="col-xs-12 col-md-6 offset-md-3"> <div class="page-title"> <h3>Signup for Blog App</h3> </div> </div> </div> <%= render "shared/errors", article: @user %> <div class="row row-grid"> ...
<div class="container"> <div class="row row-grid"> <div class="col-xs-12 col-md-6 offset-md-3"> <div class="page-title"> <h3>Signup for Blog App</h3> </div> </div> </div> <%= render 'form' %> </div>
Refactor new user template and render form partial
Refactor new user template and render form partial
HTML+ERB
mit
juanhenriquez/blog-app,juanhenriquez/blog-app,juanhenriquez/blog-app
1dc06e393c0cbd6dc086ac7f333caed7974096da
cookbooks/forum/templates/default/backup.cron.erb
cookbooks/forum/templates/default/backup.cron.erb
#!/bin/sh exit 0 # DO NOT EDIT - This file is being maintained by Chef T=$(mktemp -d -t -p /var/tmp forum.XXXXXXXXXX) D=$(date +%Y-%m-%d) B=forum-$D.tar.gz mkdir $T/forum-$D mysqldump --user=forum --password=<%= @passwords["database"] %> --opt forum > $T/forum-$D/forum.sql ln -s /srv/forum.openstreetmap.org $T/forum...
#!/bin/sh # DO NOT EDIT - This file is being maintained by Chef T=$(mktemp -d -t -p /var/tmp forum.XXXXXXXXXX) D=$(date +%Y-%m-%d) B=forum-$D.tar.gz mkdir $T/forum-$D echo '[mysqldump]' > $T/mysqldump.opts echo 'user=forum' >> $T/mysqldump.opts echo 'password=<%= @passwords["database"] %>' >> $T/mysqldump.opts mysql...
Enable backups for the forum
Enable backups for the forum
HTML+ERB
apache-2.0
gravitystorm/chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,Firefishy/chef,Firefishy/chef,tomhughes/openstreetmap-chef,Firefishy/chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,Firefishy/che...
2a083c5a035720f6d5834a7b42c312541cbb6653
app/views/categories/index.html.erb
app/views/categories/index.html.erb
<h1> All Categories </h1> <% @categories.each do |category| %> <li><%= link_to category.name, category_path(category.id)%></li> <%end%>
<h1> Select a Category for your Track </h1> <% @categories.each do |category| %> <li><%= link_to category.name, new_category_track_path(category.id)%></li> <%end%>
Change links to point new_category_track_path
Change links to point new_category_track_path
HTML+ERB
mit
nyc-fiddler-crabs-2015/Hagwon,nyc-fiddler-crabs-2015/Hagwon,nyc-fiddler-crabs-2015/Hagwon
8945798281f8fe4972b8ef527cf6c1da4fb54184
app/views/courses/timeline.html.erb
app/views/courses/timeline.html.erb
<% content_for :before_title do "#{@course.title} Timeline - " end %> <%= render :partial => 'nav', :locals => {:page => 3, :course => @course} %> <%= render :partial => 'header', :locals => {:page => 3} %> <section id="timeline"> <ul class="list"> <% if @course.weeks.count > 0 %> <% @course.weeks.each_with_...
<% content_for :before_title do "#{@course.title} Timeline - " end %> <%= render :partial => 'nav', :locals => {:page => 3, :course => @course} %> <%= render :partial => 'header', :locals => {:page => 3} %> <section id="timeline"> <!-- This is where React takes over -- See /app/javascripts for relevant code --> ...
Add comment in view to maintain developer sanity
Add comment in view to maintain developer sanity
HTML+ERB
mit
MusikAnimal/WikiEduDashboard,adamwight/WikiEduDashboard,thenickcox/WikiEduDashboard,thenickcox/WikiEduDashboard,WinnySilva/WikiEduDashboard,Wowu/WikiEduDashboard,feelfreelinux/WikiEduDashboard,Wowu/WikiEduDashboard,feelfreelinux/WikiEduDashboard,alpha721/WikiEduDashboard,sejalkhatri/WikiEduDashboard,WinnySilva/WikiEduD...
f4e265fdae4e1596fd79bdb3ff5e162eff004135
app/views/home/_venue_info.html.erb
app/views/home/_venue_info.html.erb
<h2>The Venue</h2> <p class="lead">The wedding is to be held at the <strong>Briery Wood Hotel</strong>, near Windermere in the Lake District.</p> <p>The ceremony is to start at <strong>11:30am</strong>, followed by the wedding breakfast and a disco and buffet in the evening. If the weather is nice, there'll be a BBQ...
<h2>The Venue</h2> <p class="lead">The wedding is to be held at the <strong>Briery Wood Hotel</strong>, near Windermere in the Lake District.</p> <address> <strong>Briery Wood Hotel</strong><br> Ambleside Road<br> Windermere<br> LA23 1ES<br> <abbr title="Phone">Phone:</abbr> 01539 433316 </addres...
Revert "Added some basic information about the day (this might be moved)"
Revert "Added some basic information about the day (this might be moved)" This reverts commit 86680e2a7d7d8583c4738c0983d424632593a000.
HTML+ERB
mit
thehobbs/wedding-rsvp,thehobbs/wedding-rsvp,thehobbs/wedding-rsvp,thehobbs/wedding-rsvp
03b0f06e8c5e5829c809709230853927d3e4c407
app/views/projects/_alerts.html.erb
app/views/projects/_alerts.html.erb
<% if logged_in? && @project.maintained? && @project.needs_suggestions? && @project.project_suggestions.where(user: current_user).count.zero? %> <div class="alert alert-info" role="alert"> <strong>We're missing some data for this project</strong>, can you help out by adding it? <a href="<%= project_suggestions_pa...
<% if logged_in? && @project.maintained? && @project.needs_suggestions? && @project.project_suggestions.where(user: current_user).count.zero? %> <div class="alert alert-info" role="alert"> <strong>We're missing some data for this project</strong>, can you help out by adding it? <a href="<%= project_suggestions_pa...
Add survey link to project pages
Add survey link to project pages
HTML+ERB
agpl-3.0
librariesio/libraries.io,librariesio/libraries.io,librariesio/libraries.io,librariesio/libraries.io
cb98847496a356700758d3577d8de6eb4789ee7f
app/views/user_votes/index.html.erb
app/views/user_votes/index.html.erb
<h2>My Votes</h2> <% if @ward != nil %> <p>My Ward: Ward <%= @ward.ward_number %> - <%= @ward.name %></p> <p>My Councillor: <%= link_to("#{@councillor.first_name} #{@councillor.last_name}", councillor_path(@councillor)) %></p> <% else %> <p>Add your address to your profile to find out your ward and councillor!</p> ...
<h2>My Votes</h2> <% if @ward != nil %> <p>My Ward: Ward <%= @ward.ward_number %> - <%= @ward.name %></p> <p>My Councillor: <%= link_to("#{@councillor.first_name} #{@councillor.last_name}", councillor_path(@councillor)) %></p> <% else %> <p>To see your ward and councillor, add an address to your profile.</p> <% end...
Edit message if user has no address in profile
Edit message if user has no address in profile
HTML+ERB
mit
CivicHaxx/ok_councillr,CivicHaxx/ok_councillr,CivicHaxx/ok_councillr
cad0305138675e5fbcd1d9673785d956097b6740
app/views/votes/_vote_form.html.erb
app/views/votes/_vote_form.html.erb
<table class="vote-table"> <tr> <td> <%= form_tag('/vote', :method=>'post', :class=>'upvote') do %> <%= hidden_field_tag "vote[value]", 1 %> <div class="up"><%= image_submit_tag("orange-arrow.png") %></div> <% end %> </td> </tr> <tr> </tr> <tr> <td> <%= form_tag(...
<table class="vote-table"> <tr> <td> <%= form_tag request_votes_path(request_obj), :method=>'post', :class=>'upvote' do %> <%= hidden_field_tag "vote[value]", 1 %> <div class="up"><%= image_submit_tag("orange-arrow.png") %></div> <% end %> </td> </tr> <tr> </tr> <tr> <...
Refactor the form to submit to the correct path.
Refactor the form to submit to the correct path.
HTML+ERB
mit
kimchanyoung/nghborly,nyc-mud-turtles-2015/nghborly,nyc-mud-turtles-2015/nghborly,kimchanyoung/nghborly,nyc-mud-turtles-2015/nghborly,kimchanyoung/nghborly
7832219ecad324773f2cfef5f7eba773764ea77b
app/views/admin/governments/_form.html.erb
app/views/admin/governments/_form.html.erb
<%= form_for [:admin, government], as: :government, html: {class: 'government-form'} do |government_form| %> <%= government_form.errors %> <p><%= government_form.text_field :name, {placeholder: "eg 2005 to 2010 Labour government"} %></p> <p><%= government_form.text_field :start_date, {placeholder: "eg 2005-05-06"...
<%= form_for [:admin, government], as: :government, html: {class: 'government-form'} do |government_form| %> <%= government_form.errors %> <p><%= government_form.text_field :name, {placeholder: "eg 2005 to 2010 Labour government"} %></p> <p><%= government_form.text_field :start_date, {placeholder: "eg 2005-05-06"...
Make "cancel" button on gov edit go to gov list.
Make "cancel" button on gov edit go to gov list.
HTML+ERB
mit
hotvulcan/whitehall,YOTOV-LIMITED/whitehall,ggoral/whitehall,robinwhittleton/whitehall,YOTOV-LIMITED/whitehall,alphagov/whitehall,alphagov/whitehall,robinwhittleton/whitehall,askl56/whitehall,askl56/whitehall,ggoral/whitehall,askl56/whitehall,ggoral/whitehall,alphagov/whitehall,robinwhittleton/whitehall,YOTOV-LIMITED/w...
8f544728b9e390924df1c8965f6df09074976025
app/views/repositories/_resources.html.erb
app/views/repositories/_resources.html.erb
<ul class="repository-item"> <%= render partial: 'repositories/resource-add' %> <% subject_resources(profile_or_current_subject, {:scope => scope, :limit => 0}).each do |resource| %> <%= render :partial => 'repositories/resource', :locals => { :resource => resource } %> <% end %> </ul> <%= content_for :jav...
<ul class="repository-item"> <%= render partial: 'repositories/resource-add' %> <% subject_resources(profile_or_current_subject, {:scope => scope, :limit => 0}).each do |resource| %> <%= render :partial => 'repositories/resource', :locals => { :resource => resource } %> <% end %> </ul> <%= content_for :jav...
Fix resources icon scale javascript
Fix resources icon scale javascript
HTML+ERB
agpl-3.0
suec78/vish_storyrobin,suec78/vish_storyrobin,agordillo/vish,ging/vish_orange,ging/vish,ging/vish,suec78/vish_storyrobin,suec78/vish_storyrobin,rogervaas/vish,rogervaas/vish,agordillo/vish,agordillo/vish,ging/vish_orange,ging/vish,agordillo/vish,ging/vish,ging/vish_orange,rogervaas/vish,rogervaas/vish,ging/vish,ging/vi...
c0aa6bdbe11304ae5f78e7f69391f78f8fa38769
app/views/items/_items_table.html.erb
app/views/items/_items_table.html.erb
<h4> <%= category.description %> <%= link_to '', edit_category_path(category), class: 'btn btn-default btn-xs glyphicon glyphicon-pencil' %> <button type="button" class="btn btn-primary pull-right" data-create-item data-category="<%= category.id %>" data-category-desc="<%= category.description %>" data-category-...
<h4> <%= category.description %> <%= link_to '', edit_category_path(category), class: 'btn btn-default btn-xs glyphicon glyphicon-pencil' %> <button type="button" class="btn btn-primary pull-right" data-create-item data-category="<%= category.id %>" data-category-desc="<%= category.description %>" data-category-...
Reduce size of item edit button
Reduce size of item edit button
HTML+ERB
mit
on-site/StockAid,icodeclean/StockAid,icodeclean/StockAid,on-site/StockAid,on-site/StockAid,icodeclean/StockAid
ed38b9b7cd643096314ebb573897a373462dddc8
views/index.erb
views/index.erb
<h2>Welcome to Pizza Shop!</h2> <div class="row"> <% @products.each do |p| %> <div class="col-md-4"> <div> <%= p.title %> </div> <div> <img src='<%= p.path_to_image %>' width='200px' height='150px' /> </div> <div> <%= p.description %> </div> <div> Size: <%= p.size %> cm....
<h2>Welcome to Pizza Shop!</h2> <div class="row"> <% @products.each do |p| %> <div class="col-md-4"> <div> <%= p.title %> </div> <div> <img src='<%= p.path_to_image %>' width='200px' height='150px' /> </div> <div> <%= p.description %> </div> <div> Size: <%= p.size %> cm....
Add button to each product
Add button to each product
HTML+ERB
mit
cunctat0r/PizzaShop,cunctat0r/PizzaShop,cunctat0r/PizzaShop
dbacd9d5392763c349e068a6da4f34556f93c73d
Support/app/views/annotate/_navigate_box.html.erb
Support/app/views/annotate/_navigate_box.html.erb
<div style='position:fixed; top:0px; background: #fff; width: 100%; '> <div id='debug'></div> <div style='float:right; margin-right: 15px;'> <b>Commands</b>: <%= %w[next previous open branch tag].map { |word| "<strong>(#{word[0..0]})</strong>#{word[1..-1]}" } * ' / ' %> </div> Annotations for ‘<%= htmlize(s...
<div style='position:fixed; top:0px; background: #fff; width: 100%; '> <div id='debug'></div> <div style='float:right; margin-right: 15px;'> <b>Commands</b>: <%= %w[next previous open branch tag].map { |word| "<strong>(#{word[0..0]})</strong>#{word[1..-1]}" } * ' / ' %> </div> Annotations for ‘<%= htmlize(s...
Fix breaking when the message doesn't have a new line in it.
Fix breaking when the message doesn't have a new line in it.
HTML+ERB
mit
jacob-carlborg/git.tmbundle,jacob-carlborg/git.tmbundle,textmate/git.tmbundle,timcharper/git-tmbundle,pkmiec/git.tmbundle,pkmiec/git.tmbundle,timcharper/git-tmbundle,kevinsawicki/git.tmbundle,pkmiec/git.tmbundle,textmate/git.tmbundle,prymatex/git.tmbundle,prymatex/git.tmbundle,prymatex/git.tmbundle,jcf/git-tmbundle,pry...
3adaf6e0b9f993f4927c48fe394fa237dca9f963
app/assets/javascripts/rglossa/core.coffee.erb
app/assets/javascripts/rglossa/core.coffee.erb
window.App = Em.Application.create LOG_TRANSITIONS: <%= Rails.env == 'development' %>
window.App = Em.Application.create LOG_TRANSITIONS: <%= Rails.env == 'development' %> Em.RSVP.configure 'onerror', (e) -> console.log(e.message) console.log(e.stack)
Configure Ember.RSVP to log error messages
Configure Ember.RSVP to log error messages
HTML+ERB
mit
textlab/glossa,textlab/rglossa,textlab/glossa,textlab/glossa,textlab/rglossa,textlab/rglossa,textlab/glossa,textlab/rglossa,textlab/rglossa,textlab/glossa
45fbbe8a5d0cc1975ca11e54189f54b0450b59ce
app/views/application/_share_petition.html.erb
app/views/application/_share_petition.html.erb
<h2>Share this petition</h2> <ul class="petition-share"> <li> <%= share_via_facebook(petition, rel: 'external') %> </li> <li> <%= share_via_email(petition, rel: 'external') %> </li> <li> <%= share_via_twitter(petition, rel: 'external') %> </li> <li class="petition-share-whatsapp"> <%= shar...
<h2>Share this petition</h2> <ul class="petition-share"> <li> <%= share_via_facebook(petition, rel: 'external', target: '_blank') %> </li> <li> <%= share_via_email(petition, rel: 'external', target: '_blank') %> </li> <li> <%= share_via_twitter(petition, rel: 'external', target: '_blank') %> </l...
Make sharing links open in a new tab
Make sharing links open in a new tab
HTML+ERB
mit
telekomatrix/e-petitions,alphagov/e-petitions,alphagov/e-petitions,StatesOfJersey/e-petitions,alphagov/e-petitions,telekomatrix/e-petitions,unboxed/e-petitions,joelanman/e-petitions,oskarpearson/e-petitions,unboxed/e-petitions,telekomatrix/e-petitions,ansonK/e-petitions,joelanman/e-petitions,unboxed/e-petitions,unboxed...
f97871b8289eb40fa34540aa2b97c74ce5253fef
lib/backbeat/workers/daily_activity/report.html.erb
lib/backbeat/workers/daily_activity/report.html.erb
<!DOCTYPE html> <html> <body style="min-width: 100%;"> <h2 style="font-family: Arial;">Backbeat Activity Report</h2> <% if report[:inconsistent][:counts].empty? %> <p>No inconsistent workflows for this period</p> <% else %> <%= render_table "Workflow Inconsistencies", report[:inconsistent][:c...
<!DOCTYPE html> <html> <body style="min-width: 100%;"> <h2 style="font-family: Arial;">Backbeat Activity Report</h2> <% if report[:inconsistent][:counts].empty? %> <p style="font-weight: normal;">No inconsistent workflows for this period</p> <% else %> <%= render_table "Workflow Inconsistenci...
Set default font weight in activity report email
Set default font weight in activity report email
HTML+ERB
bsd-3-clause
groupon/backbeat,groupon/backbeat,groupon/backbeat
9dfcbf85d11f32b352a0900cdfc33d8a0383277b
app/views/shared/_recently_viewed_products.html.erb
app/views/shared/_recently_viewed_products.html.erb
<% rvp = Product.find(:all, :conditions => ["id IN (?)", session['recently_viewed_products'].split(', ')]) %> <ul> <% rvp.each do |p| %> <li><%= link_to p.name, p %></li> <% end -%> </ul>
<% rvp_ids = session['recently_viewed_products'].nil? ? [] : session['recently_viewed_products'].split(', ') rvp = Product.find(:all, :conditions => ["id IN (?)", rvp_ids]) %> <ul> <% rvp.each do |p| %> <li><%= link_to p.name, p %></li> <% end -%> </ul>
Fix bug with empty session['recently_viewed_products']
Fix bug with empty session['recently_viewed_products']
HTML+ERB
bsd-3-clause
spree-contrib/spree_recently_viewed,sunny2601/spree_recently_viewed,isabellaSantos/spree_recently_viewed,sunny2601/spree_recently_viewed,priyank-gupta/spree_recently_viewed,isabellaSantos/spree_recently_viewed,priyank-gupta/spree_recently_viewed,priyank-gupta/spree_recently_viewed,sunny2601/spree_recently_viewed,spree-...
d245dd0fdcabc6aeb58d15c29729082bf8f13a25
backend/app/views/spree/admin/shared/_head.html.erb
backend/app/views/spree/admin/shared/_head.html.erb
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" /> <%= csrf_meta_tags %> <title> <%= "Spree #{Spree.t('administration')}: " %> <%= Spree.t(controller.controller_name, :default => controller.controller_name.titleize) %> </title> <!-- Get "Open Sans" font from Google --> <link href='//fonts.goog...
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" /> <%= csrf_meta_tags %> <title> <% if content_for? :page_title %> <%= yield :page_title %> <% else %> <%= "Spree #{Spree.t('administration')}: " %> <%= Spree.t(controller.controller_name, :default => controller.controller_name.titleiz...
Add ability to set page title for admin pages using a content_for :page_title
Add ability to set page title for admin pages using a content_for :page_title
HTML+ERB
bsd-3-clause
DarkoP/spree,hoanghiep90/spree,patdec/spree,CiscoCloud/spree,caiqinghua/spree,archSeer/spree,knuepwebdev/FloatTubeRodHolders,derekluo/spree,dandanwei/spree,Machpowersystems/spree_mach,priyank-gupta/spree,tomash/spree,dotandbo/spree,softr8/spree,orenf/spree,odk211/spree,radarseesradar/spree,Senjai/solidus,gregoryrikson/...
7e36c660f6146babbb446857644497c1b6c9c789
app/views/forem/forums/index.html.erb
app/views/forem/forums/index.html.erb
<h2><%= t('.title') %></h2> <table id='forums' class='forums subdued' cellspacing='0'> <thead> <tr> <th><%= t('.forum') %></th> <th><%= t('.topics') %></th> <th><%= t('.posts') %></th> </tr> </thead> <tbody> <% @forums.each do |forum| %> <tr class="forum <%= cycle("odd", "even"...
<h2><%= t('.title') %></h2> <table id='forums' class='forums subdued' cellspacing='0'> <thead> <tr> <th><%= t('.forum') %></th> <th><%= t('.topics') %></th> <th><%= t('.posts') %></th> </tr> </thead> <tbody> <% @forums.each do |forum| %> <tr class="forum <%= cycle("odd", "even"...
Add class for forum title in forums/index
Add class for forum title in forums/index
HTML+ERB
mit
frankel/forem,filiptepper/forem,nruth/forem,STRd6/forem,dmitry-ilyashevich/forem,frankel/forem,filiptepper/forem,STRd6/forem,dmitry-ilyashevich/forem,isotope11/forem,isotope11/forem,substantial/forem,szymon-przybyl/forem,nruth/forem,caffo/forem,caffo/forem,substantial/forem,szymon-przybyl/forem
3cd6cb7303b6e077a802a920f4046ddd54c502a7
app/views/pages/home/_opened.html.erb
app/views/pages/home/_opened.html.erb
<% if no_petitions_yet? %> <div class="section-panel-borderless no-petitions-yet"> <p class="lede">The new Petitions service launched today</p> <p class="lede">We're expecting the first petitions to go live in the next few hours</p> </div> <% end %> <%= render "pages/home/actioned_petitions" %> <% unless ...
<% if no_petitions_yet? %> <div class="section-panel-borderless no-petitions-yet"> <p class="lede">The Petitions service re-opened today</p> <p class="lede">We’re expecting the first petitions to go live in the next few hours</p> </div> <% end %> <%= render "pages/home/actioned_petitions" %> <% unless no_...
Update the first day message
Update the first day message It's no longer the new Petitions service.
HTML+ERB
mit
alphagov/e-petitions,unboxed/e-petitions,oskarpearson/e-petitions,joelanman/e-petitions,StatesOfJersey/e-petitions,unboxed/e-petitions,alphagov/e-petitions,alphagov/e-petitions,alphagov/e-petitions,joelanman/e-petitions,unboxed/e-petitions,StatesOfJersey/e-petitions,unboxed/e-petitions,oskarpearson/e-petitions,StatesOf...
471ffa7be25a87688bc38d426a727c8749074ec6
app/views/search/_no_results.html.erb
app/views/search/_no_results.html.erb
<div class="no-results"> <h2> <% if context.present? %> No results in <%= context %> for &ldquo;<%= @search_term %>&rdquo; <% else %> No results for &ldquo;<%= @search_term %>&rdquo; <% end %> </h2> <p>Please try</p> <ul> <li>Searching again using different words</li> <li>Brows...
<div class="no-results"> <h2> <% if context.present? %> No results in <%= context %> for &ldquo;<%= @search_term %>&rdquo; <% else %> No results for &ldquo;<%= @search_term %>&rdquo; <% end %> </h2> <p>Please try</p> <ul> <li>Searching again using different words</li> <li>Brows...
Update help link in search results page.
Update help link in search results page.
HTML+ERB
mit
alphagov/frontend,alphagov/frontend,alphagov/frontend,alphagov/frontend
d2cb387d7269892684a54eec54e34bd819f81a8f
app/views/spree/home/_slider.html.erb
app/views/spree/home/_slider.html.erb
<% if @slider_products %> <div id="home-slider"> <ul> <% @slider_products.each do |product| %> <li> <div class="product-image"> <%= link_to product_image(product), product %> </div> <div class="product-info"> <h1 class="product-title"><%= product...
<% if @slider_products %> <div id="home-slider"> <ul> <% @slider_products.each do |product| %> <li> <div class="product-image"> <%= link_to product_image(product), product %> </div> <div class="product-info"> <h1 class="product-title"><%= product...
Fix exception being thrown if a product description is empty
Fix exception being thrown if a product description is empty Fixed by calling .html_safe on description only if a description exists.
HTML+ERB
bsd-3-clause
kewaunited/spree_fancy,rsempe/spree_fancy,spree-contrib/spree_fancy,quentinuys/spree_fancy,quentinuys/spree_fancy,rsempe/spree_fancy,mvjohn100/spree_fancy,kewaunited/spree_fancy,spree-contrib/spree_fancy,bhanu22776/spree_fancy_theme,kewaunited/spree_fancy,samuels410/spree_fancy,mvjohn100/spree_fancy,bhanu22776/spree_fa...
0c90f6e2381d2a64a0bbcecb6d85dd0b507f4b03
app/views/users/show.html.erb
app/views/users/show.html.erb
<div class="user-container"> <div class="individual-user"> <p>This is where each individual user profile info will go.</p> <p><%= link_to "Orders", order_path %></p> <p> Username: <%= @user.username%></p> <p> Email: <%= @user.email%></p> <p><%= link_to "Edit Account", edit_user_path %> | <%= lin...
<div class="user-container"> <div class="individual-user"> <p>This is where each individual user profile info will go.</p> <p><%= link_to "Orders", orders_path %></p> <p> Username: <%= @user.username%></p> <p> Email: <%= @user.email%></p> <p><%= link_to "Edit Account", edit_user_path %> | <%= li...
Update path to Orders index page
Update path to Orders index page
HTML+ERB
mit
benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop
426ffa6f50e0387ee1fa2c69a8b81055939b9e76
templates/default/methodsummary/html/header.erb
templates/default/methodsummary/html/header.erb
<div class="section <%= generator_name %>"> <h1><%= visibility.to_s.capitalize %> <%= scope.to_s.capitalize %> Method Summary</h1> <%= yield object %> </div>
<div class="section <%= generator_name %> <%= scope %> <%= visibility %>"> <h1><%= visibility.to_s.capitalize %> <%= scope.to_s.capitalize %> Method Summary</h1> <%= yield object %> </div>
Add scope and visibility to method summary's div class name for better styling
Add scope and visibility to method summary's div class name for better styling
HTML+ERB
mit
iankronquist/yard,thomthom/yard,ohai/yard,lsegal/yard,herosky/yard,jreinert/yard,lsegal/yard,ohai/yard,amclain/yard,amclain/yard,alexdowad/yard,thomthom/yard,thomthom/yard,herosky/yard,iankronquist/yard,amclain/yard,alexdowad/yard,jreinert/yard,travis-repos/yard,herosky/yard,lsegal/yard,ohai/yard,jreinert/yard,iankronq...
3b83b7f998d5206d1301bcd35fce7e3fb8a22faa
app/views/users/new.html.erb
app/views/users/new.html.erb
<%= render partial: 'disable_turbolinks' %> <section class="appSection"> <h1>Sign up</h1> <div class="newUserForm"> <% if params[:guest] %> <p class="thanksForDemoing"> Thanks for trying out the demo! If you can imagine Volition helping you to become more productive, sign up below! </p> ...
<%= render partial: 'disable_turbolinks' %> <section class="appSection"> <h1>Sign up</h1> <div class="newUserForm"> <% if params[:guest] %> <p class="thanksForDemoing"> Thanks for trying out the demo! If you can imagine Volition helping you to become more productive, sign up below! </p> ...
Use correct url for google sign up form.
Use correct url for google sign up form.
HTML+ERB
mit
usevolition/volition,garrettqmartin8/volition,garrettqmartin8/volition,usevolition/volition,usevolition/volition,garrettqmartin8/volition,garrettqmartin8/volition,usevolition/volition
856f37d3a099cd3172c987047260382c825a505e
shaq_overflow/app/views/questions/index.html.erb
shaq_overflow/app/views/questions/index.html.erb
<h1>Here are all the questions</h1> <h3>Click a question to view more</h3> <% @questions.each do |question| %> Votes: | <%= question.votes.count %> Answers: | <%= question.answers.count %> <%= link_to("#{question.title}", question_path(question)) %> <% end %>
<h1>Here are all the questions</h1> <h3>Click a question to view more</h3> <% @questions.each do |question| %> Votes: | <%= question.votes.count %> Answers: | <%= question.answers.count %> <ol> <li><%= link_to("#{question.title}", question_path(question)) %></li> </ol> <% end %>
Put questions index page in an ordered list
Put questions index page in an ordered list
HTML+ERB
mit
lucasrsantos1/lucky-ambassador,lucasrsantos1/lucky-ambassador,lucasrsantos1/lucky-ambassador
666b3647f1b68048f18f4798079a903447cfb290
app/views/smart_answers/_collapsed_question.html.erb
app/views/smart_answers/_collapsed_question.html.erb
<% question = question_page.questions.first; question_index = 0; begin %> <tr class="section"> <td class="previous-question-title"><%= question.title %></td> <%- if question.multiple_responses? -%> <td class="previous-question-body"><ul> <%- question.response_labels(@presenter.accepted_responses[n...
<% question = question_page.questions.first; question_index = 0; begin %> <tr class="section"> <td class="previous-question-title"><%= question.title %></td> <%- if question.multiple_responses? -%> <td class="previous-question-body"><ul> <%- question.response_labels(@presenter.accepted_responses[n...
Remove more multiple Q-per-pg support collapsed_question partial
Remove more multiple Q-per-pg support collapsed_question partial We no longer support multiple questions per page and so `question_page.questions.count` is only ever `1` and so the `else` block is never executed.
HTML+ERB
mit
alphagov/smart-answers,stwalsh/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,stwalsh/smart-answers,alphagov/smart-answers,stwalsh/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,stwalsh/smart-answers,aledelcueto/smart-answers,aledelcueto/smart-answers
145f787b0ef19b611ed5211484ce4bb20eecf39a
app/views/categories/index.html.erb
app/views/categories/index.html.erb
<h1> Select a Category for your Track </h1> <% @categories.each do |category| %> <li><%= link_to category.name, new_category_track_path(category.id)%></li> <%end%>
<h1> Select a Category for your Track </h1> <div class="row"><% @categories.each do |category| %> <div class="col-xs-12 col-md-12 thumbnail"> <h4 class="text-center"><%= link_to category.name, new_category_track_path(category.id)%></h4> </div> <%end%> </div>
Add class row and 1 column layout
Add class row and 1 column layout
HTML+ERB
mit
nyc-fiddler-crabs-2015/Hagwon,nyc-fiddler-crabs-2015/Hagwon,nyc-fiddler-crabs-2015/Hagwon
893d95708fb1a4ff98029ef2730fd2f785dfb0a5
app/views/listings/_follow.html.erb
app/views/listings/_follow.html.erb
<% if is_followed? @listing.id %> <%= button_to [ :unfollow, @listing ] do %> <% content_tag(:i, "", :class => "fa fa-eye-slash") %> Un-Watch <% end %> <% else %> <%= button_to [ :follow, @listing ] do %> <%= content_tag(:i, "", :class => "fa fa-eye fa-lg") %> Watch <% end %> <% end %> ...
<% if is_followed? @listing.id %> <%= button_to [ :unfollow, @listing ] do %> <%= content_tag(:i, "", :class => "fa fa-eye-slash fa-lg") %> Un-Watch <% end %> <% else %> <%= button_to [ :follow, @listing ] do %> <%= content_tag(:i, "", :class => "fa fa-eye fa-lg") %> Watch <% end %> <% e...
Add icon to 'un-watch' listing button
Add icon to 'un-watch' listing button
HTML+ERB
mit
erikcaineolson/HARE,HumanAssistanceResourceExchange/SHARE,femmestem/HARE,erikcaineolson/HARE,femmestem/HARE,HumanAssistanceResourceExchange/SHARE,femmestem/HARE,erikcaineolson/HARE,HumanAssistanceResourceExchange/SHARE
d3032871c0944549d037626359c59f97082b222b
app/views/admin/editions/_nation_fields.html.erb
app/views/admin/editions/_nation_fields.html.erb
<fieldset class="excluded_nations <% if edition.errors[:nation_inapplicabilities].any? %>alert-danger form-errors field_with_errors<% end %>" > <legend>Excluded nations</legend> <%= label_tag('edition[all_nation_applicability]') do %> <%= check_box 'edition', 'all_nation_applicability', {checked: false}, '1', ...
<fieldset class="excluded_nations <% if edition.errors[:nation_inapplicabilities].any? %>alert-danger form-errors field_with_errors<% end %>" > <legend>Excluded nations</legend> <%= label_tag('edition[all_nation_applicability]') do %> <%= check_box 'edition', 'all_nation_applicability', {checked: false}, '1', ...
Update copy for excluded nation fields
Update copy for excluded nation fields
HTML+ERB
mit
alphagov/whitehall,alphagov/whitehall,alphagov/whitehall,alphagov/whitehall
3829a806290bf76f5b1e4e221fec35721c9b73dc
app/views/layouts/modals/_kids_level_up.html.erb
app/views/layouts/modals/_kids_level_up.html.erb
<div class="text-center mu-level"> <i class="fa fa-star fa-fw fa-4x"></i> <span class="mu-level-number"></span> <p></p> <p id="mu-solve-more-exercises"> <%= (t :solve_more_exercises_to_level_up).html_safe %></p> </div>
<div> <h3 class="text-center"> <%= t :level_up %> </h3> <div class="text-center mu-level"> <i class="fa fa-star fa-fw fa-4x"></i> <span class="mu-level-number"></span> <p></p> <p id="mu-solve-more-exercises"> <%= (t :solve_more_exercises_to_level_up).html_safe %></p> </div> </div>
Add title to level_up modal
Add title to level_up modal
HTML+ERB
agpl-3.0
mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory
32570bdc1244435c0e8b34bc9540de70522a57a4
puppet/modules/barbican/templates/Z99-barbican.erb
puppet/modules/barbican/templates/Z99-barbican.erb
#!/bin/bash <% if defined?(@barbican_branch) %> export BARBICAN_BRANCH="<%= @barbican_branch %>" <% else %> export BARBICAN_BRANCH="stable/kilo" <% end %> <% if defined?(@hostname_manager) %> export BARBICAN_HOST_HREF="http://<%= @hostname_manager %>:9311" <% else %> export BARBICAN_HOST_HREF="http://localhost:9311" ...
#!/bin/bash <% if defined?(@barbican_branch) %> export BARBICAN_BRANCH="<%= @barbican_branch %>" <% elsif defined?(@devstack_branch) %> export BARBICAN_BRANCH="<%= @devstack_branch %>" <% else %> export BARBICAN_BRANCH="stable/kilo" <% end %> <% if defined?(@hostname_manager) %> export BARBICAN_HOST_HREF="http://<%= ...
Use devstack_branch if no barbican_branch defined
Use devstack_branch if no barbican_branch defined
HTML+ERB
apache-2.0
unibg-seclab/devstack-vagrant,unibg-seclab/devstack-vagrant,unibg-seclab/devstack-vagrant
ce1b041ccb025e33f55531281df1016598318763
publify_core/app/views/devise/sessions/new.html.erb
publify_core/app/views/devise/sessions/new.html.erb
<% content_for :page_title do %> <%= "#{this_blog.blog_name} - #{t('.sign_in', :default => "Sign in")}" %> <% end %> <%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %> <fieldset> <div class="form-group"> <%= f.label :login %><br /> <%= f.text_field :login, class: ...
<% content_for :page_title do %> <%= "#{this_blog.blog_name} - #{t('.sign_in', :default => "Sign in")}" %> <% end %> <%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %> <fieldset> <div class="form-group"> <%= f.label :login %><br /> <%= f.text_field :login, class: ...
Fix layout for log in form
Fix layout for log in form
HTML+ERB
mit
drakontia/publify,publify/publify,drakontia/publify,publify/publify,publify/publify
f53c44bc7d91362252acaa52c42e8b122c3a371e
jobs/revok/templates/ctl.erb
jobs/revok/templates/ctl.erb
#!/bin/bash set -e RUN_DIR=/var/vcap/sys/run/revok LOG_DIR=/var/vcap/sys/log/revok PIDFILE=${RUN_DIR}/revok.pid source /var/vcap/packages/pid_utils_revok/pid_utils.sh case $1 in start) pid_guard $PIDFILE "revok" mkdir -p $RUN_DIR chown -R vcap:vcap $RUN_DIR mkdir -p $LOG_DIR chown -R vcap:v...
#!/bin/bash set -e RUN_DIR=/var/vcap/sys/run/revok LOG_DIR=/var/vcap/sys/log/revok PIDFILE=${RUN_DIR}/revok.pid source /var/vcap/packages/pid_utils_revok/pid_utils.sh case $1 in start) if [ -f "$PIDFILE" ]; then echo "pidfile already exists; exiting" exit 1 fi mkdir -p $RUN_DIR chown...
Remove pid_guard from revok worker
Remove pid_guard from revok worker Add simple check for existing pidfile and bail when it exists. chpst -L will handle locking the pidfile.
HTML+ERB
apache-2.0
pivotal-cf/cred-alert,pivotal-cf/cred-alert
0721553cd14487e18a26ae259d938c629144c16c
app/views/home/index.html.erb
app/views/home/index.html.erb
<div class="container-fluid"> <h1 class="landing-title">Welcome to Prayerly</h1> <p class="statement-one">"Encourage one another daily, as long as it is called Today…" Hebrews 3:13</p> <%= button_to "Come in", categories_path, :method => :get, id: "enter_button", class: "btn btn-primary" %> <div class="video-containe...
<div class="container-fluid"> <h1 class="landing-title">Welcome to Prayerly</h1> <p class="statement-one">"Encourage one another daily, as long as it is called Today…" Hebrews 3:13</p> <%= button_to "Come in", categories_path, :method => :get, id: "enter_button", class: "btn btn-primary" %> <div class="video-containe...
Put closing div in vdieo container
Put closing div in vdieo container
HTML+ERB
mit
cloverharvest/prayerly,cloverharvest/prayerly,cloverharvest/prayerly
229db63326eb361c08281aa8f1f5bf529873d2c2
app/views/home/index.html.erb
app/views/home/index.html.erb
<header> <h1>Pour qui faut-il voter ?</h1> <p class="best-list"> <% if Item.total_points(0) == Item.total_points(1) %> <%= image_tag "bedzoum.png", alt: "BEDzoum" %> Il faut voter <strong>BEDzoum</strong> <small>Parce qu'en cas d'égalité, ce sont toujours eux qui gagnent.</small> <% else %> ...
<header> <h1>Pour qui faut-il voter ?</h1> <p class="best-list"> <% if Item.total_points(0) == Item.total_points(1) %> <%= image_tag "bedzoum.png", alt: "BEDzoum" %> Il faut voter <strong>BEDzoum</strong> <small>Parce qu'en cas d'égalité, ce sont toujours eux qui gagnent.</small> <% else %> ...
Revert "remove link on home page"
Revert "remove link on home page" This reverts commit 347913dfa9bb9f23fc630efdd4afcc4f85da7c18.
HTML+ERB
mit
allegrem/pour-qui-faut-il-voter,allegrem/pour-qui-faut-il-voter,allegrem/pour-qui-faut-il-voter
0bc082eaf2f51a10eded2ebcff7255f9ffa9a2cc
app/views/images/new.html.erb
app/views/images/new.html.erb
<!-- this is a partial, a box that pops up over an album --> <!-- can pick img on device or upload from url --> <!-- can select multiple images --> <!-- can X out of this partial to cancel uploading images to this album --> <%= cloudinary_js_config %> <%= form_for :image, url: album_images_path do |f| %> <%= render...
<!-- this is a partial, a box that pops up over an album --> <!-- can pick img on device or upload from url --> <!-- can select multiple images --> <!-- can X out of this partial to cancel uploading images to this album --> <%= cloudinary_js_config %> <%= form_for :image, url: album_images_path do |f| %> <%= render...
Add ability to upload image from url, missing logic to prevent user from uploading from device and url at same time
Add ability to upload image from url, missing logic to prevent user from uploading from device and url at same time
HTML+ERB
mit
chi-fiddler-crabs-2015/Photo-Plop,chi-fiddler-crabs-2015/Photo-Plop,chi-fiddler-crabs-2015/Photo-Plop
4c31025d0178b697bf9c4488421bd95ef89fcde9
app/views/read/index.html.erb
app/views/read/index.html.erb
<%= render 'feeds/popups/subscribe_form' %> <%= render 'feeds/popups/unsubscribe_confirm' %> <%= render 'feeds/popups/new_folder_form' %> <div class="row"> <div class="col-md-3"> <%= render 'feeds/sidebar/sidebar' %> </div> <div class="col-md-9"> <div class="hidden" id="feed-title"> <strong cl...
<%= render 'feeds/popups/subscribe_form' %> <%= render 'feeds/popups/unsubscribe_confirm' %> <%= render 'feeds/popups/new_folder_form' %> <div class="row"> <div class="col-md-3"> <%= render 'feeds/sidebar/sidebar' %> </div> <div class="col-md-9"> <div class="hidden" id="feed-title"> <strong cl...
Use Angular js 1.0.8 (latest stable version) instead of 1.0.7.
Use Angular js 1.0.8 (latest stable version) instead of 1.0.7.
HTML+ERB
mit
jmwenda/feedbunch,amatriain/feedbunch,amatriain/feedbunch,jmwenda/feedbunch,amatriain/feedbunch,amatriain/feedbunch,jmwenda/feedbunch
dec6845f3b2a5f69702d6423b7033eacd1248806
lib/metamodel/template/json.swift.erb
lib/metamodel/template/json.swift.erb
extension <%= model.name %> { public init(json: [String: Any]) { let id: Int = json["id"] as! Int <% model.properties_exclude_id.each do |property| %> <%= """let #{property.key}: #{property.type} = json[\"#{property.key}\"] as! #{property.type} """ %> <% end %> self....
extension <%= model.name %> { public static func parse(json: [String: Any]) -> Person { let id: Int = json["id"] as! Int <% model.properties_exclude_id.each do |property| %> <%= """let #{property.key}: #{property.type} = json[\"#{property.key}\"] as! #{property.type} """ %> <...
Use parse method instead of constructoR
Use parse method instead of constructoR
HTML+ERB
mit
MModel/MetaModel,MModel/MetaModel
020867c015f7cd405797858ff45996ab3e095317
app/views/bunny_sessions/new.html.erb
app/views/bunny_sessions/new.html.erb
<h3>Bunny login</h3> <%= standard_flashes %> <% form_tag bunny_sessions_path do -%> <p>Username<br /> <%= text_field_tag "username" %></p> <p>Password<br /> <%= password_field_tag "password" %></p> <p><%= submit_tag "Lemme in!" %></p> <% end -%>
<h3>Bunny login</h3> <%= standard_flashes %> <% form_tag bunny_sessions_path do -%> <p>Username<br /> <%= text_field_tag "username" %></p> <p>Password<br /> <%= password_field_tag "password" %></p> <p><%= submit_tag "Lemme in!" %></p> <% end -%> <p>Forgotten your password? <%= link_to("Click here to reset it...
Add link to password reset to the login form
Add link to password reset to the login form git-svn-id: 801577a2cbccabf54a3a609152c727abd26e524a@1243 a18515e9-6cfd-0310-9624-afb4ebaee84e
HTML+ERB
agpl-3.0
chrismear/bunnylove,chrismear/bunnylove,chrismear/bunnylove
f4f9bfeeeeca960347481fd2a8ac038147da68d8
app/views/permit_steps/_screener_question.html.erb
app/views/permit_steps/_screener_question.html.erb
<% if question %> <label for="test-label"><%= question %></label> <% end %> <% if @permit.errors[attribute].length >= 1 %> <!-- create an errors div to style error message and make input red --> <div class="field_with_errors"> <!-- Print out the error message (from validator) --> <% permit.errors[att...
<% if question %> <label for="test-label"><%= question %></label> <% end %> <% if @permit.errors[attribute].length >= 1 %> <!-- create an errors div to style error message and make input red --> <div class="field_with_errors"> <!-- Print out the error message (from validator) --> <% permit.errors[att...
Fix radio label issues, but screwed up the position of it
Fix radio label issues, but screwed up the position of it
HTML+ERB
isc
schlos/homebase,schlos/homebase,randy-r-masters/homebase,codeforamerica/homebase,randy-r-masters/homebase,randy-r-masters/homebase,codeforamerica/homebase,codeforamerica/homebase,schlos/homebase
c8b39a346a0c222e3dfdf74b5c4f23085a4aa064
app/views/days/about.html.erb
app/views/days/about.html.erb
<h2>About 40days</h2> <div id="about_page"> <p class="verse">These stones are to be a memorial to the people ... forever." (Joshua 4:7)</p> <p><a href="http://www.flickr.com/photos/stollerdos/143395735/" title="rock balancing by strollerdos, on Flickr"><img src="http://farm1.staticflickr.com/53/143395735_25085fc...
<h2>About 40days</h2> <div id="about_page"> <p class="verse">These stones are to be a memorial to the people ... forever." (Joshua 4:7)</p> <p><a href="http://www.flickr.com/photos/stollerdos/143395735/" title="rock balancing by strollerdos, on Flickr"><img src="http://farm1.staticflickr.com/53/143395735_25085fc...
Add sign up as contributor link on about page
Add sign up as contributor link on about page
HTML+ERB
mit
whitecl/devotion-cms,whitecl/devotion-cms,whitecl/devotion-cms
0d1dc9b286695a016cbe4b760b64ce40dcd56a55
app/views/rooms/chat.html.erb
app/views/rooms/chat.html.erb
<div class="col-md-6"> <div class="top-header"><%= @room.title %></div> <div class="content"> <div class="messages"> <h2>Messages:</h2> <% @chat.messages.each do |message| %> <div <%= 'align=right' if current_user.id == message.user_id %>> <div class="message-body <%= "current-user...
<div class="col-md-6"> <div class="top-header"><%= @room.title %></div> <div class="content"> <div class="messages"> <h2>Messages:</h2> <% @chat.messages.each do |message| %> <div <%= 'align=right' if current_user.id == message.user_id %>> <div class="message-body <%= "current-user...
Add anchor for chat message
Add anchor for chat message
HTML+ERB
mit
arseniy96/corporate_messenger,arseniy96/corporate_messenger,arseniy96/corporate_messenger
0727684cc702bf950ee64b25eb0d64a72c13feeb
app/views/users/show.html.erb
app/views/users/show.html.erb
<h1><%= @user.name %>'s Profile</h1> <h4>Current Savings: $<%= @user.savings.total_savings %></h4> <br> <h4>Planned Purchases: </h4> <% @user.purchases.each do |purchase| %> <p><%= purchase.title %> for <%= purchase.cost %></p> <br> <h4><%= link_to "Add savings", new_saving_path %></h4> <h4><%= link_to "Add a n...
<h1><%= @user.name %>'s Profile</h1> <h4>Current Savings: $<%= @user.savings.total_savings %></h4> <br> <h4>Planned Purchases: </h4> <% @user.purchases.each do |purchase| %> <p><%= purchase.title %> for <%= purchase.cost %></p> <br> <% end %> <br> <h4><%= link_to "Add savings", new_saving_path %></h4> <h4><%=...
Fix ruby error to profile view
Fix ruby error to profile view
HTML+ERB
mit
nyc-cicadas-2015/Can-I-Afford-This,nyc-cicadas-2015/Can-I-Afford-This,nyc-cicadas-2015/Can-I-Afford-This
f64e46fd772e3000c08732b4fbd654d3d5b762b1
app/views/users/show.html.erb
app/views/users/show.html.erb
<% scope = [:users, :show] %> <% content_for :header do %> <h1><%= "#{t_view(:heading, scope)} #{@user.name}" %></h1> <% end %> <% content_for :content do %> <dl class="dl-horizontal"> <dt><%= User.human_attribute_name :name %></dt> <dd><%= @user.name %></dd> <dt><%= User.human_attribute_name :email %...
<% scope = [:users, :show] %> <% content_for :header do %> <h1><%= "#{t_view(:heading, scope)} #{@user.name}" %></h1> <% end %> <% content_for :content do %> <dl class="dl-horizontal"> <dt><%= User.human_attribute_name :name %></dt> <dd><%= @user.name %></dd> <% if current_user.admin? %> <dt><%=...
Hide user email for non-admins
Hide user email for non-admins
HTML+ERB
mit
RST-J/aid_hive,RST-J/aid_hive,RST-J/aid_hive
09082fefd9c300b2345cbd4c8a2883a8a244718b
app/views/items/index.html.erb
app/views/items/index.html.erb
<p>This is where all of the available items will be visible. If you'd like to create a new item, <%= link_to "click here", new_item_path %>.</p> <% @items.each do |item| %> <p><%= link_to item.name, item_path(item) %></p> <img src="<%= item.image %>" height="100" width="100"> <!-- <%= link_to image_tag(item.im...
<% if current_user && current_user.admin %> <p>This is where all of the available items will be visible. If you'd like to create a new item, <%= link_to "click here", new_item_path %>.</p> <% end %> <% @items.each do |item| %> <p><%= link_to item.name, item_path(item) %></p> <img src="<%= item.image %>" height...
Update root_path so new_item_path link is only visible if you are admin
Update root_path so new_item_path link is only visible if you are admin
HTML+ERB
mit
benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop
8229846437bbef2a28e2a2b4dbfc7a7991edbfdc
app/views/posts/index.html.erb
app/views/posts/index.html.erb
<%= video_tag("/videos/bgclouds.mp4", controls: false, autoplay: true, :loop => true, :class => "bgvid") %> <%= image_tag("plane_side.png", :id => "plane") %> <div id="window-container"> <div class="window"> <img src="#"> </div> <div class="window"> <img src="#"> </div> <div class="window"> <img...
<%= video_tag("/videos/bgclouds.mp4", controls: false, autoplay: true, :loop => true, :class => "bgvid") %> <div id="plane-all"> <%= image_tag("plane_side.png", :id => "plane") %> <div id="window-container"> <div class="window"> <img src="https://lh3.googleusercontent.com/-S83QyaxoKq0/AAAAAAAAAAI/AAAAAA...
Add div container to post index
Add div container to post index
HTML+ERB
mit
jjparseghian/where_to,jjparseghian/where_to,jjparseghian/where_to
237884ae6a15ce3363291d4a4c6a7b38750fcfba
app/views/users/_form.html.erb
app/views/users/_form.html.erb
<%= form_for(@user) do |f| %> <% if @user.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@user.errors.count, "error") %> prohibited this user from being saved:</h2> <ul> <% @user.errors.full_messages.each do |message| %> <li><%= message %></li> <% end %> </ul>...
<%= form_for(@user) do |f| %> <% if @user.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@user.errors.count, "error") %> prohibited this user from being saved:</h2> <ul> <% @user.errors.full_messages.each do |message| %> <li><%= message %></li> <% end %> </ul>...
Replace API Key entry field with text
Replace API Key entry field with text
HTML+ERB
agpl-3.0
jcolag/ScanData,jcolag/ScanData,jcolag/ScanData
490a2456961bf28efa06638ae98480c1d3719a48
app/views/users/index.html.erb
app/views/users/index.html.erb
<p id="notice"><%= notice %></p> <h1>MasterControl Users</h1> <div class="table-responsive"> <table class="table table-hover table-striped table-condensed"> <thead> <tr> <th>Email</th> <th colspan="1"></th> </tr> </thead> <tbody> <% @users.each do |user| %> <tr...
<p id="notice"><%= notice %></p> <h1>MasterControl Users</h1> <div class="table-responsive"> <table class="table table-hover table-striped table-condensed"> <thead> <tr> <th>Email</th> <th>Kaizens</th> <th colspan="1"></th> </tr> </thead> <tbody> <% @users.each...
Add the number of commits to each User entry in the User index page
Add the number of commits to each User entry in the User index page
HTML+ERB
mit
mc-labs/kaizentry,mc-labs/kaizentry,mc-labs/kaizentry
abffb47cf6bb03fd96b1fee5d5e55b6a9bd28408
app/views/partials/_page_the_law_navigation.html.erb
app/views/partials/_page_the_law_navigation.html.erb
<div class="panel panel-default panel-page"> <ol class="page-navigation"> <li> <a href="<%= the_law_1_path() %>">¿A quién aplica?</a> </li> <li> <a href="<%= the_law_2_path() %>">Tipos de contratos: por el objeto</a> </li> <li> <a href="<%= the_law_3_path() %>">Tipos de contratos...
<div class="panel panel-default panel-page"> <ol class="page-navigation"> <li class="<%= 'active' if index == 1 %>"> <a href="<%= the_law_1_path() %>">¿A quién aplica?</a> </li> <li class="<%= 'active' if index == 2 %>"> <a href="<%= the_law_2_path() %>">Tipos de contratos: por el objeto</a> ...
Add active class to page navigation
Add active class to page navigation Closes #31
HTML+ERB
agpl-3.0
civio/quiencobralaobra,civio/quiencobralaobra,civio/quiencobralaobra
3624274181aaadc1a3f87cbbc75f30a38c7079b8
app/views/spree/admin/orders/_print_buttons.html.erb
app/views/spree/admin/orders/_print_buttons.html.erb
<% if @order and @order.completed_at? %> <% buttons = Spree::PrintInvoice::Config[:print_buttons] buttons = buttons.split(",").collect{|b| b.strip } %> <% buttons.each do |button| %> <li><%= button_link_to(Spree.t(button.to_s + "_print"), spree.admin_order_path(@order, :pdf , :template => button)) %></li>...
<% if @order and @order.completed_at? %> <% buttons = Spree::PrintInvoice::Config[:print_buttons] buttons = buttons.split(",").collect{|b| b.strip } %> <% buttons.each do |button| %> <li><%= link_to(Spree.t(button.to_s + "_print"), spree.admin_order_path(@order, :pdf , :template => button), :class => "but...
Fix styling of print invoice button
Fix styling of print invoice button
HTML+ERB
bsd-3-clause
fajrif/spree_print_invoice,nebulab/spree_print_invoice,heritageid/invoice,simo163/solidus_print_invoice,firmanm/spree_print_invoice,firmanm/spree_print_invoice,sunny2601/spree_print_invoice,MercaFly/spree_print_invoice,maximedelpit/spree_print_invoice,nebulab/spree_print_invoice,spree-contrib/spree_print_invoice,MercaF...
290cdc9cbc802f5d8a4fd118e430df056c321fd2
app/views/albums/new.html.erb
app/views/albums/new.html.erb
<h1>New album</h1> <% if @images.any? %> <p> The following images will be added to this new album. You can change the ordering of the images after the album has been created. </p> <%= render 'images/tiles', :images => @images %> <% end %> <%= render 'albums/form' %> <%= link_to 'Back', albums_path %>
<div class="l-box"> <h1>New album</h1> <% if @images.any? %> <p> The following images will be added to this new album. You can change the ordering of the images after the album has been created. </p> <%= render 'images/tiles', :images => @images %> <% end %> </div> <div class="l-box"> ...
Add padding, remove link to go back
Add padding, remove link to go back
HTML+ERB
mit
Margatroid/uploadstuffto.me,Margatroid/uploadstuffto.me
4e5f609254cda0e78a338bebb71e7fed0966bc37
app/views/steps/edit.html.erb
app/views/steps/edit.html.erb
<% links = [ { text: 'Step by step publisher', href: step_by_step_pages_path }, { text: @step_by_step_page.title, href: @step_by_step_page }, { text: 'Edit step' } ] %> <% content_for :breadcrumbs do %> <%= render "govuk_publishing_components/components/back_...
<% links = [ { text: 'Step by step publisher', href: step_by_step_pages_path }, { text: @step_by_step_page.title, href: @step_by_step_page }, { text: 'Edit step' } ] %> <% content_for :back_link do %> <%= render "govuk_publishing_components/components/back_li...
Use the back_link block for back link
Use the back_link block for back link
HTML+ERB
mit
alphagov/collections-publisher,alphagov/collections-publisher,alphagov/collections-publisher
89dc9aaf92052c67f3ec369edbf57bfd3a669ce2
app/views/tasks/edit.html.erb
app/views/tasks/edit.html.erb
<% @page_title = :edit_task.l @tabbed_navigation_items = project_tabbed_navigation(:tasks) extra_crumbs = [{:title => :tasks, :url => task_lists_path] if not @task_list.nil? extra_crumbs << {:title => @task_list.name, :url => task_list_path(:id => @task_list.id)} else extra_crumbs << {:title => @lo...
<% @page_title = :edit_task.l @tabbed_navigation_items = project_tabbed_navigation(:tasks) extra_crumbs = [{:title => :tasks, :url => task_lists_path}] if not @task_list.nil? extra_crumbs << {:title => @task_list.name, :url => task_list_path(:id => @task_list.id)} else extra_crumbs << {:title => @l...
Fix edit task without AJAX
Fix edit task without AJAX Signed-off-by: James Urquhart <d092eb11f6d4ecd368c05e395455102ecf3e697d@gmail.com>
HTML+ERB
agpl-3.0
rajeshrsmail/railscollab,UWC4C/Railscollab,kakra/railscollab,kakra/railscollab,rajeshrsmail/railscollab,UWC4C/Railscollab
9e0024d4d114dc03889f4a2edee52bef0408510b
app/views/users/edit.html.erb
app/views/users/edit.html.erb
This is where you will edit your user profile information. <%= render 'form', user: @user %>
<div class="form"> This is where you will edit your user profile information. <%= render 'form', user: @user %> </div>
Add div.form container around edit user form
Add div.form container around edit user form
HTML+ERB
mit
benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop
5eb18b26f57106fb9e4f4e53eda616052bfd7a1b
views/show.erb
views/show.erb
<html> <head> <title>You Moved</title> </head> <body> <div class="main"><%=text %></div> </body> </html>
<html> <head> <title>You Moved</title> <link href='https://fonts.googleapis.com/css?family=Montserrat:700' rel='stylesheet' type='text/css'> <style type="text/css"> body { background-color: #8e44ad; } .main { /* specified ...
Add styles to conform to Yo Guidelines and look more like YoText
Add styles to conform to Yo Guidelines and look more like YoText
HTML+ERB
mit
sinisterstuf/youmoved,sinisterstuf/youmoved
d9e1831b499f0ae2411262f0545fe3ba99751173
core/app/views/spree/admin/payments/_list.html.erb
core/app/views/spree/admin/payments/_list.html.erb
<table class="index"> <thead> <tr data-hook="payments_header"> <th><%= "#{t('spree.date')}/#{t('spree.time')}" %></th> <th><%= t(:amount, :scope => 'activerecord.attributes.spree/payment') %></th> <th><%= t(:payment_method) %></th> <th><%= t(:payment_state) %></th> <th class="actions...
<table class="index"> <thead> <tr data-hook="payments_header"> <th><%= "#{t('spree.date')}/#{t('spree.time')}" %></th> <th><%= t(:amount, :scope => 'activerecord.attributes.spree/payment') %></th> <th><%= t(:payment_method) %></th> <th><%= t(:payment_state) %></th> <th class="actions...
Align money amount in the center for payments/list
Align money amount in the center for payments/list
HTML+ERB
bsd-3-clause
ahmetabdi/spree,SadTreeFriends/spree,xuewenfei/solidus,reidblomquist/spree,APohio/spree,jordan-brough/solidus,degica/spree,woboinc/spree,ckk-scratch/solidus,fahidnasir/spree,mleglise/spree,gregoryrikson/spree-sample,karlitxo/spree,nooysters/spree,thogg4/spree,priyank-gupta/spree,adaddeo/spree,maybii/spree,ramkumar-kr/s...
5d44b24a76795ce5bb655ae18b0694c26bdbd349
templates/puppet.default.erb
templates/puppet.default.erb
# Defaults for puppet - sourced by /etc/init.d/puppet # Enable puppet agent service? # Setting this to "yes" allows the puppet agent service to run. # Setting this to "no" keeps the puppet agent service from running. START=<%- if @enable_puppet == true-%>YES<%-else-%>NO<%-end%> # Startup options DAEMON_OPTS="" <% if...
# Defaults for puppet - sourced by /etc/init.d/puppet # Enable puppet agent service? # Setting this to "yes" allows the puppet agent service to run. # Setting this to "no" keeps the puppet agent service from running. START=<%- if @enable_puppet == true-%>yes<%-else-%>no<%-end%> # Startup options DAEMON_OPTS="" <% if...
Fix in capital letters for puppet enabl
Fix in capital letters for puppet enabl
HTML+ERB
apache-2.0
gozerhp/puppet-puppet,gozerhp/puppet-puppet
3fb44c68be6434f861f378e04ecfef929e9982e2
app/views/static_pages/_computer_summary.html.erb
app/views/static_pages/_computer_summary.html.erb
<% img_root = "computers/old/#{computer["name"].parameterize}" %> <% img = Rails.application.assets.find_asset("#{img_root}.png") ? "#{img_root}.png" : "#{img_root}.jpg" %> <div id="<%= computer["name"].parameterize %>" class="container computer-summary"> <div class="col-sm-12"> <h3 id="<%= computer["name"].param...
<% img_root = "https://s3.us-east-2.amazonaws.com/pbogardcom-images/" %> <% img_path = "computers/old/#{computer["name"].parameterize}" %> <% uri = URI("#{img_root}#{img_path}.png") request = Net::HTTP.new(uri.host) response = request.request_head(uri.path) img = response.code.to_i == 200 ? "#{img_path}.png" : "#{img...
Update computer summary partial to use AWS S3 images
Update computer summary partial to use AWS S3 images
HTML+ERB
mit
bogardpd/portfolio,bogardpd/portfolio,bogardpd/portfolio
59557c049bf3f1b3d1ba6cd097ce6065829cbead
app/views/module_proposals/confirmation.html.erb
app/views/module_proposals/confirmation.html.erb
<div id="content-wrapper"> <div id="single-column-wrapper"> <div id="content"> <h1>Module Proposal Received</h1> <p> <%= @module_proposal.first_name %>, </p> <p> Thank you for your module proposal. Our team will review the proposal and will reach back out to you if we want to pursue ...
<div id="content-wrapper"> <div id="single-column-wrapper"> <div id="content"> <h1>Module Proposal Received</h1> <p> <%= @module_proposal.first_name %>, </p> <p> Thank you for your module proposal. Our team will review the proposal and will reach back out to you if we want to pursue ...
Update support email in ModuleProposal::Confirmation view
Update support email in ModuleProposal::Confirmation view Changes the email in the confirmation view from collegestar@ecu.edu to support@collegestar.org.
HTML+ERB
mit
CollegeSTAR/collegestar_org,CollegeSTAR/collegestar_org,CollegeSTAR/collegestar_org
a968dfcd697a663e4683effaa7b1259e5ea32951
app/views/alchemy/admin/resources/_filter_bar.html.erb
app/views/alchemy/admin/resources/_filter_bar.html.erb
<div id="filter_bar"> <h3><%= Alchemy.t('Filter') %></h3> <%= select_tag( 'resource_filter', options_for_select( resource_filter_select, search_filter_params[:filter] ), include_blank: Alchemy.t(:all, scope: ['resources', resource_name, 'filters']), data: { remote: !!request.xhr? }, cl...
<div id="filter_bar"> <label> <h3><%= Alchemy.t('Filter') %></h3> <%= select_tag( 'resource_filter', options_for_select( resource_filter_select, search_filter_params[:filter] ), include_blank: Alchemy.t(:all, scope: ['resources', resource_name, 'filters']), data: { remote...
Add a label to resources filter bar
Add a label to resources filter bar
HTML+ERB
bsd-3-clause
AlchemyCMS/alchemy_cms,robinboening/alchemy_cms,robinboening/alchemy_cms,AlchemyCMS/alchemy_cms,robinboening/alchemy_cms,AlchemyCMS/alchemy_cms
fd6c0ab291b63d4de1653c6796dba2219b5715f8
lib/domgen/ee/templates/abstract_app_server.java.erb
lib/domgen/ee/templates/abstract_app_server.java.erb
/* DO NOT EDIT: File is auto-generated */ package <%= to_package(repository.ee.qualified_abstract_app_server_name) %>; @javax.annotation.Generated( "Domgen" ) public abstract class <%= repository.ee.abstract_app_server_name %> extends org.realityforge.guiceyloops.server.glassfish.AbstractAppServer { private static...
/* DO NOT EDIT: File is auto-generated */ package <%= to_package(repository.ee.qualified_abstract_app_server_name) %>; @javax.annotation.Generated( "Domgen" ) public abstract class <%= repository.ee.abstract_app_server_name %> extends org.realityforge.guiceyloops.server.glassfish.AbstractAppServer { private final ...
Add hook to allow customization of provisioner
Add hook to allow customization of provisioner
HTML+ERB
apache-2.0
icaughley/domgen,realityforge/domgen,icaughley/domgen,realityforge/domgen
ae17dc45dce5a61e0dea143c055a5654efd6b1cf
nginx/conf/_spawner.conf.erb
nginx/conf/_spawner.conf.erb
# vim:ft=nginx error_page 410 = @spawner; location @spawner { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_pass http://unix:<%= yeb_socket_path %>; }
# vim:ft=nginx error_page 410 = @spawner; location @spawner { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_pass http://unix:<%= yeb_socket_path %>; add_header X-Yeb 1; }
Add custom header to all responses from spawner
Add custom header to all responses from spawner
HTML+ERB
mit
sickill/yeb,sickill/yeb
e3b777cdfe90f4726f4ab15d3b0b5daa56cebbcf
app/views/frontend/flexible_content/_rows.html.erb
app/views/frontend/flexible_content/_rows.html.erb
<% cache [model, :flexible_content, I18n.locale] do %> <div class="flexible-content"> <% model.content_rows.where(locale: I18n.locale).decorate.each do |row| %> <div class="container<%= '-fluid' if row.full_width? %>"> <% styles = row.styles.map { |k,v| "#{k}: #{v};" }.join %> <div class="ro...
Add general rows for flexible content.
Add general rows for flexible content.
HTML+ERB
mit
udongo/udongo,udongo/udongo,udongo/udongo
24a9d4004d13628f1b81a5073bb178961c1a84d7
app/views/active_admin/devise/sessions/new.html.erb
app/views/active_admin/devise/sessions/new.html.erb
<div id="login"> <h2><%= render_or_call_method_or_proc_on(self, active_admin_application.site_title) %> <%= title t('active_admin.devise.login.title') %></h2> <% email_placeholder = 'Default: admin@example.com' if AdminUser.find_by_email('admin@example.com') %> <% password_placeholder = 'Default: password' if Ad...
Make the default username and password visible on the login screen when the dummy admin@example.com account is present
Make the default username and password visible on the login screen when the dummy admin@example.com account is present
HTML+ERB
mit
JilaFramework/jila-backend,JilaFramework/jila-backend,JilaFramework/jila-backend,JilaFramework/jila-backend
b21273ed687c089cbbcc22fe47dfefcf3711bd26
app/views/documents/_attachment_full_width.html.erb
app/views/documents/_attachment_full_width.html.erb
<% attachments = AttachmentsPresenter.new(document) title = t('document.headings.attachments', count: attachments.length) unless local_assigns.include?(:title) published_on = '' unless local_assigns.include?(:published_on) external ||= false %> <section class="heading-block attachment-full-width"> <h1><%= tit...
<% attachments = AttachmentsPresenter.new(document) title = t('document.headings.attachments', count: attachments.length) unless local_assigns.include?(:title) published_on = '' unless local_assigns.include?(:published_on) external = false unless defined?(:external) %> <section class="heading-block attachment-f...
Update default assignment to match house style
Update default assignment to match house style
HTML+ERB
mit
ggoral/whitehall,hotvulcan/whitehall,askl56/whitehall,robinwhittleton/whitehall,alphagov/whitehall,askl56/whitehall,YOTOV-LIMITED/whitehall,YOTOV-LIMITED/whitehall,hotvulcan/whitehall,ggoral/whitehall,alphagov/whitehall,YOTOV-LIMITED/whitehall,alphagov/whitehall,askl56/whitehall,robinwhittleton/whitehall,ggoral/whiteha...
893d24cc16c49b504638b6f38b57429073bd645f
app/views/organizations/requests_to_join.html.erb
app/views/organizations/requests_to_join.html.erb
<%= provide(:title, "Requests to Join #{@organization.name}") %> <div class="page withspace contribute"> <h1><%= @organization.name %> Organization Management</h1> <%= render "ccla_signatures/organization_tabs", ccla_signature: @organization.latest_ccla_signature %> <div class="tabs-content"> <div class="c...
<%= provide(:title, "Requests to Join #{@organization.name}") %> <div class="page withspace contribute"> <h1><%= @organization.name %> Organization Management</h1> <%= render "ccla_signatures/organization_tabs", ccla_signature: @organization.latest_ccla_signature %> <div class="tabs-content"> <div class="c...
Allow contributor requests to be accepted/declined from web UI
Allow contributor requests to be accepted/declined from web UI CCLA admins can accept or decline contributor requests from the organization admin interface.
HTML+ERB
apache-2.0
jzohrab/supermarket,robbkidd/supermarket,leftathome/supermarket,juliandunn/supermarket,juliandunn/supermarket,chef/supermarket,jzohrab/supermarket,leftathome/supermarket,nellshamrell/supermarket,rafaelmagu/supermarket,chef/supermarket,tas50/supermarket,dpnl87/supermarket,nellshamrell/supermarket,rafaelmagu/supermarket,...
8d63ace7ab69ca7575d00c5aa9bf2644e2f7797b
app/views/taxonomy/health_warnings/index.html.erb
app/views/taxonomy/health_warnings/index.html.erb
<%= display_header title: "Taxonomy Health Warnings", breadcrumbs: ["Taxonomy Health Warnings"] %> <div class="tagged-content"> <table class="table queries-list table-bordered table-striped" data-module="filterable-table"> <thead> <tr class="table-header"> <th style='width: ...
<%= display_header title: "Taxonomy Health Warnings", breadcrumbs: ["Taxonomy Health Warnings"] %> <div class="tagged-content"> <table class="table queries-list table-bordered table-striped" data-module="filterable-table"> <thead> <tr class="table-header"> <th style='width: ...
Sort the health warnings in the table
Sort the health warnings in the table In descending order, as with the current metrics, this means the more extreme issues come out towards the top.
HTML+ERB
mit
alphagov/content-tagger,alphagov/content-tagger,alphagov/content-tagger
ffc15b429c55462b055b28b3ce72bc7cdde7044c
app/views/manuals/index.html.erb
app/views/manuals/index.html.erb
<% content_for :title, @manual.full_title %> <%= render partial: "header" %> <div class='manual-body' id="content"> <p class='summary'><%= @manual.summary %></p> <% unless @manual.body.blank? %> <div class="govspeak"> <%= @manual.body %> </div> <% end %> <% @manual.section_groups.each do | group | %> ...
<% content_for :title, @manual.full_title %> <article aria-labelledby="manual-title" id="content"> <%= render partial: "header" %> <div class='manual-body'> <p class='summary'><%= @manual.summary %></p> <% unless @manual.body.blank? %> <div class="govspeak"> <%= @manual.body %> </div> <% end %> <% ...
Add article tag and labelled by
Add article tag and labelled by The index pages are the only pages of the manual whose h1 is the h1 in the header. Add the article tag and use labelledby to point to the h1 of the page in the header. This markup is different to the show/updates pages were the header is less important than on the index page
HTML+ERB
mit
alphagov/manuals-frontend,alphagov/manuals-frontend,alphagov/manuals-frontend,alphagov/manuals-frontend
7889befaf26022966d8554fbc1ee1db761eb2cea
app/views/welcome/index.html.erb
app/views/welcome/index.html.erb
<h2>“Accept what life offers you and try to drink from every cup. All wines should be tasted; some should only be sipped, but with others, drink the whole bottle.”</h2> <h2>― Paulo Coelho, Brida</h2>
<h2>“Accept what life offers you and try to drink from every cup. All wines should be tasted; some should only be sipped, but with others, drink the whole bottle.”</h2> <h2>― Paulo Coelho, Brida</h2> <% unless session[:user_id] %> <%= link_to "Log In/Sign Up", login_path %> <% end %>
Add login link to homepage
Add login link to homepage
HTML+ERB
mit
mud-turtles-2014/palate,mud-turtles-2014/palate
d0b4def3248edbdb779db80a53b393da48abcc81
templates/backend.php.inside.conf.erb
templates/backend.php.inside.conf.erb
location / { try_files <%= try_files%>; } location ~ \.php$ { fastcgi_split_path_info ^(.+\.php)(/.+)$; include fastcgi_params; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_index index.php; fastcgi_pass phpfpm<%= port %>;...
location / { try_files <%= try_files%>; } location ~ \.php$ { try_files $uri =404; fastcgi_split_path_info ^(.+\.php)(/.+)$; include fastcgi_params; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_index index.php; fastcgi_p...
Fix "uncontrolled requests to PHP" vulnerability
Fix "uncontrolled requests to PHP" vulnerability * @see http://wiki.nginx.org/Pitfalls#Passing_Uncontrolled_Requests_to_PHP
HTML+ERB
mit
garex/puppet-module-nginx
0e9de69af12fc309a2d30ea8147949de25fb9b85
app/views/archetype/resource/index.html.erb
app/views/archetype/resource/index.html.erb
<%= render 'header' %> <!-- Main content --> <section class="content"> <div class="row"> <div class='col-md-2'> <%= render 'collection_controls' %> <%= render 'collection_filters' %> </div> <div class="col-md-10"> <div class="box box-primary"> <div class="box-header"> <...
<%= render 'header' %> <!-- Main content --> <section class="content"> <div class="row"> <div class='col-md-2'> <%= render 'collection_controls' %> <%= render 'collection_filters' unless resourceful.collection.empty? %> </div> <div class="col-md-10"> <div class="box box-primary"> ...
Hide filters if no results
Hide filters if no results
HTML+ERB
mit
lateralstudios/archetype,lateralstudios/archetype,lateralstudios/archetype
925a7766f857c285d00f188ad9de019b9cca530c
app/views/layouts/backend/lightbox.html.erb
app/views/layouts/backend/lightbox.html.erb
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>Udongo</title> <%= stylesheet_link_tag 'backend/application', media: 'all' %> <%= javascript_include_tag 'modernizr' %> <%= javascript_include_tag 'backend/application' %> <%= csrf_m...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>Udongo</title> <%= stylesheet_link_tag 'backend/application', media: 'all' %> <%= javascript_include_tag 'modernizr' %> <%= javascript_include_tag 'backend/application' %> <%= csrf_m...
Fix layout issue with the lightbox template.
Fix layout issue with the lightbox template.
HTML+ERB
mit
udongo/udongo,udongo/udongo,udongo/udongo
a185f97a7c1c1f20c1f412551095876495afaffd
TodUni/app/views/layouts/_project_members.html.erb
TodUni/app/views/layouts/_project_members.html.erb
<h3>Miembros</h3> <% #FIX: hidden id field in members %> <%= form_for(@project, url:add_members_path(@project)) do |f| %> <div class="fields"> <%= f.text_field :email %> </div> <div class="actions"> <%= f.submit "Agregar" %> </div> <% end %> <div class="members"> <ul> <li class="owner"><%= link_to @owner...
<h3>Miembros</h3> <% #FIX: hidden id field in members %> <%= form_for(@project, url:add_members_path(@project)) do |f| %> <div class="fields"> <%= f.text_field :email %> </div> <div class="actions"> <%= f.submit "Agregar" %> </div> <% end %> <div class="members"> <ul> <li class="owner"><%= link_to @owner...
Fix the profile path for the owner
Fix the profile path for the owner
HTML+ERB
apache-2.0
lalo2302/TodUni,lalo2302/TodUni,lalo2302/TodUni
f88ac68d5dbae88af8aac9353af9ddbca49a226a
app/views/holding_requests/_new_available.html.erb
app/views/holding_requests/_new_available.html.erb
<%- # The 'available' request form offers the following options: # - If the holding is from an NYU sublibrary, # - Entire item request # - Scanned portion # - Otherwise set the appropriate request text for the sublibrary # - only offer the entire item option -%> <%= request_form(:available) do %> <% i...
<%- # The 'available' request form offers the following options: # - If the holding is from an NYU sublibrary, # - Entire item request # - Scanned portion # - Otherwise set the appropriate request text for the sublibrary # - only offer the entire item option -%> <%= request_form(:available) do %> <% i...
Remove NISAW sublibrary from scannable request because that is handled at length in another PR
Remove NISAW sublibrary from scannable request because that is handled at length in another PR
HTML+ERB
mit
NYULibraries/getit,NYULibraries/getit,NYULibraries/getit,NYULibraries/getit
16117afed4ebc4e9f33c2f2ff0826aadcfdf8465
app/views/layouts/doorkeeper/application.html.erb
app/views/layouts/doorkeeper/application.html.erb
<!DOCTYPE html> <html> <head> <title>Doorkeeper</title> <%= stylesheet_link_tag "doorkeeper/application" %> <%= javascript_include_tag "doorkeeper/application" %> <%= csrf_meta_tags %> </head> <body> <%= yield %> </body> </html>
<!DOCTYPE html> <html> <head> <title>Doorkeeper</title> <%= stylesheet_link_tag "http://twitter.github.com/bootstrap/1.4.0/bootstrap.min.css" %> <%= stylesheet_link_tag "doorkeeper/application" %> <%= javascript_include_tag "doorkeeper/application" %> <%= csrf_meta_tags %> </head> <body> <section id="...
Add twitter bootstrap stylesheet to layout
Add twitter bootstrap stylesheet to layout
HTML+ERB
mit
6fusion/doorkeeper,EasterAndJay/doorkeeper,daande/doorkeeper,lalithr95/doorkeeper,outstand/doorkeeper,outstand/doorkeeper,dollarshaveclub/doorkeeper,telekomatrix/doorkeeper,mavenlink/doorkeeper,pmdeazeta/doorkeeper,telekomatrix/doorkeeper,kolorahl/doorkeeper,ValMilkevich/doorkeeper,doorkeeper-gem/doorkeeper,AICIDNN/doo...
9428e97089c67aeb6704181c41403858974a7829
pages/sitemap.erb
pages/sitemap.erb
--- extension: xml --- <?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url> <loc>http://usesthis.com/interviews/</loc> </url> <url> <loc>http://usesthis.com/about/</loc> </url> <url> <loc>http://usesthis.com/community/</loc> </url> <url> ...
--- filename: sitemap extension: xml --- <?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url> <loc>https://usesthis.com/about/</loc> </url> <url> <loc>https://usesthis.com/categories/</loc> </url> <% @site.categories.keys.sort.each do |slug| %> <...
Remove old URLs and add all the categories
Remove old URLs and add all the categories
HTML+ERB
mit
ivuk/usesthis,waferbaby/usesthis,waferbaby/usesthis,ivuk/usesthis
65e65622cf72405c2d778ddc2a5d06764b891254
app/views/world_wide_taxons/_tagged_content_list.html.erb
app/views/world_wide_taxons/_tagged_content_list.html.erb
<% if presented_taxon.tagged_content.any? %> <div class="grid-row"> <div class="column-two-thirds"> <% if presented_taxon.child_taxons.present? %> <div class="topic-header"> <h2><%= presented_taxon.title %> guidance</h2> <p><%= presented_taxon.description %></p> </div> ...
<% if presented_taxon.tagged_content.any? %> <div class="grid-row"> <div class="column-two-thirds"> <% heading_level = heading_level ? heading_level : false %> <%= render 'components/taxon-list', { heading_level: heading_level, items: taxon_list_params(presented_taxon, data_options...
Remove unnecessary code from world taxon view
Remove unnecessary code from world taxon view This was copied over when we split worldwide taxons from taxons. We don't need this logic any more, as this partial is only called by the leaf view, not leaf and grid (as it was for taxons).
HTML+ERB
mit
alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections
4bac5e81276e16c5803467c8b10e15e6e9e90f72
app/views/calendar_events/show.html.erb
app/views/calendar_events/show.html.erb
<% content_for :right_side do %> <% return_to_url = return_to_calendar(:event => @event) %> <a class="base_calendar_url" href="<%= calendar_url_for() %>" style="display: none;">&nbsp;</a> <div id="sidebar_content" class="rs-margin-all"> <ul class="page-action-list"> <li><a class="return_url calendar_url...
<% content_for :right_side do %> <% return_to_url = return_to_calendar(:context => @context, :event => @event) %> <a class="base_calendar_url" href="<%= calendar_url_for() %>" style="display: none;">&nbsp;</a> <div id="sidebar_content" class="rs-margin-all"> <ul class="page-action-list"> <li><a class="r...
Make "Edit Calendar Event" link go to /edit path.
Make "Edit Calendar Event" link go to /edit path. Fixes #CNVS-3222 Testing Notes: =========== * The "show" page version of a Calendar Event (popup title to read-only view), for users that can edit the event, the link on the right "Edit Calendar Event" was handled by a javascript handler to change to edit ...
HTML+ERB
agpl-3.0
skmezanul/canvas-lms,usmschuck/canvas,djbender/canvas-lms,instructure/canvas-lms,rup/Tarrax,utkarshx/canvas-lms,sli7246/canvas_branch,arrivu/arrivu-lms,gbleydon/canvas-lms,djbender/canvas-lms,greyhwndz/canvas-lms,SwinburneOnline/canvas-lms,sfu/canvas-lms,sfu/canvas-lms,venturehive/canvas-lms,efrj/canvas-lms,arrivu/hood...
b0b6b1aca32f1e56f464db3b66a545644303b56f
cookbooks/unicorn/templates/default/unicorn.rb.erb
cookbooks/unicorn/templates/default/unicorn.rb.erb
WD = <%= @app_path %> # Use at least one worker per core worker_processes <%= node[:unicorn][:worker_processes] %> # Help ensure your application will always spawn in the symlinked "current" directory that Capistrano sets up working_directory WD # Listen on a Unix domain socket, use the default backlog size listen "...
WD = "<%= @app_path %>" # Use at least one worker per core worker_processes <%= node[:unicorn][:worker_processes] %> # Help ensure your application will always spawn in the symlinked "current" directory that Capistrano sets up working_directory WD # Listen on a Unix domain socket, use the default backlog size listen...
Put quotes around the app path
Put quotes around the app path
HTML+ERB
apache-2.0
rgeyer/cookbooks_linux
3f1b5bd6e82e3d9c70a7b6f30c05aa07a5f14ead
site/source/partials/_row.erb
site/source/partials/_row.erb
<%- raw_git_url = "https://rawgit.com/rackerlabs/wadl2swagger/gh-pages/swagger/" unless swagger_json.nil? full_yaml_url = settings.site_url + url_for(swagger_yaml) full_json_url = settings.site_url + url_for(swagger_json) edit_url = "http://editor.swagger.io/#/edit?import=#{full_yaml_url}" end unles...
<%- raw_git_url = "https://rawgit.com/rackerlabs/wadl2swagger/gh-pages/swagger/" unless swagger_json.nil? full_yaml_url = settings.site_url + url_for(swagger_yaml) full_json_url = settings.site_url + url_for(swagger_json) edit_url = "http://editor.swagger.io/#/edit?import=#{full_yaml_url}" end unles...
Fix URLs (subdirectory on github.io)
Fix URLs (subdirectory on github.io)
HTML+ERB
apache-2.0
annegentle/wadl2swagger,annegentle/wadl2swagger,annegentle/wadl2swagger,rackerlabs/wadl2swagger,annegentle/wadl2swagger,rackerlabs/wadl2swagger,rackerlabs/wadl2swagger,annegentle/wadl2swagger,rackerlabs/wadl2swagger
37b0235d22648a2646f9b5f623d5264469b09113
app/views/books/edit.html.erb
app/views/books/edit.html.erb
<div class="custform"> <h1>Edit <%= @book.title %></h1> <div class="form-input"> <%= form_for @book, :url => book_path(@book.id) do |f| %> <%= render "book_errors" %> <div class="field"> <%= f.label "Title" %> <%= f.text_field :title, class: "form-control", autofocus: true %> <...
Add edit page for book
Add edit page for book
HTML+ERB
mit
evanscloud/monocle,evanscloud/monocle,evanscloud/monocle
c5737c4eb43c6ffc95c2a397624224dded1572b5
app/views/user/edit-movie.erb
app/views/user/edit-movie.erb
<div id="edit-movie"> <form action='/user/<%= @user.id %>/<%= @movie.name %>' method="POST"> <input type="hidden" name="_method" value="PUT"> <input type="text" name="movie[name]" value="<%= @movie.name %>"><br> <input type="text" name="movie[description]" value="<%= @movie.description %>"><br> <inpu...
<div id="edit-movie"> <form action='/user/<%= @user.id %>/<%= @movie.name %>' method="POST"> <input type="hidden" name="_method" value="PUT"> <input type="text" name="movie[name]" value="<%= @movie.name %>"><br> <p>ADD DROP DOWN FOR GENRE<p> <input type="text" name="movie[description]" value="<%= @m...
Add reminder to do a drop down for selecting a movie's genre
Add reminder to do a drop down for selecting a movie's genre
HTML+ERB
mit
SputterPuttRedux/phase_3_audition,SputterPuttRedux/phase_3_audition
1bbc908442e48a5f76e85901d314d207326e4b70
app/views/users/show.html.erb
app/views/users/show.html.erb
<h1><p><%= @user.first_name %>'s Profile</p></h1> <img class="image" width="100" height="100" src="<%= @user.picture %>" alt="<%= @user.first_name %>"> <h3><p><%= @user.first_name %>'s Good Nghbor Points: <%= @user.vote_count %></p></h3> <h3><p><%= @user.first_name %>'s Recent Activity:</p></h3> <div id='river'> <u...
<h1><p><%= @user.first_name %>'s Profile</p></h1> <img class="profpic" width="200" height="200" src="<%= @user.picture %>" alt="<%= @user.first_name %>"> <h3><p><%= @user.first_name %>'s Good Nghbor Points: <%= @user.vote_count %></p></h3> <h3><p><%= @user.first_name %>'s Recent Activity:</p></h3> <div id='river'> ...
Change size of profile pic
Change size of profile pic
HTML+ERB
mit
nyc-mud-turtles-2015/nghborly,kimchanyoung/nghborly,kimchanyoung/nghborly,nyc-mud-turtles-2015/nghborly,kimchanyoung/nghborly,nyc-mud-turtles-2015/nghborly
011ccc24f5c03f5b09bc82011364b04b3bbd7fc1
app/views/users/show.html.erb
app/views/users/show.html.erb
<h2> <%= @user.first_name %>'s Dashboard</h2> <li><%=link_to 'Edit account', edit_user_registration_path %></li> <li><%=link_to 'Sign out', destroy_user_session_path, :method => :delete %></li>
<h2> <%= @user.first_name %>'s Dashboard</h2> <li><%=link_to 'Create a Document', new_user_document %></li> <li><%=link_to 'Edit account', edit_user_registration_path %></li> <li><%=link_to 'Sign out', destroy_user_session_path, :method => :delete %></li>
Add link for document creation
Add link for document creation
HTML+ERB
mit
lea3182/Doc_Generator,lea3182/Doc_Generator,lea3182/Doc_Generator
911c933182ab91336d59c79221b72fc53bcff13a
app/views/users/show.html.erb
app/views/users/show.html.erb
<p id="notice"><%= notice %></p> <%= image_tag @user.image_url %> <p><br> <strong>Name:</strong> <%= @user.name %> </p> <p> <strong>Email:</strong> <%= @user.email %> </p><br> <%= link_to 'Edit', edit_user_path(@user) %> | <%= link_to 'Back', root_path %> <br>
<p id="notice"><%= notice %></p> <%= image_tag @user.image_url, class: "img-circle", width: "200", height: "200" %><br> <br><p> <strong>Name:</strong> <%= @user.name %> </p> <p> <strong>Email:</strong> <%= @user.email %> </p><br> <%= link_to 'Edit', edit_user_path(@user) %> | <%= link_to 'Back', root_path %> <b...
Edit user profile page a bit
Edit user profile page a bit
HTML+ERB
mit
DanFerrer/FlatironExchange,DanFerrer/FlatironExchange,DanFerrer/FlatironExchange
7a9f295dc0588a56ef56e726dac721cc514a1b6f
app/views/users/show.html.erb
app/views/users/show.html.erb
<h1>My Profile</h1> <h3><%= current_user.first_name %> <%= current_user.last_name %></h3> <p>Email: <%= current_user.email %></p> <p>Postal Code: <%= current_user.postal_code %></p> <%= link_to("Edit Profile", edit_user_path) %> <%= link_to("My Votes", user_user_votes_path(@user)) %>
<h1>My Profile</h1> <h3><%= current_user.first_name %> <%= current_user.last_name %></h3> <p>Email: <%= current_user.email %></p> <p>Postal Code: <%= current_user.postal_code %></p> <%= link_to("Edit Profile", edit_user_path(@user)) %> <%= link_to("My Votes", myvotes_path(@user)) %>
Fix links to edit profile and my votes on user profile page
Fix links to edit profile and my votes on user profile page
HTML+ERB
mit
CivicHaxx/ok_councillr,CivicHaxx/ok_councillr,CivicHaxx/ok_councillr
45a8e7912d2556298c16fb32027dd0b286adac52
lib/domgen/imit/templates/server_request_manager.java.erb
lib/domgen/imit/templates/server_request_manager.java.erb
/* DO NOT EDIT: File is auto-generated */ package <%= to_package(repository.imit.qualified_server_request_manager_name) %>; @javax.annotation.Generated( "Domgen" ) @javax.ejb.Singleton( name = "<%= repository.imit.server_request_manager_name %>" ) @javax.ejb.TransactionAttribute( javax.ejb.TransactionAttributeType.REQ...
/* DO NOT EDIT: File is auto-generated */ package <%= to_package(repository.imit.qualified_server_request_manager_name) %>; @javax.annotation.Generated( "Domgen" ) <% if repository.ee.use_cdi? -%> @javax.enterprise.context.ApplicationScoped <% else -%> @javax.ejb.Singleton( name = "<%= repository.imit.server_request_m...
Support generation as a CDI bean
Support generation as a CDI bean
HTML+ERB
apache-2.0
icaughley/domgen,realityforge/domgen,realityforge/domgen,icaughley/domgen
92f58ce188b2b7c9e978fee8ac9a2bc540c8eda5
cookbooks/tile/templates/default/logrotate.apache.erb
cookbooks/tile/templates/default/logrotate.apache.erb
# DO NOT EDIT - This file is being maintained by Chef /var/log/apache2/*.log { daily size 1G missingok rotate 28 compress delaycompress notifempty create 640 root adm sharedscripts postrotate /bin/systemctl reload apache2 endscript }
# DO NOT EDIT - This file is being maintained by Chef /var/log/apache2/*.log { daily size 1G missingok rotate 14 compress delaycompress notifempty create 640 root adm sharedscripts postrotate /bin/systemctl reload apache2 endscript }
Reduce log retention on render servers
Reduce log retention on render servers
HTML+ERB
apache-2.0
openstreetmap/chef,openstreetmap/chef,openstreetmap/chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetma...
4dd5d560e93669814b7d618cde6296ac344e3e37
lib/domgen/imit/templates/client/model_module.xml.erb
lib/domgen/imit/templates/client/model_module.xml.erb
<?xml version="1.0" encoding="UTF-8"?> <module> <inherits name='org.realityforge.gwt.datatypes.Datatypes'/> <inherits name="com.google.gwt.json.JSON"/> <inherits name="org.realityforge.replicant.Replicant"/> <% packages = [ repository.gwt.client_data_type_package, repository.gwt.client_event_package, ...
<?xml version="1.0" encoding="UTF-8"?> <module> <inherits name='org.realityforge.gwt.datatypes.Datatypes'/> <inherits name="com.google.gwt.json.JSON"/> <inherits name="org.realityforge.replicant.Replicant"/> <% if repository.keycloak? -%> <inherits name="org.realityforge.gwt.keycloak.Keycloak"/> <% end -%> <%...
Make sure keycloak dependency is declared when facet enabled
Make sure keycloak dependency is declared when facet enabled
HTML+ERB
apache-2.0
icaughley/domgen,realityforge/domgen,realityforge/domgen,icaughley/domgen
cb62c8a4bb4ea656b5e48d2d5a0f8c6894d42c11
cookbooks/planet/templates/default/replication.cron.erb
cookbooks/planet/templates/default/replication.cron.erb
# DO NOT EDIT - This file is being maintained by Chef MAILTO=brett@bretth.com TZ=UTC * * * * * planet /usr/local/bin/osmosis -q --replicate-apidb authFile=/etc/replication/auth.conf allowIncorrectSchemaVersion=true --write-replication workingDirectory=/store/planet/replication/minute 2 * * * * planet /usr/local/bin/o...
# DO NOT EDIT - This file is being maintained by Chef MAILTO=brett@bretth.com TZ=UTC * * * * * planet /usr/local/bin/osmosis -q --replicate-apidb authFile=/etc/replication/auth.conf validateSchemaVersion=false --write-replication workingDirectory=/store/planet/replication/minute 2 * * * * planet /usr/local/bin/osmosi...
Stop the replication task moaning about schema mismatches
Stop the replication task moaning about schema mismatches
HTML+ERB
apache-2.0
tomhughes/openstreetmap-chef,gravitystorm/chef,openstreetmap/chef,Firefishy/chef,Firefishy/chef,gravitystorm/chef,gravitystorm/chef,Firefishy/chef,openstreetmap/chef,openstreetmap/chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,Firefishy/chef,zerebubuth/o...
9321501b91ba4aa556e050da04cfdf88cb623746
app/views/deposit-foreign-marriage/index.html.erb
app/views/deposit-foreign-marriage/index.html.erb
<%= render partial: "common/fco_dashboard", locals: { transaction_title: 'Deposit foreign marriage or civil partnership certificates', explanatory_copy: <<-HERE Service to pay the Foreign & Commonwealth Office (FCO) to deposit a foreign marriage or civil partnership certificate at the General Registry O...
<%= render partial: "common/fco_dashboard", locals: { transaction_title: 'Deposit foreign marriage or civil partnership certificates', explanatory_copy: <<-HERE Figures for applications processed on GOV.UK in the UK for the service to pay the Foreign & Commonwealth Office (FCO) to deposit a foreign marriage o...
Update deposit foreign marriage description
Update deposit foreign marriage description
HTML+ERB
mit
gds-attic/limelight,gds-attic/limelight,gds-attic/limelight
6f6abe3fca0ba80f9d19bb694e76936bb803eb67
app/views/guides/show/_guide_controllers.html.erb
app/views/guides/show/_guide_controllers.html.erb
<div class="guide-controls"> <% if @guide.owned_by?(current_user) %> <%= link_to(icon('edit') + " Edit Guide", {:action => 'edit'}, :class=>'button tiny secondary edit-link') %> <%= link_to(icon('trash') + t('.delete_guide'), guide_path(@guide), :method => 'delete', :class=>'button tiny secondary edit-link') %> <% ...
Add the file that was missing
Add the file that was missing
HTML+ERB
mit
RickCarlino/OpenFarm,CloCkWeRX/OpenFarm,roryaronson/OpenFarm,simonv3/OpenFarm,RickCarlino/OpenFarm,slacker87/OpenFarm,slacker87/OpenFarm,roryaronson/OpenFarm,RickCarlino/OpenFarm,tomazin/OpenFarm,tomazin/OpenFarm,slacker87/OpenFarm,openfarmcc/OpenFarm,tomazin/OpenFarm,CloCkWeRX/OpenFarm,CloCkWeRX/OpenFarm,simonv3/OpenF...
62c47041c465794d8835a50265a05cc5dec5aad6
app/views/newsletter/subscriptions/_form.html.erb
app/views/newsletter/subscriptions/_form.html.erb
<%= form_tag(subscription_path, class: 'newsletter', remote: true) do %> <%= hidden_field_tag :authenticity_token, form_authenticity_token -%> <h3 class="newsletter__heading"><%= t('newsletter.heading') %></h3> <ul class="list-benefits list-benefits--sm"> <% t('newsletter.benefits').each do |benefit| %> ...
<%= form_tag(subscription_path, class: 'newsletter', remote: true) do %> <%= hidden_field_tag :authenticity_token, form_authenticity_token -%> <h3 class="newsletter__heading"><%= t('newsletter.heading') %></h3> <ul class="list-benefits list-benefits--s"> <% t('newsletter.benefits').each do |benefit| %> ...
Change list-benefits modifier class name
Change list-benefits modifier class name
HTML+ERB
mit
moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend
8c5f35e0ebd4721ac52e463466875d7bccb2bc1e
modules/openconnect/templates/openconnect.conf.erb
modules/openconnect/templates/openconnect.conf.erb
description "openconnect vpn client daemon" start on runlevel [2345] stop on runlevel [!2345] respawn respawn limit 5 120 <% if %w{yes no}.include?(@dnsupdate) -%> <% @dns_text="export DNS_UPDATE=" + @dnsupdate + "&&" %> <% end %> exec <%= @dns_text %> echo <%= @password %> | openconnect <%= @gateway %>/github --n...
description "openconnect vpn client daemon" start on runlevel [2345] stop on runlevel [!2345] respawn respawn limit 5 120 <% if %w{yes no}.include?(@dnsupdate) -%> env DNS_UPDATE=<%= @dnsupdate %> export DNS_UPDATE <% end -%> exec echo <%= @password %> | openconnect <%= @gateway %>/github --no-dtls --script /etc/vpn...
Use upstart stanza to set openconnect env var.
Use upstart stanza to set openconnect env var.
HTML+ERB
mit
alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet
d374e727d7c977c778863efb25b362d905092cec
kiwi/app/views/questions/index.html.erb
kiwi/app/views/questions/index.html.erb
<h1> LIST OF QUESTIONS </h1> <%= link_to "NEW QUESTION", new_question_path %> <h2> QUESTIONS </h2> <div id="question-conatiner"> <ul> <% @questions.each do |question| %> <li> <%= link_to question.title, question_path(question) %> </li> <% end %> </ul> </div>
<h2> QUESTIONS </h2> <div id="question-conatiner"> <ul> <% @questions.each do |question| %> <li> <%= link_to question.title, question_path(question) %> </li> <% end %> </ul> </div> <% if logged_in? %> <%= link_to "Post a New Question", new_question_path %> <% end %>
Hide new question link on questions/index from non-logged-in visitors
Hide new question link on questions/index from non-logged-in visitors
HTML+ERB
mit
nyc-island-foxes-2016/kiwi-overflow,nyc-island-foxes-2016/kiwi-overflow,nyc-island-foxes-2016/kiwi-overflow
e9a8763fcec21c950f227a2fccee641ed8e707d2
modules/spamassassin/templates/spamassassin-default.erb
modules/spamassassin/templates/spamassassin-default.erb
# This file is being maintained by Puppet. # DO NOT EDIT ENABLED=1 OPTIONS="--create-prefs \ --max-children 5 \ --helper-home-dir=<%= @helperhomedir %> \ #--listen-ip=<%= @listenip %> \ --allowed-ips=<%= @allowedips %> \ #--username=debian-spamd<% if @nouserconfig %> \ ...
# This file is being maintained by Puppet. # DO NOT EDIT ENABLED=1 OPTIONS="--create-prefs \ --max-children 5 \ --helper-home-dir=<%= @helperhomedir %> \ --listen-ip=<%= @listenip %> \ --allowed-ips=<%= @allowedips %> \ #--username=debian-spamd<% if @nouserconfig %> \ ...
Use the listenip to listen on 0.0.0.0 - not the loopbak
Use the listenip to listen on 0.0.0.0 - not the loopbak
HTML+ERB
apache-2.0
sebbASF/infrastructure-puppet,stumped2/infrastructure-puppet,apache/infrastructure-puppet,bdube/infrastructure-puppet,bdube/infrastructure-puppet,sebbASF/infrastructure-puppet,apache/infrastructure-puppet,sebbASF/infrastructure-puppet,sebbASF/infrastructure-puppet,sebbASF/infrastructure-puppet,chtyim/infrastructure-pup...
923aeadbcb96f1d804178ac54a2819802635e2fb
app/views/brexit_checker/_results_criteria.html.erb
app/views/brexit_checker/_results_criteria.html.erb
<% if criteria.present? %> <div class="govuk-grid-column-one-third"> <% if local_assigns[:heading] %> <h3 class="govuk-heading-m"><%= heading %></h3> <% end %> <aside> <p class="govuk-body brexit-checker__criteria_explanation"> <%= t('brexit_checker.results.criteria.list_context') %> <...
<div class="govuk-grid-column-one-third"> <% if criteria.present? %> <% if local_assigns[:heading] %> <h3 class="govuk-heading-m"><%= heading %></h3> <% end %> <aside> <p class="govuk-body brexit-checker__criteria_explanation"> <%= t('brexit_checker.results.criteria.list_context') %> ...
Fix layout bug on no action page
Fix layout bug on no action page - logic meant it was possible to have a p tag rendered outside a grid column, which left it squashed against the edges of the screen on mobile
HTML+ERB
mit
alphagov/finder-frontend,alphagov/finder-frontend,alphagov/finder-frontend,alphagov/finder-frontend
7d0b82f5a0b873a6c253b748eb94551dcf00789d
jobs/rabbitmq-server/templates/ensure-rabbitmq-statsdb-restart-cron.erb
jobs/rabbitmq-server/templates/ensure-rabbitmq-statsdb-restart-cron.erb
<% if p("rabbitmq-server.restart_statsdb_cron_schedule") %> tmpfile=$(mktemp) echo 'PATH=/usr/bin:/bin:/var/vcap/packages/erlang/bin:/var/vcap/packages/rabbitmq-server/bin' > "${tmpfile}" echo '<%= p("rabbitmq-server.restart_statsdb_cron_schedule") %> vcap /var/vcap/packages/rabbitmq-server/bin/rabbitmqctl eval "superv...
<% if_p("rabbitmq-server.restart_statsdb_cron_schedule") do |schedule| %> tmpfile=$(mktemp) echo 'PATH=/usr/bin:/bin:/var/vcap/packages/erlang/bin:/var/vcap/packages/rabbitmq-server/bin' > "${tmpfile}" echo '<%= schedule %> vcap /var/vcap/packages/rabbitmq-server/bin/rabbitmqctl eval "supervisor2:terminate_child(rabbit...
Make the statsdb restart schedule optional
Make the statsdb restart schedule optional [#136577519] Signed-off-by: Carlo Colombo <38c9d5db9f6d6f5bb8266b73fcdee56a5a2fe4dc@pivotal.io>
HTML+ERB
apache-2.0
pivotal-cf/cf-rabbitmq-release,pivotal-cf/cf-rabbitmq-release,pivotal-cf/cf-rabbitmq-release,pivotal-cf/cf-rabbitmq-release