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
9ee3a051244d06a574abec271544ccdc4201f57a
lib/smart_answer_flows/childcare-costs-for-tax-credits/questions/old_weekly_amount_3.govspeak.erb
lib/smart_answer_flows/childcare-costs-for-tax-credits/questions/old_weekly_amount_3.govspeak.erb
<% content_for :title do %> What was the old average weekly amount you gave the Tax Credit Office? <% end %> <% content_for :body do %> If you don’t know what your previous childcare costs were, check your award or renewal notice. Round the total up to the nearest pound. <% end %>
<% content_for :title do %> What was the old average weekly amount you gave the Tax Credit Office? <% end %> <% content_for :hint do %> Round the total up to the nearest pound. <% end %> <% content_for :post_body do %> If you don’t know what your previous childcare costs were, check your award or renewal notice...
Split body into post_body and hint
Split body into post_body and hint
HTML+ERB
mit
alphagov/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers,aledelcueto/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,alphagov/smart-answers
196ce83a86fe24243137937c22e1149041b81c32
jobs/haproxy/templates/drain.erb
jobs/haproxy/templates/drain.erb
#!/bin/bash # vim: set ft=sh set -e -x pidfile=/var/vcap/sys/run/bpm/haproxy/haproxy.pid logfile=/var/vcap/sys/log/haproxy/drain.log <% if not p("ha_proxy.drain_enable") -%> echo "drain is disabled" >> ${logfile} echo 0 exit 0 <% else -%> mkdir -p "$(dirname ${logfile})" if [[ ! -f ${pidfile} ]]; then echo "$(dat...
#!/bin/bash # vim: set ft=sh set -e pidfile=/var/vcap/sys/run/bpm/haproxy/haproxy.pid logfile=/var/vcap/sys/log/haproxy/drain.log <% if not p("ha_proxy.drain_enable") -%> echo "drain is disabled" >> ${logfile} echo 0 exit 0 <% else -%> mkdir -p "$(dirname ${logfile})" if [[ ! -f ${pidfile} ]]; then echo "$(date):...
Remove leftover `-x` bash opt
Remove leftover `-x` bash opt Too verbose, probably leftover from debugging.
HTML+ERB
apache-2.0
cloudfoundry-community/cf-haproxy-boshrelease,cloudfoundry-community/cf-haproxy-boshrelease,cloudfoundry-community/cf-haproxy-boshrelease
1d6d3983245bba024e9a5a641f122635dcfeb268
app/assets/stylesheets/_enhanced.scss.erb
app/assets/stylesheets/_enhanced.scss.erb
@import 'lib'; @import 'utilities/visually_hidden'; @import 'layout/common'; @import 'layout/pages'; <% if Rails.env.development? %> @import 'dev_tools/debug'; <% end %> //atoms @import 'components/logo'; @import 'components/intro'; @import 'components/lists'; @import 'components/icon'; @import 'components/button...
@import 'lib'; @import 'utilities/visually_hidden'; @import 'layout/common'; @import 'layout/pages'; @import 'layout/header'; <% if Rails.env.development? %> @import 'dev_tools/debug'; <% end %> //atoms @import 'components/logo'; @import 'components/intro'; @import 'components/lists'; @import 'components/icon'; @...
Add header layout partial to index.
Add header layout partial to index.
HTML+ERB
mit
moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend
e4a3a63fcdaa3c8cf56a8e46b06b19f3c01eb266
backend/app/views/spree/admin/promotions/actions/_promotion_calculators_with_custom_fields.html.erb
backend/app/views/spree/admin/promotions/actions/_promotion_calculators_with_custom_fields.html.erb
<div class="calculator-fields row"> <div class="field alpha four columns"> <% field_name = "#{param_prefix}[calculator_type]" %> <%= label_tag field_name, Spree.t(:calculator) %> <%= select_tag field_name, options_from_collection_for_select(calculators, :to_s, :description, promotion_a...
<div class="calculator-fields row"> <div class="field alpha four columns"> <% field_name = "#{param_prefix}[calculator_type]" %> <%= label_tag field_name, Spree::Calculator.model_name.human %> <%= select_tag field_name, options_from_collection_for_select(calculators, :to_s, :descriptio...
Use model name translation for calculator
Use model name translation for calculator
HTML+ERB
bsd-3-clause
jordan-brough/solidus,Arpsara/solidus,Arpsara/solidus,Arpsara/solidus,Arpsara/solidus,jordan-brough/solidus,pervino/solidus,pervino/solidus,pervino/solidus,pervino/solidus,jordan-brough/solidus,jordan-brough/solidus
34862739e3aeb8a467079e39f6812e7cc1d163c9
templates/_javascript.html.erb
templates/_javascript.html.erb
<%= javascript_include_tag :application %> <%= yield :javascript %> <% if Rails.env.test? %> <%= javascript_tag do %> $.ajaxSetup({ async: false }); <% end %> <% end %>
<%= javascript_include_tag :application %> <%= yield :javascript %> <% if Rails.env.test? %> <%= javascript_tag do %> $.fx.off = true; $.ajaxSetup({ async: false }); <% end %> <% end %>
Disable jQuery animations in tests
Disable jQuery animations in tests
HTML+ERB
mit
LiveTyping/suspenders,elijahkim/suspenders,namuit/welaika-suspenders,FlyoverWorks/jetfuel,elevatorup/eu-suspenders,Mario245/suspenders,mukkoo/welaika-suspenders,headwayio/suspenders,CultivateLabs/jetfuel,InnovativeOperations/suspenders,nilbus/suspenders,Mossio/hashira-rails,zamith/suspenders,welaika/welaika-suspenders,...
d1dd50d5a9bf849668a0971a26e9e8046a609824
app/views/backend/email_templates/edit_translation.html.erb
app/views/backend/email_templates/edit_translation.html.erb
<% breadcrumb.add @model.description, edit_backend_email_template_path(@model) %> <% breadcrumb.add t('b.edit') %> <%= render 'backend/breadcrumbs' %> <%= simple_form_for([:backend, @translation], url: edit_translation_backend_email_template_path) do |f| %> <%= render 'backend/email_templates/tabs', active: params[:...
<% breadcrumb.add @model.description, edit_backend_email_template_path(@model) %> <% breadcrumb.add t('b.edit') %> <%= render 'backend/breadcrumbs' %> <%= render 'backend/email_templates/tabs', active: params[:translation_locale].to_sym %> <%= simple_form_for([:backend, @translation], url: edit_translation_backend_em...
Fix the layout for editing email template translations.
Fix the layout for editing email template translations.
HTML+ERB
mit
udongo/udongo,udongo/udongo,udongo/udongo
bf99cd01b50561b4eb321ead2f98bf152a3dde23
app/views/projects/index.html.erb
app/views/projects/index.html.erb
<% content_for :nav_extras do %> <li> <% if logged_in? %> <%= link_to 'Add', new_project_path %> <% end %> </li> <% end %> <div class="center"> <h2>Projects</h2> <%= search_form_for @search do |f| %> <%= f.label :badge_status %> <%= f.collection_select(:badge_status_eq, ...
<% content_for :nav_extras do %> <li> <% if logged_in? %> <%= link_to 'Add', new_project_path %> <% end %> </li> <% end %> <div class="center"> <h2>Projects</h2> <%= search_form_for @search do |f| %> <%= f.label :badge_status_eq %> <%= f.collection_select(:badge_status_eq, ...
Tweak projects index, to see if it fixes things
Tweak projects index, to see if it fixes things Signed-off-by: David A. Wheeler <9ae72d22d8b894b865a7a496af4fab6320e6abb2@dwheeler.com>
HTML+ERB
mit
linuxfoundation/cii-best-practices-badge,jdossett/cii-best-practices-badge,taylorcoursey/cii-best-practices-badge,coreinfrastructure/best-practices-badge,taylorcoursey/cii-best-practices-badge,yannickmoy/cii-best-practices-badge,coreinfrastructure/best-practices-badge,dwvisser/cii-best-practices-badge,linuxfoundation/c...
ac32f6eb283040e065da804f787bd65ef7ec185a
app/views/shared/_related_links.html.erb
app/views/shared/_related_links.html.erb
<% categories.each do |category, contents| %> <div class="related-links"> <h2 class="related-links__heading"> <%= t('related_links.title_prefix') %> <%= category.title %> </h2> <ul class="unstyled-list"> <% contents.each do |article| %> <li class="related-links__link"> <%= link_to article.ti...
<% categories.each do |category, contents| %> <div class="related-links"> <h2 class="related-links__heading"> <%= t('related_links.title_prefix') %> <%= category.title %> </h2> <ul class="unstyled-list"> <% contents.each do |article| %> <li class="related-links__link"> <%= li...
Fix indenting in related_links partial.
Fix indenting in related_links partial.
HTML+ERB
mit
moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend
4458a08311823e6d208077c3aabcad8398c4deae
core/lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/plural_name/spam.html.erb
core/lib/generators/refinery/form/templates/app/views/refinery/namespace/admin/plural_name/spam.html.erb
<%%= render 'submenu' %> <div id='records'> <%% if searching? %> <h2><%%= t('shared.admin.search.results_for', :query => params[:search]) %></h2> <%% if @<%%= plural_name %>.any? %> <ul> <%%= render :partial => '<%= singular_name %>', :collection => @<%%= plural_name %> %> </ul> <%% el...
<%%= render 'submenu' %> <div id='records'> <%% if searching? %> <h2><%%= t('shared.admin.search.results_for', :query => params[:search]) %></h2> <%% if @<%= plural_name %>.any? %> <ul> <%%= render :partial => '<%= singular_name %>', :collection => @<%= plural_name %> %> </ul> <%% else...
Use proper syntax when evaluating code in form generator's spam view file.
Use proper syntax when evaluating code in form generator's spam view file.
HTML+ERB
mit
simi/refinerycms,refinery/refinerycms,stefanspicer/refinerycms,mojarra/myrefinerycms,aguzubiaga/refinerycms,LytayTOUCH/refinerycms,bricesanchez/refinerycms,chrise86/refinerycms,anitagraham/refinerycms,Retimont/refinerycms,chrise86/refinerycms,bryanmtl/g-refinerycms,refinery/refinerycms,kelkoo-services/refinerycms,trevo...
717c9ba5e6a3392388d22e73426d37f9ecac5d2c
app/views/layouts/application/_form_errors.html.erb
app/views/layouts/application/_form_errors.html.erb
<% if object.errors.any? %> <div> <strong> <%= pluralize(object.errors.count, 'error') %> were found </strong> <ul> <% object.errors.full_messages.each do |msg| %> <li><%= msg %></li> <% end %> </ul> </div> <% end %>
<% if object.errors.any? %> <div> <h3> <%= pluralize(object.errors.count, 'error') %> was found </h3> <ul> <% object.errors.full_messages.each do |msg| %> <li><%= msg %></li> <% end %> </ul> </div> <% end %>
Add h3 tag to error message
Add h3 tag to error message
HTML+ERB
mit
Dom-Mc/fetch_it,Dom-Mc/fetch_it,Dom-Mc/fetch_it
1e05bcba153fc80016fbc18039f38bd9e6fdb3cb
app/views/my/show.html.erb
app/views/my/show.html.erb
<%= render :partial => 'src_images/src_images' %> <% unless @src_sets.empty? %> <%= render :partial => 'src_sets/src_sets' %> <% end %> <% unless @gend_images.empty? %> <%= render :partial => 'gend_images/gend_images' %> <% end %>
<%= render partial: 'src_images/src_images' %> <% unless @src_sets.empty? %> <%= render partial: 'src_sets/src_sets' %> <% end %> <% unless @gend_images.empty? %> <%= render partial: 'gend_images/gend_images' %> <% end %>
Convert to new style hashes.
Convert to new style hashes.
HTML+ERB
mit
mmb/meme_captain_web,mmb/meme_captain_web,mmb/meme_captain_web,patrickmcguire/meme,mmb/meme_captain_web,patrickmcguire/meme
b9b77757be43bfcea880d001e478fa3c2fe179bc
source/index.html.erb
source/index.html.erb
--- pageable: true per_page: 10 --- <% if paginate && num_pages > 1 %> <p>Page <%= page_number %> of <%= num_pages %></p> <% if prev_page %> <p><%= link_to 'Previous page', prev_page %></p> <% end %> <% end %> <% page_articles.each_with_index do |article, i| %> <h2><%= link_to article.title, article %> <s...
--- pageable: true per_page: 10 --- <% if paginate && num_pages > 1 %> <p>Page <%= page_number %> of <%= num_pages %></p> <% if prev_page %> <p><%= link_to 'Previous page', prev_page %></p> <% end %> <% end %> <% page_articles.each_with_index do |article, i| %> <h2 class="post-title"><%= link_to article.t...
Add ability to display date and author in posts on home page
Add ability to display date and author in posts on home page
HTML+ERB
mit
speedy1812/daysinukraine.com,speedy1812/daysinukraine.com,speedy1812/daysinukraine.com,speedy1812/daysinukraine.com
d2cbc4f87f3d088c59474cac56c54f7dff25debc
app/views/courses/_list.html.erb
app/views/courses/_list.html.erb
<%- courses.each_with_index do |course, i| %> <div class="course <%= 'course-first' if i == 0 %>"> <div class="course-title"><%= link_to course.title, "#" %></div> </div> <%- end %>
<%- courses.each_with_index do |course, i| %> <div class="course <%= 'course-first' if i == 0 %>"> <div class="course-title"><%= link_to course.title, edit_course_path(course) %></div> </div> <%- end %>
Add Edit Link for Listed Courses
Add Edit Link for Listed Courses Update the listed Courses to link to the edit action/view when the title is clicked on.
HTML+ERB
mit
jekhokie/IfSimply,jekhokie/IfSimply,jekhokie/IfSimply
518a51fc176d15fc91a818cd082fa7fc1627fe2a
app/views/scheduler/sessions.html.erb
app/views/scheduler/sessions.html.erb
<div class="container presentations"> <h1>Scheduler</h1> <div class="row-fluid"> <div class="span12"> <table class="table table-striped"> <tr> <th>Presentation Name</th> <% @presentations.each do |presentation| %> <th><%= presentation.title %> </th> <% e...
<div class="container presentations"> <h1>Scheduler</h1> <div class="row-fluid"> <div class="span12"> <table class="table table-striped"> <tr> <th>Presentation Name</th> <% @presentations.each do |presentation| %> <th><%= presentation.title %> </th> <% e...
Add hover to improve readability
Add hover to improve readability
HTML+ERB
mit
BarCampGreenBay/barcampgb.com,BarCampGreenBay/barcampgb.com
a8d52760a582a6af74f40df02ea6650fc4215d70
views/layout.erb
views/layout.erb
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title><%= APP_TITLE %></title> <link rel="stylesheet" href="https://d13nj05qmdn3m1.cloudfront.net/assets/external_triggers.css" /> <link rel="stylesheet" href="/style.css" /> <script type="text/javascript" src="https://d13nj05qmdn3m1.clo...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title><%= APP_TITLE %></title> <link rel="stylesheet" href="https://d2npiipx5ecxt9.cloudfront.net/assets/external_triggers.css" /> <link rel="stylesheet" href="/style.css" /> <script type="text/javascript" src="https://d2npiipx5ecxt9.clo...
Update to point at correct cloudfront bucket.
Update to point at correct cloudfront bucket.
HTML+ERB
mit
cosm/tweettriggers,cosm/tweettriggers
1c9fdaf11f07bda6e7025794d3213685ba3edde3
dashboards/_navigation.erb
dashboards/_navigation.erb
<ul id='nav'> <% navigation_tree.each do |item| %> <li> <a href='/<%= item %>'><%= I18n.t item.gsub('/','_') %></a> </li> <% end %> </ul>
<ul id='nav'> <% navigation_tree.each do |item| %> <li> <a href='/<%= item %>'><%= I18n.t item.gsub('/','.') %></a> </li> <% end %> </ul>
Make navigation use new il8n style
Make navigation use new il8n style
HTML+ERB
mit
theodi/dashboards,theodi/dashboards,theodi/dashboards
2c92fe050a87eb23eca493d97b87eeb925a7688c
app/views/feeds/index.html.erb
app/views/feeds/index.html.erb
<h1>Listing feeds</h1> <table> <tr> <th>Url</th> <th>Interval</th> </tr> <% @feeds.each do |feed| %> <tr> <td><%=h feed.url %></td> <td><%=h feed.interval %></td> <td><%= link_to 'Show', feed %></td> <td><%= link_to 'Edit', edit_feed_path(feed) %></td> <td><%= link_to 'Destroy', feed...
<h1>Listing feeds</h1> <table> <tr> <th>Url</th> <th>Description</th> <th>Interval</th> <th>Last Updated</th> </tr> <% @feeds.each do |feed| %> <tr> <td><%=h feed.url %></td> <td><%=h feed.description %></td> <td><%=h feed.interval %></td> <td><%=h feed.published %></td> <td>...
Update the details shown the feeds index page.
Update the details shown the feeds index page.
HTML+ERB
mit
leenookx/semantix,leenookx/semantix,leenookx/semantix
7291c56295447f020fc00d032a3704329f482541
app/views/menus/_link.html.erb
app/views/menus/_link.html.erb
<li><%= link_to link.title, url_for(link.url) %></li>
<li class="<%= 'active' if current_page? link.url %>"><%= link_to link.title, url_for(link.url) %></li>
Add active class to links when current url
Add active class to links when current url
HTML+ERB
mit
georgia-cms/georgia,georgia-cms/georgia,georgia-cms/georgia
4eca20d631f30aa12e09c07a5cc60b3db0e6552c
app/views/users/index.html.erb
app/views/users/index.html.erb
<div class="row row-grid"> <div class="col-xs-12 col-md-6 offset-md-3"> <div class="page-title"> <h3>All Bloggers</h3> </div> </div> </div> <div class="row row-grid"> <% @users.each do |user| %> <div class="col-xs-12 col-md-4 offset-md-4"> <div class="mdl-card mdl-sha...
<div class="row row-grid"> <div class="col-xs-12 col-md-6 offset-md-3"> <div class="page-title"> <h3>All Bloggers</h3> </div> </div> </div> <div class="row"> <div class="col s12"> <%= will_paginate @user, renderer: MaterializeRenderer %> </div> </div> <div class="row ...
Add paginate to user listing view(index)
Add paginate to user listing view(index)
HTML+ERB
mit
juanhenriquez/blog-app,juanhenriquez/blog-app,juanhenriquez/blog-app
6cb1ccf750e0331e90e482f31f481015c57fa51e
templates/oio-blob-indexer.conf.erb
templates/oio-blob-indexer.conf.erb
[blob-indexer] namespace = <%= @ns %> user = <%= scope['openiosds::user'] %> volume = <%= @volume %> report_interval = <%= @report_interval %> chunks_per_second = <%= @chunks_per_second %> interval = <%= @interval %> log_level = <%= scope['openiosds::log_level'] %> log_facility = LOG_LOCAL0 log_address = /dev/log syslo...
[blob-indexer] namespace = <%= @ns %> user = <%= scope['openiosds::user'] %> volume = <%= @_volume %> report_interval = <%= @report_interval %> chunks_per_second = <%= @chunks_per_second %> interval = <%= @interval %> log_level = <%= scope['openiosds::log_level'] %> log_facility = LOG_LOCAL0 log_address = /dev/log sysl...
Replace @volume by the default @_volume
Replace @volume by the default @_volume
HTML+ERB
apache-2.0
sebastienlapierre/puppet-openiosds,racciari/puppet-openiosds,open-io/puppet-openiosds,racciari/puppet-openiosds,sebastienlapierre/puppet-openiosds,open-io/puppet-openiosds
ad6adcb601a6c556a96381e887ef4e4c39c0968b
guides/source/_welcome.html.erb
guides/source/_welcome.html.erb
<h2>Ruby on Rails Guides (<%= @edge ? @version[0, 7] : @version %>)</h2> <% if @edge %> <p> These are <b>Edge Guides</b>, based on the current <a href="https://github.com/rails/rails/tree/<%= @version %>">master</a> branch. </p> <p> If you are looking for the ones for the stable version, please check <a href="ht...
<h2>Ruby on Rails Guides (<%= @edge ? @version[0, 7] : @version %>)</h2> <% if @edge %> <p> These are <b>Edge Guides</b>, based on the current <a href="https://github.com/rails/rails/tree/<%= @version %>">master</a> branch. </p> <p> If you are looking for the ones for the stable version, please check <a href="ht...
Update Rails 3.2.x guide link
Update Rails 3.2.x guide link [ci skip]
HTML+ERB
mit
tijwelch/rails,yhirano55/rails,starknx/rails,coreyward/rails,mijoharas/rails,yhirano55/rails,alecspopa/rails,aditya-kapoor/rails,illacceptanything/illacceptanything,riseshia/railsguides.kr,kaspth/rails,yhirano55/rails,kmcphillips/rails,amoody2108/TechForJustice,starknx/rails,illacceptanything/illacceptanything,jeremy/r...
ce94fc293561881423779d36952483e5c8db35c3
templates/mailman_vhost.conf.erb
templates/mailman_vhost.conf.erb
# httpd configuration settings for use with mailman. # WARNING: this file is managed by Puppet. <VirtualHost *:80> ServerName <%= @server_name %> ServerAdmin <%= @server_admin %> DocumentRoot <%= @document_root %> CustomLog <%= @custom_log %> common ErrorLog <%= @error_log %> ScriptAlias /mailman/ <%= @mail...
# httpd configuration settings for use with mailman. # WARNING: this file is managed by Puppet. <VirtualHost *:80> ServerName <%= @server_name %> ServerAdmin <%= @server_admin %> DocumentRoot <%= @document_root %> CustomLog <%= @custom_log %> common ErrorLog <%= @error_log %> ScriptAlias /mailman/ <%= @mail...
Use fully qualified redirects in Apache
Use fully qualified redirects in Apache
HTML+ERB
apache-2.0
nicwaller/puppet-mailman
99380f22c898be0b97891297d8ff6faa82c42638
puppet/modules/mediawiki/templates/wiki/apache-images.erb
puppet/modules/mediawiki/templates/wiki/apache-images.erb
# vim: filetype=apache sts=4 sw=4 autoindent # # This file is managed by Puppet. # <Directory <%= @upload_dir %>> Require all granted Header set Access-Control-Allow-Origin "*" </Directory> Alias <%= @upload_path %> <%= @upload_dir %>
# vim: filetype=apache sts=4 sw=4 autoindent # # This file is managed by Puppet. # <Directory <%= @upload_dir %>> Require all granted Header set Access-Control-Allow-Origin "*" Header set Access-Control-Allow-Headers "Range" Header set Access-Control-Expose-Headers "Content-Range" </Directory> Alias <%...
Allow range requests on uploads; fixes 'commons' role video in Safari
Allow range requests on uploads; fixes 'commons' role video in Safari Adds a CORS allowance for the 'Range' header incoming and the 'Content-Range' header outgoing, which allows the ogv.js video shim for Safari and old Edge/IE11 to play video from the "commons" role on the other local sites. Bug: T225452 Change-Id: I...
HTML+ERB
mit
wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant
b4ed857aeeafc3353ed65bbdc13197b12ea078ea
views/layout.erb
views/layout.erb
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>index</title> </head> <body> <header> <nav> <a href="/">home</a> / <a href="/quotes/">quotes</a> (<a href="/quotes/random">random</a>, <a href="/quotes/top100">top 100</a>, <a href="/quotes/voted">by vote...
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>index</title> </head> <body> <header> <nav> <a href="/">home</a> / <a href="/quotes/">quotes</a> (<a href="/quotes/random">random</a>, <a href="/quotes/top100">top 100</a>, <a href="/quotes/voted">by vote...
Add mod queue link to logged-in page
Add mod queue link to logged-in page
HTML+ERB
mit
nucular/qdb,nucular/qdb,nucular/qdb,boxmein/qdb,nucular/qdb,boxmein/qdb,boxmein/qdb,boxmein/qdb
025ee56c454239a157aa528e0818a61ae9600edb
source/speakers.html.erb
source/speakers.html.erb
--- title: EuRuKo 2013 - Athens | Speakers --- <section id="speakers"> <ul class="centered" itemprop="performer" itemtype="http://schema.org/Person"> <% data.speakers.speakers.each_with_index do |speaker, i| %> <li class="<%= i.even? ? "left" : "right" %>" id="<%= speaker.short_name %>"> <h4><sp...
--- title: EuRuKo 2013 - Athens | Speakers --- <section id="speakers"> <ul class="centered" itemscope itemprop="performer" itemtype="http://schema.org/Person"> <% data.speakers.speakers.each_with_index do |speaker, i| %> <li class="<%= i.even? ? "left" : "right" %>" id="<%= speaker.short_name %>"> ...
Add missing itemscope for speakers
Add missing itemscope for speakers
HTML+ERB
mit
euruko2013/site
7f6e80a7287a0619296de73f8917a9553a9b3206
app/views/questions/show.html.erb
app/views/questions/show.html.erb
<div class='container'> <h2><%= @question.title %></h2> <p class='question_body'><%= @question.body %></p> <% if @question.user_id == current_user.id %> <%= button_to "Edit", {action: "edit"}, method: "get" %> <%= button_to "Delete", @question, {method: "delete", confirm: "Are you sure you want to delet...
<div class='container'> <h2><%= @question.title %></h2> <p class='question_body'><%= @question.body %></p> <% if @question.user_id == current_user.id %> <%= button_to "Edit", {action: "edit"}, method: "get" %> <%= button_to "Delete", @question, {method: "delete", confirm: "Are you sure you want to delete...
Clean up whitespace in questions show view.
Clean up whitespace in questions show view.
HTML+ERB
mit
PeterJahnes/dbc-overflow,PeterJahnes/dbc-overflow,kahdojay/dbc-overflow,PeterJahnes/dbc-overflow,kahdojay/dbc-overflow,kahdojay/dbc-overflow
f5ef65a71b6139b2e18380ce86cdc9e37ff720d2
app/views/umlaut/_header.html.erb
app/views/umlaut/_header.html.erb
<% # Allow a faux dynamic header override per institution by rescuing when the template is missing %> <% begin %> <%= render "#{institution.code.downcase}/header" %> <% rescue %> <header class="header"> <h1><%= current_primary_institution.name %></h1> <div class="institution"></div> </header> <nav id="nav1"> <%= ...
<% # Allow a faux dynamic header override per institution by rescuing when the template is missing %> <%= render partial: 'common/header' %> <nav id="nav1"> <%= render_umlaut_permalink %> <ul> <li class="nyu-login"><%= login("umlaut.institution" => institution.code ) %></li> </ul> </nav>
Use institution header within resolve header
Use institution header within resolve header
HTML+ERB
mit
NYULibraries/getit,NYULibraries/getit,NYULibraries/getit,NYULibraries/getit
99e3059982faab3b56a5ed24af4a03372773b120
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>Text Your City</title> <%= stylesheet_link_tag "application", :media => "all" %> <%= javascript_include_tag "application" %> <%= csrf_meta_tags %> <link href='http://fonts.googleapis.com/css?family=Signika+Negative' rel='stylesheet' type='text/css'> </head> <body> <div...
<!DOCTYPE html> <html> <head> <title>Textizen | Citizen feedback for the digital age, by Code for America</title> <%= stylesheet_link_tag "application", :media => "all" %> <%= javascript_include_tag "application" %> <%= csrf_meta_tags %> <link href='http://fonts.googleapis.com/css?family=Signika+Negative' ...
Change page title to Textizen and update tagline
Change page title to Textizen and update tagline
HTML+ERB
bsd-3-clause
codeforamerica/textizen,codeforamerica/textizen,codeforamerica/textizen
7e1c7ba9c16a7f06fbc71c318d785160ea7b980e
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title><%= content_for?(:title) ? yield(:title) : "foundation-rails" %></title> <%= stylesheet_link_tag "application" %> <%= javascript_include_tag "vendor...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title><%= content_for?(:title) ? yield(:title) : "Crime near CenturyLink Field, Seattle" %></title> <%= stylesheet_link_tag "application" %> <%= javascrip...
Add links to Google Maps API, change title from default FOundation to Crime near CenturyLink Field
Add links to Google Maps API, change title from default FOundation to Crime near CenturyLink Field
HTML+ERB
mit
fma2/seattle-crime-visualization,fma2/seattle-crime-visualization
56230bd5b166c88c42f3599f0421bbbb52600590
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <%= stylesheet_link_tag 'application' %> <title><%= title %></title> <%= csrf_meta_tags %> </head> <body> <div class="container"> <%= yield %> </div> <%= javascript_include_tag 'application' %> </body> </html>
<!DOCTYPE html> <html> <head> <%= stylesheet_link_tag 'rehttp' %> <title><%= title %></title> <%= csrf_meta_tags %> </head> <body> <div class="container"> <%= yield %> </div> <%= javascript_include_tag 'rehttp' %> </body> </html>
Update main layout file names for CSS/JS
Update main layout file names for CSS/JS
HTML+ERB
mit
rehttp/rehttp,rehttp/rehttp,rehttp/rehttp
542259cd3725417bdc2c13c009983d764102830c
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>Mguides</title> <%= stylesheet_link_tag :all %> <%= javascript_include_tag :defaults %> <%= csrf_meta_tag %> </head> <body> <%= yield %> </body> </html>
<!DOCTYPE html> <html> <head> <title>Mguides</title> <%= stylesheet_link_tag :all %> <script type="text/javascript" charset="utf-8" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> <%= javascript_include_tag 'jquery.mustache.js' %> <%# javascript_include_tag :defaults %> <%= c...
Load jquery and mustache JS in the layout
Load jquery and mustache JS in the layout
HTML+ERB
mit
leftees/publisher,theodi/publisher,leftees/publisher,telekomatrix/publisher,alphagov/publisher,leftees/publisher,leftees/publisher,theodi/publisher,alphagov/publisher,telekomatrix/publisher,telekomatrix/publisher,theodi/publisher,theodi/publisher,alphagov/publisher,telekomatrix/publisher
b081a211b79ecd1db37fe024fcb5b2a0ba30b02b
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>HangmanLeague</title> <%= stylesheet_link_tag "application", :media => "all" %> <%= javascript_include_tag "application" %> <%= csrf_meta_tags %> </head> <body> <% if notice -%> <section class="alert alert-info"><%= notice %></section> <% elsif alert -%> <section...
<!DOCTYPE html> <html> <head> <title>HangmanLeague</title> <%= stylesheet_link_tag "application", :media => "all" %> <%= javascript_include_tag "application" %> <%= csrf_meta_tags %> </head> <body> <% if notice -%> <div class="alert alert-info"><%= notice %></div> <% elsif alert -%> <div class="aler...
Use divs instead of sections in layout
Use divs instead of sections in layout
HTML+ERB
mit
unboxed/hangman_extreme,unboxed/hangman_extreme,unboxed/hangman_extreme
d43b8cb6c0782682d7b3dd53b38437d8ca68ff7c
app/views/buy_posts/edit.html.erb
app/views/buy_posts/edit.html.erb
<div class="row"> <div class="col s6 offset-s1"> <span class="flow-text"> <h3>Edit an Existing Buy Post</h3> <%= form_for(@buy_post), :url => {:action => 'update'}, :id => @buy_post.id) do |f| %> <%= f.label :name %> <%= f.text_field :name, class: 'form-control' %> ...
<div class="row"> <div class="col s6 offset-s1"> <span class="flow-text"> <h3>Edit an Existing Buy Post</h3> <%= form_for(@buy_post, :url => {:action => 'update'}, :id => @buy_post.id, html: { method: :put }) do |f| %> <%= f.label :name %> <%= f.text_field :name %> ...
Fix syntax error in edit buy post
Fix syntax error in edit buy post
HTML+ERB
bsd-3-clause
VictorKong94/free-and-for-sale,sallyzorr/free-and-for-sale,sallyzorr/free-and-for-sale,VictorKong94/free-and-for-sale,sallyzorr/free-and-for-sale,VictorKong94/free-and-for-sale
be295894c72f27f9a4ea087d643c915a331c77dd
app/views/layouts/errors.html.erb
app/views/layouts/errors.html.erb
<!DOCTYPE html> <html> <head> <%= stylesheet_link_tag 'application', media: 'all' %> <%= stylesheet_link_tag 'errors', media: 'all' %> <%= render 'layouts/head' %> </head> <body> <%= render 'layouts/navigation' %> <div> <%= render 'layouts/messages' %> <%= yield %> </div> <...
<!DOCTYPE html> <html> <head> <%= stylesheet_link_tag 'application', media: 'all' %> <%= stylesheet_link_tag 'errors', media: 'all' %> <%= render 'layouts/head' %> </head> <body> <div> <%= render 'layouts/messages' %> <%= yield %> </div> <%= javascript_include_tag 'errors' %> ...
Remove Atomic Jolt logo from error pages
Remove Atomic Jolt logo from error pages No need to have our logo on the error page.
HTML+ERB
mit
atomicjolt/adhesion,atomicjolt/adhesion,atomicjolt/adhesion,atomicjolt/adhesion
9fff7647b8f95aaa01d373e5bcf2d1bbace411e6
lib/split/wimdu_dashboard/views/layout.erb
lib/split/wimdu_dashboard/views/layout.erb
<!DOCTYPE html> <html> <head> <meta content='text/html; charset=utf-8' http-equiv='Content-Type'> <link href="<%= url 'reset.css' %>" media="screen" rel="stylesheet" type="text/css"> <link href="<%= url 'style.css' %>" media="screen" rel="stylesheet" type="text/css"> <script type="text/javascript" src='<%= url 'dashboa...
<!DOCTYPE html> <html> <head> <meta content='text/html; charset=utf-8' http-equiv='Content-Type'> <link href="<%= url 'reset.css' %>" media="screen" rel="stylesheet" type="text/css"> <link href="<%= url 'style.css' %>" media="screen" rel="stylesheet" type="text/css"> <script type="text/javascript" src='<%= url 'dashboa...
Change the powered by link at the bottom of the page
Change the powered by link at the bottom of the page to link to split_wimdu_dashboard
HTML+ERB
mit
Deradon/split_wimdu_dashboard,wimdu/split_wimdu_dashboard,Deradon/split_wimdu_dashboard,wimdu/split_wimdu_dashboard,Deradon/split_wimdu_dashboard,wimdu/split_wimdu_dashboard
c65db9f2401a5ad8db739ed695148a75ccc13253
api/app/views/applicant_mailer/login_code.html.erb
api/app/views/applicant_mailer/login_code.html.erb
<p>Login Code</p> <h1><%= @login_code %></h1> <p>Use the above to continue your Hack Club application.</p>
<h1><%= @login_code %></h1> <p>Use the above to continue your Hack Club application.</p>
Simplify HTML login code email
Simplify HTML login code email
HTML+ERB
mit
hackclub/api,hackclub/api,hackclub/api
e053f7bed6a2f21a28d468f654be6bb0e0177411
app/views/notifications/_emergency_banner.html.erb
app/views/notifications/_emergency_banner.html.erb
<div class="govuk-emergency-banner <%= banner.campaign_class %>" role="banner"> <div> <h1><%= banner.heading %></h1> <p> <%= banner.short_description %> </p> <% if banner.link %> <a href="<%= banner.link %>">More information</a> <% end %> </div> </div>
<div class="govuk-emergency-banner <%= banner.campaign_class %>" role="banner"> <div> <h1><%= banner.heading %></h1> <% if banner.short_description %> <p><%= banner.short_description %></p> <% end %> <% if banner.link %> <a href="<%= banner.link %>">More information</a> <% end %> </d...
Add conditional around short_description in emergency banner
Add conditional around short_description in emergency banner This should prevent any unnecessary paragraphs appearing in the banner.
HTML+ERB
mit
alphagov/static,alphagov/static,alphagov/static
d1b39b441101fe4d6df06c8c8e7143f82165abbb
app/views/layouts/_flash.html.erb
app/views/layouts/_flash.html.erb
<% if flash.present? %> <script> <% message = flash.map { |key, value| value }.join("\r\n") %> HTMLImports.whenReady(function(){ var app = document.getElementById('oj-app'); app.showNotification(<%= raw message.to_json %>); }); </script> <% end %>
<% if flash.present? %> <script> <% message = flash.map { |key, value| value }.join("\r\n") %> HTMLImports.whenReady(function(){ var app = document.querySelector('oj-app'); app.showNotification(<%= raw message.to_json %>); }); </script> <% end %>
Fix flash messages from back-end
Fix flash messages from back-end
HTML+ERB
mit
openjournals/theoj,openjournals/theoj,openjournals/theoj
ebf351676b4eeddaa348483ef45dc5c9327c371d
app/views/layouts/devise.html.erb
app/views/layouts/devise.html.erb
<!DOCTYPE html> <html> <head> <%= render "head" %> </head> <body> <%= render "header" %> <div class="container"> <div class="row"> <div class="col col-md-8 col-lg-6 center-block"> <%= yield %> </div> </div> <%= render "footer" %> </div> ...
<!DOCTYPE html> <html> <head> <%= render "head" %> </head> <body> <%= render "header" %> <div class="container"> <div class="row"> <div class="col col-md-offset-2 col-md-8 col-lg-offset-3 col-lg-6"> <%= yield %> </div> </div> <%= render "foote...
Move Devise forms to middle of page.
Move Devise forms to middle of page.
HTML+ERB
mit
weenhanceit/autism-funding,weenhanceit/autism-funding,weenhanceit/autism-funding,weenhanceit/autism-funding
67d9d62e17934659e3389a3ce38a547fb683e23c
app/views/projects/_form.html.erb
app/views/projects/_form.html.erb
<% form_for @project do |f| %> <%= f.error_messages %> <p> <%= f.label :name %><br /> <%= f.text_field :name %> </p> <h3>Tasks</h3> <% f.fields_for :tasks do |task_form| %> <%= render :partial => 'task', :locals => { :f => task_form } %> <% end %> <p><%= add_child_link "New Task", f, :tasks...
<% form_for @project do |f| %> <%= f.error_messages %> <p> <%= f.label :name %><br /> <%= f.text_field :name %> </p> <h3>Tasks</h3> <% f.fields_for :tasks do |task_form| %> <%= render :partial => 'task', :locals => { :f => task_form } %> <% end %> <p><%= add_child_link "New Task", :tasks %>...
Update call to add_child_link in the view & include a call to the new_child_fields_template helper so that the new child form fields are available.
Update call to add_child_link in the view & include a call to the new_child_fields_template helper so that the new child form fields are available.
HTML+ERB
mit
timriley/complex-form-examples,timriley/complex-form-examples
8fae4200fd5fc352a20d24ffb7a76d7c64b7acce
app/views/releases/index.html.erb
app/views/releases/index.html.erb
<% content_for :page_title, "Releases" %> <h1>Releases</h1> <p><%= link_to "Create Release", new_release_path, class: "btn btn-success" %></p> <h2>Today's Releases</h2> <table class="table" id="today"> <tbody> <% @todays_releases.each do |release| %> <tr> <td><%= link_to release.unique_applications.ma...
<% content_for :page_title, "Releases" %> <h1>Releases</h1> <p><%= link_to "Create Release", new_release_path, class: "btn btn-success" %></p> <h2>Today's Releases</h2> <table class="table" id="today"> <tbody> <% @todays_releases.each do |release| %> <tr> <td><%= link_to "##{release.id}", release_path...
Add release IDs to the releases table
Add release IDs to the releases table
HTML+ERB
mit
alphagov/release,alphagov/release,alphagov/release
f15ae723eda051c8f6ba80d0def44a7a32cde7de
app/views/layouts/_javascripts.html.erb
app/views/layouts/_javascripts.html.erb
<%= javascript_include_tag "jquery" %> <%= javascript_include_tag "rails" %> <%= javascript_include_tag "jquery-ui" %> <%= javascript_include_tag "jquery.jeditable" %> <%= javascript_include_tag "application" %> <%= javascript_include_tag "widgets/tooltip" %> <%= javascript_include_tag "tabs" %> <%= yield :javascript_i...
<%= javascript_include_tag "jquery" %> <%= javascript_include_tag "rails" %> <%= javascript_include_tag "jquery-ui" %> <%= javascript_include_tag "jquery.jeditable" %> <%= javascript_include_tag "application" %> <%= javascript_include_tag "tabs" %> <%= yield :javascript_include_tag %> <script type="text/javascript" cha...
Remove widgets JS by default
Remove widgets JS by default
HTML+ERB
mit
scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails
79016741e72183a69ecdba209b6cf0e95f6d9ec5
app/views/online_results/index.html.erb
app/views/online_results/index.html.erb
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main"> <h1 class="page-header"> <span class="glyphicon glyphicon-user"></span> Results </h1> <div class="row"> <div class="col-sm-8 col-md-8"> <% if flash[:alert].present? %> <p class="alert alert-warning"><%= alert %></p> ...
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main"> <h1 class="page-header"> <span class="glyphicon glyphicon-user"></span> Results </h1> <div class="row"> <div class="col-sm-8 col-md-8"> <% if flash[:alert].present? %> <p class="alert alert-warning"><%= alert %></p> ...
Fix online results to prevent browsers from auto completing form
Fix online results to prevent browsers from auto completing form
HTML+ERB
mit
SexualHealthInnovations/private_results,SexualHealthInnovations/private_results,SexualHealthInnovations/private_results
9cbb23d3b9591d2094165ab0d9ad70fe2381dba8
app/views/reservation_mailer/_style.erb
app/views/reservation_mailer/_style.erb
<style type="text/css"> div.custom-message p, div.followup p { margin-top: 1em; margin-bottom: 1em; } div.reservationCard { background-color: #eeeeaa; color: #000000; padding: 1em; margin-bottom: 1em; } div.reservationCard h2 { font-family: Palatino, serif; font-style: ita...
<style type="text/css"> div.custom-message p, div.followup p { margin-top: 1em; margin-bottom: 1em; } div.reservationCard { color: #000000; padding: 1em; margin-bottom: 1em; } div.reservationCard h2 { background-color: #eeeeaa; font-family: Palatino, serif; font-style: ita...
Remove email body background color, only apply to header line
Remove email body background color, only apply to header line
HTML+ERB
apache-2.0
txstate-etc/txst-signup,txstate-etc/txst-signup,txstate-etc/txst-signup
465a11a3b0c2d1454fef0e715f542a8d5a8a76fc
app/views/admin/base/update.js.erb
app/views/admin/base/update.js.erb
<% if params[:flash] %> flash("<%= t("flash.admin.actions.#{action_name}.notice", resource_name: resource_class.model_name.human(count: 1)) %>") <% end %> <% unless params[:modal] %> <% form_wrap_id = dom_id(resource, 'list_edit') html = render('table', collection: [resource]).match(/<tbody>(.*)<\/tbody>/...
<% if params[:flash] %> flash("<%= t("flash.admin.actions.#{action_name}.notice", resource_name: resource_class.model_name.human(count: 1)) %>") <% end %> <% unless params[:modal] %> <% form_wrap_id = dom_id(resource, 'list_edit') html = render('table', collection: [resource]).match(/<tbody>(.*)<\/tbody>/...
Disable scroll to record in list edit mode
Disable scroll to record in list edit mode
HTML+ERB
mit
leschenko/ab_admin,leschenko/ab_admin,leschenko/ab_admin
5e6ab78bff58f3fc95e887020137ba67eefed381
airplay.gemspec.erb
airplay.gemspec.erb
require 'airplay' Gem::Specification.new do |s| s.name = "airplay" s.version = Airplay.VERSION s.summary = "" s.description = "" s.authors = ["elcuervo"] s.email = ["yo@brunoaguirre.com"] s.homepage = "http://github.com/elcuervo/airpla...
require 'airplay' Gem::Specification.new do |s| s.name = "airplay" s.version = Airplay.VERSION s.summary = "" s.description = "" s.authors = ["elcuervo"] s.email = ["yo@brunoaguirre.com"] s.homepage = "http://github.com/elcuervo/airpla...
Add capybara as a dependency
Add capybara as a dependency
HTML+ERB
mit
elcuervo/airplay,sodabrew/airplay,wangyu0305/airplay
b3895807063296407eba29bebe427f289942677a
jobs/revok/templates/drain.erb
jobs/revok/templates/drain.erb
#!/bin/bash log_file=/var/vcap/sys/log/revok/drain.log # Redirect stdout/stderr to logs, Redirect 3 to Stdout exec 3>&1 exec 1>> $log_file exec 2>> $log_file pid=$(/var/vcap/packages/bpm/bin/bpm pid revok) # Signal Revok Worker kill $pid # Wait 3 mins for Revok Worker to Exit counter=0 maximum=35 while ps $pid; d...
#!/bin/bash log_file=/var/vcap/sys/log/revok/drain.log # Redirect stdout/stderr to logs, Redirect 3 to Stdout exec 3>&1 exec 1>> $log_file exec 2>> $log_file pid=$(/var/vcap/jobs/bpm/bin/bpm pid revok) # Signal Revok Worker kill $pid # Wait 3 mins for Revok Worker to Exit counter=0 maximum=35 while ps $pid; do ...
Use bpm from the jobs directory
Use bpm from the jobs directory This is correct location to use the `bpm` binary from. [finishes #150345112]
HTML+ERB
apache-2.0
pivotal-cf/cred-alert,pivotal-cf/cred-alert
dd7ee4ece05da3eed41fef218804d12e540118af
app/views/projects/_project.html.erb
app/views/projects/_project.html.erb
<div id="project_<%= project.name %>" class="project build_<%= project.last_complete_build_status %>"> <div class="upper"> <div class="name"> <%= link_to project.name, project_path(project), :id => project.name %> </div> <div class="commit-avatar"> <%#= last_commit_avatar project -%> </di...
<div id="project_<%= project.name %>" class="project build_<%= project.last_complete_build_status %>"> <div class="upper"> <div class="name"> <%= link_to project.name, project_path(project), :id => project.name %> </div> <!-- TODO(mariozaizar) performance issues. <div class="commit-avatar"> ...
Hide all the avatar div.
Hide all the avatar div.
HTML+ERB
apache-2.0
thoughtworks/cruisecontrol.rb,thoughtworks/cruisecontrol.rb,shopittome/cruisecontrol.rb,thoughtworks/cruisecontrol.rb,thoughtworks/cruisecontrol.rb,shopittome/cruisecontrol.rb,thoughtworks/cruisecontrol.rb,shopittome/cruisecontrol.rb,shopittome/cruisecontrol.rb,shopittome/cruisecontrol.rb,shopittome/cruisecontrol.rb
1b2288e086507f30c51a8991ae52e350f8605580
app/views/events/_events.html.erb
app/views/events/_events.html.erb
<%# Requires parameter events %> <table class="table table-condensed table-striped"> <thead> <tr> <th>Name</th> <th>Date and Time</th> <th>Details</th> </tr> </thead> <tbody> <% events.each do |event| %> <tr> <td><strong><%= link_to event.name, event_path(event) %></strong></td> ...
<%# Requires parameter events %> <table class="table table-condensed table-striped"> <thead> <tr> <th>Name</th> <th>Date and Time</th> <th>Details</th> <th></th> </tr> </thead> <tbody> <% events.each do |event| %> <tr> <td><strong><%= link_to event.name, event_path(event) %></...
Add Available Live link to event list views.
Add Available Live link to event list views.
HTML+ERB
mit
voltagead/OpenSplitTime,SplitTime/OpenSplitTime,SplitTime/OpenSplitTime,voltagead/OpenSplitTime,SplitTime/OpenSplitTime,voltagead/OpenSplitTime
d088c556d069d90fa24b9a5d2fd0e0a03e7903da
app/views/pages/feedback.html.erb
app/views/pages/feedback.html.erb
<% set_title "Feedback" %> <div class="row col-lg-7"> <h1>Got words?</h1> <p>We bet you have opinions.</p> <p> If you've got a bug report or a feature request, we've got ongoing issue lists on GitHub, both <a href="https://github.com/winnitron/WinnitronLauncher/issues">for this website</a> and <a hr...
<% set_title "Feedback" %> <div class="row col-lg-7"> <h1>Got words?</h1> <p>We bet you have opinions.</p> <p> If you've got a bug report or a feature request, we've got ongoing issue lists on GitHub, both <a href="https://github.com/winnitron/WinnitronLauncher/issues">for this website</a> and <a hr...
Add subreddit to feedback page.
Add subreddit to feedback page.
HTML+ERB
mit
winnitron/winnitron_reborn,winnitron/winnitron_reborn,winnitron/winnitron_reborn
f2b91d1c11fee0de3feb547049511b87c617427b
templates/default/fulldoc/html/full_list_class.erb
templates/default/fulldoc/html/full_list_class.erb
<li id="object_" class="odd"><div class="item"><%= link_object(Registry.root, Registry.root.title, nil, false) %></div></li> <%= class_list %>
<li id="object_" class="odd"><div class="item" style="padding-left:30px"><%= link_object(Registry.root, Registry.root.title, nil, false) %></div></li> <%= class_list %>
Fix padding on top-level-namespace link
Fix padding on top-level-namespace link
HTML+ERB
mit
thomthom/yard,ohai/yard,iankronquist/yard,ohai/yard,jreinert/yard,herosky/yard,iankronquist/yard,thomthom/yard,alexdowad/yard,amclain/yard,lsegal/yard,herosky/yard,amclain/yard,herosky/yard,ohai/yard,lsegal/yard,jreinert/yard,thomthom/yard,alexdowad/yard,lsegal/yard,amclain/yard,alexdowad/yard,iankronquist/yard,jreiner...
8d8cfdeccbd58d404da7dbbc0ad4e14e76f55973
profile/templates/bird/bird-nat.conf.erb
profile/templates/bird/bird-nat.conf.erb
router id <%= @ipaddress_trp1 %>; <% if @debug %>debug protocols all; <% end -%> # We are only going to export routes from Calico interfaces. # Currently, 'tap*' is used by the OpenStack implimentation # and 'cali*' is used by the docker implimentation. # dummy1 is the interface that bare metal "service" addresses # ...
Add bird template for bsd nat box
Add bird template for bsd nat box
HTML+ERB
apache-2.0
eckhart/himlar,tanzr/himlar,norcams/himlar,eckhart/himlar,norcams/himlar,mikaeld66/himlar,tanzr/himlar,norcams/himlar,raykrist/himlar,TorLdre/himlar,TorLdre/himlar,tanzr/himlar,mikaeld66/himlar,tanzr/himlar,mikaeld66/himlar,norcams/himlar,mikaeld66/himlar,norcams/himlar,TorLdre/himlar,raykrist/himlar,raykrist/himlar,ec...
0530c948a953fbc35ab32f918ecbd1b32962e04c
webapp/app/views/shared/_missing_event.erb
webapp/app/views/shared/_missing_event.erb
It seems you've tried to access an event with the wrong URL. <% if event_link %> Please try <%= event_link %> <% else %> Could not generate a valid link for you. Please notify your system administrator. <% end %>
It seems you've tried to access an event with the wrong URL. <% if defined?(event_link) %> Please try <%= event_link %> <% else %> Could not generate a valid link for you. Please notify your system administrator. <% end %>
Handle undefined local for missing event
Handle undefined local for missing event
HTML+ERB
agpl-3.0
JayBoyer/new-trisano,JayBoyer/new-trisano,JayBoyer/new-trisano,JayBoyer/new-trisano,JayBoyer/new-trisano,JayBoyer/new-trisano,JayBoyer/new-trisano
f2a1361a6139aff865f0a515512ec0c544948fe7
git/gitconfig.erb
git/gitconfig.erb
[user] name = Francisco J. email = nflamel@otrobloggeek.com [color] diff = auto status = auto branch = auto [core] excludesfile = <%= ENV['HOME'] %>/.gitignore editor = "/usr/local/bin/mvim -f" autocrlf = input [apply] whitespace = fix [format] pretty = %C(yellow)%h%Creset %s %C(red)(%cr)%Creset [alias] co =...
[user] name = Francisco J. email = nflamel@otrobloggeek.com [color] diff = auto status = auto branch = auto [core] excludesfile = <%= ENV['HOME'] %>/.gitignore editor = "/usr/local/bin/mvim -f" autocrlf = input [apply] whitespace = fix [format] pretty = %C(yellow)%h%Creset %s %C(red)(%cr)%Creset [alias] co =...
Set vimdiff as the default mergetool
Set vimdiff as the default mergetool
HTML+ERB
mit
franciscoj/dot-files,franciscoj/dot-files,franciscoj/dot-files
927a440a21d5717fb954a5de2df711f4e717a4ba
modules/govuk_jenkins/templates/jobs/transition_load_transition_stats_hits.yaml.erb
modules/govuk_jenkins/templates/jobs/transition_load_transition_stats_hits.yaml.erb
--- - job: name: Transition_load_transition-stats_hits display-name: Transition_load_transition-stats_hits project-type: freestyle description: "<p>Loads hits data from our CDN logs into Transition soon after they are processed.</p>" logrotate: numToKeep: 20 properties: - github: ...
--- - job: name: Transition_load_transition-stats_hits display-name: Transition_load_transition-stats_hits project-type: freestyle description: "<p>Loads hits data from our CDN logs into Transition soon after they are processed.</p>" logrotate: numToKeep: 20 properties: - github: ...
Change filename to import transition logs
Change filename to import transition logs This filename has changed as part of the migration, so we need to amend the search to do the import.
HTML+ERB
mit
alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet
693c2af36370a32702093e45608b5b8dfa60bfa3
app/views/home/index.html.erb
app/views/home/index.html.erb
<h1>Welcome to Sorter!</h1> <p>The perfect place to organize all your web resources on anything coding. And see what others are learning.</p> <% if user_signed_in? %> <h3>Here's what people have been reading:</h3> <ul id="resources"> <% @resources.by_language.each do |resource| %> <li><%= link_to resource....
<h1>Welcome to Sorter!</h1> <p>The perfect place to organize all your web resources on anything coding. And see what others are learning.</p> <% if user_signed_in? %> <h3>Here's what people have been reading:</h3> <ul id="resources"> <% @resources.each do |resource| %> <li><%= link_to resource.title, resou...
Add languages list to home view.
Add languages list to home view.
HTML+ERB
mit
abonner1/sorter,abonner1/code_learning_resources_manager,abonner1/code_learning_resources_manager,abonner1/sorter,abonner1/code_learning_resources_manager,abonner1/sorter
dc21c448bac399c63d2e19d24ab9a4ec57664fda
app/views/items/show.html.erb
app/views/items/show.html.erb
This is where we will show the individual details of each item.
<h2><%= @item.name %></h2> <ul> <!-- <li>Image: <%= @item.image %></li> --> <li>Description: <%= @item.description %></li> <li>Quantity: <%= @item.quantity %></li> <li>Price: <%= @item.price %></li> </ul>
Make basic item details visible on each individual show page
Make basic item details visible on each individual show page
HTML+ERB
mit
benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop
32ba0d1a54a8ee154cdde9c00d9dc13d7606130b
BHCDatabase/app/views/areas/show.html.erb
BHCDatabase/app/views/areas/show.html.erb
<% provide(:title, @area.name) %> <div id="area"> <h1> <%= @area.name %> </h1> <div class="stdcontainer"> <h2> <%= @area.description %> </h2> <%= link_to 'Edit', edit_area_path, class: 'btn btn-default' %> <%= datagrid_table(@initiatives_in_area_grid) %> <%= will_paginate @initia...
<% provide(:title, @area.name) %> <div id="area"> <h1> <%= @area.name %> </h1> <div class="stdcontainer"> <h2> <%= @area.description %> </h2> <%= link_to 'Edit', edit_area_path, class: 'btn btn-default' %> <%= datagrid_table(@initiatives_in_area_grid) %> <%= will_paginate @initia...
Add extra warning message to area deletion.
Add extra warning message to area deletion.
HTML+ERB
mit
DaBrown95/BHCDatabase,DaBrown95/BHCDatabase,DaBrown95/BHCDatabase
1305afacf5d8032a476d6eed5f9e5e498be47a4d
app/views/person_sessions/show.html.erb
app/views/person_sessions/show.html.erb
<% @page_title = "Logged-in as #{current_person.email}" %> <div class="tabs"> <%= link_to('Public Homepage', "/") %> | <%= link_to('Admin Pages', admin_events_path) %> | <%= link_to "Logout", person_session_path, :method => :delete %> </div>
<% @page_title = "Logged-in as #{current_person.login}" %> <h2>You are logged in as <%= current_person.login %></h2> <div class="tabs top_margin"> <%= link_to("#{ASSOCIATION.short_name} Homepage", root_url(:protocol => "http")) %> | <% if administrator? -%> <%= link_to('Admin Pages', admin_events_path) %> | <...
Make person current session page prettier
Make person current session page prettier
HTML+ERB
mit
scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails
c05c63e181416483290d50ad07aeb5ad56f78365
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>UrbaneDictionary</title> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => false %> <%= javascript_include_tag 'application', 'data-turbolinks-track' => false %> <%= csrf_meta_tags %> <link rel="icon" href="https://s3.amazonaws.com/urbane-d...
<!DOCTYPE html> <html> <head> <title>UrbaneDictionary</title> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => false %> <%= javascript_include_tag 'application', 'data-turbolinks-track' => false %> <%= csrf_meta_tags %> <!-- <link rel="icon" href="https://s3.amazonaws.com/urb...
Comment out favicon after Heroku crash.
Comment out favicon after Heroku crash.
HTML+ERB
mit
scottmries/UrbaneDictionary,scottmries/UrbaneDictionary,scottmries/UrbaneDictionary
2d2997c6f76da876d3e03363062b07e67bfc6504
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <link href='//fonts.googleapis.com/css?family=Droid+Sans' rel='stylesheet' type='text/css'> <link href='//fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'> <link href='//fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'> <link href='/...
<!DOCTYPE html> <html> <head> <link href='//fonts.googleapis.com/css?family=Droid+Sans' rel='stylesheet' type='text/css'> <link href='//fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'> <link href='//fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'> <link href='/...
Put nav bar for login/signup/search in header.
Put nav bar for login/signup/search in header.
HTML+ERB
mit
PeterJahnes/dbc-overflow,kahdojay/dbc-overflow,kahdojay/dbc-overflow,PeterJahnes/dbc-overflow,kahdojay/dbc-overflow,PeterJahnes/dbc-overflow
bffaf99011eca01774f2d52dda8dc2d901f0f0b5
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>LearningConnect</title> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> <%= csrf_meta_tags %> </head> <body> <nav class="navbar navbar-fixed-top navbar-d...
<!DOCTYPE html> <html> <head> <title>LearningConnect</title> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> <%= csrf_meta_tags %> </head> <body> <nav class="navbar navbar-fixed-top navbar-d...
Make log in log out signup logic
Make log in log out signup logic
HTML+ERB
mit
raquelxmoss/learning_connect,raquelxmoss/learning_connect,raquelxmoss/learning_connect
7df174a8c6f5afe5401c404a3ffb65d7e7bde0f9
app/views/proposals/_proposal.html.erb
app/views/proposals/_proposal.html.erb
<div class="prop"> <div class="spinner"> <%= image_tag 'ajax-loader.gif' %> </div> <p> <strong> <%= link_to proposal.name, event_proposal_path(@event, proposal), :class => "prop_link" %> <% if user_is_owner?(proposal) %> <span id="edit_proposal"> <%= link_to "(edit)", edit_eve...
<div class="prop"> <div class="spinner"> <%= image_tag 'ajax-loader.gif' %> </div> <p> <strong> <%= link_to proposal.name, event_proposal_path(@event, proposal), :class => "prop_link" %> <% if user_is_owner?(proposal) %> <span id="edit_proposal"> <%= link_to "(edit)", edit_eve...
Rename helper method that was missing and breaking tests.
Rename helper method that was missing and breaking tests.
HTML+ERB
mit
call4paperz/call4paperz,lucasrenan/call4paperz,call4paperz/call4paperz,call4paperz/call4paperz,ricardovaleriano/call4paperz,lucianosousa/call4paperz,lucasrenan/call4paperz,ricardovaleriano/call4paperz,ricardovaleriano/call4paperz,lucianosousa/call4paperz,lucianosousa/call4paperz,ricardovaleriano/call4paperz,lucianosous...
2db51d08952e6ed751c83189c8ac27a109ed3e5c
app/views/shared/_syndication_form.erb
app/views/shared/_syndication_form.erb
<form action="<%= send("#{resource_type}_path", resource) %>" class="syndication-form" method="post"> <input type="hidden" name="_method" value="put"> <input type="hidden" name="<%= resource_type %>[published]" value="<%= resource.published_at? %>"> <h2>Syndicated Copies</h2> <p>Manually add a link to a third-part...
<form action="<%= send("#{resource_type}_path", resource) %>" class="syndication-form" method="post"> <input type="hidden" name="_method" value="put"> <h2>Syndicated Copies</h2> <p>Manually add a link to a third-party syndicated copy of this <%= resource_type %>.</p> <ul> <li> <label for="<%= resource_type %...
Remove old syndication form hack.
Remove old syndication form hack.
HTML+ERB
mit
FrancisCMS/FrancisCMS,jgarber623/FrancisCMS,jgarber623/FrancisCMS,FrancisCMS/FrancisCMS,FrancisCMS/FrancisCMS
d808b6cbc43e0980823e77c5dbfb38ee813a8f38
app/views/admin/editions/_edit_attachments.html.erb
app/views/admin/editions/_edit_attachments.html.erb
<% initialise_script 'GOVUK.AdminRenameAttachments', form_id: '#attachment_form' %> <%= form_tag [:update_many, :admin, typecast_for_attachable_routing(@edition), Attachment], method: :put, id: 'attachment_form', remote: true, class: 'form-inline' do %> <table class="table"> <thead> <tr> <th>Title</th> ...
<% initialise_script 'GOVUK.AdminRenameAttachments', form_id: '#attachment_form' %> <%= form_tag [:update_many, :admin, typecast_for_attachable_routing(@edition), Attachment], method: :put, id: 'attachment_form', remote: true, class: 'form-inline' do %> <table class="table"> <thead> <tr> <th>Title</th> ...
Improve loading edit attachments page for publication
Improve loading edit attachments page for publication Following https://github.com/alphagov/whitehall/pull/4686 The Edit Attachments page for a publication requests each `attachment` requires it's `attachment_data`. Including this here should help optimise the query. [Trello](https://trello.com/c/8vxsdXsq/857-make-th...
HTML+ERB
mit
alphagov/whitehall,alphagov/whitehall,alphagov/whitehall,alphagov/whitehall
cab15afe32fed4cf1e1239914da1456f93ab5bc0
templates/ruby_test_runner.sh.erb
templates/ruby_test_runner.sh.erb
#!/bin/bash --login export RAILS_ENV=test export PROJECT_DIR="/vagrant/<%= @config['project_name'] %>" export CI_REPORTS= "/vagrant/<%= @config['project_name'] %>/reports" ssh -oStrictHostKeyChecking=no github.com mkdir $PROJECT_DIR cd $PROJECT_DIR #tar xf /tmp/project.tar rvm autolibs packages sudo /usr/local/rvm/b...
#!/bin/bash --login export RAILS_ENV=test export PROJECT_DIR="/vagrant/<%= @config['project_name'] %>" export CI_REPORTS="/vagrant/<%= @config['project_name'] %>/reports" ssh -oStrictHostKeyChecking=no github.com mkdir $PROJECT_DIR cd $PROJECT_DIR #tar xf /tmp/project.tar rvm autolibs packages sudo /usr/local/rvm/bi...
Remove space in variable creation
[MOB-19] Remove space in variable creation
HTML+ERB
mit
reachlocal/boxci,codebreakdown/boxci,justinleveck/boxci
b58453544b998bb382ac5d819a6114eef1eccb27
pages/categories/index.erb
pages/categories/index.erb
--- layout: default title: Categories --- <h2>Not just Macs</h2> <p>There are currently <strong><%= @site.categories.count %></strong> categories on the site.</p> <% @site.categories.keys.map { |key| key[0] }.uniq.sort.each do |letter| %> <h3><%= letter.upcase %></h3> <ul class="categories"> <% @site.categori...
--- layout: default title: Categories --- <h2>Not just Macs</h2> <p>There are currently <strong><%= @site.categories.count %></strong> categories on the site.</p> <% ('a'..'z').each do |letter| %> <% unless (slugs = @site.categories.keys.select { |key| key[0] == letter }.sort).empty? %> <h3 id="<%= letter %>"><...
Simplify the letter category walking, add letter anchors to the headers
Simplify the letter category walking, add letter anchors to the headers
HTML+ERB
mit
ivuk/usesthis,waferbaby/usesthis,ivuk/usesthis,waferbaby/usesthis
1eda5346cee970ece57566a2d8e35fca37c602dd
app/views/messages/index.html.erb
app/views/messages/index.html.erb
<div id="status"> </div> <div id="chat-window"> <ul id="messages"> </ul> </div> <script type="text/javascript" charset="utf-8"> var pusher = new Pusher('545220afdca7480dd648', {encrypted: true}); //note that 123456 below needs to be replaced with the requestid var channel = pusher.subscribe('private-...
Create an index view for the messages resource.
Create an index view for the messages resource. Messages are a nested resource within request. This view will show all the messages associated with a particular request.
HTML+ERB
mit
nyc-mud-turtles-2015/nghborly,kimchanyoung/nghborly,nyc-mud-turtles-2015/nghborly,kimchanyoung/nghborly,kimchanyoung/nghborly,nyc-mud-turtles-2015/nghborly
226f55f51664d95931abbfa7ce28f4c14b88a300
app/views/playlists/show.html.erb
app/views/playlists/show.html.erb
<%= content_for :content do %> <%= render_data_div(@playlist.tracks) %> <div class='track-container'> <% @playlist.tracks.each do |track| %> <%= render_track(track) %> <% end %> </div> <div id="youtube-player"></div> <iframe id='soundcloud-player' class='hidden' width="250" height="150" scrolli...
<%= content_for :content do %> <%= render_data_div(@playlist.tracks) %> <%= form_tag '/tracks' do %> <%= text_field_tag 'track_url', nil, placeholder: 'Enter Track Url Here' %> <% end %> <div class='track-container'> <% @playlist.tracks.each do |track| %> <%= render_track(track) %> <% end %>...
Create feature spec for adding tracks
Create feature spec for adding tracks
HTML+ERB
mit
colinfike/ploosic,colinfike/ploosic,colinfike/ploosic,colinfike/ploosic
bf8960f06ce9e2eb6d23e0edda377d6cf5816472
app/views/questions/show.html.erb
app/views/questions/show.html.erb
<div id="question"> <h1 class="title"><%= @question.title %></h1> <div class="content"><%= @question.content.html_safe %></div> <%= render "answers/form" %> <div id="answers"> <h3>Answers</h3> <%= render @question.answers.select(&:persisted?) %> </div> </div>
<div id="question"> <h1 class="title"><%= @question.title %></h1> <div class="content"><%= @question.content_html %></div> <div id="answers"> <h3>Answers</h3> <%= render @question.answers.select(&:persisted?) %> </div> <%= render "answers/form" %> </div>
Move answer form to bottom of answers list
Move answer form to bottom of answers list
HTML+ERB
mit
joshmcarthur/inquest,joshmcarthur/inquest
9573cee160b957cea3824075120ffdc545871d89
modules/localrepo/templates/base_pkgs.erb
modules/localrepo/templates/base_pkgs.erb
alsa-lib apr apr-util bluez-libs bluez-utils cpp dmidecode drupal7 drupal7-ctools drupal7-features drupal7-views elinks emacs emacs-common emacs-nox fuse fuse-libs gcc giflib glibc glibc-common glibc-devel glibc-headers gmp httpd irssi java-1.6.0-openjdk jpackage-utils kernel-headers libart_lgpl libgcc libgomp libxslt ...
alsa-lib apr apr-util bluez-libs bluez-utils cpp dmidecode drupal7 drupal7-ctools drupal7-features drupal7-views elinks emacs emacs-common emacs-nox fuse fuse-libs gcc giflib glibc glibc-common glibc-devel glibc-headers gmp httpd irssi java-1.6.0-openjdk jpackage-utils kernel-headers libart_lgpl libgcc libgomp libxslt ...
Add patch as a cached package.
Add patch as a cached package.
HTML+ERB
apache-2.0
joshsamuelson/puppetlabs-training-bootstrap,carthik/puppetlabs-training-bootstrap,wbhamilton/puppetlabs-training-bootstrap,klynton/puppetlabs-training-bootstrap,johnduarte/puppetlabs-training-bootstrap,samuelson/puppetlabs-training-bootstrap,joshsamuelson/puppetlabs-training-bootstrap,johnduarte/puppetlabs-training-boo...
8966c0a63fc83e5f7cb54cd964f06cfaa37cb854
app/views/root/print.html.erb
app/views/root/print.html.erb
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <%= stylesheet_link_tag 'guides-print', media: 'all' %> </head> <body> <header role="banner" class="group" id="global-header"> <div class="header-wrapper group"> <h1 class="govuk">GOV.UK</h1> </div> </header> <div id="wrapper">...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <%= stylesheet_link_tag 'guides-print', media: 'all' %> </head> <body> <header role="banner" class="group" id="global-header"> <div id="logo"><img src="<%= asset_path 'gov.uk_logotype-2x.png' %>" alt="GOV.UK"></div> </header> <div id="wrap...
Add logo image to print view
Add logo image to print view
HTML+ERB
mit
robinwhittleton/static,tadast/static,alphagov/static,tadast/static,robinwhittleton/static,alphagov/static,kalleth/static,kalleth/static,kalleth/static,alphagov/static,kalleth/static,tadast/static,robinwhittleton/static,robinwhittleton/static,tadast/static
5e510c03c8a80053fa6fac667067950809850d40
app/views/users/_activity.erb
app/views/users/_activity.erb
<style> .user-activity-info { padding: 0.5em; } </style> <div class="row mu-tab-body"> <div class="col-md-6"> <%= render partial: 'activity_indicator', locals: { title: t(:exercises), stats: [{name: t(:solved_exercises_count), value: @activity.exercises.so...
<style> .user-activity-info { padding: 0.5em; } </style> <div class="row mu-tab-body"> <div class="col-md-6"> <%= render partial: 'activity_indicator', locals: { title: t(:exercises), stats: [{name: t(:solved_exercises_count), value: @activity[:exercises][...
Use real data on Activity view
Use real data on Activity view
HTML+ERB
agpl-3.0
mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory
4a85758823e9b8744513947bb4866eafa3eafcff
app/views/gobierto_budget_consultations/consultations/consultation_responses/create.js.erb
app/views/gobierto_budget_consultations/consultations/consultation_responses/create.js.erb
<% if @consultation_response_form.persisted? %> Turbolinks.visit('<%= gobierto_budget_consultations_consultation_show_confirmation_path(@consultation) %>'); <% else %> $('#errors').html('<%= @consultation_response_form.errors.full_messages.to_sentence %>'); <% end %>
<% if @consultation_response_form.persisted? %> Turbolinks.visit('<%= gobierto_budget_consultations_consultation_show_confirmation_path(@consultation) %>'); <% else %> var $container = $('[data-messages-container]'); $container.html(''); if($container.length) $('<div id="errors"><%= @consultation_response...
Fix how messages are displayed
Fix how messages are displayed
HTML+ERB
agpl-3.0
PopulateTools/gobierto-dev,PopulateTools/gobierto,PopulateTools/gobierto-dev,PopulateTools/gobierto-dev,PopulateTools/gobierto,PopulateTools/gobierto,PopulateTools/gobierto,PopulateTools/gobierto-dev
37707744d8a8a9460108e1a26c7e4a7e56b44b27
puppet/modules/redmine/templates/activate-api-for-admin.sql.erb
puppet/modules/redmine/templates/activate-api-for-admin.sql.erb
SET @api_key="<%= @settings['issues_tracker_api_key'] %>"; UPDATE settings SET value='1' WHERE name='rest_api_enabled'; INSERT INTO tokens (user_id, action, value, created_on) VALUES('1', 'api', @api_key, CURRENT_TIMESTAMP());
SET @api_key="<%= @settings['issues_tracker_api_key'] %>"; INSERT INTO settings (name, value, updated_on) VALUES ('rest_api_enabled','1', CURRENT_TIMESTAMP()); INSERT INTO tokens (user_id, action, value, created_on) VALUES('1', 'api', @api_key, CURRENT_TIMESTAMP());
Fix Redmine API not activated.
Fix Redmine API not activated. Change-Id: I3aef42863992cb90d5e4e2f870ba300b0bf0e054
HTML+ERB
apache-2.0
enovance/software-factory,invenfantasy/software-factory,invenfantasy/software-factory,enovance/software-factory,invenfantasy/software-factory,invenfantasy/software-factory,enovance/software-factory,invenfantasy/software-factory,enovance/software-factory,enovance/software-factory
ac1b6489404d72a60a13024e9e8fc09ef4aa892b
app/views/bulletins/busy.html.erb
app/views/bulletins/busy.html.erb
<div class="throbber">Loading...</div> <meta http-equiv="refresh" content="10">
<div class="throbber">Loading...</div> <script> setTimeout(function() { Turbolinks.visit(window.location.href); }, 5000); </script> <noscript> <meta http-equiv="refresh" content="5"> </noscript>
Replace meta refresh by turbolinks
Replace meta refresh by turbolinks
HTML+ERB
agpl-3.0
vinc/forecastfor.me,vinc/forecastfor.me,vinc/forecastfor.me
af0d8b3c12be4fd5dd9ba00d227c70491b093757
app/views/mailings/_table.html.erb
app/views/mailings/_table.html.erb
<table class="table table-striped"> <thead> <tr> <th>Name</th> <th>email</th> <th></th> </tr> </thead> <tbody> <% Restaurant.includes(:mailings).all.each do |restaurant| %> <tr> <td><%= link_to restaurant.name, restaurant_with_session_key_url(restaurant) %></td> ...
<table class="table table-striped"> <thead> <tr> <th>Name</th> <th>email</th> <th></th> </tr> </thead> <tbody> <% Restaurant.includes(:mailings).all.each do |restaurant| %> <tr> <td><%= link_to restaurant.name, restaurant_with_session_key_url(restaurant) %></td> ...
Add email information to tooltip
Add email information to tooltip
HTML+ERB
apache-2.0
madeindjs/fooder,madeindjs/fooder,madeindjs/fooder
f7c54259d77875ab090fa3919444c82ad2ffc084
app/views/invoices/index.html.erb
app/views/invoices/index.html.erb
<h1>Listing invoices</h1> <table> <tr> <th>Purchase</th> <th>Reference number</th> <th></th> <th></th> <th></th> </tr> <% @invoices.each do |invoice| %> <tr> <td><%= invoice.purchase %></td> <td><%= invoice.reference_number %></td> <td><%= link_to 'Show', invoice %></td> <td>...
<h1>Listing invoices</h1> <table> <tr> <th>Purchase</th> <th>Reference number</th> <th></th> <th></th> <th></th> </tr> <% @invoices.each do |invoice| %> <tr> <td><%= display_purchase(invoice) %></td> <td><%= invoice.reference_number %></td> <td><%= link_to 'Show', invoice %></td>...
Add display purchase helper to index
Add display purchase helper to index
HTML+ERB
mit
bryanbibat/rails-3_0-tutorial-code,bryanbibat/rails-3_0-tutorial-code
e3fa0106c781ce2a5e3daf874fc5d3f4652d8b47
app/views/layouts/_alert.html.erb
app/views/layouts/_alert.html.erb
<!--[if lte IE 9]> <div class="alert alert-warning alert-ie fade in" role="alert"> <button class="close" data-dismiss="alert" type="button"> <span aria-hidden="true">×</span> <span class="sr-only">Close</span> </button> <h4>This website no longer supports Internet Explorer versions 7 or 8.</h4> <p>W...
<!--[if lt IE 9]> <div class="alert alert-warning alert-ie fade in" role="alert"> <button class="close" data-dismiss="alert" type="button"> <span aria-hidden="true">×</span> <span class="sr-only">Close</span> </button> <h4>This website no longer supports Internet Explorer versions 7 or 8.</h4> <p>We...
Make sure it is less than IE 9 and close conditional correctly
Make sure it is less than IE 9 and close conditional correctly
HTML+ERB
isc
randy-r-masters/homebase,randy-r-masters/homebase,schlos/homebase,codeforamerica/homebase,randy-r-masters/homebase,codeforamerica/homebase,schlos/homebase,codeforamerica/homebase,schlos/homebase
b3775b024d6aa6b0cec5b8ec714249f5e282b5b0
templates/mysql-database.conf.erb
templates/mysql-database.conf.erb
# Generated by Puppet <Plugin mysql> <Database "<%= @database %>"> Host "<%= @host %>" User "<%= @username %>" Password "<%= @password %>" <% if scope.lookupvar('collectd::collectd_version_real') and (scope.function_versioncmp([scope.lookupvar('collectd::collectd_version_real'), '5.0']) >= 0) -%> Por...
# Generated by Puppet <Plugin mysql> <Database "<%= @database %>"> Host "<%= @host %>" User "<%= @username %>" Password "<%= @password %>" <% if scope.lookupvar('collectd::collectd_version_real') and (scope.function_versioncmp([scope.lookupvar('collectd::collectd_version_real'), '5.0']) >= 0) -%> Por...
Correct the mysql WsrepStats parameter
Correct the mysql WsrepStats parameter
HTML+ERB
apache-2.0
archii/puppet-collectd,voxpupuli/puppet-collectd,voxpupuli/puppet-collectd,archii/puppet-collectd,archii/puppet-collectd,voxpupuli/puppet-collectd
107876276797551756669ecd13da47d9ab85dcbd
app/views/main/_article_card.html.erb
app/views/main/_article_card.html.erb
<div class="mdl-cell mdl-cell--4-col"> <div class="article-card mdl-card mdl-shadow--4dp"> <div class="mdl-card__title mdl-card--border mdl-color--indigo-A700 mdl-color-text--white"> <span class='mdl-card__title-text'><%= article.title.capitalize %></span> </div> <!-- <div class="mdl-card__media"> ...
<div class="mdl-cell mdl-cell--4-col"> <div class="article-card mdl-card mdl-shadow--4dp"> <div class="mdl-card__title mdl-card--border mdl-color--indigo-A700 mdl-color-text--white"> <span class='mdl-card__title-text'><%= article.title.capitalize %></span> </div> <div class="mdl-card__media"> ...
Add article's image and description at the view
Add article's image and description at the view
HTML+ERB
mit
marcelinol/readit_rails,marcelinol/readit_rails,marcelinol/readit_rails
dfa1015e45b7dc6e11ded0e64d8d011dbcd707a4
app/views/finders/show.html.erb
app/views/finders/show.html.erb
<% content_for :title, raw(finder.name) %> <header> <h1><%= raw(finder.name) %></h1> <% if finder.related.any? %> <div class='related-links'> <ul> <% finder.related.each do |link| %> <li><%= link_to "View #{link[:title]}", link[:web_url] %></li> <% end %> </ul> </div> ...
<% content_for :title, raw(finder.name) %> <header> <h1><%= raw(finder.name) %></h1> <% if finder.related.any? %> <div class='related-links'> <ul> <% finder.related.each do |link| %> <li><%= link_to "View #{link[:title]}", link[:web_url] %></li> <% end %> </ul> </div> ...
Remove email signup link in view
Remove email signup link in view As we want to be able to access the pages for the email signup pages but don't want to expose these to Users we want to remove the link until we're ready for these to go 'live'.
HTML+ERB
mit
alphagov/finder-frontend,alphagov/finder-frontend,alphagov/finder-frontend,alphagov/finder-frontend
6eafadbef353ac8a31e22f5b99ce453c6f784075
app/views/project/edit.html.erb
app/views/project/edit.html.erb
<h1>Editing <%= @project.name %></h1> <% form_for :project, @project, :url => {:action => 'update'} do |f| %> <p> <%= f.label :name %>: <%= f.text_field :name %> </p> <p> <%= f.label :website %>: <%= f.text_field :website %> </p> <p> <%= f.label :blog, "Blog URL" %>: <%= f.text_field :blog, :size ...
<script src="http://www.google.com/jsapi"></script> <script type="text/javascript"> google.load("jquery", "1"); google.load("jqueryui", "1"); google.setOnLoadCallback(function(){ $('select#hosting').change(function(){ }); }); </script> <h1>Editing <%= @project.name %></h1> <% form_for :project...
Edit page needs jQuery, too
Edit page needs jQuery, too I realize that I really should be using layouts...
HTML+ERB
mit
epall/oss_dashboard
437f2b633acb6f5bdbf126d81058a4a66b30ab8d
app/views/sessions/new.html.erb
app/views/sessions/new.html.erb
<div class="ballon"> <h1><%= t("ui.login") %></h1> </div> <div class="arrow">&nbsp;</div> <div class="item"> <% form_tag session_path do -%> <p><%= label_tag t("ui.login") %><br /> <%= text_field_tag t("ui.login"), @login %></p> <p><%= label_tag t('ui.password') %><br/> <%= password_field_tag t('ui.p...
<div class="ballon"> <h1><%= t("ui.login") %></h1> </div> <div class="arrow">&nbsp;</div> <div class="item"> <% form_tag session_path do -%> <p><%= label_tag t("ui.login") %><br /> <%= text_field_tag :login, @login %></p> <p><%= label_tag t('ui.password') %><br/> <%= password_field_tag :password, nil...
Fix bug in login template
Fix bug in login template
HTML+ERB
mit
dmitryame/echowaves,dmitryame/echowaves
765412a6e046c128611da70eee4cc4446b6f4363
app/views/timeline/index.js.erb
app/views/timeline/index.js.erb
$('body').addClass('infinite-scrolling'); // Append new data $("<%=j render(:partial => 'timeline/pictures', :object => @pictures) %>") .appendTo($('#gallery')); // Update next-page link <% if @pictures.last_page? %> $('.next-page').html(''); $('body').removeClass('infinite-scrolling'); <% else %> $('.next-pa...
$('body').addClass('infinite-scrolling'); // Append new data $("<%=j render(:partial => 'timeline/pictures', :object => @pictures) %>") .appendTo($('#gallery')); // Update timeago $('time[data-time-ago]').timeago(); // Update next-page link <% if @pictures.last_page? %> $('.next-page').html(''); $('body').remo...
Fix timeago in timeline load more
Fix timeago in timeline load more
HTML+ERB
mit
vinc/pi.ctu.re,vinc/pi.ctu.re,vinc/pi.ctu.re
ab8656e2e867a24ca33506d5ff09cbef499a9016
chef/templates/upstart.conf.erb
chef/templates/upstart.conf.erb
# <%= @name %> generated by poise-service description "<%= @name %>" start on runlevel [2345] stop on runlevel [!2345] respawn respawn limit 10 5 umask 022 chdir <%= @directory %> <%- @environment.each do |key, val| -%> env <%= key %>="<%= val %>" <%- end -%> <%- if @upstart_features[:setuid] -%> setuid <%= @user %>...
# <%= @name %> generated by poise-service description "<%= @name %>" start on runlevel [2345] stop on runlevel [!2345] respawn respawn limit 10 5 umask 022 chdir <%= @directory %> <%- @environment.each do |key, val| -%> env <%= key %>="<%= val %>" <%- end -%> <%- if @upstart_features[:setuid] -%> setuid <%= @user %>...
Fix up the probably-non-functional fallback stop_signal support.
Fix up the probably-non-functional fallback stop_signal support.
HTML+ERB
apache-2.0
poise/poise-service,h4ck3rm1k3/poise-service,rljohnsn/poise-service,poise/poise-service,rljohnsn/poise-service,poise/poise-service,h4ck3rm1k3/poise-service,rljohnsn/poise-service,h4ck3rm1k3/poise-service
88856151266196aa38aef02d2aa5807c7330cd99
app/views/admin/guides/_part.html.erb
app/views/admin/guides/_part.html.erb
<div class="part"> <h3><a href="#">Section 1</a></h3> <%= f.inputs do %> <%= f.input :title %> <%= f.input :excerpt, :as => :text %> <%= f.input :body, :as => :text %> <%= f.input :slug %> <%= f.remove_link "Remove" %> <% end %> </div>
<h3><a href="#">Section</a></h3> <div class="part"> <%= f.inputs do %> <%= f.input :title %> <%= f.input :excerpt, :as => :text %> <%= f.input :body, :as => :text %> <%= f.input :slug %> <li><%= f.remove_link "Remove" %></li> <% end %> </div>
Remove section out of the part div. Wrap remove link in an li
Remove section out of the part div. Wrap remove link in an li
HTML+ERB
mit
alphagov/publisher,leftees/publisher,telekomatrix/publisher,theodi/publisher,leftees/publisher,theodi/publisher,leftees/publisher,alphagov/publisher,telekomatrix/publisher,alphagov/publisher,theodi/publisher,telekomatrix/publisher,leftees/publisher,theodi/publisher,telekomatrix/publisher
d1e1bc7ad472608339aed28645b630bea8c3546a
app/views/contact_us/index.html.erb
app/views/contact_us/index.html.erb
<h1>Contact Us</h1> <table id="contactUSTable"> <tr> <td>ADDRESS</td> <td>35 Nguyễn Huệ, P.Bến Nghé, Q.1, TP.Hồ Chí Minh</td> </tr> <tr> <td>PHONE NUMBER</td> <td>(+84)02812345678</td> </tr> </table>
<h1>Contact Us</h1> <table id="contactUSTable"> <tr> <td>ADDRESS</td> <td>35 Nguyễn Huệ, P.Bến Nghé, Q.1, TP.Hồ Chí Minh</td> </tr> <tr> <td>PHONE NUMBER</td> <td>(+84)02812345678</td> </tr> </table> <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3919.51429446993!2d106.7032462148008!...
Use a basic google map on the Contact Us page.
Use a basic google map on the Contact Us page.
HTML+ERB
mit
ULI-RubyonRails-2017/lab01-sinh_tai,ULI-RubyonRails-2017/lab01-sinh_tai,ULI-RubyonRails-2017/lab01-sinh_tai,ULI-RubyonRails-2017/lab01-sinh_tai
9e644736c1effc0a92131d844fe62d4717c31b2c
app/views/partials/_navBar.html.erb
app/views/partials/_navBar.html.erb
<div class="navBar"> <h1 class="title"><a href="/">Mathio Party</a></h1> <div class="login"> <% if current_user %> <%= link_to "Logout, #{current_user.username} ", destroy_user_session_path, method: :delete %> <% if !player2_logged_in? %> <%= link_to 'Player 2 Login', players_new_path %> <...
<div class="navBar"> <h1 class="title"><a href="/">Mathio Party</a></h1> <div class="login"> <% if current_user %> <%= link_to "Logout, #{current_user.username}", destroy_user_session_path, method: :delete %> <% if !player2_logged_in? %> <%= link_to 'Player 2 Login', players_new_path %> <%...
Fix spacing issue with player1 username
Fix spacing issue with player1 username
HTML+ERB
mit
kaydenwilliams7/mathio-party,kaydenwilliams7/mathio-party,kaydenwilliams7/mathio-party
20ba643bf48a26b4d2108d399026f7313b108a7b
app/views/purchases/_table.html.erb
app/views/purchases/_table.html.erb
<div class="table-responsive"> <table class="table table-striped table-responsive data-table"> <thead> <tr> <th>PO/Order #</th> <th>Vendor Name</th> <th>Date Entered</th> <th>Status</th> </tr> </thead> <tbody> <% @purchases.each do |purchase| %> <...
<div class="table-responsive"> <table class="table table-striped table-responsive data-table"> <thead> <tr> <th class="col-xs-1">Purchase ID</th> <th class="col-xs-1">PO/Order #</th> <th>Vendor Name</th> <th>Date Entered</th> <th>Status</th> </tr> </thead> ...
Fix purchase index col widths
Fix purchase index col widths
HTML+ERB
mit
on-site/StockAid,on-site/StockAid,on-site/StockAid
89023994231c8a7e100a2bae012b7164bdf86944
app/views/schools/_results.html.erb
app/views/schools/_results.html.erb
<h6>search results: <%= @results.length %></h5> <ul class="list-group results-list"> <% @results.each do |item| %> <div class="result-item clickable"> <a data-toggle="modal" data-target="#schoolModal" data-dbn="<%= item.dbn%>" data-school="<%= item.school %>" data-enrollment=<%= item.total_enrollment %> data-o...
<h6>search results: <%= @results.length %></h5> <ul class="list-group results-list"> <% @results.each do |item| %> <div class="result-item clickable"> <a data-toggle="modal" data-target="#schoolModal" data-dbn="<%= item.dbn%>" data-school="<%= item.school %>" data-district="<%= item.district_name %>"data-enrol...
Add data item to each item in results list for district info
Add data item to each item in results list for district info
HTML+ERB
mit
fma2/cfe-money,fma2/cfe-money,fma2/cfe-money
98bf92d3bed438d3835333b34b7f68ad24869fc8
cookbooks/piwik/templates/default/apache.erb
cookbooks/piwik/templates/default/apache.erb
# DO NOT EDIT - This file is being maintained by Chef <VirtualHost *:80> ServerName piwik.openstreetmap.org ServerAlias piwik.osm.org ServerAdmin webmaster@openstreetmap.org CustomLog /var/log/apache2/piwik.openstreetmap.org-access.log combined ErrorLog /var/log/apache2/piwik.openstreetmap.org-error.log Docume...
# DO NOT EDIT - This file is being maintained by Chef <VirtualHost *:80> ServerName piwik.openstreetmap.org ServerAlias piwik.osm.org ServerAdmin webmaster@openstreetmap.org CustomLog /var/log/apache2/piwik.openstreetmap.org-access.log combined ErrorLog /var/log/apache2/piwik.openstreetmap.org-error.log Docume...
Disable directory indexes for piwik
Disable directory indexes for piwik
HTML+ERB
apache-2.0
tomhughes/openstreetmap-chef,Firefishy/chef,Firefishy/chef,Firefishy/chef,gravitystorm/chef,tomhughes/openstreetmap-chef,Firefishy/chef,gravitystorm/chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,Firefishy/chef,openstreetmap/chef,openstreetmap/chef,Firefishy/chef,tomhughes/openstreetmap-chef,openstreet...
8d8da2e055f59f4a994cc6eb6cb2cab84d44af2c
app/views/comments/_show.html.erb
app/views/comments/_show.html.erb
<li class="comment-display"> <p> <span class="username"><%= comment.author.username %></span> <span class="timestamp"><%= comment.created_at %></span> </p> <hr> <p><%= comment.content %></p> <% if comment.author_id == session[:user_id] %> <br> <p><%= link_to 'Edit', edi...
<li class="comment-display"> <p> <span class="username"><%= comment.author.username %></span> <span class="timestamp"><%= comment.created_at %></span> </p> <hr> <p><%= comment.content %></p> <p class ="comment_options"><% if comment.author_id == session[:user_id] %> <%= l...
Add threaded add comment link to comment show
Add threaded add comment link to comment show
HTML+ERB
mit
JamesAnthonyLow/whopperflow,JamesAnthonyLow/whopperflow,JamesAnthonyLow/whopperflow,nyc-fireflies-2015/whopperflow,nyc-fireflies-2015/whopperflow,nyc-fireflies-2015/whopperflow
d7acfb1b57ec779e0470171781e269fe9539b9eb
app/views/projects/index.html.erb
app/views/projects/index.html.erb
<%= navigation true %> <ul class="navigation"> <li><%= link_to "Witchifier", witchifier_path %></li> <li><a href="javascript:(function(e){var t;if(!e.FuckMyDom){t=document.createElement('script');t.setAttribute('src','https://rawgithub.com/discom4rt/fuck-my-dom/master/fuck-my-dom.js');t.onload=function(){FuckMyDom.s...
<%= navigation true %> <ul class="navigation"> <li><%= link_to "Witchifier", witchifier_path %></li> <li><a href="javascript:(function(e){var t;if(!e.FuckMyDom){t=document.createElement('script');t.setAttribute('src','https://rawgithub.com/discom4rt/fuck-my-dom/master/fuck-my-dom.js');t.onload=function(){FuckMyDom.s...
Add dat tweet tho to projects
Add dat tweet tho to projects
HTML+ERB
mit
mhgbrown/website,mhgbrown/website,mhgbrown/website
7bbfcf77188f9fe8d15e1a7feadd5ad00180cc18
app/views/people/_previous_roles.html.erb
app/views/people/_previous_roles.html.erb
<% if person.has_previous_roles? %> <section class="previous-roles govuk-!-padding-bottom-9" dir="<%= page_text_direction %>" lang="<%= person.locale %>"> <%= render "govuk_publishing_components/components/heading", { text: t("people.previous_roles_in_government"), id: "previous-roles", margin_b...
<% if person.has_previous_roles? %> <section class="previous-roles govuk-!-padding-bottom-9" dir="<%= page_text_direction %>" lang="<%= person.locale %>"> <%= render "govuk_publishing_components/components/heading", { text: t("people.previous_roles_in_government"), lang: t_fallback("people.previous_ro...
Add lang attribute to previous roles heading
Add lang attribute to previous roles heading
HTML+ERB
mit
alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections
863bade8c00b5201a10767ec50569b92d0584ab2
index.html.md.erb
index.html.md.erb
--- title: Administering Cloud Foundry --- This section presents a guide to managing Elastic Runtime at the administrator level. ## Table of Contents * [Adding Buildpacks to Cloud Foundry](./buildpacks.html) * [Creating and Managing Users with the cf CLI](./cli-user-management.html) * [Managing Users with the UAA CL...
--- title: Administering Cloud Foundry --- This section presents a guide to managing Elastic Runtime at the administrator level. ## Table of Contents * [Adding Buildpacks to Cloud Foundry](./buildpacks.html) * [Creating Domains and Routes](./domains-routes.html) * [Creating and Managing Users with the cf CLI](./cli-...
Add index link to admin domains and routes doc.
Add index link to admin domains and routes doc.
HTML+ERB
apache-2.0
cf-routing/docs-cf-admin,cwest/docs-cf-admin,bridgetkromhout/docs-cf-admin,cloudfoundry/docs-cf-admin
5d09931ce02c65ce1ca255f74960e1ee4ec2681e
app/views/smart_answers/_result.html.erb
app/views/smart_answers/_result.html.erb
<div class="article-container outcome"> <article class="outcome group"> <div class="result-info"> <div class="inner group"> <% if @presenter.current_node.has_title? %> <div class="summary"><h2 class="result-title"><%= @presenter.current_node.title %></h2></div> <% end %> <% i...
<div class="article-container outcome"> <article class="outcome group"> <div class="result-info"> <div class="inner group"> <% if @presenter.current_node.has_title? %> <div class="summary"><h2 class="result-title"><%= @presenter.current_node.title %></h2></div> <% end %> <% i...
Add Google Analytics Event to outcome pages
Add Google Analytics Event to outcome pages We hope that recording an event when someone reaches an outcome will help us understand more about how Smart Answers are used. We initially investigated using Virtual Pageviews (see PR #1700 for that discussion) before settling on Events. This approach was suggested by Chri...
HTML+ERB
mit
stwalsh/smart-answers,askl56/smart-answers,tadast/smart-answers,stwalsh/smart-answers,stwalsh/smart-answers,tadast/smart-answers,aledelcueto/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers,askl56/smart-answers,tadast/smart-answers,stwalsh/smart-answers,ask...
5e01d5f455a98df736646d8c224cdd6a8f84aa4f
lib/smart_answer_flows/marriage-abroad/outcomes/countries/south-africa/uk/partner_other/_same_sex.govspeak.erb
lib/smart_answer_flows/marriage-abroad/outcomes/countries/south-africa/uk/partner_other/_same_sex.govspeak.erb
Contact the [relevant local authorities](http://www.dha.gov.za/index.php/civic-services/marriage-certificates) in South Africa to find out about local marriage laws, including what documents you’ll need. ^You should [get legal advice](/government/collections/list-of-lawyers) and check the [travel advice for South Afr...
Contact the [relevant local authorities](http://www.dha.gov.za/index.php/civic-services/marriage-certificates) in South Africa to find out about local marriage laws, including what documents you’ll need. ^You should [get legal advice](/government/collections/list-of-lawyers) and check the [travel advice for South Afr...
Add appointment link for explanatory letter
Add appointment link for explanatory letter
HTML+ERB
mit
aledelcueto/smart-answers,aledelcueto/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers
ca07dba85830fbd2dbc745779a67afabc74bd9df
app/views/messages/create.js.erb
app/views/messages/create.js.erb
<% if @message.persisted? %> var data = { success : true, statusMessage : '<%=j @notification[:notice].html_safe %>', sentMessage : '<%=j render "shared/message_list", message: @message.claim %>' } adp.messaging.processMsg(data); <% unless Claim::VALID_STATES_FOR_REDETERMINATION.include?(@message.c...
<% if @message.persisted? %> var data = { success : true, statusMessage : '<%=j @notification[:notice].html_safe %>', sentMessage : '<%=j render "shared/message_list", message: @message.claim %>' } adp.messaging.processMsg(data); <% unless Claim::VALID_STATES_FOR_REDETERMINATION.include?(@message.c...
Hide the status update section if they have send it as part of the message
Hide the status update section if they have send it as part of the message
HTML+ERB
mit
ministryofjustice/advocate-defence-payments,ministryofjustice/advocate-defence-payments,ministryofjustice/advocate-defence-payments,ministryofjustice/advocate-defence-payments
657e4a1e7e6bd944f51b3cd53bc0fd11746c59f9
app/views/questions/new.html.erb
app/views/questions/new.html.erb
<h1>New Question</h1> <%= form_for :question, url: questions_path do |f| %> <p> <%= f.label :question %><br/> <%= f.text_area :question, class: "form-control", style: "width: 50%; height: 100px" %> </p> <p> <%= f.label :username %><br/> <%= f.text_field :username, class: "form-contr...
<h1>New Question</h1> <%= form_for :question, url: questions_path do |f| %> <p> <%= f.label :question %><br/> <%= f.text_area :question, class: "form-control", style: "width: 50%; height: 100px" %> </p> <% if !(user_signed_in?) %> <p> <%= f.label :username %><br/> <%= f.text_fie...
Remove the field :username for logged in user to 'new question'
Remove the field :username for logged in user to 'new question'
HTML+ERB
mit
arseniy96/my_first_site,arseniy96/my_first_site,arseniy96/my_first_site