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
6fa1a7fd6d390b91c0d6ad81ea389ecfcc6fa693
app/views/devise/registrations/new.html.erb
app/views/devise/registrations/new.html.erb
<h2>Sign up</h2> <%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %> <%= devise_error_messages! %> <div class="field"> <%= f.label :email %><br /> <%= f.email_field :email, autofocus: true %> </div> <div class="field"> <%= f.label :password %> <% if @min...
<div class="column row"> <div class="medium-6 large-4 medium-centered large-centered columns"> <div class="row"> <div class="medium-12 columns"> <h2>Sign up</h2> </div> </div> <%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %> <%= devise_er...
Format account creation page with columns.
Format account creation page with columns.
HTML+ERB
mit
michaelramuta/podcrap,michaelramuta/podcrap,michaelramuta/podcrap
c7ed7479604d1980616af84a4cfd887ddd70245c
app/views/devise/registrations/new.html.erb
app/views/devise/registrations/new.html.erb
<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %><br /><br /> <div class="flex-center"> <!--Form with header--> <div class="card"> <div class="card-block"> <!--Header--> <div class="form-header blue-gradient"> <h3><i class="fa fa-user"...
<div id="flash"> </div> <%= form_for(resource, as: resource_name, url: registration_path(resource_name), remote: true) do |f| %><br /><br /> <div class="flex-center"> <!--Form with header--> <div class="card"> <div class="card-block" > <!--Header--> <div class="form-header blue-gradient">...
Add remote:true to sign_up form
Add remote:true to sign_up form
HTML+ERB
mit
bdisney/eShop,bdisney/eShop,bdisney/eShop
ccbfda5913f89ecf0132afe0b185d2b0e19f176c
app/views/registration_tables/edit.html.erb
app/views/registration_tables/edit.html.erb
<h1>Editing Registration Table</h1> <%= render 'form' %> <%= link_to 'Show', @registration_table %> | <%= link_to 'Back', registration_tables_path %>
<h1>Editing Registration Table</h1> <%= render 'form' %> <%= link_to 'Show', @registration_table %> | <%= link_to 'Back', registration_tables_path (@event, @session, @table) %>
Add proper objects for registration table
Add proper objects for registration table
HTML+ERB
mit
10000-Lakes-Gaming/registration,Acerak2/registration,10000-Lakes-Gaming/registration,Acerak2/registration,Acerak2/registration,10000-Lakes-Gaming/registration,Acerak2/registration,10000-Lakes-Gaming/registration
b84b23393c3285dd343aba45af52ea72da977673
app/views/reviews/_new_trip_review.html.erb
app/views/reviews/_new_trip_review.html.erb
<%= form_for [@trip,@review] do |f| %> <%= f.label :rating%>: <%= f.text_field :rating %><br> <%= f.label :content %>: <%= f.text_area :content %><br> <%= f.hidden_field :trip_id, :value => @trip.id %> <%= f.hidden_field :reviewee_id, :value => @trip.driver_id %> <%= f.submit %> <% end %>
<%= form_for [@trip,@review] do |f| %> <%= f.label :rating%>: <%= f.text_field :rating %><br> <%= f.label :content %>: <%= f.text_area :content %><br> <%= f.hidden_field :reviewee_id, :value => @trip.driver_id %> <%= f.submit %> <% end %>
Remove trip id hidden field from new trip review form
Remove trip id hidden field from new trip review form
HTML+ERB
mit
bicyclethief/caravan,nyc-rock-doves-2015/caravan,bicyclethief/caravan,bicyclethief/caravan,grantziolkowski/caravan,nyc-rock-doves-2015/caravan,nyc-rock-doves-2015/caravan,grantziolkowski/caravan,grantziolkowski/caravan
d70b4f68e087daeb31429073e20e4fcb33dd9295
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>Chef Ken</title> <%= csrf_meta_tags %> <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> <%= stylesheet_l...
<!DOCTYPE html> <html> <head> <title>Chef Ken</title> <%= csrf_meta_tags %> <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> <%= stylesheet_l...
Fix link_to route for 'profile' in nav bar for to go to user profile
Fix link_to route for 'profile' in nav bar for to go to user profile
HTML+ERB
mit
chi-otters-2017/chef-ken,chi-otters-2017/chef-ken,chi-otters-2017/chef-ken
8ffcacb15b6d80767f6c6565d1879bdc954f0107
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title><%= yield :page_title %> - GOV.UK</title> <!--[if gt IE 8]><!--><%= stylesheet_link_tag "application.css" %><!--<![endif]--> <!--[if IE 6]><%= stylesheet_link_tag "application-ie6.css" %><![endif]--> <!--[if IE 7]><%= stylesheet_link_tag "application-ie7.css" %><![endi...
<!DOCTYPE html> <html> <head> <title><%= yield :page_title %> - GOV.UK</title> <!--[if gt IE 8]><!--><%= stylesheet_link_tag "application.css" %><!--<![endif]--> <!--[if IE 6]><%= stylesheet_link_tag "application-ie6.css" %><![endif]--> <!--[if IE 7]><%= stylesheet_link_tag "application-ie7.css" %><![endi...
Remove redundant tag for removing breadcrumb
Remove redundant tag for removing breadcrumb This app uses the GOV.UK Component to render the breadcrumb. The tag removed in this was previously necessary to instruct Slimmer to hide the old breadcrumb. We no longer need it because the CSS and HTML have been completely removed from static in https://github.com/alphago...
HTML+ERB
mit
alphagov/contacts-frontend,alphagov/contacts-frontend,alphagov/contacts-frontend,alphagov/contacts-frontend
4e0e1f3f18f3451b5eeb8e2d321eaeb14ecda182
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>SimpleBarTab</title> <%= stylesheet_link_tag "application", media: "all" %> <%= javascript_include_tag "application" %> <%= yield :head %> <%= csrf_meta_tags %> </head> <body> <div id='da-header'><%= link_to 'Sibata', tabs_path%></div> <%= yield %> <div id='da-footer'...
<!DOCTYPE html> <html> <head> <title>SimpleBarTab</title> <%= stylesheet_link_tag "application", media: "all" %> <%= javascript_include_tag "application" %> <%= yield :head %> <%= csrf_meta_tags %> </head> <body> <div id='da-header'><%= link_to 'Home', tabs_path%></div> <%= yield %> <div id='da-footer'> ...
Change Sibata link to read Home
Change Sibata link to read Home
HTML+ERB
mit
aauthor/sibata,aauthor/sibata,aauthor/sibata
ad784ab361219dfb4e6b79a7a961ed73650d062c
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title><%= yield :title %> | GOV.UK</title> <%= stylesheet_link_tag 'calendar' %> <%= csrf_meta_tags %> <%= yield :head %> </head> <body class="citizen"> <div id="wrapper" class="answer"> <%= yield %> <div id="related-items"></div> </div> </body...
<!DOCTYPE html> <html> <head> <title><%= yield :title %> | GOV.UK</title> <%= stylesheet_link_tag 'calendar' %> <%= csrf_meta_tags %> <%= yield :head %> </head> <%# The citizen class is going to be deprecated, to be replaced with mainstream. %> <%# Added the mainstream class in preparation for t...
Add mainstream class to body
Add mainstream class to body In preparation for replacing the citizen class.
HTML+ERB
mit
ministryofjustice/calendars,alphagov/calendars,ministryofjustice/calendars,alphagov/calendars,alphagov/calendars,alphagov/calendars
7b48a2c7109a9cf984c8d82a360d688d4e8c6ab6
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <%= render "layouts/partials/head" %> </head> <body> <div id="v-app"> <!-- <main class="body-container <%= controller_name %>-parent"> <header class="js-expandable-section"> <%#= render 'layouts/partials/navbar' %> <%#= yield :header %> ...
<!DOCTYPE html> <html> <head> <%= render "layouts/partials/head" %> </head> <body> <div id="v-app"> <%= render "layouts/partials/topbar" %> <%= yield %> <%= render "layouts/partials/footer" %> </div> <%= render 'partials/download_modal' %> </body> </html>
Tidy up application layout file
Tidy up application layout file
HTML+ERB
bsd-3-clause
unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet
73525e13b27d5834d0e10bffd94d52e5286973a6
app/views/admin/bundles/new.html.erb
app/views/admin/bundles/new.html.erb
<div class="panel panel-default"> <div class="panel-heading"><h1>Import Bundle</h1></div> <%= bootstrap_form_tag url: admin_bundles_url, html: {id: "add_bundle_form"} do |f| %> <div class="panel-body"> <%= f.file_field :file, label: 'Bundle', accept: 'application/zip' %> </div> <div class="panel-footer"> ...
<div class="panel panel-default"> <div class="panel-heading"><h1>Import Bundle</h1></div> <%= bootstrap_form_tag url: admin_bundles_path, html: {id: "add_bundle_form"} do |f| %> <div class="panel-body"> <%= f.file_field :file, label: 'Bundle', accept: 'application/zip' %> </div> <div class="panel-footer"> ...
Fix uploading when behind an web server such as nginx
Fix uploading when behind an web server such as nginx Currently when you attempt to upload a new bundle to the application when behind a proxy server such as nginx the upload fails. This is due to the fact that the admin_bundles_url returns the absolute url which is incorrect when behind a proxy server. If we use admi...
HTML+ERB
apache-2.0
projectcypress/cypress,projectcypress/cypress,projectcypress/cypress,projectcypress/cypress
8cf083deca75d7a97783645cb3b7d139b1985aaf
app/views/application/index.html.erb
app/views/application/index.html.erb
HELLO WORLD! <%= link_to "Here's the actual website! GO CLICK!", movies_path %>
<div class="jumbtron"> <div class="container"> <%= link_to image_tag("movie-theater.jpg"), movies_path %> <h4>Tariq's Movie Manager gives you the lowdown on all movies, real and fictional.</h4> <p><a class="btn btn-default btn-lg" href=<%= movies_path %> role="button">Visit Now.</a></p> </div> </div>
Add photo and button to splash page
Add photo and button to splash page
HTML+ERB
mit
tra38/Tariq-Movie-Manager,tra38/Tariq-Movie-Manager,tra38/Tariq-Movie-Manager
9077f09285dd1afe2b5f04117ee8ca818e7d3a29
app/views/contacts/_contact.html.erb
app/views/contacts/_contact.html.erb
<%= div_for contact, :class => 'row' do %> <div class="logo"> <%= link_to(image_tag(contact.receiver.logo.url(:contact)), contact.receiver_subject) %> </div> <div class="sub-block"> <div class="name"> <%= link_to(contact.receiver_subject.name, contact.receiver_subject, :class => "con...
<%= div_for contact, :class => 'row' do %> <div class="logo"> <%= link_to(image_tag(contact.receiver.logo.url(:contact)), contact.receiver_subject) %> </div> <div class="sub-block"> <div class="name"> <%= link_to(truncate_name(contact.receiver_subject.name), contact.receiver_subject,...
Truncate name for suggestions and pending requests
Truncate name for suggestions and pending requests
HTML+ERB
mit
ging/social_stream,beder/social_stream,honorlin/social_stream,honorlin/social_stream,ging/social_stream,honorlin/social_stream,ging/social_stream,beder/social_stream,honorlin/social_stream,beder/social_stream,beder/social_stream
b7a29d86d6a888503d4241ce2b4a1ee62896d142
app/views/layouts/_exercise.html.erb
app/views/layouts/_exercise.html.erb
<% @current_tab = current_tab %> <div class="row"> <div class="col-md-12"> <h1> <%= @exercise.title %> <small> - <%= @exercise.language %></small> </h1> <hr> </div> </div> <div class="row"> <div class="col-md-10"> <%= yield %> </div> <div class="col-md-2"> <ul class="nav nav-...
<% @current_tab = current_tab %> <div class="row"> <div class="col-md-12"> <h1> <%= @exercise.title %> <small> - <%= @exercise.language %></small> <%= exercise_status_icon(@exercise)%> </h1> <hr> </div> </div> <div class="row"> <div class="col-md-10"> <%= yield %> </div> <d...
Add submission status on exercise show
Add submission status on exercise show
HTML+ERB
agpl-3.0
mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory
3487209b3fd0f6ac4fe08bf06a0b3cfa3996ae17
app/views/static_pages/mentorship.html.erb
app/views/static_pages/mentorship.html.erb
<%= render "layouts/navbar", page: "Mentorship" %> <div class='container page'> <div class='mentorship-section-title'> She's Coding Mentorship Program </div> <div class='mentorship-body'> </div> </div> <%= render :partial => "layouts/footer" %>
<%= render "layouts/navbar", page: "Mentorship" %> <div class='container page'> <div class='mentorship-section-title'> She's Coding Mentorship Program </div> <div class='mentorship-body'> <p> You want to advance your career while meeting extraordinary, inspiring people? Get advice and help ...
Add content to mentorship page; add link to survey
Add content to mentorship page; add link to survey
HTML+ERB
mit
probinson2015/shescoding-dot-org,probinson2015/shescoding-dot-org,shescoding/shescoding-dot-org,probinson2015/shescoding-dot-org,shescoding/shescoding-dot-org,shescoding/shescoding-dot-org,shescoding/shescoding-dot-org,probinson2015/shescoding-dot-org
bbdbe1980a6fcb53ec6b1f12ca36d25b73bf46e9
frontends/default/views/_show.html.erb
frontends/default/views/_show.html.erb
<h4><%= @record.to_label.nil? ? active_scaffold_config.show.label : as_(:show_model, :model => clean_column_value(@record.to_label)) %></h4> <%= render :partial => 'show_columns', :locals => {:columns => active_scaffold_config.show.columns} -%> <p class="form-footer"> <%= link_to as_(:close), main_path_to_return, :...
<h4><%= active_scaffold_config.show.label(@record.to_label.nil? ? nil : clean_column_value(@record.to_label)) %></h4> <%= render :partial => 'show_columns', :locals => {:columns => active_scaffold_config.show.columns} -%> <p class="form-footer"> <%= link_to as_(:close), main_path_to_return, :class => 'cancel' %> ...
Use label defined in show
Use label defined in show
HTML+ERB
mit
activescaffold/active_scaffold,budree/active_scaffold,budree/active_scaffold,activescaffold/active_scaffold,AlbertoBarrago/active_scaffold,mallikarjunayaddala/active_scaffold,budree/active_scaffold,AlbertoBarrago/active_scaffold,mallikarjunayaddala/active_scaffold,activescaffold/active_scaffold,mallikarjunayaddala/acti...
0a4285aa4373ca983e71a02e3929b8a6c3f56a60
lib/views/user/_signup.html.erb
lib/views/user/_signup.html.erb
<div id="signup"> <%= form_tag({:action => "signup"}, {:id => "signup_form"}) do %> <%= foi_error_messages_for :user_signup %> <!--<h2><%= _('If you\'re new to {{site_name}}', :site_name=>site_name)%></h2>--> <p> <label class="form_label" for="user_signup_email"><%= _('Your e-mail:')%></label> ...
Add user agreement checkbox on signup.
Add user agreement checkbox on signup.
HTML+ERB
mit
opennorth-archive/alavetelitheme
d6cc45127c0f310551b03a3de4a0812afaa81b7f
templates/checks/nagios_wrapper.yaml.erb
templates/checks/nagios_wrapper.yaml.erb
--- init_config: check_path: <%= check_path %> temp_file_path: <%= temp_file_path %> instances:
--- init_config: check_path: <%= @check_path %> temp_file_path: <%= @temp_file_path %> instances:
Fix variable access in nagios wrapper config
Fix variable access in nagios wrapper config Without this puppet issues warning. Change-Id: I69d1f48d360073caa1b04b30ca304966cbd7fac5
HTML+ERB
apache-2.0
openstack/puppet-monasca,openstack/puppet-monasca,openstack/puppet-monasca,openstack/puppet-monasca,openstack/puppet-monasca
096961e3d032541d93931bb55d7bdba3f02c5d2f
app/views/projects/_content_item.html.erb
app/views/projects/_content_item.html.erb
<div class='content-item'> <%= simple_form_for content_item, url: project_content_item_path(content_item.project, content_item), remote: true, html: { data: { ref: content_item.id }, class: 'js-content-item-form' } do |f| %> <%= token_tag %> <%= link_to content_item.title, content_item.url, data: {proxy_ifram...
<div class='content-item'> <%= simple_form_for content_item, url: project_content_item_path(content_item.project, content_item), remote: true, html: { data: { ref: content_item.id }, class: 'js-content-item-form' } do |f| %> <%= token_tag %> <%= link_to content_item.title, content_item.url, data: {proxy_ifram...
Add content description into Project tagging view
Add content description into Project tagging view
HTML+ERB
mit
alphagov/content-tagger,alphagov/content-tagger,alphagov/content-tagger
db183665082e8ae3315c1893e16a7fe46d24b592
lib/views/general/_responsive_topnav.html.erb
lib/views/general/_responsive_topnav.html.erb
<div id="topnav"> <ul id="navigation"> <li class="<%= 'selected' if params[:controller] == 'request' and ['new', 'select_authority'].include?(params[:action]) %>"> <%= link_to _("Make a request"), select_authority_path, :id => 'make-request-link' %> </li> <li class="<%= 'selected...
<div id="topnav"> <ul id="navigation"> <li class="<%= 'selected' if params[:controller] == 'request' and ['new', 'select_authority'].include?(params[:action]) %>"> <%= link_to _("Make a request"), select_authority_path, :id => 'make-request-link' %> </li> <li class="<%= 'selected...
Revert "Change blog link in to go directly to OAF site"
Revert "Change blog link in to go directly to OAF site" This reverts commit 674b9c88af05c7301f1229c9fe74991963bac296.
HTML+ERB
mit
openaustralia/righttoknow,openaustralia/righttoknow,openaustralia/righttoknow
3c36fdae61a47d5db731952bd6ea5b49b8b661a4
templates/etc/cron.daily/puppet-apply.erb
templates/etc/cron.daily/puppet-apply.erb
#!/bin/bash PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin PUPPET_OPTS="--detailed-exitcodes --color=false --confdir=<%= @conf_dir %>" PUPPET_MANIFEST="<%= @manifest_file %>" LOG_FILE="<%= @log_file %>" TEMP_FILE=$(mktemp tmp.puppet-XXXXXXXXXX) if [ "$EUID" -ne "0" ]; then echo "This script must ...
#!/bin/bash PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin PUPPET_OPTS="--detailed-exitcodes --color=false" PUPPET_MANIFEST="<%= @manifest_file %>" LOG_FILE="<%= @log_file %>" TEMP_FILE=$(mktemp tmp.puppet-XXXXXXXXXX) if [ "$EUID" -ne "0" ]; then echo "This script must be run as root." 1>&2 exi...
Change working directory to better support hiera
Change working directory to better support hiera
HTML+ERB
apache-2.0
tohuwabohu/puppet-puppet,tohuwabohu/puppet-puppet
75f8037907669e895857508abd23f6120e1e73f0
app/views/devise/registrations/new.html.erb
app/views/devise/registrations/new.html.erb
<h2>Sign up</h2> <%= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %> <%= devise_error_messages! %> <div><%= f.label :email %><br /> <%= f.email_field :email, :autofocus => true %></div> <div><%= f.label :password %><br /> <%= f.password_field :password %></div> ...
<h2>Register</h2> <%= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %> <%= devise_error_messages! %> <div><%= f.label :email %><br /> <%= f.email_field :email, :autofocus => true %></div> <div><%= f.label :password %><br /> <%= f.password_field :password %></div>...
Change Sign Up to Register
Change Sign Up to Register
HTML+ERB
mit
Margatroid/uploadstuffto.me,Margatroid/uploadstuffto.me
b6f5d1518d5569d29dc8b662c096ebb8cc00600a
app/views/helpers/admin/base/_apps.html.erb
app/views/helpers/admin/base/_apps.html.erb
<ul class="nav"> <li class="<%= params[:controller].eql?('admin/dashboard') ? 'active' : 'inactive' %>"> <%= link_to admin_dashboard_index_path do %> <i class="icon-home"></i> <%= Typus::I18n.t("Dashboard") %> <% end %> </li> <% admin_user.applications.each do |application| %> <% ...
<ul class="nav"> <li class="<%= params[:controller].eql?('admin/dashboard') ? 'active' : 'inactive' %>"> <%= link_to admin_dashboard_index_path do %> <i class="icon-home"></i> <%= Typus::I18n.t("Dashboard") %> <% end %> </li> <% admin_user.applications.each do |application| %> <% ...
Fix navigation translation („Inhalts“ becomes „Inhalte“ again)
Fix navigation translation („Inhalts“ becomes „Inhalte“ again)
HTML+ERB
mit
brainsome-de/typus,brainsome-de/typus,brainsome-de/typus,brainsome-de/typus
838866c74f698db02c7bb87e90e75f41d5abe927
app/views/saved_occupations/create.html.erb
app/views/saved_occupations/create.html.erb
<header id="global-breadcrumb"> <ol> <li><a href="<%= new_scrapbook_search_path %>">Search</a></li> <li><a href="<%= scrapbook_search_path(query: @query) %>">Results</a></li> <li><a href="<%= scrapbook_occupation_path(soc_code: @occupation.soc_code, query: @query) %>"><%= @occupation.title %></a></li> ...
<% content_for :breadcrumbs do %> <ol> <li><a href="<%= new_scrapbook_search_path %>">Search</a></li> <li><a href="<%= scrapbook_search_path(query: @query) %>">Results</a></li> <li><a href="<%= scrapbook_occupation_path(soc_code: @occupation.soc_code, query: @query) %>"><%= @occupation.title %></a></li> ...
Fix breadcrumbs on non-JS save occupations
Fix breadcrumbs on non-JS save occupations
HTML+ERB
apache-2.0
lm-tools/work-you-could-do,lm-tools/work-you-could-do,lm-tools/work-you-could-do,lm-tools/work-you-could-do
72d634e0bb3a1e7bbe39249c27af99e1506deb91
appengine/rails-cloudsql-mysql/app/views/cat_friends/index.html.erb
appengine/rails-cloudsql-mysql/app/views/cat_friends/index.html.erb
<h1>A list of my Cats</h1> <% @cats.each do |cat| %> <%=cat.name%> is <%=cat.age%> years old!<br /> <% end %>
<!-- [START cat_list] --> <h1>A list of my Cats</h1> <% @cats.each do |cat| %> <%=cat.name%> is <%=cat.age%> years old!<br /> <% end %> <!-- [END cat_list] --> <!-- [START no_cats] <h1>A list of my Cats</h1> <p>Add list of cats here later!</p> [END no_cats] --> <!-- [START boilerplate] <h1>CatFriends#index</h1> <p...
Add multiple states in catfriends view
Add multiple states in catfriends view
HTML+ERB
apache-2.0
GoogleCloudPlatform/ruby-docs-samples,GoogleCloudPlatform/ruby-docs-samples,GoogleCloudPlatform/ruby-docs-samples,GoogleCloudPlatform/ruby-docs-samples
917809cb592134d995b17a610c60606154ededbe
dashboard_templates/shared/jarvice.json.erb
dashboard_templates/shared/jarvice.json.erb
{ "description": "Information about Jarvice", "graphs": [ { "definition": { "events": [], "requests": [ { "q": "avg:bosh.healthmonitor.system.cpu.user{ deployment: <%= deployment %> } by {job,index}", ...
{ "description": "Information about Jarvice", "graphs": [ { "definition": { "events": [], "requests": [ { "q": "avg:bosh.healthmonitor.system.cpu.user{ deployment: <%= jarvice_deployment %> } by {job,index}", ...
Update jarvice dashboard to use the jarvice deployment
Update jarvice dashboard to use the jarvice deployment [#101778802] Signed-off-by: Kira Combs <327dac51f3a5158dc1dbf428a088e367dce1ec10@pivotal.io>
HTML+ERB
apache-2.0
pivotal-cf-experimental/datadog-config-oss,pivotal-cf-experimental/datadog-config-oss
1ef5748fe60d57f75ece95c5d9bb34208689e9ee
app/views/welcome/_landingpage.html.erb
app/views/welcome/_landingpage.html.erb
<div id="main-container" class="container-fluid"> <div id= "welcome-bar" class= "row"> <div id= "login-col" class= "col-sm-4"> <div> <%= render partial: "sessions/form" %> </div> <% if flash[:notice] %> <% flash[:notice].each do |msg| %> <p> <%= msg %></p> <% en...
<div id="main-container" class="container-fluid"> <div id= "welcome-bar" class= "row"> <div id= "login-col" class= "col-sm-4"> <div> <%= render partial: "sessions/form" %> </div> </div> <div id="speak-it-info" class="col-sm-8"> <h2 id="proxima-nova"> Welcome To Speak It!</h2> ...
Remove flash message, already have it elsewhere
Remove flash message, already have it elsewhere
HTML+ERB
artistic-2.0
nyc-dragonflies-2015/Speak-It,tgoldenberg/Speak-It,nyc-dragonflies-2015/Speak-It,tgoldenberg/Speak-It,tgoldenberg/Speak-It,nyc-dragonflies-2015/Speak-It
6149c98798fcb4dbe6892ff2f07203da9dcae0db
app/views/permit_steps/error_page.html.erb
app/views/permit_steps/error_page.html.erb
<!-- Render the sidebar partial --> <%= render partial: "layouts/sidebar", locals: {cur_step: 4} %> <!-- Begin step --> <div class="col-sm-9"> <!-- Intro text --> <div class="intro"> <h1>Sorry, something went wrong when generating your permit.</h1> <h4>You may want to go back and click on the "Download th...
<!-- Render the sidebar partial --> <%= render partial: "layouts/sidebar", locals: {cur_step: 4} %> <!-- Begin step --> <div class="col-sm-9"> <!-- Intro text --> <div class="intro"> <h1>Sorry, something isn't working correctly.</h1> <div class="alert alert-danger"> <p>We weren't able to fill out ...
Update custom error page for pdf generate failure
Update custom error page for pdf generate failure
HTML+ERB
isc
codeforamerica/homebase,codeforamerica/homebase,randy-r-masters/homebase,schlos/homebase,randy-r-masters/homebase,randy-r-masters/homebase,schlos/homebase,schlos/homebase,codeforamerica/homebase
9132e54b373653847c782ecb4addfe35151d6c95
app/views/comments/create.js.erb
app/views/comments/create.js.erb
<% unless @setting.should_validate %> <% if comment.parent_id.nil? %> $('.comments').prepend("<%= j render partial: 'comments/comment', locals: { comment: comment } %>"); <% else %> $("#comment-<%= comment.parent_id %>").after("<div class='nested_messages'><%= j render partial: 'comments/comment', locals: {...
<% unless @setting.should_validate %> <% if comment.parent_id.nil? %> $('.comments').prepend("<%= j render partial: 'comments/comment', locals: { comment: comment } %>"); <% else %> $("#comment-<%= comment.parent_id %>").after("<div class='nested_messages'><%= j render partial: 'comments/comment', locals: {...
Remove flash and scroll top after creating a comment
Remove flash and scroll top after creating a comment
HTML+ERB
mit
lr-agenceweb/rails-starter,lr-agenceweb/rails-starter,lr-agenceweb/rails-starter,lr-agenceweb/rails-starter
530a07ec5db9f03cdef90658349e3573c63fac0e
app/views/diaries/index.html.erb
app/views/diaries/index.html.erb
<% provide(:title, 'Your diaries') %> <div class="page-header"> <h1>Your Diaries</h1> </div> <div class="row"> <% if @diaries.any? %> <div class="col-md-4"> <div class="list-group"> <% @diaries.each do |d| %> <%= link_to user_diary_url(d.user_id, d.id), class:'list-group-item' do %> ...
<% provide(:title, 'Your diaries') %> <div class="page-header"> <h1>Your Diaries</h1> </div> <div class="row"> <div class="col-md-4"> <% if @diaries.any? %> <div class="list-group"> <% @diaries.each do |d| %> <%= link_to user_diary_url(d.user_id, d.id), class:'list-group-item' do %> ...
Fix styling when no diaries are found
Fix styling when no diaries are found
HTML+ERB
mit
MasterRoot24/cloudiary,MasterRoot24/cloudiary,MasterRoot24/cloudiary
0f928687457f217309b07c530532bb795cd95d4c
app/views/welcome/index.html.erb
app/views/welcome/index.html.erb
<div id="bio"> <%= Settings.name.split.first %> is a <%= age %>-year-old <ul class="delimited"> <li>web developer</li> <li>sysadmin-in-training</li> <li>Mac addict</li> <li><acronym title="Computer Information Systems">CIS</acronym> major at <%= link_to "ASU", "http://www.asu.edu", rel: :external %></li> <li...
<div id="bio"> <%= Settings.name.split.first %> is a <%= age %>-year-old <ul class="delimited"> <li>web developer</li> <li>sysadmin-in-training</li> <li>Mac addict</li> <li><abbr title="Computer Information Systems">CIS</abbr> major at <%= link_to "ASU", "http://www.asu.edu", rel: :external %></li> <li>blogg...
Replace outdated acronym tag with abbr
Replace outdated acronym tag with abbr
HTML+ERB
mit
jbhannah/jbhannah-rails,jbhannah/jbhannah-rails
110df26e5e2aa5e04cc6a867bcc049f4f33431d4
app/views/devise/registrations/edit.html.erb
app/views/devise/registrations/edit.html.erb
<div class="hero-unit clearfix"> <div class="test span10"> <h2>Edit <%= resource_name.to_s.humanize %></h2> <%= simple_form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put }) do |f| %> <%= f.error_notification %> <div class="form-inputs"> <%= f.input :...
<h1>Edit Account</h1> <section id="content"> <div class="sub-content"> <div class="container"> <div class="pull-left span4"> <h4>Jemurai Triage</h4> <p>Making it easy to manage application security.</p> </div> <div class="test span6"> <h2>Edit <%= resource_name.to_s.humanize ...
Fix layout of account edit.
Fix layout of account edit.
HTML+ERB
mit
secure-pipeline/rails-travis-example,secure-pipeline/rails-travis-example,Jemurai/triage,Jemurai/triage,secure-pipeline/rails-travis-example
941627e0ccda55f0dd69a6779869f583e247ec1c
app/views/root/report_a_problem.raw.html.erb
app/views/root/report_a_problem.raw.html.erb
<!-- report_a_problem --> <p class="report-a-problem-toggle"><a href="">Is there anything wrong with this page?</a></p> <div class="report-a-problem-container"> <p>Help us improve GOV.UK by telling us:</p> <form accept-charset="UTF-8" action="/feedback" method="post"> <div style="margin:0;padding:0;display:inli...
<!-- report_a_problem --> <p class="report-a-problem-toggle"><a href="">Is there anything wrong with this page?</a></p> <div class="report-a-problem-container"> <p>Help us improve GOV.UK by telling us:</p> <form accept-charset="UTF-8" action="/feedback" method="post"> <div style="margin:0;padding:0;display:inli...
Add source param to report a problem form
Add source param to report a problem form This relies on slimmer being able to provide the new source local.
HTML+ERB
mit
robinwhittleton/static,kalleth/static,kalleth/static,robinwhittleton/static,robinwhittleton/static,tadast/static,alphagov/static,alphagov/static,tadast/static,tadast/static,robinwhittleton/static,kalleth/static,alphagov/static,kalleth/static,tadast/static
81441e7e5968e259a2a60680c12c4e6cfca51b73
templates/html/section.erb
templates/html/section.erb
<% @title = "#{@doc_instance.full_name} " %> <%= include "partials/title", :object => @doc_instance %> <%= layout_section('Description') %> <%= htmlize(@doc_instance.description) %> <%= end_layout_section %> <% # Iterate over the items in this section. %> <% unless @doc_instance.respond_to?(:utilities) && @doc_in...
<% @title = "#{@doc_instance.full_name} " %> <%= include "partials/title", :object => @doc_instance %> <%= layout_section('Description') %> <%= htmlize(@doc_instance.description) %> <%= end_layout_section %> <% # Iterate over the items in this section. %> <% if @doc_instance.respond_to?(:utilities) && @doc_instan...
Fix conditional display of utilities.
Fix conditional display of utilities.
HTML+ERB
mit
tobie/pdoc,tobie/pdoc
45ed935893e0ed90d27bda972e9efe59062657e8
app/views/admin/user_groups/pricing.html.erb
app/views/admin/user_groups/pricing.html.erb
<h1>Pricing for <%= @group.name %></h1> <% curr_product = '' %> <table> <%= form_for @group do |form| %> <% Variant.order(:product_id).each do |v|%> <% if curr_product != v.product_id%> <% curr_product = v.product_id %> <tr><td colspan="2"><h2><%= v.product.name %></h2></td></tr> <% end %> <% ugv = UserGroups...
<h1>Pricing for <%= @group.name %></h1> <% curr_product = '' %> <table> <%= form_for @group do |form| %> <% Variant.order(:product_id).each do |v|%> <% if curr_product != v.product_id%> <% curr_product = v.product_id %> <tr> <td colspan="3"> <h2><%= v.product.name %></h2> </td> </tr> <% end %> <% ugv = U...
Add column for master price in group pricing page
Add column for master price in group pricing page
HTML+ERB
bsd-3-clause
AktionLab/spreePricing
8b0e182ccba9216ebe64ef3a3b2021f8b80cd3a4
app/views/management/schools/report.html.erb
app/views/management/schools/report.html.erb
<%= content_for :page_title, "Management information for #{@school.name}" %> <h1>Management information for <%= @school.name %></h1> <h2>Annual use</h2> <% if @overview_table %> <%= render 'overview_table', overview_table: @overview_table %> <% end %> <% @overview_charts.each_with_index do |(energy, chart_config)...
<%= content_for :page_title, "Energy Management information for #{@school.name}" %> <h1>Energy Sparks</h1> <h2>Energy Management information for <%= @school.name %></h2> <h2>Annual use</h2> <% if @overview_table %> <%= render 'overview_table', overview_table: @overview_table %> <% end %> <% @overview_charts.each_...
Update titles for management report page
Update titles for management report page
HTML+ERB
mit
BathHacked/energy-sparks,BathHacked/energy-sparks,BathHacked/energy-sparks,BathHacked/energy-sparks
20838d1decfc6dc5ed7f3315b3729bc508d0fc94
app/views/questions/_owner_controls.html.erb
app/views/questions/_owner_controls.html.erb
<div id="owner_controls" class="alert alert-danger"> Owner options:&nbsp; <div class="btn-group"> <a class="btn btn-danger dropdown-toggle" data-toggle="dropdown" href="#"> Change State <span class="caret"></span> </a> <ul class="dropdown-menu"> <% Question.states.each do |state| %> ...
<div id="owner_controls" class="alert alert-danger"> Owner options:&nbsp; <div class="btn-group"> <a class="btn btn-danger dropdown-toggle" data-toggle="dropdown" href="#"> Change State <span class="caret"></span> </a> <ul class="dropdown-menu"> <% Question.states.each do |state| %> ...
Remove tagging from owner controls
Remove tagging from owner controls
HTML+ERB
mit
joshmcarthur/inquest,joshmcarthur/inquest
5fac803b7e68f1659a4d39718fd31dc368a862e3
app/views/questions/new.erb
app/views/questions/new.erb
<h1> Create question. </h1> <form action = '/questions' method = 'post'> <label for='question[text]'>Question</label> <input type = 'text' name = 'question[text]'> <input type='hidden' name='question[survey_id]' value='<%=@survey.id%>'> <input type = 'submit' value = 'Add Question'> </form>
<h1> Create question. </h1> <form action = '/questions' method = 'post'> <label for='question[text]'>Question</label> <input type = 'text' name = 'question[text]'> <input type='hidden' name='question[survey_id]' value='<%=@survey.id%>'> <input type = 'submit' value = 'Add Question'> </form> <button><a href ...
Add done with survey button
Add done with survey button
HTML+ERB
mit
nyc-chorus-frogs-2016/3-FROGS-1-FOX,nyc-chorus-frogs-2016/3-FROGS-1-FOX,nyc-chorus-frogs-2016/3-FROGS-1-FOX
45b1eba2d4a406123f7bb115560c02fc60b50a4a
app/views/spree/add_ons/_line_item.html.erb
app/views/spree/add_ons/_line_item.html.erb
<% if variant.product.add_ons.any? %> <div class='pull-right'> <h5><%= Spree::AddOn.model_name.human(count: :many) %></h5> <% variant.product.add_ons.each do |add_on| %> <div class='line-item-add-on'> <label class='add-on-checkbox'> <%= hidden_field_tag( "#{item_form.object...
<% if variant.product.add_ons.any? %> <div class='pull-right'> <h5><%= Spree::AddOn.model_name.human(count: :many) %></h5> <% variant.product.add_ons.each do |add_on| %> <div class='line-item-add-on line-item-add-on-<%= add_on.class.to_s.split('::').last %>'> <label class='add-on-checkbox'> ...
Add addon-class name to class
Add addon-class name to class Now we use add-on as backup cd, but not show its description. While we do not want to show description of backup cd, we want to show description of others.
HTML+ERB
bsd-3-clause
degica/spree-add-on,degica/spree-add-on
5aeb7c759c49c6026652164c6db501fcc3d979cc
app/views/devise/sessions/new.html.erb
app/views/devise/sessions/new.html.erb
<h2>Sign in</h2> <%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %> <div><%= f.label :email %><br /> <%= f.email_field :email, autofocus: true %></div> <div><%= f.label :password %><br /> <%= f.password_field :password, autocomplete: "off" %></div> <% if devise_mapping....
<h2>Sign in</h2> <div class="container"> <div class="row"> <div class="col-md-6 col-md-offset-3"> <h2>Sign up</h2> <hr> <%= devise_error_messages! %> <%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %> <div cla...
Update devise sign in page to use Twitter Bootstrap.
Update devise sign in page to use Twitter Bootstrap.
HTML+ERB
mit
francisbrito/sarah_rails,francisbrito/sarah_rails
9d9d4fbaa7e77cc877b50d0a819da1116de92368
templates/default/upstart/teamcity-agent.erb
templates/default/upstart/teamcity-agent.erb
description "TeamCity Agent" start on runlevel [2345] stop on runlevel [06] # TeamCity can take a while to shutdown kill timeout 30 respawn respawn limit 15 5 setuid <%= @user %> setgid <%= @group %> script export TEAMCITY_DATA_PATH=<%= @data_dir %> exec <%= @root_dir %>/agents/buildAgent/bin/agent.sh run end...
description "TeamCity Agent" start on runlevel [2345] stop on runlevel [06] # TeamCity can take a while to shutdown kill timeout 30 respawn respawn limit 15 5 setuid <%= @user %> setgid <%= @group %> script export TEAMCITY_DATA_PATH=<%= @data_dir %> if [ -f ~<%= @user %>/.bashrc ]; then . ~<%= @user %>/.ba...
Load the users bashrc to pull in any environmental variables.
Load the users bashrc to pull in any environmental variables.
HTML+ERB
mit
hschaeidt/teamcity-cookbook,hschaeidt/teamcity-cookbook
4a55e0964182c12fba4956ecf6f66ec641736546
app/views/orders/_order_buttons.html.erb
app/views/orders/_order_buttons.html.erb
<div class="row"> <div class="col-xs-12"> <div class="form-group"> <%= render partial: "status_buttons", locals: { order: order } %> <% if order.pending? || order.approved? || order.shipped? %> <button class="btn btn-primary">Save</button> <% end %> <%= link_to "Cancel", orders_p...
<div class="row"> <div class="col-xs-12"> <div class="form-group"> <%= render partial: "status_buttons", locals: { order: order } %> <% if order.pending? || order.approved? || order.shipped? %> <button class="btn btn-primary">Save</button> <% end %> <%= link_to "Cancel", orders_p...
Fix cancel button confirmation logic
Fix cancel button confirmation logic
HTML+ERB
mit
on-site/StockAid,on-site/StockAid,on-site/StockAid
c66b19a7ec5df6770468a5a3ce817b0453e51fdc
app/views/shared/_header_navbar.html.erb
app/views/shared/_header_navbar.html.erb
<h1 class="page_header"><%= (params[:repository].present?) ? "#{params[:repository]}" : t('application_title') %></h1> <% if maintenance_mode? %> <div class="alert alert-warning"><strong>Alert!</strong> <%= t('maintenance_alert') %></div> <% end %> <% if params[:repository].present? %> <p class="repository_info"> <...
<h1 class="page_header"><%= (params[:repository].present?) ? "#{params[:repository]}" : t('application_title') %></h1> <% if maintenance_mode? %> <div class="alert alert-warning"><strong>Alert!</strong> <%= t('maintenance_alert') %></div> <% end %> <% if params[:repository].present? %> <p class="repository_info"> <...
Exclude statuspage embed from tests
Exclude statuspage embed from tests
HTML+ERB
mit
NYULibraries/findingaids,NYULibraries/findingaids,NYULibraries/findingaids
3791d3340e7f5b1990b061b27b8c3539625d21ef
app/views/smart_answers/landing.html.erb
app/views/smart_answers/landing.html.erb
<% content_for :sidebar do %> <%= render 'related_items' %> <% end %> <% start_node = @presenter.start_node %> <% if start_node.meta_description.present? %> <% content_for :head do %> <meta name="description" content="<%= start_node.meta_description %>"> <% end %> <% end %> <%= render partial: 'page_title'...
<% content_for :sidebar do %> <%= render 'related_items' %> <% end %> <% start_node = @presenter.start_node %> <% if start_node.meta_description.present? %> <% content_for :head do %> <meta name="description" content="<%= start_node.meta_description %>"> <% end %> <% end %> <div class="transaction"> <%= ...
Fix the "Start now" button appearance in preview
Fix the "Start now" button appearance in preview Update the div and link classes to be consistent with the equivalent template in the frontend app (https://github.com/alphagov/frontend/blob/master/app/views/simple_smart_answers/show.html.erb). Frontend is normally used to render smart answer start pages. The template...
HTML+ERB
mit
alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers
16d50252258590377e1ac42221e9fc7265612ebf
lib/almanac/themes/origami/views/events.erb
lib/almanac/themes/origami/views/events.erb
<div class="events"> <% @events.each do |event| %> <div class="event"> <%= event.title %> </div> <% end %> </div>
<div class="events"> <% @events.each do |event| %> <div class="event"> <h2 class="title"><%= event.title %></h2> (<%= event.start_date %>) </div> <% end %> </div>
Add start date to page
Add start date to page
HTML+ERB
mit
Aupajo/almanack,Aupajo/almanack,Aupajo/almanack,Aupajo/almanack
a98324c60b25bec6815b40057478f7ec81aa0eb2
app/views/notifications/_discussion.html.erb
app/views/notifications/_discussion.html.erb
<%= menu_item :comments, :new_discussion_message, url_for([target.item, target]), { title: target.title.truncate_words(3) } %>
<%= menu_item :comments, :new_discussion_message, url_for([target.item, target]), { title: target.item.name.truncate_words(3) } %>
Use exercise name because title is not being used
Use exercise name because title is not being used
HTML+ERB
agpl-3.0
mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory
b4947f6b600678d8c8d3b2f8819821a4d3516b8e
app/views/transactions/_transaction.html.erb
app/views/transactions/_transaction.html.erb
<% if transaction.transaction_type == 'request' %> <%= transaction.request.requester.first_name %> has made a request. <% elsif transaction.type == 'response' %> ><%= transaction.request.responder.first_name %> has responded to <%= transaction.request.requester.first_name %>'s request! <% elsif transaction.type == ...
<% if transaction.transaction_type == 'request' %> <%= transaction.request.requester.first_name %> has made a request. <% elsif transaction.transaction_type == 'response' %> <%= transaction.request.responder.first_name %> has responded to <%= transaction.request.requester.first_name %>'s request! <% elsif transacti...
Fix var type to transaction_type
Fix var type to transaction_type
HTML+ERB
mit
nyc-mud-turtles-2015/nghborly,kimchanyoung/nghborly,kimchanyoung/nghborly,nyc-mud-turtles-2015/nghborly,kimchanyoung/nghborly,nyc-mud-turtles-2015/nghborly
67b3f2031bd48c7ddeae2401afd3fd462e1c47aa
backend/root/etc/rsyslog.d/51-proxy.conf.erb
backend/root/etc/rsyslog.d/51-proxy.conf.erb
$DefaultNetstreamDriverCAFile /etc/rsyslog-root-certs-bundle.pem $ActionSendStreamDriver gtls # use gtls netstream driver $ActionSendStreamDriverMode 1 # require TLS $ActionSendStreamDriverAuthMode x509/name # authenticate by hostname $ActionSendStreamDriverPermittedPeer <%= permitted_peer %> *.* @@<%= syslog...
$DefaultNetstreamDriverCAFile /etc/rsyslog-root-certs-bundle.pem $ActionSendStreamDriver gtls # use gtls netstream driver $ActionSendStreamDriverMode 1 # require TLS $ActionSendStreamDriverAuthMode x509/name # authenticate by hostname $ActionSendStreamDriverPermittedPeer <%= permitted_peer %> template(name="ForwardFor...
Add log level to rsyslog for Papertrail filtering
Add log level to rsyslog for Papertrail filtering
HTML+ERB
agpl-3.0
recursecenter/proxy,recursecenter/proxy,recursecenter/proxy
a71ee6ccdbdcdc232cc7978c722ae9a12a3a1f80
templates/default/etc_chef_client.rb.erb
templates/default/etc_chef_client.rb.erb
<%= template_header %> node_name '<%= node['fqdn'] %>' chef_server_url '<%= @server_url %>' client_key "<%= @client_key %>" <% if @trusted_certs_dir -%> trusted_certs_dir "<%= @trusted_certs_dir %>" <% end -%> <%- if @verify_ssl == 'all' -%> # Verify all HTTPS connections ssl_verify_mode :verify_peer <...
<%= template_header %> node_name '<%= node['fqdn'] %>' chef_server_url '<%= @server_url %>' client_key "<%= @client_key %>" <% if @trusted_certs_dir -%> trusted_certs_dir "<%= @trusted_certs_dir %>" <% end -%> <%- if @verify_ssl == 'all' -%> # Verify all HTTPS connections ssl_verify_mode :verify_peer <...
Replace outdated config params with current ones
Replace outdated config params with current ones
HTML+ERB
apache-2.0
GSI-HPC/sys-chef-cookbook,GSI-HPC/sys-chef-cookbook,GSI-HPC/sys-chef-cookbook
60139a5f62f8be9b2bfa534d767946f4e466b8b4
app/views/articles/index.html.erb
app/views/articles/index.html.erb
<% @articles.each do |article| %> <h3><%= article.title %></h3> <p><%= article.text %></p> <p><%= link_to 'Show', article_path(article) %></p> <hr /> <% end %>
<% @articles.each do |article| %> <h3> <%= article.title %> </h3> <p> <%= article.text %> </p> <p> <%= link_to 'Show', article_path(article) %> | <%= link_to 'Edit', edit_article_path(article) %> </p> <hr /> <% end %>
Add links to edit posts in '/articles/index' view
Add links to edit posts in '/articles/index' view
HTML+ERB
mit
Kraykin/Blog-sample,Kraykin/Blog-sample,Kraykin/Blog-sample
bf1aeaddf418bfc416a9add841a06d6103ba300c
app/views/repos/_comment.html.erb
app/views/repos/_comment.html.erb
<li id="<%= dom_id(comment) %>"> <div class="commenterImage"> <a href="<%= comment.user.github_url %>"><img src="<%= comment.user.avatar_url %>"></a> </div> <div class="commentText"> <p class=""><%= comment.comment %></p> <span class="date sub-text"><%= timeago_tag comment.created_at, :nojs => true, ...
<li id="<%= dom_id(comment) %>"> <div class="commenterImage"> <a href="<%= comment.user.github_url %>"><img src="<%= comment.user.avatar_url %>"></a> </div> <div class="commentText"> <p class=""><%= comment.comment %></p> <span class="date sub-text"><%= timeago_tag comment.created_at, :nojs => true, ...
Fix duplicate ago on comment partial
Fix duplicate ago on comment partial
HTML+ERB
apache-2.0
beydogan/gitcussion,beydogan/gitcussion,beydogan/gitcussion
a9903379c70550f84a60016b46aac473356395ca
app/views/rubygems/index.html.erb
app/views/rubygems/index.html.erb
<%= form_tag :rubygems, method: :get, remote: true, class: "well form-search", id: "gems-search" do %> <%= text_field_tag :query, nil, placeholder: "Type the name of a gem", autofocus: true, autocomplete: "off", class: "input-medium search-query" %> <%= submit_tag 'Search', class: "btn btn-primary" %> <%= link_to...
<%= form_tag :rubygems, method: :get, remote: true, class: "well form-search", id: "gems-search" do %> <%= text_field_tag :query, nil, placeholder: "Type the name of a gem", autofocus: true, autocomplete: "off", class: "input-medium search-query" %> <%= link_to "Register new gem", new_rubygem_path, class: "btn btn-...
Remove 'Search' button, it is not used actually
Remove 'Search' button, it is not used actually
HTML+ERB
mit
rubyperu/ready4rails,rubyperu/ready4rails,rubyperu/ready4rails
3dba45b8f93c2be2e3d48030de955b19a490fa71
lib/manservant/server/views/not_found.erb
lib/manservant/server/views/not_found.erb
<div class="man-error"> <div class="hero-unit"> <h1>404</h1> <p>No manual entry for <%= @name %> in section <%= @section || 1 %> of the manual.</p> </div> </div>
<div class="man-error"> <div class="hero-unit"> <h1>404</h1> <p>No entry for <%= @name %> in section <%= @section || 1 %> of the manual.</p> </div> </div>
Improve wording of new 404 page
Improve wording of new 404 page
HTML+ERB
mit
jimeh/manservant,jimeh/manservant,jimeh/manservant
dc693a1da8c5ec7f9baa3c8545f51c8f34f76419
app/assets/javascripts/ckeditor/config.js.erb
app/assets/javascripts/ckeditor/config.js.erb
CKEDITOR.editorConfig = function (config) { config.filebrowserImageBrowseLinkUrl = '/admin/ckeditor/pictures'; config.filebrowserImageBrowseUrl = '/admin/ckeditor/pictures'; config.filebrowserImageUploadUrl = '/admin/ckeditor/pictures'; config.filebrowserBrowseUrl = 'admin/ckeditor/attachment_files'; config.f...
CKEDITOR.editorConfig = function (config) { config.filebrowserImageBrowseLinkUrl = '/blog/admin/ckeditor/pictures'; config.filebrowserImageBrowseUrl = '/blog/admin/ckeditor/pictures'; config.filebrowserImageUploadUrl = '/blog/admin/ckeditor/pictures'; config.filebrowserBrowseUrl = '/blog/admin/ckeditor/attachme...
Update CKEDITOR image uploading and browsing paths
Update CKEDITOR image uploading and browsing paths
HTML+ERB
mit
moneyadviceservice/publify,moneyadviceservice/publify,moneyadviceservice/publify,moneyadviceservice/publify
e88751ad30303e2c8d54123d00826024ee7411f3
app/views/checklist/_results_answers.html.erb
app/views/checklist/_results_answers.html.erb
<div class="checklist-results-answers"> <% if answers.present? %> <p class="govuk-body govuk-!-font-weight-bold"><%= t('checklists_results.answers.list_context') %></p> <ul class="govuk-list govuk-!-margin-top-3 govuk-!-font-size-16 govuk-list--checked"> <% answers.each do |answer| %> <li><%= an...
<div class="checklist-results-answers"> <% if answers.present? %> <p class="govuk-body govuk-!-font-weight-bold"><%= t('checklists_results.answers.list_context') %></p> <ul class="govuk-list govuk-!-margin-top-3 govuk-!-font-size-16 govuk-list--checked"> <% answers.each do |answer| %> <li><%= an...
Add tracking for change answers link on results page
Add tracking for change answers link on results page
HTML+ERB
mit
alphagov/finder-frontend,alphagov/finder-frontend,alphagov/finder-frontend,alphagov/finder-frontend
e8d386e619638eae50077baba728dd0adf13d85c
app/views/shared/_list-links-preview.html.erb
app/views/shared/_list-links-preview.html.erb
<div class="govuk-grid-row"> <div class="govuk-grid-column-two-thirds"> <%= render "govuk_publishing_components/components/heading", { text: "Links", font_size: "m", margin_bottom: 4 } %> </div> <div class="govuk-grid-column-one-third app-grid-column--align-right"> <ul class=...
<div class="govuk-grid-row"> <div class="govuk-grid-column-two-thirds"> <%= render "govuk_publishing_components/components/heading", { text: "Lists", font_size: "m", margin_bottom: 4 } %> </div> <div class="govuk-grid-column-one-third app-grid-column--align-right"> <ul class=...
Use correct heading on tag show page
Use correct heading on tag show page
HTML+ERB
mit
alphagov/collections-publisher,alphagov/collections-publisher,alphagov/collections-publisher
3922107146e3ec73273a70de70fd4e7d2c88055f
app/views/spree/schweine/_thumbnails.html.erb
app/views/spree/schweine/_thumbnails.html.erb
<%# no need for thumbnails unless there is more than one image %> <% if @schwein.images.size > 1 %> <ul id="product-thumbnails" class="thumbnails inline" data-hook> <% @schwein.images.each do |i| %> <li class='tmb-all' id='tmb-<%= i.id %>'> <%= link_to(image_tag(i.attachment.url(:mini)), i.attachmen...
<%# no need for thumbnails unless there is more than one image %> <% if @schwein.images.size > 1 %> <ul id="product-thumbnails" class="thumbnails inline" data-hook> <% @schwein.images.each do |i| %> <li class='tmb-all' id='tmb-<%= i.id %>'> <%= link_to(image_tag(i.attachment.url(:mini), size: '100x1...
Make the thumbnail size fix.
Make the thumbnail size fix.
HTML+ERB
bsd-3-clause
meinekleinefarm/spree_mkf_theme,meinekleinefarm/spree_mkf_theme,meinekleinefarm/spree_mkf_theme
b71c18d2fddc9693cff2bfa7494d299b6ae67019
app/views/static_pages/_social_media.html.erb
app/views/static_pages/_social_media.html.erb
<nav class="social"> <ul> <li><a href="http://twitter.com/gian_michelle">Twitter <i class="fa fa-twitter"></i></a></li> <li><a href="http://facebook.com/gian.michelle">Facebook <i class="fa fa-facebook"></i></a></li> <li><a href="http://dribbble.com/gian_michelle">Pinterest <i class="fa fa-pinterest"></i>...
<nav class="social"> <ul> <li><a href="#">Twitter <i class="fa fa-twitter"></i></a></li> <li><a href="#">Facebook <i class="fa fa-facebook"></i></a></li> <li><a href="#">Pinterest <i class="fa fa-pinterest"></i></a></li> <li><a href="#">Google-plus <i class="fa fa-google-plus"></i></a></li> <li><a...
Add pound signs to social navbar.
Add pound signs to social navbar.
HTML+ERB
mit
erinc35/GuideMe,erinc35/GuideMe,erinc35/GuideMe
152a67b410c63e1f6ed21f64023cf027c1c2e4c7
source/_footer.erb
source/_footer.erb
<footer class="footer"> <nav class="left-nav"> <ul> <li class="copyright">&copy; 2015 <a href="http://www.texastribune.org/">The Texas Tribune</a></li> </ul> </nav> <nav class="right-nav"> <ul> <li><a href="http://www.texastribune.org/about/">About Us</a></li> <li><a href="http://www...
<footer class="footer"> <nav class="left-nav"> <ul> <li class="copyright">&copy; 2015 <a href="<%= data.AboutOrg[0]['org_url'] %>"><%= data.AboutOrg[0]['name'] %></a></li> </ul> </nav> <nav class="right-nav"> <ul> <% data.FooterLinks.each do |link| %> <li><a href="<%= link['url'] %...
Load footer links with google spreadsheet
Load footer links with google spreadsheet
HTML+ERB
mit
texastribune/donation-builder,texastribune/donation-builder,texastribune/donation-builder
904a0c1f2ada4550fa4a8cc22f259f7881de70b6
app/views/admin/_add_button_row.html.erb
app/views/admin/_add_button_row.html.erb
<tr> <td class="add_remove"> <table> <tr> <td class="add_remove"> <%= link_to_remote image_tag('/images/buttons/add.gif', :border => 0, :height => 22, :width => 23), {:update => "new_row", :url => { :action => "new_inline" }, } %> </td> ...
<tr> <td class="add_remove"> <table> <tr> <td class="add_remove"> <%= link_to_remote image_tag("/images/buttons/add.gif", :border => 0, :height => 22, :width => 23), {:update => "new_row", :url => { :action => "new_inline" }, } %> </td> ...
Change some quotation marks around to test cc.rb
Change some quotation marks around to test cc.rb git-svn-id: 96bd6241e080dd4199045f7177cf3384e2eaed71@1442 2d86388d-c40f-0410-ad6a-a69da6a65d20
HTML+ERB
mit
theRocket/wsbaracing,theRocket/wsbaracing
ff98155bbea0d3da40e5997cc2e189160eda8f61
app/views/groups/member_listing.html.erb
app/views/groups/member_listing.html.erb
<div class="listing-member row"> <% column = 1 %> <% @group.users.each do |user| %> <div class="large-6 columns"> <% if column%2==1 %> <div class="listing-member-tile row"> <div class="listing-member-display large-3 columns"><% if user.photo %> <%= image...
<div class="listing-member row"> <% column = 1 %> <% @group.users.each do |user| %> <div class="large-6 columns"> <% if column%2==1 %> <div class="listing-member-tile row"> <div class="listing-member-display large-3 columns"><% if user.photo %> <%= image...
Add link to user profile
Add link to user profile
HTML+ERB
mit
calblueprint/ashby-village,calblueprint/ashby-village,calblueprint/ashby-village
379947064737a0df4191268d32288b3f4e7e84e0
app/views/products/_assets_granted.html.erb
app/views/products/_assets_granted.html.erb
<div class="alert alert-success text-center text-large" data-dismissable="welcome"> <button type="button" class="close js-dismiss pull-right" style="margin-right: 25px"> <span>&times;</span> </button> <div class="container"> Congratulations! Your first <strong><%= @product.name %></strong> coins are bein...
<div class="alert alert-success text-center text-large" data-dismissable="welcome"> <button type="button" class="close js-dismiss pull-right" style="margin-right: 25px"> <span>&times;</span> </button> <div class="container"> Congratulations! Your first <strong><%= @product.name %></strong> coins are bein...
Add Twitter share button to coin confirmation
Add Twitter share button to coin confirmation
HTML+ERB
agpl-3.0
lachlanjc/meta,assemblymade/meta,assemblymade/meta,lachlanjc/meta,assemblymade/meta,lachlanjc/meta,lachlanjc/meta,assemblymade/meta
4fd0a2c38bf6b0fa51490e01fcb384a5a915c15a
templates/README.md.erb
templates/README.md.erb
<%= app_name.humanize %> <%= '=' * app_name.humanize.length %> Getting Started --------------- This repository comes equipped with a self-setup script! % ./bin/setup After setting up, you can run the application using [foreman]: % foreman start [foreman]: http://ddollar.github.io/foreman/ Guidelines ----...
<%= app_name.humanize %> <%= '=' * app_name.humanize.length %> Getting Started --------------- This repository comes equipped with a self-setup script: % ./bin/setup After setting up, you can run the application using [foreman]: % foreman start [foreman]: http://ddollar.github.io/foreman/ Guidelines ----...
Replace a ! with a :
Replace a ! with a : "An exclamation point is like laughing at your own joke." — F. Scott Fitzgerald
HTML+ERB
mit
FlyoverWorks/jetfuel,brandoncordell/suspenders,Mario245/suspenders,jondot/suspenders,wizarddevelopment/bowties,welaika/welaika-suspenders,Mossio/hashira-rails,lorentrogers/suspenders,wizarddevelopment/bowties,elevatorup/eu-suspenders,pacso/suspenders,askl56/suspenders,InnovativeOperations/suspenders,reshleman/suspender...
54f63fcfcde8686569492fe78e35438baca691c4
templates/README.md.erb
templates/README.md.erb
# <%= app_name.humanize %> ### Getting Started ## Setting Up Postgresql `psql` `CREATE ROLE <%= app_name.parameterize.underscore %>_admin` `ALTER ROLE <%= app_name.parameterize.underscore %>_admin WITH LOGIN CREATEDB REPLICATION SUPERUSER;` `rake db:migrate` `rake db:setup` ## Setting Up The Server `bundl...
# <%= app_name.humanize %> ### Getting Started ## Setting Up Postgresql `psql` `CREATE ROLE <%= app_name.parameterize.underscore %>_admin` `ALTER ROLE <%= app_name.parameterize.underscore %>_admin WITH LOGIN CREATEDB REPLICATION SUPERUSER;` `\q` `rake db:migrate` `rake db:setup` ## Setting Up The Server ...
Update README template with better postgres setup instructions
Update README template with better postgres setup instructions
HTML+ERB
mit
dannyyu92/barebones,dannyyu92/barebones
0926d38b80c4a1561b2a12d5c4f591aca8f8664e
source/partners.html.erb
source/partners.html.erb
--- title: Partners --- <%= partial 'header' %> <div class="section-title spacing-both"> <div class="container"> <h1>Thanks to our Partners</h1> </div> </div> <div class="section-title spacing-both"> <div class="container"> <% data.sponsors.each do |meta| %> <div class="accent-content"> <...
--- title: Partners --- <%= partial 'header' %> <div class="section-title spacing-both"> <div class="container"> <h1>Thanks to our Partners</h1> </div> </div> <div class="section-title spacing-both"> <div class="container"> <% data.sponsors.each do |meta| %> <div class="accent-content"> <...
Fix a bug with the sponsors id
Fix a bug with the sponsors id
HTML+ERB
mit
partialconf/2017.partialconf.com,partialconf/2017.partialconf.com,partialconf/2017.partialconf.com
ad49c818a2e17b0dc78327bbee625e4fdfe95308
app/views/announcements/_announcement_for_all.html.erb
app/views/announcements/_announcement_for_all.html.erb
<% if current_announcement.exists? && !announcement_hidden?(current_announcement) %> <div id="announcement"> <span><%= current_announcement.body.html_safe %></span> <span class="hide"> <%= link_to_function "hide", "hideAnnouncement('announcement_#{current_announcement.created_at}')" %> </span> </d...
<% if current_announcement.exists? && !announcement_hidden?(current_announcement) %> <div id="announcement"> <span><%= current_announcement.body.html_safe %></span> <span class="hide"> <%= link_to "hide", "#", onclick: "hideAnnouncement('announcement_#{current_announcement.created_at}')" %> </span> ...
Remove deprecated Rails link_to_function method
Remove deprecated Rails link_to_function method
HTML+ERB
mit
thoughtbot/paul_revere,thoughtbot/paul_revere,thoughtbot/paul_revere
67b876487ff00d5e6d18f4ee21c5c86284ca84e0
app/views/assignments/edit/_add_signup_topics.html.erb
app/views/assignments/edit/_add_signup_topics.html.erb
<% @assignment = Assignment.find(params[:id]) %> <h1>Signup sheet for <%= @assignment.name %> assignment</h1> <% if flash[:notice] %> <div class="flash_note"><%= flash[:notice] %></div> <% end %> <% @sign_up_topics = SignUpTopic.find(:all, :conditions => ['assignment_id = ?', @assignment.id]) %> <% @slots_filled ...
<% @assignment = Assignment.find(params[:id]) %> <h1>Signup sheet for <%= @assignment.name %> assignment</h1> <% if flash[:notice] %> <div class="flash_note"><%= flash[:notice] %></div> <% end %> <% @sign_up_topics = SignUpTopic.find(:all, :conditions => ['assignment_id = ?', @assignment.id]) %> <% @slots_filled ...
Remove deprecated request_uri method on response
Remove deprecated request_uri method on response
HTML+ERB
mit
akshayjain114/expertiza,redsock88/expertiza,redsock88/expertiza,arpitashekhar/expertiza,michaelamoran/expertiza,ApertureScienceInnovators/expertiza,joshio1/expertiza,rmmaily/expertiza,joshio1/expertiza,rmmaily/expertiza,expertiza/expertiza,mhhassan/expertiza,kira0992/expertiza,akshayjain114/expertiza,urmilparikh95/expe...
231782d884ebbbf21afd2b323ca136af025a3eb9
app/views/blogit/posts/show.html.erb
app/views/blogit/posts/show.html.erb
<% content_for(:page_title, "Blog | #{@post.title}")%> <% content_for(:head) do %> <meta property="og:title" content="Blog | <%= @post.title %>" /> <meta property="og:description" content="<%= truncate(strip_tags(format_content(@post.body)), length: 500, separator: ' ') %>" /> <% end %> <%= render partial: "b...
<% content_for(:page_title, "Blog | #{@post.title}")%> <% content_for(:head) do %> <meta property="og:title" content="Blog | <%= @post.title %>" /> <meta property="og:description" content="<%= truncate(strip_tags(format_content(@post.body)), length: 500, separator: ' ') %>" /> <meta property="og:type" conten...
Add some FB meta tags to blog post pages.
Add some FB meta tags to blog post pages.
HTML+ERB
mit
tfe/blogit,tfe/blogit,tfe/blogit
7936756e32da770412f10e9676dda398d9ccab8d
app/views/conversations/new.html.erb
app/views/conversations/new.html.erb
<h2>New conversation</h2> <% form_for(@conversation) do |f| %> <%= f.error_messages %> <p> <%= f.label :name %><br /> <%= f.text_field :name %> </p> <p> <%= f.label :description %><br /> <%= f.text_area :description %> </p> <p> <%= f.submit "Create" %> </p> <% end %> <%= link_to 'Ba...
<div class="ballon"> <h1>New conversation</h1> </div> <div class="arrow">&nbsp;</div> <div class="item"> <% form_for(@conversation) do |f| %> <%= f.error_messages %> <p> <%= f.label :name %><br /> <%= f.text_field :name %> </p> <p> <%= f.label :description %><br /> <%= f.text_area :descripti...
Fix layout of create conversation page
Fix layout of create conversation page
HTML+ERB
mit
dmitryame/echowaves,dmitryame/echowaves
993d0e674e027829dcf21005b38b9a9a1790a6ce
cookbooks/planet/templates/default/apache-latest-planet-filename.erb
cookbooks/planet/templates/default/apache-latest-planet-filename.erb
#!/usr/bin/perl # DO NOT EDIT - This file is being maintained by Chef $| = 1; while (<STDIN>) { my $where = readlink("<%= node[:planet][:dump][:xml_directory] %>/planet-latest.osm.bz2"); s/planet\/planet\-latest\.osm\.bz2/planet\/$where/g; print $_; }
#!/usr/bin/perl # DO NOT EDIT - This file is being maintained by Chef use strict; use warnings; use Cwd qw(abs_path); $| = 1; while (my $path = <STDIN>) { chomp $path; my $file = abs_path("/store/planet${path}"); if ($file && $file =~ m|/store/planet/| && -f $file) { print "${file}\n"; ...
Allow planet redirector to handle any links under the webroot
Allow planet redirector to handle any links under the webroot
HTML+ERB
apache-2.0
openstreetmap/chef,Firefishy/chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,Firefishy/chef,Firefishy/chef,Firefishy/chef,openstreetmap/chef,openstreetmap/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,Firefishy/chef,openstreetmap/chef,tomh...
f9b6aa19a815810ae46bb169f1708fd45dce6ed4
views/_summary.erb
views/_summary.erb
<figure> <% unless @interview %><a href="http://<%= interview.slug %>.usesthis.com/" title="View an interview with <%= interview.name %>."><% end %> <img src="<%= url_for("/images/portraits/#{interview.slug}.jpg") %>" width="500" height="335" class="portrait" alt="<%= interview.name %>"> <% unless @interview %></a><...
<figure> <% unless selected %><a href="http://<%= interview.slug %>.usesthis.com/" title="View an interview with <%= interview.name %>."><% end %> <img src="<%= url_for("/images/portraits/#{interview.slug}.jpg") %>" width="500" height="335" class="portrait" alt="<%= interview.name %>"> <% unless selected %></a><% en...
Check for the selected variable instead.
Check for the selected variable instead.
HTML+ERB
mit
holman/usesthis,ivuk/usesthis,MjAbuz/usesthis,waferbaby/usesthis,MjAbuz/usesthis,waferbaby/usesthis,MjAbuz/usesthis,orta/usesthis,orta/usesthis,holman/usesthis,ivuk/usesthis
e30433d5bf7e1a52ade500ff60eb01e2d13cc790
config/templates/api_umbrella_router/etc/logrotate.d/api-umbrella.erb
config/templates/api_umbrella_router/etc/logrotate.d/api-umbrella.erb
/var/log/api-umbrella/*.log /var/log/api-umbrella/**/*.log { daily rotate 90 create 644 api-umbrella api-umbrella missingok compress delaycompress notifempty sharedscripts postrotate api-umbrella reopen-logs endscript }
/opt/api-umbrella/var/log/*.log { daily rotate 90 create 644 api-umbrella api-umbrella missingok compress delaycompress notifempty sharedscripts postrotate api-umbrella reopen-logs endscript }
Fix log rotation woes (I hope).
Fix log rotation woes (I hope). The deep wildcard was leading to logrotate rotating the same files twice, which effectively messed things up by truncating the old file that was being rotated. Since we've gotten rid of our nested log paths, we shouldn't actually need the deep wildcard anyway.
HTML+ERB
mit
NREL/omnibus-api-umbrella,NREL/omnibus-api-umbrella,NREL/omnibus-api-umbrella
d4aa9ffd86738985e42e509457a122b4bf78d354
app/views/repositories/show.html.erb
app/views/repositories/show.html.erb
<h1>Repository</h1> <h2><%= @repository.name %></h2> <%= render layout: 'shared/repository_breadcrumb' do %> <%= repository_menu %> <% end %> <div class="dashboard row"> <div class="col-md-12"> <h3>Snapshots</h3> <table class="table table-striped"> <thead> <tr> <th>Date</th> ...
<h1>Repository</h1> <h2><%= @repository.name %></h2> <%= render layout: 'shared/repository_breadcrumb' do %> <%= repository_menu %> <% end %> <div class="dashboard row"> <div class="col-md-12"> <h3>Snapshots</h3> <table class="table table-striped"> <thead> <tr> <th>Date</th> ...
Add idea to retrieve snapshot data
Add idea to retrieve snapshot data Just an idea how to retrieve individual entity data. Entity mapped to a data Hash. Signed-off-by: Konrad Reiche <4ff0213f56e2082fcd8c882d04c546881c579ce4@gmail.com>
HTML+ERB
mit
platzhirsch/metadata-census
8bbb375882fc1dcb4c3561311f45b9619b8b7c8d
app/views/application/_handlebars_show_follower.html.erb
app/views/application/_handlebars_show_follower.html.erb
<script data-template='show-user' type="text/x-handlebars-template"> <div data-view="user" class="view user"> <article class="drop pure-g"> <div class="followers-list"> <h3 class="pure-u-1">{{pluralize followers_count "follower"}}</h3> {{#each followers}} <div class="follower-i...
Create hb template for follows
Create hb template for follows
HTML+ERB
mit
nyc-mud-turtles-2015/Soap-Stone,nyc-mud-turtles-2015/Soap-Stone,nyc-mud-turtles-2015/Soap-Stone
5a760f3f63d98e3e1c82726cb28b52acc8c73086
templates/log4j.properties.erb
templates/log4j.properties.erb
<% if @logconfig && @logconfig.keys.length > 0 %> <% _default_level = 'INFO' _default_appenders = ['Console'] _default_pattern = '[%-5p] %m%n' _default_file = 'jetty.log' _loglevel = @logconfig.fetch(:level, @logconfig.fetch('level', _default_level)) _appenders = @logconfig.fetch(:appenders, @logconfig...
<% if @logconfig && @logconfig.keys.length > 0 %> <% _default_level = 'INFO' _default_appenders = ['Console'] _default_pattern = '[%-5p] %m%n' _default_file = 'jetty.log' _loglevel = @logconfig.fetch('level', _default_level) _appenders = @logconfig.fetch('appenders', _default_appenders.join(',')) _pattern ...
Revert of the failback from symbol to string
Revert of the failback from symbol to string
HTML+ERB
apache-2.0
jjuarez/puppet-jetty,jjuarez/puppet-jetty
786dd421820e7fffee7f01e73d6dade632bf0edb
source/layouts/layout.erb
source/layouts/layout.erb
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, initial-scale=1"> <%= feed_tag :atom, 'feed.xml', title: 'Atom Feed' %> <%= favicon_tag 'favicon.ico' %> <%= styleshe...
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, initial-scale=1"> <%= feed_tag :atom, 'feed.xml', title: 'Atom Feed' %> <%= favicon_tag 'favicon.ico' %> <%= styleshe...
Adjust whitespace in section.wrapper class
Adjust whitespace in section.wrapper class
HTML+ERB
mit
dtcristo/middleman-cactus,dtcristo/dtcristo.com,dtcristo/dtcristo.com,dtcristo/middleman-cactus
eb2aaaff05d5873b1c11d8398534a448d47e7de4
app/views/users/notification_rules/_notification_rule.html.erb
app/views/users/notification_rules/_notification_rule.html.erb
<%= content_tag :div, :class => 'notification-rule alert alert-success' do %> <p class="pull-left"> When one of my <strong><%= notification_rule.class_name.pluralize %></strong> is <strong><%= notification_rule.action %></strong>, <strong><%= notification_rule.reactor.reaction_description %></strong>. </p> <%= butt...
Add basic display for notification rules
Add basic display for notification rules
HTML+ERB
mit
joshmcarthur/inquest,joshmcarthur/inquest
f492b359b3488f380960b7d59cdf0d0ec97e5c34
puppet/modules/role/templates/thumbor/apache2.conf.erb
puppet/modules/role/templates/thumbor/apache2.conf.erb
<Directory <%= @images_dir %>> RewriteEngine on RewriteBase "/images/" RewriteRule "^thumb/(\w+)/(\w+)/.*/qlow-(\d+)px-(.*\.jpg)" "http://127.0.0.1:8888/unsafe/$3x/filters:quality(40):sharpen(0.6,0.01,false)/<%= @server_url %>/images/$1/$2/$4" [P] RewriteRule "^thumb/(\w+)/(\w+)/.*/(\d+)px-(.*\.jpg)" "http://127.0.0.1:...
<Directory <%= @images_dir %>> RewriteEngine on RewriteBase "/images/" RewriteRule "^thumb/(.*)/qlow-(\d+)px-.*\.jpg" "http://127.0.0.1:8888/unsafe/$2x/filters:quality(40):sharpen(0.6,0.01,false)/<%= @server_url %>/images/$1" [P] RewriteRule "^thumb/(.*)/(\d+)px-.*\.jpg" "http://127.0.0.1:8888/unsafe/$2x/filters:qualit...
Support archived thumbnails in thumbor role
Support archived thumbnails in thumbor role Bug: T111725 Change-Id: I4cb16b594e923f8381755d4b0e7acba7db823269
HTML+ERB
mit
HarriAlasi/wiki3dviewer,wikimedia/mediawiki-vagrant,stuartbman/mediawiki-vagrant,HarriAlasi/wiki3dviewer,HarriAlasi/wiki3dviewer,HarriAlasi/wiki3dviewer,stuartbman/mediawiki-vagrant,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,stuartbman/mediawiki-vagrant,stuartbman/mediawiki-vagr...
74505aaf9a9fe13e532820f074ccf83c2b1e2a33
lib/app/views/setup/javascript.erb
lib/app/views/setup/javascript.erb
<h3>JavaScript</h3> <h4>Installation: </h4> <ul> <li> Install <a href="http://nodejs.org/">Node.js</a> <ul> <li> Homebrew for Mac OS X <ul> <li>Install node with <code>brew install node</code></li> </ul> </li> </ul> </li> <li> Install <a href="https...
<h3>JavaScript</h3> <h4>Installation: </h4> <ul> <li> Install <a href="http://nodejs.org/">Node.js</a> <ul> <li> <a href="https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager">Installing Node.js via package manager</a> </li> </ul> </li> <li> Install <a ...
Improve nodejs installation help on js dashboard
Improve nodejs installation help on js dashboard Provide link to multiplatform package installation instructions on nodejs project wiki.
HTML+ERB
agpl-3.0
colinrubbert/exercism.io,colinrubbert/exercism.io,beni55/exercism.io,mscoutermarsh/exercism_coveralls,RaptorRCX/exercism.io,hanumakanthvvn/exercism.io,mhelmetag/exercism.io,amar47shah/exercism.io,mhelmetag/exercism.io,k4rtik/exercism.io,alexclarkofficial/exercism.io,tejasbubane/exercism.io,Tonkpils/exercism.io,chinaowl...
3d57d61fed5f61ac1e9b9fea6c430fbe96af0b3c
lib/recap/deploy/templates/Capfile.erb
lib/recap/deploy/templates/Capfile.erb
require "recap/deploy" set :application, "<%= name %>" set :repository, "<%= repository %>" set :branch, "master"
require "recap/ruby" set :application, "<%= name %>" set :repository, "<%= repository %>"
Use recap/ruby as the default recipe.
Use recap/ruby as the default recipe. We want the common case for using recap to have as little friction as possible for users. We also want the 'activation' points to be as clear as possible - in other words, the files that we support users requiring should be clear.
HTML+ERB
mit
tomafro/recap,tomafro/recap,freerange/recap,freerange/recap
c34766a92f322f0f73763f89cb6b2d8e44efaffb
backend/app/views/devise_token_auth/omniauth_success.html.erb
backend/app/views/devise_token_auth/omniauth_success.html.erb
<%# This is a fix for https://github.com/manshar/manshar/issues/195 %> <% @resource.as_json.each do |attr, val| %> "<%= attr %>": "<%= val.respond_to?(:to_str) ? val.to_str.gsub(/(?:\n\r?|\r\n?)/, ' ') : val %>", <% end %> "auth_token": "<%= @token %>", "message": "deliverCredentials", "client_id": "<%= @client_...
Clean up new lines in string values for User object to avoid Javascript syntax error in oauth success.
Clean up new lines in string values for User object to avoid Javascript syntax error in oauth success.
HTML+ERB
bsd-2-clause
manshar/manshar,ahmgeek/manshar,manshar/manshar,ahmgeek/manshar,RashaHussein/manshar,ahmgeek/manshar,RashaHussein/manshar,RashaHussein/manshar,ahmgeek/manshar,manshar/manshar,manshar/manshar,RashaHussein/manshar
04d11d9fb75b281e1365be91a98e021a2caf31f9
app/views/access/index.html.erb
app/views/access/index.html.erb
<% @page_title = 'Admin Menu' %> <div class="menu"> <h2>Admin Menu</h2> <div class="identity">Logged in as:</div> <ul> <li><%= link_to('Manage Subjects', :controller => 'subjects') %></li> <li><%= link_to('Manage Pages', :controller => 'pages') %></li> <li><%= link_to('Manage Sections', :controller =...
<% @page_title = 'Admin Menu' %> <div class="menu"> <h2>Admin Menu</h2> <div class="identity">Logged in as: <%= session[:username] %></div> <ul> <li><%= link_to('Manage Subjects', :controller => 'subjects') %></li> <li><%= link_to('Manage Pages', :controller => 'pages') %></li> <li><%= link_to('Manag...
Add username to Admin Menu
Add username to Admin Menu
HTML+ERB
mit
joachimjusth/simple_cms,joachimjusth/simple_cms,joachimjusth/simple_cms
861537cda640947a886b35d71f4877fb6fbdc848
app/views/groups/index.html.erb
app/views/groups/index.html.erb
<h1>Listing groups</h1> <table> <tr> <th>Name</th> <th></th> <th></th> <th></th> </tr> <% @groups.each do |group| %> <tr> <td><%= group.name %></td> <td><%= link_to 'Show', group %></td> <td><%= link_to 'Edit', edit_group_path(group) %></td> <td><%= link_to 'Destroy', group, conf...
<div class="row"> <div class="span12 main"> <div class="grouptitle">My Groups</div> <table> <tr> <th>Name</th> <th></th> <th></th> <th></th> </tr> <% @groups.each do |group| %> <tr> <td><%= group.name %></td> <td><%= link_to 'Show', group %>...
Add scaffolding to Listing Groups page
Add scaffolding to Listing Groups page
HTML+ERB
bsd-3-clause
codeforamerica/textizen,codeforamerica/textizen,codeforamerica/textizen
0cddd3f92820ee446706b30bf7d8da670c0c46a4
app/views/sessions/new.html.erb
app/views/sessions/new.html.erb
<div id="root" style="width: 280px; margin: 40px auto; padding: 10px; ; border-width: 1px;"> </div> <script src="https://cdn.auth0.com/js/lock-7.9.min.js"></script> <script> var lock = new Auth0Lock("<%= ENV["AUTH0_CLIENT"] || 'IjMvSSE8zdo53tB1QFX5U8EDIxCTzW8Z' %>", 'dbc-mentor-me.auth0.com'); var url = (document.l...
<div id="root" style="width: 280px; margin: 40px auto; padding: 10px; ; border-width: 1px;"> </div> <script src="https://cdn.auth0.com/js/lock-9.1.min.js"></script> <script> var lock = new Auth0Lock("<%= ENV["AUTH0_CLIENT"] || 'IjMvSSE8zdo53tB1QFX5U8EDIxCTzW8Z' %>", 'dbc-mentor-me.auth0.com'); var url = (document.l...
Update Auth0 version to patch security issue
Update Auth0 version to patch security issue
HTML+ERB
mit
theresaboard/theres-a-board,theresaboard/theres-a-board,theresaboard/theres-a-board
cd89c8228b0ca624424cf8bed03bebdbaaf187d0
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 defined?(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 event_link %> Please try <%= event_link %> <% else %> Could not generate a valid link for you. Please notify your system administrator. <% end %>
Add missing event template and fix tests
Add missing event template and fix tests Conflicts: webapp/app/views/shared/_missing_event.erb
HTML+ERB
agpl-3.0
csinitiative/trisano,csinitiative/trisano,csinitiative/trisano,csinitiative/trisano,csinitiative/trisano
aca670e8e9e80613cb68343f3810d38c2a38e589
app/views/layouts/_header_signed_out.erb
app/views/layouts/_header_signed_out.erb
<div class="row"> <div class="span6"> <%= link_to(image_tag('logo.png', :alt => t('site.name')), '/', :class => "brand inline-block"); %> <span class="inline-block link_gray"><h2><%= link_to(t('site.name'), '/', :class => "brand"); %></h2></span> </div> <div class="login span6"> <div id="menu_home"> ...
<div class="row"> <div class="span6"> <%= link_to(image_tag('logo.png', :alt => t('site.name')), root_path, :class => "brand inline-block"); %> <span class="inline-block link_gray"><h2><%= link_to(t('site.name'), root_path, :class => "brand"); %></h2></span> </div> <div class="login span6"> <div id="m...
Use root_path for / paths
Use root_path for / paths
HTML+ERB
agpl-3.0
ging/vish_orange,ging/vish,agordillo/vish,rogervaas/vish,ging/vish_orange,rogervaas/vish,ging/vish,nathanV38/vishTst,rogervaas/vish,agordillo/vish,ging/vish_orange,agordillo/vish,suec78/vish_storyrobin,ging/vish_orange,ging/vish,nathanV38/vishTst,rogervaas/vish,ging/vish,suec78/vish_storyrobin,suec78/vish_storyrobin,su...
b4f0ad34f01ad949c62b52f29bea5ff6e0d18f03
app/views/people/_member_detail.html.erb
app/views/people/_member_detail.html.erb
<% person_members.each do |member| %> <div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title"> <span class="fui-tag">&nbsp;</span> <%= member_heading(member) %> <% if member.authority? %> <span class="label label-success pull-right">Authority Member</span> <% el...
<% person_members.each do |member| %> <div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title"> <span class="fui-tag">&nbsp;</span> <%= member_heading(member) %> <% if member.authority? %> <span class="label label-success pull-right">Authority Member</span> <% el...
Revert "policy sort on people show"
Revert "policy sort on people show" This reverts commit 3da0ab73ac985df6b50173042ef6984837aa3645.
HTML+ERB
mit
pbprograms/gluedb,pbprograms/gluedb,pbprograms/gluedb,blackeaglejs/gluedb,pbprograms/gluedb,blackeaglejs/gluedb,blackeaglejs/gluedb,blackeaglejs/gluedb
1c15d45152b1d81404a861cf0dc69b072421601b
app/views/challenges/index_partials/_leaderboard.html.erb
app/views/challenges/index_partials/_leaderboard.html.erb
<div class="sidebar hidden-phone profile-sidebar" id="profile-sidebar"> <h3 align="center">LEADERBOARD</h3> <div class="bs-component"> <table class="table table-striped" id="leader-board"> <thead> <tr> <th>Rank</th><th>Name</th><th>Wins</th> </tr> </thead> <tbody> ...
<div class="sidebar hidden-phone profile-sidebar" id="profile-sidebar"> <h3 align="center">LEADERBOARD</h3> <div class="bs-component"> <table class="table table-striped" id="leader-board"> <thead> <tr> <th>Rank</th><th>Name</th><th>Wins</th> </tr> </thead> <tbody> ...
Add link to names on leaderboard
Add link to names on leaderboard
HTML+ERB
mit
nrosella/prove-it,nrosella/prove-it,nrosella/prove-it
6ab80b974b3a1ebc528dee34ca84b0734b41535d
lib/views/layouts/no_chrome.html.erb
lib/views/layouts/no_chrome.html.erb
<!DOCTYPE html> <html lang="<%= I18n.locale %>"> <head> <meta charset="utf-8"> <%= csrf_meta_tags %> <title> <% if @title %> <%=@title%> - <%= site_name %> <% else %> <%= site_name %> - <%= _('Make and browse Freedom of Information (FOI) requests') %> <% end %> </tit...
<!DOCTYPE html> <html lang="<%= I18n.locale %>"> <head> <meta charset="utf-8"> <%= csrf_meta_tags %> <title> <% if @title %> <%=@title%> - <%= site_name %> <% else %> <%= site_name %> - <%= _('Make and browse Freedom of Information (FOI) requests') %> <% end %> </tit...
Use the new render_flash helper in templates
Use the new render_flash helper in templates
HTML+ERB
mit
mysociety/ipvtheme,mysociety/ipvtheme
eb923cb5cffa5b0ea6c192245d3661558e4b4b13
modules/grafana/templates/dashboards/deployment_panels/_links.json.erb
modules/grafana/templates/dashboards/deployment_panels/_links.json.erb
{ "content": "<ul style=\"font-size: 20px;\">\n <li><a target=\"_blank\" href=\"https://errbit.<%= @app_domain %>/\">Errbit</a></li>\n <li><a target=\"_blank\" href=\"https://alert.<%= @app_domain %>/\">Icinga</a></li>\n <li><a target=\"_blank\" href=\"https://docs.publishing.service.gov.uk/apps/<%=...
{ "content": "<ul style=\"font-size: 20px;\">\n<li><a target=\"_blank\" href=\"https://errbit.<%= @app_domain %>/\">Errbit</a></li>\n<li><a target=\"_blank\" href=\"https://alert.<%= @app_domain %>/\">Icinga</a></li>\n<li><a target=\"_blank\" href=\"https://docs.publishing.service.gov.uk/apps/<%= @docs_name %>.html\"...
Remove linebreaks in dashboard JSON config file
Remove linebreaks in dashboard JSON config file Remove linebreaks from links panel in deployment dashboards because these make the generated JSON invalid.
HTML+ERB
mit
alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet
c1b4aec6cf6096270dd54105674638bacaef7510
app/views/devise/registrations/new.html.erb
app/views/devise/registrations/new.html.erb
<h2>Sign up</h2> <%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %> <%= devise_error_messages! %> <div><%= f.label :username %><br /> <%= f.text_field :username, autofocus: true %></div> <div><%= f.label :first_name %><br /> <%= f.text_field :first_name %></div> <...
<%- if session["devise.provider"].blank? %> <h2>Sign up</h2> <% else %> <h2>Complete your signup!</h2> <% end %> <%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %> <%= devise_error_messages! %> <div><%= f.label :username %><br /> <%= f.text_field :username, autofocus:...
Make final data collection from omniauth started new accounts more obvious
Make final data collection from omniauth started new accounts more obvious
HTML+ERB
mit
johan--/tahi,johan--/tahi,johan--/tahi,johan--/tahi
e63753fbd6c901751093f9100d4906f67d484c37
resources/app/views/refinery/admin/resources/_existing_resource.html.erb
resources/app/views/refinery/admin/resources/_existing_resource.html.erb
<div id="existing_resource_area" class="dialog_area" <%= 'style="display:none;"'.html_safe if @resource.errors.any? %>> <input type="hidden" name="linked_resource" id="linked_resource" /> <div id="existing_resource_area_content" class="clearfix"> <div id="pages_list" class="pages_list"> <ul class="link_li...
<div id="existing_resource_area" class="dialog_area" <%= 'style="display:none;"'.html_safe if @resource.errors.any? %>> <input type="hidden" name="linked_resource" id="linked_resource" /> <div id="existing_resource_area_content" class="clearfix"> <div id="pages_list" class="pages_list"> <ul class="link_li...
Set hide_cancel to false for existing_resource
Set hide_cancel to false for existing_resource
HTML+ERB
mit
anitagraham/refinerycms,Eric-Guo/refinerycms,refinery/refinerycms,refinery/refinerycms,stefanspicer/refinerycms,Eric-Guo/refinerycms,stefanspicer/refinerycms,stefanspicer/refinerycms,Eric-Guo/refinerycms,anitagraham/refinerycms,anitagraham/refinerycms,refinery/refinerycms
3ea48f51ab06a5734511fe05599df721123610c6
source/partials/_analytics.erb
source/partials/_analytics.erb
<% if ENV["SEGMENT_KEY"] %> <script> !function(){var analytics=window.analytics=window.analytics||[];if(!analytics.initialize)if(analytics.invoked)window.console&&console.error&&console.error("Segment snippet included twice.");else{analytics.invoked=!0;analytics.methods=["trackSubmit","trackClick","trackLink","tr...
<% if ENV["GTM_CONTAINER_ID"] %> <script> (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.pare...
Swap segment for google tag manager
Swap segment for google tag manager
HTML+ERB
mit
thoughtbot/bourbon.io,thoughtbot/bourbon.io,thoughtbot/bourbon.io,thoughtbot/bourbon.io
b204e9efd3199d766dc0dbcd65bda1fc69aad7b4
source/partials/_hero.html.erb
source/partials/_hero.html.erb
<section class="hero"> <div class="hero-container"> <div class="hero-icons"> <%= partial 'partials/hero_background' %> </div> <div class="hero-logo-container"> <%= image_tag 'logo.svg', class: 'hero-logo hero-reveal', alt: 'Insiter' %> </div> <h1 class="sr-only">Insiter</h1> <div ...
<section class="hero"> <div class="hero-container"> <div class="hero-icons"> <%= partial 'partials/hero_background' %> </div> <div class="hero-logo-container"> <%= image_tag 'logo.svg', class: 'hero-logo hero-reveal', alt: 'Insiter' %> </div> <h1 class="sr-only">Insiter</h1> <div ...
Change Senac description at hero
Change Senac description at hero
HTML+ERB
mit
insiter/insiter.io,insiter/insiter.io,insiter/insiter.io
96c1f263bd29ff98c7d9802211e61a688ed1b2f2
app/views/open_conference_ware/users/_account_box.html.erb
app/views/open_conference_ware/users/_account_box.html.erb
<div id='account-box'> <%= link_to( image_tag( current_user.photo.url(:avatar), :class => 'user-photo photo' ), current_user ) if current_user.photo.file? %> <h3><%= link_to current_user.label, current_user %></h3> <div class='user_actions'> <% if user_profiles? %> <%= link_to "Edit profile", edit_user_...
<div id='account-box'> <%= link_to( image_tag( current_user.photo.url(:avatar), :class => 'user-photo photo' ), current_user ) if current_user.photo.file? %> <h3><%= link_to current_user.label, current_user %></h3> <div class='user_actions'> <% if user_profiles? %> <%= link_to "Edit profile", edit_user_...
Fix errant delete verb usage for signing out
Fix errant delete verb usage for signing out Closes #74
HTML+ERB
mit
osbridge/openconferenceware,mynameisfashanu/openconferenceware,mynameisfashanu/openconferenceware,mynameisfashanu/openconferenceware,mynameisfashanu/openconferenceware,osbridge/openconferenceware,osbridge/openconferenceware,osbridge/openconferenceware,ondrocks/openconferenceware,ondrocks/openconferenceware,ondrocks/ope...
14f1b511a81e96398d26242e1ab4b94264c2ea85
lib/rambo/rspec/templates/rambo_helper_file_template.erb
lib/rambo/rspec/templates/rambo_helper_file_template.erb
require "<%= @options.fetch(:rails, nil) ? "rails_helper" : "spec_helper" %>" require "rack/test" require_relative "./support/matchers/rambo_matchers" <% if options.fetch(:rails, nil) %>module ApiHelper include Rack::Test::Methods def app Rails.application end end RSpec.configure do |config| config.inclu...
require "<%= @options.fetch(:rails, nil) ? "rails_helper" : "spec_helper" %>" require "rack/test" require_relative "./support/matchers/rambo_matchers" <% if options.fetch(:rails, nil) %>module ApiHelper include Rack::Test::Methods def app Rails.application end end RSpec.configure do |config| config.inclu...
Use :rambo type to include ApiHelper module for Rails
Use :rambo type to include ApiHelper module for Rails
HTML+ERB
mit
danascheider/rambo,danascheider/rambo
090fc2bb7584e205d0d08fbdbd5dc5af6c5a0769
app/views/spree/admin/payments/source_forms/_purchaseorderpayments.html.erb
app/views/spree/admin/payments/source_forms/_purchaseorderpayments.html.erb
<fieldset class="no-border-bottom"> <% param_prefix = "payment_source[#{payment_method.id}]" %> <%= label_tag nil, "PO Number" %> <%= text_field_tag "#{param_prefix}[po_number]", '', :class => 'required', :autocomplete => "off" %> </fieldset>
Enable payment via PO in backend
Enable payment via PO in backend
HTML+ERB
bsd-3-clause
kvanwagenen/spree_po_checkout,kvanwagenen/spree_po_checkout,kvanwagenen/spree_po_checkout
959603b75ebf453721d8ed00f29944a52b25161f
app/views/news/item.html.erb
app/views/news/item.html.erb
<div class="section"> <div class="section-wrap" id="news-<%= @news.id %>"> <div class="section-item"> <div class="section-title"> <%= @news.title %> </div> <% if @news.content.size != 0 %> <div class="section-content"> <%= raw @news.markdown_content %> </div> <% e...
<div class="section"> <div class="section-wrap" id="news-<%= @news.id %>"> <div class="section-item"> <div class="section-title"> <%= @news.title %> </div> <% if @news.content.size != 0 %> <div class="section-content"> <%= raw @news.markdown_content %> </div> <% e...
Add return button to item
Add return button to item
HTML+ERB
mit
crispgm/rugby-board,crispgm/rugby-board,crispgm/rugby-board
2f6838879b23f0e0e47416f3368180a1990f7e9e
display/app/views/transition/environments/_design_pull_in_progress.html.erb
display/app/views/transition/environments/_design_pull_in_progress.html.erb
<div class="alert alert-info"> <%= icon('spinner fa-spin') %> Design pull is in progress, started <strong><%= time_ago_in_words(@environment.updated_timestamp) %></strong>. </div> <script> setTimeout(function () { $j.get("<%= pull_status_assembly_transition_environment_path(@assembly, @environment) %...
<div class="alert alert-info"> <%= icon('spinner fa-spin') %> Design pull is in progress, started <strong><%= time_ago_in_words(@environment.updated_timestamp) %></strong>. </div> <script> // First poll in 5 sec, 10 sec thereafter. window.design_pull_refresh_interval = window.design_pull_refresh_interval ? 10000 ...
Change design pull status polling to update sooner in the beginning.
Change design pull status polling to update sooner in the beginning.
HTML+ERB
apache-2.0
lkhusid/oneops,gauravlall/oneops,okornev/oneops,lkhusid/oneops,okornev/oneops,lkhusid/oneops,gauravlall/oneops,okornev/oneops,okornev/oneops,gauravlall/oneops,gauravlall/oneops,lkhusid/oneops,gauravlall/oneops,lkhusid/oneops,okornev/oneops,gauravlall/oneops,okornev/oneops,lkhusid/oneops
7f3935b82f4f6256ce2d9d5d0ed7f70c5fbc392e
app/views/articles/index.html.erb
app/views/articles/index.html.erb
<div class="container" id="index_page"> <div class="row"> <div class="col-xs-12"> <h3 class="text-xs-center">List of Articles</h3> </div> </div> <% @articles.each do |article| %> <div class="row row-grid"> <div class="col-xs-6 offset-xs-3"> <di...
<div class="container" id="index_page"> <div class="row"> <div class="col-xs-12"> <h3 class="text-xs-center page-title">List of Articles</h3> </div> </div> <%= render "article", obj: @articles %> </div>
Refactor index route for articles
Refactor index route for articles
HTML+ERB
mit
juanhenriquez/blog-app,juanhenriquez/blog-app,juanhenriquez/blog-app
56b33fb16a60b0501c41d09f5f2d50673af82ce4
app/views/documents/show.html.erb
app/views/documents/show.html.erb
<p>back to <%= link_to 'documents', documents_path %></p> <div class="document_view"> <h1 class="title"><%= @published_edition.title %></h1> <div class="body"> <%= govspeak_to_html @published_edition.body %> </div> <p class="attachment"><%= link_to_attachment(@published_edition.attachment) %></p> <p clas...
<p>back to <%= link_to 'documents', documents_path %></p> <div class="document_view"> <h1 class="title"><%= @published_edition.title %></h1> <div class="body"> <%= govspeak_to_html @published_edition.body %> </div> <p class="attachment"><%= link_to_attachment(@published_edition.attachment) %></p> <p clas...
Use content_tag_for to show records
Use content_tag_for to show records
HTML+ERB
mit
ggoral/whitehall,askl56/whitehall,YOTOV-LIMITED/whitehall,askl56/whitehall,askl56/whitehall,robinwhittleton/whitehall,YOTOV-LIMITED/whitehall,askl56/whitehall,alphagov/whitehall,alphagov/whitehall,ggoral/whitehall,YOTOV-LIMITED/whitehall,robinwhittleton/whitehall,alphagov/whitehall,ggoral/whitehall,robinwhittleton/whit...