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
b5106ddca333e8ae0e642ac6a9cf929922864da8
modules/govuk/templates/sidekiq_monitoring_nginx_config.conf.erb
modules/govuk/templates/sidekiq_monitoring_nginx_config.conf.erb
# This file is managed by Puppet. Local changes will be clobbered. server { server_name <%= @full_domain %>; listen localhost:80; proxy_connect_timeout 1s; proxy_read_timeout 15s; access_log /var/log/nginx/<%= @full_domain %>-access.log timed_combined; access_log /var/log/nginx/<%= @full_domain %>-json....
# This file is managed by Puppet. Local changes will be clobbered. server { server_name <%= @full_domain %>; listen localhost:80; proxy_connect_timeout 1s; proxy_read_timeout 15s; access_log /var/log/nginx/<%= @full_domain %>-access.log timed_combined; access_log /var/log/nginx/<%= @full_domain %>-json....
Add transition on port 3086 to sidekiq-monitoring
Add transition on port 3086 to sidekiq-monitoring
HTML+ERB
mit
alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet
223b5c3f83f5bf39adc318de658f74190e292704
app/views/comment/_single_comment.html.erb
app/views/comment/_single_comment.html.erb
<div class="comment_in_request" id="comment-<%=comment.id.to_s%>"> <% if comment.user && comment.user.profile_photo && !@render_to_file %> <div class="user_photo_on_comment"> <img src="<%= get_profile_photo_url(:url_name => comment.user.url_name) %>" alt=""> </div> <% end %> <h2...
<div class="comment_in_request" id="comment-<%=comment.id.to_s%>"> <% if comment.user && comment.user.profile_photo && !@render_to_file %> <div class="user_photo_on_comment"> <img src="<%= get_profile_photo_url(:url_name => comment.user.url_name) %>" alt=""> </div> <% end %> <h2...
Remove the quote from a comment in request correspondence.
Remove the quote from a comment in request correspondence. It gets hidden by the current stylesheet, so easier and more efficient not to render it at all.
HTML+ERB
agpl-3.0
andreicristianpetcu/alaveteli_old,4bic/alaveteli,TEDICpy/QueremoSaber,TEDICpy/QueremoSaber,4bic/alaveteli,Br3nda/alaveteli,petterreinholdtsen/alaveteli,nzherald/alaveteli,4bic/alaveteli,TEDICpy/QueremoSaber,Br3nda/alaveteli,andreicristianpetcu/alaveteli_old,codeforcroatia/alaveteli,codeforcroatia/alaveteli,andreicristi...
38fe6350cb1aa3acb09e047de884870c8711dec6
source/_nav.erb
source/_nav.erb
<nav class="desktop-nav"> <ul> <li><%= link_to 'Become<br> a Member', '/index.html' %></li> <li><%= link_to 'Explore<br> Benefits', '/levels.html' %></li> <li><%= link_to 'Circle<br> Membership', '/circle.html' %></li> <li><a href="https://www.texastribune.org/support-us/donors-and-members/">Donor and...
<nav class="desktop-nav"> <ul> <li><%= link_to 'Become<br> a Member', '/index.html' %></li> <li><%= link_to 'Explore<br> Benefits', '/levels.html' %></li> <li><%= link_to 'Circle<br> Membership', '/circle.html' %></li> <li><a href="https://www.texastribune.org/support-us/donors-and-members/">Donor and...
Update nav to add corporate sponsors in place of quick donate
Update nav to add corporate sponsors in place of quick donate
HTML+ERB
mit
texastribune/donations-app,texastribune/donations-app,texastribune/donations-app,texastribune/donations-app
6820d921a8fce85b0587ea6792549fe90acb92fb
cookbooks/apt/templates/default/apt.conf.erb
cookbooks/apt/templates/default/apt.conf.erb
// DO NOT EDIT - This file is being maintained by Chef // Do automatic removal of new unused dependencies after the upgrade // (equivalent to apt-get autoremove) Unattended-Upgrade::Remove-Unused-Dependencies "<%= node[:apt][:unattended_upgrades][:remove_unused_dependencies] ? 'true' : 'false' %>";
// DO NOT EDIT - This file is being maintained by Chef // Do automatic removal of new unused dependencies after the upgrade // (equivalent to apt-get autoremove) Unattended-Upgrade::Remove-Unused-Dependencies "<%= node[:apt][:unattended_upgrades][:remove_unused_dependencies] ? 'true' : 'false' %>"; // Don't install r...
Disable automatic installation of recommended packages
Disable automatic installation of recommended packages
HTML+ERB
apache-2.0
zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-c...
b91e462a59d41b42d52f69297464570c948f2aaf
app/views/items/new.html.erb
app/views/items/new.html.erb
<p>This is where your form will go for creating new items.</p> <%= render 'form', item: @item %>
<div class="form"> <p>This is where your form will go for creating new items.</p> <%= render 'form', item: @item %> </div>
Add div.form container around new item form
Add div.form container around new item form
HTML+ERB
mit
benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop
2eaa5550ef9da16c8cb5b844805758080a48c0f8
app/views/people/_family.erb
app/views/people/_family.erb
<% if @family_people.length > 1 %> <h2> Family <% if @logged_in.admin?(:edit_profiles) %> <%= link_to 'edit', @family, :class => 'discreet' %> <% elsif me? %> <%= link_to 'edit', edit_person_path(@logged_in), :class => 'discreet' %> <% end %> </h2> <table> <% @family_people.each do |person|...
<% if @family_people.length > 1 %> <h2> Family <%= render :partial => 'families/thumbnail', :locals => {:family => @family} %> <% if @logged_in.admin?(:edit_profiles) %> <%= link_to 'edit', @family, :class => 'discreet' %> <% elsif me? %> <%= link_to 'edit', edit_person_path(@logged_in), :class => 'd...
Add family thumbnail on profile page.
Add family thumbnail on profile page.
HTML+ERB
agpl-3.0
tmecklem/onebody,hooray4me/onebody,dorman/onebody,acbilimoria/onebody,powerchurch/onebody,tmecklem/onebody,samuels410/church-portal,hschin/onebody,hooray4me/onebody,brunoocasali/onebody,pgmcgee/onebody,0612800232/sns_shop,hooray4me/onebody,calsaviour/onebody,nerdnorth/remote-workers-app,seethemhigh/onebody,hooray4me/on...
4656fc186a29f1d29bfa7da36eee33ee2149eb9e
files/gitlab-cookbooks/gitlab/templates/default/smtp_settings.rb.erb
files/gitlab-cookbooks/gitlab/templates/default/smtp_settings.rb.erb
# This file is managed by gitlab-ctl. Manual changes will be # erased! To change the contents below, edit /etc/gitlab/gitlab.rb # and run `sudo gitlab-ctl reconfigure`. <% rails_app = @app == 'gitlab' ? 'Gitlab' : 'GitlabCi' %> <% container = @app == 'gitlab' ? 'gitlab-rails' : 'gitlab-ci' %> if Rails.env.production?...
# This file is managed by gitlab-ctl. Manual changes will be # erased! To change the contents below, edit /etc/gitlab/gitlab.rb # and run `sudo gitlab-ctl reconfigure`. <% rails_app = @app == 'gitlab' ? 'Gitlab' : 'GitlabCi' %> <% container = @app == 'gitlab' ? 'gitlab-rails' : 'gitlab-ci' %> if Rails.env.production?...
Fix smtp settings template typo.
Fix smtp settings template typo.
HTML+ERB
apache-2.0
felixbuenemann/omnibus-gitlab,copystudy/omnibus-gitlab,copystudy/omnibus-gitlab,aleksandrs-ledovskis/omnibus-gitlab,gitlabhq/omnibus-gitlab,gitlabhq/omnibus-gitlab,copystudy/omnibus-gitlab,felixbuenemann/omnibus-gitlab,felixbuenemann/omnibus-gitlab,gitlabhq/omnibus-gitlab,aleksandrs-ledovskis/omnibus-gitlab,aleksandrs-...
aa371b1f378c017b2cfc467173a86148daf10c11
app/views/smart_answers/shared/_escape-link.html.erb
app/views/smart_answers/shared/_escape-link.html.erb
<% data_attributes ||= {} data_attributes[:module] = 'app-escape-link' %> <%= link_to "Leave this site", destroy_session_flow_path(ext_r: "true"), class: "app-c-escape-link govuk-link", rel: "nofollow noreferrer noopener", target: "_blank", data: data_attributes %>
<% data_attributes ||= {} data_attributes[:module] = 'app-escape-link' %> <%= link_to("Hide this page", destroy_session_flow_path(ext_r: "true"), class: "app-c-escape-link govuk-link", rel: "nofollow noreferrer noopener", target: "_blank", data: data_attributes, aria: { label: "Hide this page. Quick...
Fix the 'Leave this site' link purpose
Fix the 'Leave this site' link purpose The leave this site button does not properly explain what it does, so it could be more accessible for people using screen readers We need to design the content for what this says, so that we can make sure people get the right idea of what is happening. See page 15 of the report...
HTML+ERB
mit
alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers
156333ac741de5ef852d1d6a179ad4b2c13545e3
app/views/feedy/feedbacks/_form.html.erb
app/views/feedy/feedbacks/_form.html.erb
<div class="feedback"> <div class="feedback-toggle"> Feedback </div> <div class="feedback-input"> <%= form_for :feedback, url: feedy.feedback_index_path, html: { id: 'feedback-form' }, remote: true do |f| %> <%= f.label :subject %> <%= f.text_field :subject %> <%= f.label :body %> ...
<div class="feedback"> <div class="feedback-toggle"> Feedback </div> <div class="feedback-input"> <%= form_for :feedback, url: feedy.feedbacks_path, html: { id: 'feedback-form' }, remote: true do |f| %> <%= f.label :subject %> <%= f.text_field :subject %> <%= f.label :body %> <%=...
Fix the path name in the form
Fix the path name in the form
HTML+ERB
mit
sungwoncho/feedy,sungwoncho/feedy
1d9f0908bbcd0d0128eaf72685bc4edd5cd9f22e
app/views/layouts/_header_links.html.erb
app/views/layouts/_header_links.html.erb
<ul> <li class="home"> <%= link_to "Home", root_path %> </li> <li class="fantasy-teams"> <%= link_to "Fantasy Leagues", root_path %> </li> <li class="roster-positions"> <%= link_to "Rosters", roster_positions_path %> </li> <li class="fantasy-players"> <%= link_to "Available Players", fanta...
<ul> <li class="home"> <%= link_to "Home", root_path %> </li> <li class="fantasy-teams"> <%= link_to "Fantasy Leagues", root_path %> </li> <li class="roster-positions"> <%= link_to "Rosters", roster_positions_path %> </li> <li class="fantasy-players"> <%= link_to "Available Players", fanta...
Remove signed in as from header so everything fits.
Remove signed in as from header so everything fits.
HTML+ERB
mit
axelclark/the-338-challenge,axelclark/the-338-challenge,axelclark/the-338-challenge,axelclark/the-338-challenge
07e873a6f222474d54a1c8c91d76fe0c6cbcb9f6
app/views/items/_amazon_items.html.erb
app/views/items/_amazon_items.html.erb
<div class="container"> <div class="container-inner inner-default clearfix"> <% amazon_items.each do |item| %> <div class="item-box"> <div class="image"> <div class="img-wrap"> <% #TODO 商品画像 %> <%= image_tag("no-image.png" , alt: item.get('ItemAttributes/Title')) %>...
<div class="container"> <div class="container-inner inner-default clearfix"> <% amazon_items.each do |item| %> <div class="item-box"> <div class="image"> <div class="img-wrap"> <% if item.get("LargeImage/URL").present? %> <%= image_tag(item.get("LargeImage/URL"), ...
Implement search item list view
Implement search item list view
HTML+ERB
mit
tommyheavenly7/monolist,tommyheavenly7/monolist,tommyheavenly7/monolist
9c6771c68612e2ecc60766b173bea187ac0f8bd4
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>Spanglishdictionary</title> <%= csrf_meta_tags %> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %> </head> <body> <header> <di...
<!DOCTYPE html> <html> <head> <title>Spanglishdictionary</title> <%= csrf_meta_tags %> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %> </head> <body> <header> <di...
Change nav wording to match devise headers
Change nav wording to match devise headers
HTML+ERB
mit
edgarsbarajas/spanglishdictionary,edgarsbarajas/spanglishdictionary,edgarsbarajas/spanglishdictionary
beac5e93be9ce149f9c3d497f27ca6fa6a291cea
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) : "YesAnd" %></title> <%= stylesheet_link_tag "application" %> <%= javascript_include_tag "vendor/modernizr...
<!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) : "YesAnd" %></title> <%= stylesheet_link_tag "application" %> <%= javascript_include_tag "vendor/modernizr...
Fix names of login and out images
Fix names of login and out images
HTML+ERB
mit
chi-fiddler-crabs-2015/yesand,chi-fiddler-crabs-2015/yesand,chi-fiddler-crabs-2015/yesand
3925e441cd93c4258406819012457e79008642d0
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>Startups of Puerto Rico</title> <%= csrf_meta_tags %> <%= stylesheet_link_tag "application", :media => "all" %> <%= javascript_include_tag "application" %> <%= favicon_link_tag 'favicon.ico' %> <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700'...
<!DOCTYPE html> <html> <head> <title>Startups of Puerto Rico</title> <%= csrf_meta_tags %> <%= stylesheet_link_tag "application", :media => "all" %> <%= favicon_link_tag 'favicon.ico' %> <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700' rel='stylesheet' type='text/css'> </head> <bo...
Load Javascript before closing body
Load Javascript before closing body
HTML+ERB
mit
SoPR/sopr-platform,SoPR/sopr-platform
ca4763efedfaa036a56cdbdb1558a87736b3b799
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]--> <!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]--> <!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]--> <!--[if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]--> <html> <head> <title> <% if content_for? :title %>...
<!DOCTYPE html> <html> <head> <title> <% if content_for? :title %> <%= yield :title %> | <% end %> BikeCommuteChallenge </title> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> <%= stylesheet_link_tag "application", :media => "all" %> <%= javascr...
Remove any semblance of ie8 support
Remove any semblance of ie8 support
HTML+ERB
mit
Ehryk/Ride-MN,ResourceDataInc/commuter_challenge,Ehryk/Ride-MN,ResourceDataInc/commuter_challenge,ResourceDataInc/commuter_challenge,Ehryk/Ride-MN,Ehryk/Ride-MN,ResourceDataInc/commuter_challenge
29172f4dbbeef08a27d49a32f93b56ea56758723
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html lang="en"> <head> <title>Seedpod</title> <%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %> <%= javascript_include_tag "application", "data-turbolinks-track" => true %> <%= csrf_meta_tags %> </head> <body> <div class="navbar"> <div class="navb...
<!DOCTYPE html> <html lang="en"> <head> <title>Seedpod</title> <%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %> <%= javascript_include_tag "application", "data-turbolinks-track" => true %> <%= csrf_meta_tags %> </head> <body> <div class="navbar"> <div class="navb...
Add sections for flash messages
Add sections for flash messages
HTML+ERB
mit
seedpod/seedpod,seedpod/seedpod,seedpod/seedpod
91f5b7b38c43a2965f55f634fd6c3c91712c8f1d
cookbooks/travis_java/templates/default/travis-java.sh.erb
cookbooks/travis_java/templates/default/travis-java.sh.erb
#!/bin/sh <% unless @jdk_switcher_default.nil? || @jdk_switcher_default.empty? -%> export JDK_SWITCHER_DEFAULT="<%= @jdk_switcher_default -%>" <% end -%> <% unless @jvm_name.nil? || @jvm_name.empty? -%> export JAVA_HOME="<%= @jvm_base_dir -%>/<%= @jvm_name -%>" <% end -%> if [ -f "<%= @jdk_switcher_path -%>" ]; then ...
#!/bin/sh <% unless @jdk_switcher_default.nil? || @jdk_switcher_default.empty? -%> export JDK_SWITCHER_DEFAULT="<%= @jdk_switcher_default -%>" <% end -%> <% unless @jvm_name.nil? || @jvm_name.empty? -%> export JAVA_HOME="<%= @jvm_base_dir -%>/<%= @jvm_name -%>" export _JAVA_OPTIONS="-Xmx2048m -Xms512m -XX:MaxPermSize=7...
Add envvariables to improve jvm performance and memory allocation
Add envvariables to improve jvm performance and memory allocation
HTML+ERB
mit
ljharb/travis-cookbooks,spurti-chopra/travis-cookbooks,travis-ci/travis-cookbooks,spurti-chopra/travis-cookbooks,ljharb/travis-cookbooks,ljharb/travis-cookbooks,travis-ci/travis-cookbooks,travis-ci/travis-cookbooks,spurti-chopra/travis-cookbooks
9ca2673a0f24c3f97f4bafa7656943ddc4c192a5
app/views/datagrid/_table.html.erb
app/views/datagrid/_table.html.erb
<%# Local variables: * grid - instance of Datagrid * assets - Array of database Entities * options - passed options Hash %> <%= content_tag :table, options[:html] do %> <thead> <%= datagrid_header(grid, options) %> </thead> <tbody> <% if grid.rows.empty? %> <tr><td class="noresults" colspan="100%">No ...
<%# Local variables: * grid - instance of Datagrid * assets - Array of database Entities * options - passed options Hash %> <%= content_tag :table, options[:html] do %> <thead> <%= datagrid_header(grid, options) %> </thead> <tbody> <% if grid.rows.empty? %> <tr><td class="noresults" colspan="100%"><%=...
Use I18n for the 'no results found' message.
Use I18n for the 'no results found' message.
HTML+ERB
mit
reenhanced/datagrid,reenhanced/datagrid,artofhuman/datagrid,sadaf2605/datagrid,11factory/datagrid,bogdan/datagrid,artofhuman/datagrid,bogdan/datagrid,jeanlinux/datagrid,sadaf2605/datagrid,jeanlinux/datagrid
2b71d2584b3c862b35deb5296f41860deaebae4a
frontends/default/views/_list.html.erb
frontends/default/views/_list.html.erb
<table cellpadding="0" cellspacing="0"> <thead> <tr> <%= render :partial => 'list_column_headings' %> </tr> </thead> <tbody class="messages"> <tr> <td colspan="<%= active_scaffold_config.list.columns.length + 1 -%>" class="messages-container"> <%= render :partial => 'list_messages'...
<table cellpadding="0" cellspacing="0"> <thead> <tr> <%= render :partial => 'list_column_headings' %> </tr> </thead> <tbody class="messages"> <tr> <td colspan="<%= active_scaffold_config.list.columns.length + (active_scaffold_config.list.mark_records ? 2 : 1) -%>" class="messages-container...
Fix colspan with mark records enabled
Fix colspan with mark records enabled
HTML+ERB
mit
budree/active_scaffold,mallikarjunayaddala/active_scaffold,activescaffold/active_scaffold,AlbertoBarrago/active_scaffold,mallikarjunayaddala/active_scaffold,AlbertoBarrago/active_scaffold,activescaffold/active_scaffold,activescaffold/active_scaffold,budree/active_scaffold,budree/active_scaffold,mallikarjunayaddala/acti...
e9231a2384be0fc1aa19b19b6c40ab0177f57219
app/views/layouts/_breadcrumb.html.erb
app/views/layouts/_breadcrumb.html.erb
<a href="<%= root_url %>"><%= image_tag 'markus_logo_small_beta.png' %></a> <%# s = "" url = request.path.split('?') #remove extra query string parameters levels = url[0].split('/') #break up url into different levels levels.each_with_index do |level, index| unless level.blank? if index == levels.size-1 || ...
<a href="<%= root_url %>"><%= image_tag 'markus_logo_small_beta.png' %></a> <% # TODO: The following requires restful routes, which we don't have yet s = "" url = request.path.split('?') #remove extra query string parameters levels = url[0].split('/') #break up url into different levels levels.each_with_index do |leve...
Add comment for non-working breadcrumb code
Add comment for non-working breadcrumb code
HTML+ERB
mit
jeremygoh/Markus,arkon/Markus,selyanhb/Markus,Lysette/Markus,WilsonChiang/Markus,ealonas/Markus,SoftwareDev/Markus,SoftwareDev/Markus,kmccoan/Markus,wkwan/Markus,MarkUsProject/Markus,SoftwareDev/Markus,Lysette/Markus,kmccoan/Markus,finnergizer/Markus,Lysette/Markus,WilsonChiang/Markus,ealonas/Markus,david-yz-liu/Markus...
cadb2fc78e43636fdcf4cc830d3ac05962cf0b9a
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>Undersky - <%= yield :title %></title> <%= stylesheet_link_tag "application" %> <%= javascript_include_tag "application" %> <%= csrf_meta_tags %> </head> <body> <header class="topbar"> <div class="topbar-inner"> <div class="container"> ...
<!DOCTYPE html> <html> <head> <title>Undersky - <%= yield :title %></title> <%= stylesheet_link_tag "application" %> <%= javascript_include_tag "application" %> <%= csrf_meta_tags %> </head> <body> <header class="topbar"> <div class="topbar-inner"> <div class="container"> ...
Add url to application nav links.
Add url to application nav links.
HTML+ERB
mit
mitukiii/undersky,mitukiii/undersky
2e40bf414554f3d87e3bbc5798b6ce1383a0c27d
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) : "ScienceToolbox - Open science software" %></title> <%= stylesheet_link_tag "application" %> <%= javascri...
<!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) : "ScienceToolbox - Open science software" %></title> <%= stylesheet_link_tag "application" %> <%= javascri...
Add GA and Open Sans
Add GA and Open Sans
HTML+ERB
mit
eronisko/sciencetoolbox,ScienceToolbox/sciencetoolbox,ScienceToolbox/sciencetoolbox,eronisko/sciencetoolbox,eronisko/sciencetoolbox,ScienceToolbox/sciencetoolbox,ScienceToolbox/sciencetoolbox
9670f954def23ef042f90c275490e07804754045
app/views/subtopics/_subtopic.html.erb
app/views/subtopics/_subtopic.html.erb
<% content_for :page_class, "topics-page" %> <header class="page-header group"> <div class="govuk-grid-row"> <div class="govuk-grid-column-two-thirds"> <%= yield :page_title %> <% if organisations.any? %> <%= render "govuk_publishing_components/components/metadata", from: organisations.array_...
<% content_for :page_class, "topics-page" %> <header class="page-header group"> <div class="govuk-grid-row"> <div class="govuk-grid-column-two-thirds"> <%= yield :page_title %> <% if organisations.any? %> <%= render "govuk_publishing_components/components/metadata", from: organisations.array_...
Adjust "See latest changes" link spacing
Adjust "See latest changes" link spacing On topics pages where a "see latest changes to this content" link exists as part of the header, there isn't enough spacing between this link and the main content of the page on mobile. This adds a margin bottom to the container of this element which helps space things out for ...
HTML+ERB
mit
alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections
bd697d2809431bf53ea32123d3e852b8100df00e
app/views/simple_smart_answers/_current_question.html.erb
app/views/simple_smart_answers/_current_question.html.erb
<%= form_tag smart_answer_path_for_responses(@flow_state.completed_questions, edition: nil), method: "get" do %> <%= hidden_field_tag :edition, @edition if @edition.present? %> <%= hidden_field_tag 'response', '' %> <% error_message = t("formats.simple_smart_answer.please_answer") if @flow_state.error? %> <% c...
<%= form_tag smart_answer_path_for_responses(@flow_state.completed_questions, edition: nil), method: "get" do %> <%= hidden_field_tag :edition, @edition if @edition.present? %> <%= hidden_field_tag 'response', '' %> <% error_message = t("formats.simple_smart_answer.please_answer") if @flow_state.error? %> <% c...
Use heading_level param instead of is_page_heading
Use heading_level param instead of is_page_heading Simple smart answers use the radio component with the is_page_heading parameter. Some changes are being made to remove the is_page_heading parameter, and achieve the same result using heading_level and/or heading_size instead.
HTML+ERB
mit
alphagov/frontend,alphagov/frontend,alphagov/frontend,alphagov/frontend
36d4a1bc391931efd2656030473041c992bf5e12
lib/phusion_passenger/templates/apache2/deployment_example.txt.erb
lib/phusion_passenger/templates/apache2/deployment_example.txt.erb
<banner>Deploying a Ruby on Rails application: an example</banner> Suppose you have a Rails application in <b>/somewhere</b>. Add a virtual host to your Apache configuration file and set its DocumentRoot to <b>/somewhere/public</b>: <b> <VirtualHost *:80> ServerName www.yourhost.com DocumentRoot /somewh...
<banner>Deploying a Ruby on Rails application: an example</banner> Suppose you have a Rails application in <b>/somewhere</b>. Add a virtual host to your Apache configuration file and set its DocumentRoot to <b>/somewhere/public</b>: <b> <VirtualHost *:80> ServerName www.yourhost.com # !!! Be sure to poi...
Print example Apache VirtualHost config snippet in a format that people can actually paste directly.
Print example Apache VirtualHost config snippet in a format that people can actually paste directly.
HTML+ERB
mit
cgvarela/passenger,clemensg/passenger,antek-drzewiecki/passenger,clemensg/passenger,kewaunited/passenger,cgvarela/passenger,pkmiec/passenger,cgvarela/passenger,kewaunited/passenger,antek-drzewiecki/passenger,pkmiec/passenger,pkmiec/passenger,bf4/passenger,clemensg/passenger,jawj/passenger,clemensg/passenger,jawj/passen...
aac54191e1590819dc1c91e8eaf6a341a36b91f6
app/views/rails_email_preview/emails/_email_iframe.html.erb
app/views/rails_email_preview/emails/_email_iframe.html.erb
<div id="rep-src-iframe-container"> <div id="email-progress-bar" class="progress" style="display: none; position: absolute; z-index: -1; width: 100%; text-align: center"> <div class="progress-bar progress-bar-striped active"> <%= t 'rep.base.loading' %> </div> </div> <iframe id="rep-src-ifra...
<div id="rep-src-iframe-container"> <div id="email-progress-bar" class="progress" style="display: none; position: absolute; z-index: -1; width: 100%; text-align: center"> <div class="progress-bar progress-bar-striped active"> <%= t 'rep.base.loading' %> </div> </div> <iframe id="rep-src-ifra...
Fix deprecation warning re. filename in render call
Fix deprecation warning re. filename in render call
HTML+ERB
mit
glebm/rails_email_preview,glebm/rails_email_preview,glebm/rails_email_preview
43abd6f8707c20e3d9a7b3de324abf92fd76c2a4
app/views/users/mailer/reset_password_instructions.html.erb
app/views/users/mailer/reset_password_instructions.html.erb
<p>Hello <%= @resource.email %>!</p> <p>Someone has requested a link to change your password. You can do this through the link below.</p> <p><%= link_to 'Change my password', edit_password_url(@resource, :reset_password_token => @resource.reset_password_token) %></p> <p>If you didn't request this, please ignore this...
<p>¡Hola <%= @resource.email %>!</p> <p>Alguien a pedido cambiar tu contraseña. Lo puedes hacer a traves del siguiente correo.</p> <p><%= link_to 'Cambiar contraseña', edit_password_url(@resource, :reset_password_token => @resource.reset_password_token) %></p> <p>Si tu no pediste eso, solo ignora este correo.</p> <p...
Reset password mailer to spanish
Reset password mailer to spanish
HTML+ERB
mit
acrogenesis-lab/reporte-ciudadano,acrogenesis-lab/reporte-ciudadano
40e9fd5010bb65910271d3b942b60fb6fc0762ec
cookbooks/rs_utils/templates/default/collectd.config.erb
cookbooks/rs_utils/templates/default/collectd.config.erb
# # Config file for collectd, version 4. # # Managed by RightScale # DO NOT EDIT BY HAND # Hostname "<%= node[:rightscale][:instance_uuid] %>" Interval 20 ReadThreads 5 LoadPlugin syslog <Plugin syslog> LogLevel info </Plugin> LoadPlugin network <Plugin network> Server "<%= node[:rightscale][:servers][:sketchy]...
# # Config file for collectd, version 4. # # Managed by RightScale # DO NOT EDIT BY HAND # Hostname "<%= node[:rightscale][:instance_uuid] %>" Interval 20 ReadThreads 5 LoadPlugin syslog <Plugin syslog> LogLevel info </Plugin> LoadPlugin network <Plugin network> Server "<%= node[:rightscale][:servers][:sketchy...
Make enabling collectd plugins and monitoring processes into definitions
Make enabling collectd plugins and monitoring processes into definitions
HTML+ERB
mit
Promoboxx/cookbooks_public,Promoboxx/cookbooks_public,Promoboxx/cookbooks_public
c827a12bbac3ff3394f98a6d429e220260d9bbc4
source/apps/by-team.html.md.erb
source/apps/by-team.html.md.erb
--- layout: application_layout title: Application ownership by team source_url: https://github.com/alphagov/govuk-developer-docs/blob/master/data/applications.yml --- <% unless ApplicationsByTeam.no_known_owner.empty? %> ## Repos without a home You can help us improve this documentation by [editing this page](https:...
--- layout: application_layout title: Application ownership by team source_url: https://github.com/alphagov/govuk-developer-docs/blob/master/data/applications.yml parent: "/manual.html" --- <% unless ApplicationsByTeam.no_known_owner.empty? %> ## Repos without a home You can help us improve this documentation by [ed...
Set parent page for apps by team page
Set parent page for apps by team page This will highlight the "Apps" link in the main navigation.
HTML+ERB
mit
alphagov/govuk-developer-docs,alphagov/govuk-developer-docs,alphagov/govuk-developer-docs,alphagov/govuk-developer-docs
9a50fd6753f3ef74d5b2cd4dd310a85374b9f540
jobs/director/templates/post-start.erb
jobs/director/templates/post-start.erb
#!/bin/bash -e echo "Checking if director is ready..." timeout 5m bash -c ' while ! curl --insecure --fail https://127.0.0.1:<%= p('director.port') %>/info; do sleep 1 done ' echo echo "Director is ready."
#!/bin/bash -e echo "Checking if director is ready..." timeout 5m bash -c ' while ! curl --insecure --fail https://localhost:<%= p('director.port') %>/info; do sleep 1 done ' echo echo "Director is ready."
Switch director health check to localhost
Switch director health check to localhost [#158266107](https://www.pivotaltracker.com/story/show/158266107)
HTML+ERB
apache-2.0
barthy1/bosh,barthy1/bosh,barthy1/bosh,barthy1/bosh
60ea888bf2539842d7564372f5eb73a616bc520e
source/_open_source_segment.html.erb
source/_open_source_segment.html.erb
<div class="col-sm-12"> <h2 class="segment-title"><%= segment.title %></h1> <div class="row projects"> <% segment.projects.each do |project| %> <div class="col-sm-4 project"> <div class="project-title"> <a href="<%= project.link %>" target="_blank"><%= project.title %></a> </div>...
<div class="col-sm-12"> <h2 class="segment-title"><%= segment.title %></h1> <div class="row projects"> <% segment.projects.each do |project| %> <div class="col-sm-4"> <div class="project"> <div class="project-title"> <a href="<%= project.link %>" target="_blank"><%= project.t...
Fix issue with column alignment for projects in segments
Fix issue with column alignment for projects in segments
HTML+ERB
mit
multunus/multunus-website,multunus/multunus-website,multunus/multunus-website
9e5ebebd6d6a316f58fd1803ff3570a7d6fe1541
app/assets/javascripts/store/spree_autosuggest.js.coffee.erb
app/assets/javascripts/store/spree_autosuggest.js.coffee.erb
//= require store/autosuggest //= require store/spree_core $ -> suggestOn = '<%= Spree::Autosuggest::Config.field %>' $("input[name=#{suggestOn}]:not(.ui-autocomplete-input)").live "focus", -> new Autosuggest(this, from_db: <%= Spree::Autosuggest::Config.rows_from_db %> to_display: <%= Spree::Auto...
//= require store/autosuggest //= require store/spree_core $ -> suggestOn = '<%= Spree::Autosuggest::Config.field %>' $("input[name=#{suggestOn}]:not(.ui-autocomplete-input)").on "focus", -> new Autosuggest(this, from_db: <%= Spree::Autosuggest::Config.rows_from_db %> to_display: <%= Spree::Autosu...
Update for modern jQuery: Use “on” instead of “live” since “live”
Update for modern jQuery: Use “on” instead of “live” since “live”
HTML+ERB
mit
evrone/spree_autosuggest,evrone/spree_autosuggest
2980aeece18921570a5b4724714112931732fee0
app/views/annual_report_uploads/show.html.erb
app/views/annual_report_uploads/show.html.erb
<div class="sandbox-header"> <h1 class="sandbox-title">Annual Report Upload <span>SANDBOX</span></h1> <h3 class="sandbox-upload-summary"> <%= @annual_report_upload.summary %> </h3> </div> <div class="sandbox-body"> <%= download_and_submit %> <%= react_component 'ValidationErrorsContainer', { ...
<div class="sandbox-header"> <h1 class="sandbox-title">Annual Report Upload <span>SANDBOX</span></h1> <h3 class="sandbox-upload-summary"> <%= @annual_report_upload.summary %> </h3> </div> <div class="sandbox-body"> <%= download_and_submit %> <%= react_component 'ValidationErrorsContainer', { ...
Fix method name for errors
Fix method name for errors
HTML+ERB
mit
unepwcmc/trade_reporting_tool,unepwcmc/trade_reporting_tool,unepwcmc/trade_reporting_tool
e447dc991e7168226413cd2bf86a6516706cdbbe
app/views/tagging_spreadsheets/new.html.erb
app/views/tagging_spreadsheets/new.html.erb
<%= display_header title: 'Upload spreadsheet', breadcrumbs: [:tagging_spreadsheets, "Upload"] %> <%= simple_form_for @tagging_spreadsheet, url: tagging_spreadsheets_path do |f| %> <div class="form-group"> <%= f.input :url, input_html: { type: :text}, label: "Spreadsheet URL" %> <%= f.input :description %> ...
<%= display_header title: 'Upload spreadsheet', breadcrumbs: [:tagging_spreadsheets, "Upload"] %> <%= simple_form_for @tagging_spreadsheet, url: tagging_spreadsheets_path do |f| %> <div class="form-group"> <%= f.input :url, input_html: { type: :text}, label: "Spreadsheet URL" %> <%= f.input :description %> ...
Fix example spreadsheet URL on new tagging spreadsheet form
Fix example spreadsheet URL on new tagging spreadsheet form
HTML+ERB
mit
alphagov/content-tagger,alphagov/content-tagger,alphagov/content-tagger
aa78d856d9743c6dcf03fbf53672056bdc89f446
app/views/campaigns/_campaign_header.html.erb
app/views/campaigns/_campaign_header.html.erb
<% if current_user && current_user.owns?(@campaign) %> <%= render partial: 'campaigns/progress_bar' %> <% if !@campaign.draft? %> <%= render partial: 'tabs' %> <% end %> <% end %> <% if action_name != 'edit' && action_name != 'goals_wizard' %> <div class="campaign-title section-container"> <%= link_to...
<% if current_user && current_user.owns?(@campaign) %> <%= render partial: 'campaigns/progress_bar' %> <% if !@campaign.draft? %> <%= render partial: 'tabs' %> <% end %> <% end %> <% if action_name != 'edit' && action_name != 'goals_wizard' %> <div class="campaign-title section-container"> <%= link_to...
Remove survey code from share page
Remove survey code from share page
HTML+ERB
mit
c4fcm/Promise-Tracker-Builder,c4fcm/Promise-Tracker-Builder,c4fcm/Promise-Tracker-Builder
b85dba75cdf67622977ee84c7c7835be2444ae41
app/views/layouts/nav/_help_dropdown.html.erb
app/views/layouts/nav/_help_dropdown.html.erb
<li class="dropdown" title="Help" > <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"> <i class="fas fa-question-circle"></i><span class="hidden-sm hidden-sm-nav"> Help</span><span class="caret"></span> </a> <ul class="dropdown-menu"> <%= n...
<li class="dropdown" title="<%= t('dashboard.nav.help.title') %>" > <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"> <i class="fas fa-question-circle"></i><span class="hidden-sm hidden-sm-nav"> <%= t('dashboard.nav.help.title') %></span><span cla...
Add missing navbar help title translation
Add missing navbar help title translation
HTML+ERB
mit
OSC/ood-dashboard,OSC/ood-dashboard,OSC/ood-dashboard
5e62c889783342238de36baf787de5195a90ab2b
app/views/pages/_new_comment_section.html.erb
app/views/pages/_new_comment_section.html.erb
<div id="new-comment-section"> <h3><%= t('comments.what_do_you_think') %></h3> <% if current_user %> <%= render 'comments/form_in_page' %> <% else %> <p><label class="label label-info"><%= t('comments.login_needed') %></label></p> <%= render 'shared/embedded_login_module' %> <% end -%> </div>
<div id="new-comment-section"> <h3><%= t('comments.what_do_you_think') %></h3> <% if current_user %> <%= render 'comments/form_in_page' %> <% else %> <%= render 'shared/embedded_access_control' %> <% end -%> </div>
Call to new tkh_authentication partial in new comment section partial.
Call to new tkh_authentication partial in new comment section partial.
HTML+ERB
mit
allesklar/tkh_content,allesklar/tkh_content,allesklar/tkh_content
d470614912b2fb466a69266eef5f25fed7483f87
templates/config.json.erb
templates/config.json.erb
{ 'phabricator.base-uri': 'http://<%= @hostname %>/' }
{ 'phabricator.base-uri': 'http://<%= @hostname %>/', <%# MySQL settings %> 'mysql.host': 'phabricator-db.<%= @domain %>', }
Set `mysql.host` configuration for Phabricator
Set `mysql.host` configuration for Phabricator
HTML+ERB
mit
joshuaspence/puppet-phabricator
50846677dc6e4b9497d838a54085eb13e1166fb6
app/views/backend/pases/_pase.html.erb
app/views/backend/pases/_pase.html.erb
<%= pase %> <hr>
<table class="well"> <tbody> <tr> <td class="field_name"> <%= resource_class.human_attribute_name(:ingreso) %>: <%= pase.ingreso %> </td> </tr> <tr> <td class="field_name"> <%= resource_class.human_attribute_name(:descripcion) %>: <%= p...
Add ingreso y descripcion to the pase partial
Add ingreso y descripcion to the pase partial
HTML+ERB
agpl-3.0
bluelemons/diputados,bluelemons/diputados
613a6b48604b9206bf4c120c6bc20d0252ef716c
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
# encoding: utf-8 <!DOCTYPE html> <html> <head> <title>LoungeChat2</title> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1"> <%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %> <%= javascript_include_tag "application", "data-t...
# encoding: utf-8 <!DOCTYPE html> <html> <head> <title>LoungeChat</title> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1"> <%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %> <%= javascript_include_tag "application", "data-tu...
Change name in title, the 2 makes no sense at all.
Change name in title, the 2 makes no sense at all.
HTML+ERB
mit
loungehackers/chat,loungehackers/chat,loungehackers/chat
12dea8bd790c8ef40459d78459eb1d6f9ead2aa2
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="ROBOTS" content="NOODP" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title><%= title %></title> <%= favicon_link_tag "favicon.ico" %> <%= stylesheet_link_tag :normalize, media: "all" %> <%= styleshee...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="ROBOTS" content="NOODP" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title><%= title %></title> <%= favicon_link_tag "favicon.ico" %> <%= stylesheet_link_tag :normalize, media: "all" %> <%= styleshee...
Put everything inside a responsive container
Put everything inside a responsive container
HTML+ERB
mit
codecation/trailmix,codecation/trailmix,codecation/trailmix,codecation/trailmix
e28ce6451451c23aed3e60e846df54aa3e512db5
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title><%= content_for?(:page_title) ? yield(:page_title) : "Business finance and support finder" %> | GOV.UK</title> <%= stylesheet_link_tag 'business-support-finder.css' %> <%= javascript_include_tag 'business-support-finder.js', :defer => true %> <%= yield :head %> <...
<!DOCTYPE html> <html> <head> <title><%= content_for?(:page_title) ? yield(:page_title) : "Business finance and support finder" %> - GOV.UK</title> <%= stylesheet_link_tag 'business-support-finder.css' %> <%= javascript_include_tag 'business-support-finder.js', :defer => true %> <%= yield :head %> <...
Use hypens instead of pipes in page titles
Use hypens instead of pipes in page titles
HTML+ERB
mit
alphagov/business-support-finder,alphagov/business-support-finder,alphagov/business-support-finder,alphagov/business-support-finder
3085cd2e8e15931eb2758fc996c2c84c161acfec
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>AbmPortal</title> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> <%= csrf_meta_tags %> </head> <body> <%= yield %> </body> </html>
<!DOCTYPE html> <html> <head> <title>AbmPortal</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css"> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%= javascript_include_tag 'application', 'data-turbolinks-track'...
Load Bootstrap 3.3.4 from CDN
Load Bootstrap 3.3.4 from CDN
HTML+ERB
mit
GeoSensorWebLab/abm-portal,GeoSensorWebLab/abm-portal,GeoSensorWebLab/abm-portal,johan--/abm-portal,johan--/abm-portal,johan--/abm-portal
236ed7abde51b22596bae4115b3ad066705533de
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>Monopoly</title> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> <%= csrf_meta_tags %> </head> <body> <%= yield %> </body> </html>
<!DOCTYPE html> <html> <head> <title>Monopoly</title> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> <%= csrf_meta_tags %> </head> <body> <%= form_tag(nil, method: :get) do %> <%= select_t...
Add switch user select to every page
Add switch user select to every page
HTML+ERB
mit
hughdavenport/powershop_devtrain_monopoly,hughdavenport/powershop_devtrain_monopoly,hughdavenport/powershop_devtrain_monopoly
8b32dc3cd503dda37cbb02c847f44fc2b82ecb9d
app/views/posts/_flagged_post.html.erb
app/views/posts/_flagged_post.html.erb
<div class="cell3"> &nbsp; <b>Posted:</b> <%= format_date(post.created_at) %> &nbsp;|&nbsp; <%= link_to 'Context', topic_path_for(post) %> &nbsp;|&nbsp; <%= delete_link_for(topic, post) %> &nbsp;|&nbsp; <%= link_to 'Unflag', dismiss_path(post), class: 'dismiss', method: :patch %> ...
<div class="cell3"> &nbsp; <b>Posted:</b> <%= format_date(post.created_at) %> &nbsp;|&nbsp; <%= link_to 'Context', topic_path_for post %> &nbsp;|&nbsp; <%= delete_link_for topic, post: post %> &nbsp;|&nbsp; <%= link_to 'Unflag', dismiss_path(post), class: 'dismiss', metho...
Use updated helper methods in flagged post view
Use updated helper methods in flagged post view
HTML+ERB
mit
cribbles/tiktak,cribbles/tiktak,cribbles/tiktak
584d9177bfa95844827f56ee1add99296834dc84
app/views/live/events/_live_entry_button_cluster.html.erb
app/views/live/events/_live_entry_button_cluster.html.erb
<%= link_to 'View Event', event_path(@event), class: 'btn btn-sm btn-primary' %> <div class="btn-group"> <%= link_to 'Live entry', live_entry_live_event_path(@event), disabled: page == 'live_entry', class: 'btn btn-sm btn-warning' %> <%= link_to 'Progress', progress_report_live_event_path(@event), disabled: page ==...
<%= link_to 'Admin', stage_event_path(@event), class: 'btn btn-sm btn-primary' %> <div class="btn-group"> <%= link_to 'Live entry', live_entry_live_event_path(@event), disabled: page == 'live_entry', class: 'btn btn-sm btn-warning' %> <%= link_to 'Progress', progress_report_live_event_path(@event), disabled: page =...
Change link in Live Entry screen from View Event to Admin.
Change link in Live Entry screen from View Event to Admin.
HTML+ERB
mit
SplitTime/OpenSplitTime,SplitTime/OpenSplitTime,SplitTime/OpenSplitTime
060aa903ec528084841160d0eda842de07e80d35
app/views/articles/show.html.erb
app/views/articles/show.html.erb
<% set_meta_tags(description: article.description, canonical: article.canonical_url, alternate: article.alternate_options) %> <% content_for(:context_bar) do %> <% if breadcrumb_trails.size == 1 %> <%= render 'shared/breadcrumbs', breadcrumbs: breadcrumb_trails.first %> <%...
<% set_meta_tags(description: article.description, canonical: article.canonical_url, alternate: article.alternate_options) %> <% content_for(:context_bar) do %> <% if breadcrumb_trails.one? %> <%= render 'shared/breadcrumbs', breadcrumbs: breadcrumb_trails.first %> <% elsi...
Change equality comparation by one? method
Change equality comparation by one? method
HTML+ERB
mit
moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend
bc783f70c7de441eb54b919d4dc50a842c13acb0
app/views/chapters/show.html.erb
app/views/chapters/show.html.erb
<h1>Chapter: <%= @chapter.name %></h1> <h3><strong>From: </strong><%= link_to @chapter.story.name, @chapter.story %> by <%= link_to @chapter.user.username, writer_path(@chapter.user) %></h3> <% if @chapter.currently_writing %> <h4><%= content_tag :span, "Currently Writing", class: ["badge", "badge-currently-writing"]...
<h1>Chapter: <%= @chapter.name %></h1> <h3><strong>From: </strong><%= link_to @chapter.story.name, @chapter.story %> by <%= link_to @chapter.user.username, writer_path(@chapter.user) %></h3> <% if @chapter.currently_writing %> <h4><%= content_tag :span, "Currently Writing", class: ["badge", "badge-currently-writing"]...
Add Masonry grid to characters collection in chapter show page
Add Masonry grid to characters collection in chapter show page
HTML+ERB
mit
MitulMistry/rails-storyplan,MitulMistry/rails-storyplan,MitulMistry/rails-storyplan
6f53920c8741fe4f77f9ef31040b2554e70e7990
app/views/projects/edit.html.erb
app/views/projects/edit.html.erb
<% if logged_in? %> <div class="row"> <div class="col-md-2 col-xs-3"> <div class="main-badge-ques"></div> </div> <div class="col-md-7 col-xs-6"> <h2 class="text-uppercase m-t-0">Edit Project Badge Status</h2> <%= render 'form', project: @project, is_disabled: false %> <% else %> <% flash.n...
<% if logged_in? %> <div class="row"> <div class="col-md-2 col-sm-3"> <div class="main-badge-ques"></div> </div> <div class="col-md-7 col-sm-6"> <h2 class="text-uppercase m-t-0">Edit Project Badge Status</h2> <%= render 'form', project: @project, is_disabled: false %> <% else %> <% flash.n...
Fix minor formating on edit project page.
Fix minor formating on edit project page. Signed-off-by: Jason Dossett <e6f895edd39634df23774f0615e338f58a73f02c@utdallas.edu>
HTML+ERB
mit
linuxfoundation/cii-best-practices-badge,jdossett/cii-best-practices-badge,taylorcoursey/cii-best-practices-badge,coreinfrastructure/best-practices-badge,coreinfrastructure/best-practices-badge,wanganyv/cii-best-practices-badge,jdossett/cii-best-practices-badge,wanganyv/cii-best-practices-badge,jdossett/cii-best-practi...
705dfb83b22483b7c28aa3283b96b362847a2553
app/views/shared/_share.html.erb
app/views/shared/_share.html.erb
<% current_route ||= '' %> <% mobile ||= false %> <div class="c-share <% if mobile %>-mobile<%end%>"> <div class="share-btn -share"> <svg class="icon"> <use xlink:href="#icon-share"></use> </svg> </div> <a class="share-btn -mail" href="mailto:?body=I think you could be interested in this website: <...
<% current_route ||= '' %> <% mobile ||= false %> <div class="c-share <% if mobile %>-mobile<%end%>"> <div class="share-btn -share"> <svg class="icon"> <use xlink:href="#icon-share"></use> </svg> </div> <a class="share-btn -mail" href="mailto:?body=I think you could be interested in this website: <...
Set text on twitter share
Set text on twitter share
HTML+ERB
mit
Vizzuality/grid-arendal,Vizzuality/grid-arendal,Vizzuality/grid-arendal
4a988b81eedc546e8bcb84ffdc7a7b4f9d3f2d3d
app/views/gobierto_admin/gobierto_common/custom_fields/forms/_localized_item.html.erb
app/views/gobierto_admin/gobierto_common/custom_fields/forms/_localized_item.html.erb
<div class="<%= record.class_names %>" data-locale="<%= locale %>"> <%= label_tag "#{ input_base_name }[#{ record.uid }][value][#{ locale }]" do %> <%= record.name %> <%= attribute_indication_tag required: record.required? %> <% end %> <%= hidden_field_tag "#{ input_base_name }[#{ record.uid }][custom_fie...
<div class="<%= record.class_names %>" data-locale="<%= locale %>"> <%= label_tag "#{ input_base_name }[#{ record.uid }][value][#{ locale }]" do %> <%= record.name %> <%= attribute_indication_tag required: record.required? %> <% end %> <%= hidden_field_tag "#{ input_base_name }[#{ record.uid }][custom_fie...
Include lang attribute in localized_item custom_field template
Include lang attribute in localized_item custom_field template
HTML+ERB
agpl-3.0
PopulateTools/gobierto,PopulateTools/gobierto,PopulateTools/gobierto,PopulateTools/gobierto-dev,PopulateTools/gobierto,PopulateTools/gobierto-dev,PopulateTools/gobierto-dev,PopulateTools/gobierto-dev
9e23e4019e7ca9c7217931f1f13eb700148f617d
app/views/issues/new.js.erb
app/views/issues/new.js.erb
$('#issue_form').replaceWith('<%= j render 'form', :issue => @issue, :project => @project, :remote => true %>'); if (($('#issue_modal').data('bs.modal') || { isShown: false }).isShown == false) { $('#issue_modal').modal('show'); } window.init_tags()
$('#issue_modal #issue_form').replaceWith('<%= j render 'form', :issue => @issue, :project => @project, :remote => true %>'); if (($('#issue_modal').data('bs.modal') || { isShown: false }).isShown == false) { $('#issue_modal').modal('show'); } window.init_tags()
Fix new issue on issue edit
Fix new issue on issue edit While user was editing an issue (http://localhost:3000/users/1/issues) if add issue button was pressed (on top bar) an empty modal was shown, while edit form was changed to be a new issue form. This pull request ensures that a new issue form will be rendered always in the modal.
HTML+ERB
mit
technoeleganceteam/kanban_on_rails,technoeleganceteam/kanban_on_rails
80c622cbe90486ae17b576488eb4d1d587d87042
app/views/admin/tolaria_resource/_form_buttons.html.erb
app/views/admin/tolaria_resource/_form_buttons.html.erb
<% if @managed_class.allows? :index %> <%= link_to url_for(action:"index", q:params[:q]), class:"button -cancel" do %> <%= fontawesome_icon :close %> Cancel <% end %> <% end %> <%= button_tag type:"submit", name:"save_and_review", class:"button -primary -save-and-review", value:"Save & Review" do %> <%= ...
<% if @managed_class.allows? :index %> <%= link_to url_for(action:"index", q:params[:q]), class:"button -cancel" do %> <%= fontawesome_icon :close %> Cancel <% end %> <% end %> <% if @managed_class.allows? :show %> <%= button_tag type:"submit", name:"save_and_review", class:"button -primary -save-and-rev...
Hide Save & Review button if the model doesn't allow :show
Hide Save & Review button if the model doesn't allow :show
HTML+ERB
mit
Threespot/tolaria,Threespot/tolaria,Threespot/tolaria
f78ab9aa0039645e1b9383a186ebdb39a2768a8a
site-cookbooks/amanda_part/templates/default/amanda.conf.definition.s3.erb
site-cookbooks/amanda_part/templates/default/amanda.conf.definition.s3.erb
define tapetype <%= @node['amanda_part']['server']['s3']['tapetype']['name'] %> { length <%= @node['amanda_part']['server']['s3']['tapetype']['length'] %> } define changer <%= @node['amanda_part']['server']['s3']['tpchanger']['name'] %> { tpchanger "chg-multi:s3:<%= @node['amanda_part']['server']['s3']['tpchan...
define tapetype <%= @node['amanda_part']['server']['s3']['tapetype']['name'] %> { length <%= @node['amanda_part']['server']['s3']['tapetype']['length'] %> } define changer <%= @node['amanda_part']['server']['s3']['tpchanger']['name'] %> { tpchanger "chg-multi:s3:<%= @node['amanda_part']['server']['s3']['tpchan...
Modify hostnames to ip addresses.
Modify hostnames to ip addresses.
HTML+ERB
apache-2.0
cloudconductor-patterns/amanda_pattern,cloudconductor-patterns/amanda_pattern,cloudconductor-patterns/amanda_pattern,cloudconductor-patterns/amanda_pattern
c5f8fe60414f29817c2133a6c1544f14ace65116
app/views/layouts/_header.html.erb
app/views/layouts/_header.html.erb
<section id="banner"> <div class="inner"> <header> <a href="index.html">Umweltpädagogik</a> </header> </div> </section> <section id="header"> <nav id="nav"> <ul> <li><%= link_to "Home", root_path() %></li> <li><%= link_to "Angebot", offers_path() %></li> <li><%= link_to "Fotos", photos...
<section id="banner"> <div class="inner"> <header> <%= link_to "Umweltpädagogik", root_path() %> </header> </div> </section> <section id="header"> <nav id="nav"> <ul> <li><%= link_to "Home", root_path() %></li> <li><%= link_to "Angebot", offers_path() %></li> <li><%= link_to "Fotos", p...
Add correct link in header image
Add correct link in header image
HTML+ERB
apache-2.0
bhzunami/umweltpaedagogik,bhzunami/umweltpaedagogik,bhzunami/umweltpaedagogik,bhzunami/umweltpaedagogik
73d328d6c14ef9e10aa8f5309ffbabf9b6282339
app/views/petitions/index.html.erb
app/views/petitions/index.html.erb
<details class="lists-of-petitions"> <summary><span class="summary">Other lists of petitions</span></summary> <div> <ul> <% public_petition_facets_with_counts(@petitions).each do |facet, count| %> <li> <%= link_to petitions_url(state: facet) do %> <%= t(facet, scope: :"petitions.list...
<details class="lists-of-petitions"> <summary><span class="summary">Other lists of petitions</span></summary> <div> <ul> <% public_petition_facets_with_counts(@petitions).each do |facet, count| %> <li> <%= link_to petitions_url(state: facet) do %> <%= t(facet, scope: :"petitions.list...
Remove name from the search form submit button
Remove name from the search form submit button We don't need the value for the submit button in the form params so by removing the name we will force the browser not to send it and reduce visual noise in the search urls.
HTML+ERB
mit
oskarpearson/e-petitions,StatesOfJersey/e-petitions,alphagov/e-petitions,alphagov/e-petitions,joelanman/e-petitions,StatesOfJersey/e-petitions,StatesOfJersey/e-petitions,unboxed/e-petitions,StatesOfJersey/e-petitions,unboxed/e-petitions,unboxed/e-petitions,oskarpearson/e-petitions,joelanman/e-petitions,oskarpearson/e-p...
b6607b2327e2541c34c5ece8fb23372d69671061
app/views/questions/index.html.erb
app/views/questions/index.html.erb
<header class="page-header col-12"> <% if session[:current_user] %> <%= button_to "Create New Question", {method: :get}, { class: "new_question" }%> <% end %> </header> <% if session[:current_user] %> <p id="notice"><%= notice %></p> <div id='new_question_modal' class='modal'> <%= render 'form' %> ...
<header class="page-header col-12"> <% if session[:current_user] %> <%= button_to "Create New Question", {method: :get}, { class: "new_question_button" }%> <% end %> </header> <% if session[:current_user] %> <p id="notice"><%= notice %></p> <div id='new_question_modal' class='modal'> <%= render 'form' ...
Edit Button For Easier Ajax Calling
Edit Button For Easier Ajax Calling
HTML+ERB
mit
great-horned-owls-2014/dbc-what-is-this,great-horned-owls-2014/dbc-what-is-this
48bcd877c01059fca22a9de0072a706992d7053e
app/views/albums/_form.html.erb
app/views/albums/_form.html.erb
<%= form_for(@album) do |f| %> <% if @album.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@album.errors.count, "error") %> prohibited this album from being saved:</h2> <ul> <% @album.errors.full_messages.each do |msg| %> <li><%= msg %></li> <% end %> </ul> ...
<%= form_for(@album) do |f| %> <% if @album.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@album.errors.count, "error") %> prohibited this album from being saved:</h2> <ul> <% @album.errors.full_messages.each do |msg| %> <li><%= msg %></li> <% end %> </ul> ...
Set selected image hidden field properly
Set selected image hidden field properly
HTML+ERB
mit
Margatroid/uploadstuffto.me,Margatroid/uploadstuffto.me
eca97be7d30337129bb45eba510ae8ba2d202ac9
templates/backend.conf.erb
templates/backend.conf.erb
<%- backend = @name.gsub(/^.*::(\w+)/, '\1') -%> # PowerDNS '<%= backend %>' Backend Configuration launch+=<%= backend %> <%- @options.each do |key, value| -%> <%= key -%>=<%= value %> <%- end -%>
<%- backend = @name.gsub(/^.*::(\w+)/, '\1') -%> # PowerDNS '<%= backend %>' Backend Configuration launch+=<%= backend %> <%- @options.each do |key, value| -%> <%= backend -%>-<%= key -%>=<%= value %> <%- end -%>
Prepend the backend name to each backend setting key.
Prepend the backend name to each backend setting key.
HTML+ERB
apache-2.0
jmkeyes/puppet-powerdns,jmkeyes/puppet-powerdns
e1d659fcf72c18566da10d09a68f5fba131d94c7
app/views/shared/_navigation.html.erb
app/views/shared/_navigation.html.erb
<nav class="navbar navbar-default" role="navigation"> </nav> <!-- NAVBAR --> <div class="navbar navbar-fixed-top"> <div class="container"> <div class="navbar-header"> <div class="navbar-header"> <a class="navbar-brand" href="/">Team Genie</a> </div> </div> <nav class="navbar-collapse ...
<!-- NAVBAR --> <div class="navbar navbar-default"> <div class="container"> <div class="navbar-header"> <div class="navbar-header"> <a class="navbar-brand" href="/">Team Genie</a> </div> </div> <nav class="navbar-collapse collapse" id="main-nav" role="navigation"> <ul class="nav...
Remove fixed top on nav bar
Remove fixed top on nav bar
HTML+ERB
mit
chi-fiddler-crabs-2015/TeamGenie,chi-fiddler-crabs-2015/TeamGenie,chi-fiddler-crabs-2015/TeamGenie
2a87583fc526b12e241e1c5d7c6799d654c97c70
web/views/outdated_gems.erb
web/views/outdated_gems.erb
<div id="outdated_gems"> <h3>Outdated Gems</h3> </div> <table id="sortable" class="table table-bordered table-condensed"> <thead> <tr> <th>Package</th> <th>Gentoo Version</th> <th>RubyGem Version</th> </tr> </thead> <%Package.order{[category, lower(name), version]}.each do |package|%> <%next unless packag...
<div id="outdated_gems"> <h3>Outdated Gems</h3> </div> <form class="pull-right"> <input type="checkbox" onclick="$('td:contains(\'+amd64\')').parent().toggle();" checked> amd64<br> <input type="checkbox" onclick="$('td:contains(\'+~amd64\')').parent().toggle();" checked> ~amd64 </form> <table id="sortable" class="...
Allow sorting of amd64/~amd64 packages on outdated gems page
Allow sorting of amd64/~amd64 packages on outdated gems page
HTML+ERB
agpl-3.0
p8952/ruby-tinderbox,p8952/ruby-tinderbox,p8952/ruby-tinderbox,p8952/ruby-tinderbox,p8952/ruby-tinderbox
4df69c5f219550b8a53d724831a170727eb78e73
app/views/admin/buildings/edit.html.erb
app/views/admin/buildings/edit.html.erb
<div id="form-id"> <div class="container settings-header"> <div class="settings-title"> <h1> Edit <%= [@building.property_name, @building.street_address, @building.zip_code].compact.join(" - ") %> </h1> </div> </div> <%= form_for(@building, url: admin_building_path(@building)) do |f| ...
<div id="form-id"> <div class="container settings-header"> <div class="settings-title"> <h1> Edit <%= [@building.property_name, @building.street_address, @building.zip_code].compact.join(" - ") %> </h1> </div> </div> <%= semantic_form_for(@building, url: admin_building_path(@building)...
Create a view for the Buildings edit form using formtastic.
Create a view for the Buildings edit form using formtastic.
HTML+ERB
mit
heatseeknyc/heatseeknyc,heatseeknyc/heatseeknyc,heatseeknyc/heatseeknyc
b3a0f312dea641b1212f84b1ae1e84bb7510d832
app/views/admin/resources/show.html.erb
app/views/admin/resources/show.html.erb
<% content_for :sidebar do %> <%= typus_block :model => @resource[:self], :partial => :show_sidebar %> <%= actions %> <% end %> <%= typus_block :model => @resource[:self], :partial => :show %> <h2><%= link_to _('Dashboard'), admin_dashboard_path %> &rsaquo; <%= link_to _(@resource[:class_name_humanized].pluralize...
<% content_for :sidebar do %> <%= typus_block :model => @resource[:self], :partial => :show_sidebar %> <%= actions %> <% end %> <%= typus_block :model => @resource[:self], :partial => :show %> <h2><%= link_to _('Dashboard'), admin_dashboard_path %> &rsaquo; <%= link_to _(@resource[:class_name_humanized].pluralize...
Use human_attribute_name instead of humanize.
Use human_attribute_name instead of humanize.
HTML+ERB
mit
burn-notice/typus,typus/typus,wollzelle/typus,baban/typus,readyfor/typus,wollzelle/typus,typus/typus,gkleiman/typus_3dglabs,readyfor/typus,chiragshah/typus,brainsome-de/typus,wollzelle/typus,chiragshah/typus,thirdthing/typus,gkleiman/typus_3dglabs,wollzelle/typus,readyfor/typus,burn-notice/typus,burn-notice/typus,baban...
c1fdb3200b51d07e4ab2982cd507a96dc0e7520c
app/views/answers/new.html.erb
app/views/answers/new.html.erb
<%= form_for(@answer) do |f| %> <%= f.label :content %> <%= f.text_area :content %> <%= f.hidden_field :question_id, :value => @question_id %> <%= f.hidden_field :user_id, :value => session[:user_id] %> <%= f.submit "Create Answer" %> <% end %>
<div class="row"><p></p></div> <div class="row"> <div class="large-9 columns" role="content"> <h3>Answer!</h3> <%= form_for(@answer) do |f| %> <%= f.label :content %> <%= f.text_area :content %> <%= f.hidden_field :question_id, :value => @question_id %> <%= f.hidden_field :user_id, :va...
Add styling to answer new view
Add styling to answer new view
HTML+ERB
mit
rock-doves-2014/DemBoyz-Overflow,rock-doves-2014/DemBoyz-Overflow
7a32c201576babeb37b63d497b6ee27735020d11
app/views/items/index.html.erb
app/views/items/index.html.erb
This is where all of the available items will be visible. <% @items.each do |item| %> <p><%= link_to item.name, item_path(item) %></p> <% end %>
This is where all of the available items will be visible. If you'd like to create a new item, <%= link_to "click here", new_item_path %>. <% @items.each do |item| %> <p><%= link_to item.name, item_path(item) %></p> <% end %>
Add clickable link that redirects user to new item form
Add clickable link that redirects user to new item form
HTML+ERB
mit
benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop
3cade66f3d8e05872c41fc62450a4010104d44aa
app/views/shifts/update.js.erb
app/views/shifts/update.js.erb
$('#tooltip').remove(); $('#<%= @shift.start.strftime("%Y-%m-%d") %>').html( '<%= escape_javascript render partial: (params[:calendar] ? "calendars/schedule/day" : "shifts/schedule/day"), object: @shift.start.to_date %>'); // TODO: Figure out how to make this work in jQuery // page["#shift#{@shift.id}"].visual_ef...
$('#tooltip').remove(); $('#<%= @shift.start.strftime("%Y-%m-%d") %>').html( '<%= escape_javascript render partial: (params[:calendar] ? "calendars/schedule/day" : "shifts/schedule/day"), object: @shift.start.to_date %>'); // TODO: Figure out how to make this work in jQuery // page["#shift#{@shift.id}"].visual_ef...
Fix enabling tooltip after editing
Fix enabling tooltip after editing
HTML+ERB
mit
YaleSTC/shifts,YaleSTC/shifts,YaleSTC/shifts
2dcbbe2cc56620a94c9eff02c1ef54e7c6d07332
views/sessions/new.erb
views/sessions/new.erb
<% if flash[:error] %> <div class="notice error"> <h3><%= flash[:error] %></h3> </div> <% end %> <div id="login" class="dialog"> <form method="post" class="panel-body"> <%= Rack::Csrf.tag(env) %> <fieldset> <div class="field"> <label for="email">Email</label> <input type="email" name="email" ...
<% if flash[:error] %> <div class="notice error"> <h3><%= flash[:error] %></h3> </div> <% end %> <div id="login" class="dialog"> <form method="post" action="/sessions" class="panel-body"> <%= Rack::Csrf.tag(env) %> <fieldset> <div class="field"> <label for="email">Email</label> <input type="e...
Fix POST path on form
Fix POST path on form
HTML+ERB
mit
heroku/identity,ipmobiletech/identity,ipmobiletech/identity,heroku/identity,ipmobiletech/identity
4d55963c08a54ba0bce8c5ca0a46622b57da0385
app/views/expeditions/show.html.erb
app/views/expeditions/show.html.erb
<p id="notice"><%= notice %></p> <table id='table_expedition'> <colgroup span=2></colgroup> <tr> <th></th> <th>Einheit</th> <th>Anzahl</th> </tr> <% Unit.all.each do |unit| %> <tr> <td align=right><img src= "<%= image_url(unit.icon)%>", width="50", height="50", id="icon"><...
<p id="notice"><%= notice %></p> <table id='table_expedition'> <colgroup span=2></colgroup> <tr> <th></th> <th>Einheit</th> <th>Anzahl</th> </tr> <% Unit.all.each do |unit| %> <% if @expedition.fighting_fleet.ship_groups.find_by_unit_id(unit.id).number != 0 %> <tr> ...
Hide Ships with number=0 in show for expedition
Hide Ships with number=0 in show for expedition
HTML+ERB
mit
ChristianReinhard/dbp-game,ChristianReinhard/dbp-game,OsnaCS/dbp-game,OsnaCS/dbp-game,ChristianReinhard/dbp-game,fizzule/dbp-game,OsnaCS/dbp-game,fizzule/dbp-game,fizzule/dbp-game
4c159b2f5bdf233985beedbd4d5ea5f2f734bc70
app/views/iterations/index.html.erb
app/views/iterations/index.html.erb
<% content_for :title, "#{h @current_organisation.name} Iterations" %> <% content_for :h1, "#{h @current_organisation.name} Iterations" %> <% if @iterations.empty? -%> <p> There are currently no active iterations for <%= h @current_organisation.name %> </p> <% else -%> <ul> <% @iterations.each do |iterat...
<% content_for :title, "#{h @current_organisation.name} Iterations" %> <% content_for :h1, "#{h @current_organisation.name} Iterations" %> <% if @iterations.empty? -%> <p> There are currently no active iterations for <%= h @current_organisation.name %> </p> <% else -%> <% width = @iterations.size == 1 ? 600 ...
Use full size burndown chart if there is only one active iteration.
Use full size burndown chart if there is only one active iteration.
HTML+ERB
mit
camelpunch/simply_agile,SphereConsultingInc/easy_agile,camelpunch/simply_agile
88e20b3e1ae9512a239fcfb0fe5b5641cb098b17
app/views/shared/_metadata.html.erb
app/views/shared/_metadata.html.erb
<div class="row"> <div class="col-md-7"> <% publication.attributes.slice('slug', 'section', 'department', 'kind').each do |key, value| %> <%= content_tag :label, key.humanize, for: key %> <%= text_field_tag key, value, class: "form-control add-bottom-margin", disabled: 'disabled' %> <% end %> </...
<div class="row"> <div class="col-md-7"> <% publication.attributes.slice('slug', 'department', 'kind').each do |key, value| %> <%= content_tag :label, key.humanize, for: key %> <%= text_field_tag key, value, class: "form-control add-bottom-margin", disabled: 'disabled' %> <% end %> <%= conten...
Add read-only section to metadata tab
Add read-only section to metadata tab Section has been removed from the browse table, but should remain available within Publisher. It looks like the intention was to include section but it isn’t currently working. Explicitly add it back in.
HTML+ERB
mit
alphagov/publisher,leftees/publisher,alphagov/publisher,leftees/publisher,telekomatrix/publisher,telekomatrix/publisher,leftees/publisher,alphagov/publisher,leftees/publisher,telekomatrix/publisher,telekomatrix/publisher
99cbddcc62af3d5373ac187e469aeeb305751fff
app/views/submissions/list.html.erb
app/views/submissions/list.html.erb
<thead class="submissions-table-header"> <tr> <th class="submission-header-name">Full name</th> <th class="submission-header-narrow submission-mobile-hidden">Age</th> <% if show_average %> <th class="submission-header-narrow submission-mobile-hidden">Average</th> <% end %> <% if show_rates_c...
<table class="submissions-table"> <thead class="submissions-table-header"> <tr> <th class="submission-header-name">Full name</th> <th class="submission-header-narrow submission-mobile-hidden">Age</th> <% if show_average %> <th class="submission-header-narrow submission-mobile-hidden">Ave...
Fix the list table view
Fix the list table view
HTML+ERB
mit
LunarLogic/rails-girls-submissions,LunarLogic/rails-girls-submissions,LunarLogic/rails-girls-submissions
0370fc556155f69fdb21c65b76e96eb46e3337a2
app/views/visions/_preview.html.erb
app/views/visions/_preview.html.erb
<div class="col s12 m6 l6"> <%= link_to preview do %> <div class="vision_preview card horizontal white"> <% if preview.image.present? %> <div class="card-image" style="background-image: url(<%= preview.image.url %>);"></div> <% end %> <div class="card-stacked <%= preview.color.gsub('_'...
<div class="col s12 m6 l6"> <%= link_to preview do %> <div class="vision_preview card horizontal white"> <% if preview.image.present? %> <div class="card-image" style="background-image: url(<%= preview.image.url %>);"></div> <% end %> <div class="card-stacked <%= preview.color.gsub('_'...
Truncate content on vision preview
Truncate content on vision preview
HTML+ERB
mit
fwoelm/world-we-want,fwoelm/world-we-want,fwoelm/world-we-want
53b180258f12bd6d16895651772a53515778e2cf
gitconfig.erb
gitconfig.erb
[user] name = <%= print("Your Name: "); STDOUT.flush; STDIN.gets.chomp %> email = <%= print("Your Email: "); STDOUT.flush; STDIN.gets.chomp %> [core] excludesfile = <%= ENV['HOME'] %>/.gitignore editor = vim [color] diff = auto status = auto branch = auto [apply] whitespace = nowarn [alias] ff = pull --ff-only...
[user] name = <%= print("Your Name: "); STDOUT.flush; STDIN.gets.chomp %> email = <%= print("Your Email: "); STDOUT.flush; STDIN.gets.chomp %> [core] excludesfile = <%= ENV['HOME'] %>/.gitignore editor = vim [color] diff = auto status = auto branch = auto [apply] whitespace = nowarn [alias] ff = pull --ff-only...
Add a prune alias for git
Add a prune alias for git
HTML+ERB
mit
mscharley/dotfiles,mscharley/dotfiles,mscharley/dotfiles,mscharley/dotfiles
39de9b19a15aead239749ff91037f828d30e0f8b
app/views/admin/resources/edit.html.erb
app/views/admin/resources/edit.html.erb
<% page_title = Typus::I18n.t("Edit '%{label}'", label: @item.to_label) admin_title(page_title) %> <% content_for :main_grid do %> <%= render 'edit' %> <% unless headless_mode? %> <h1><%= page_title %></h1> <% end %> <%= admin_display_flash_message %> <% locals = { options: params.dup.cleanup.merg...
<% page_title = Typus::I18n.t("Edit '%{label}'", label: @item.to_label) admin_title(page_title) %> <% content_for :main_grid do %> <%= render 'edit' %> <% unless headless_mode? %> <h1><%= page_title %></h1> <% end %> <%= admin_display_flash_message %> <% locals = { options: params.dup.cleanup.merg...
Revert "Get rid of "typus_relationships"."
Revert "Get rid of "typus_relationships"." This reverts commit da21dd5a41615c62f1651b1f912d45c80ad9ad43.
HTML+ERB
mit
wollzelle/typus,burn-notice/typus,baban/typus,typus/typus,burn-notice/typus,wollzelle/typus,burn-notice/typus,baban/typus,typus/typus,typus/typus,wollzelle/typus,baban/typus,wollzelle/typus,burn-notice/typus,typus/typus,baban/typus
8858ca713203e46da0bf65b80eca1b6f3bcccf7b
app/views/mailing_lists/_links.html.erb
app/views/mailing_lists/_links.html.erb
<div class="pills"> <ul class="nav nav-pills"> <li><%= link_to "View Mailing Lists", mailing_lists_path %></li> <li><a href="/mailman/listinfo/<%= mailing_list.name %>">Subscribe</a></li> <li><a href="/mailman/listinfo/<%= mailing_list.name %>#subscribers">Subscription Options</a></li> <li><%= link_to...
<div class="pills"> <ul class="nav nav-pills"> <li><%= link_to "View Mailing Lists", mailing_lists_path %></li> <li><a href="/mailman/listinfo/<%= mailing_list.name %>">Subscribe</a></li> <li><a href="/mailman/listinfo/<%= mailing_list.name %>#subscribers">Subscription Options</a></li> <li><%= link_to...
Disable confusing private reply link
Disable confusing private reply link
HTML+ERB
mit
scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails
814f5d6ad81e2bb63dab5157f4fdd2518ac01dcb
app/views/artists/show.html.erb
app/views/artists/show.html.erb
<h1><%= @artist.name %></h1> <img src="<%= @artist.avatar %>"> <h3>Address: <%= @artist.address %></h3> <h3>Bio: <%= @artist.bio %></h3> <ul>Scenes <% @artist.pieces.each do |piece| %> <li><img src="<%= piece.img %>"></li> <% end %> </ul> <ul>Social Media <li><%= @artist.facebook %></li> <li><%= @artist.twit...
<h1><%= @artist.name %></h1> <img src="<%= @artist.avatar %>"> <h3>Address: <%= @artist.address %></h3> <h3>Bio: <%= @artist.bio %></h3> <ul>Scenes <% @artist.pieces.each do |piece| %> <li><img src="<%= piece.img %>"></li> <% end %> </ul> <ul>Social Media <li><%= @artist.facebook %></li> <li><%= @artist.twit...
Remove comments from artist show
Remove comments from artist show
HTML+ERB
mit
atp1o2/Scene,ajdlp/Scene,ormaechea/Scene,ajdlp/Scene,ormaechea/Scene,ormaechea/Scene,atp1o2/Scene,atp1o2/Scene,ajdlp/Scene,Thrashmandicoot/Scene,Thrashmandicoot/Scene,Thrashmandicoot/Scene
6b69b292c9193ff84c998271d6a2f400277bc02a
app/views/ideas/index.html.erb
app/views/ideas/index.html.erb
<!-- main page, list of many ideas, can click on title and/or number of comments to see the idea --> <h1>All Ideas</h1> <ul> <% @ideas.each do |idea| %> <li><h2><%= link_to(idea.title, idea_path(idea)) %></h2> <%= idea.comments.count %> comments</li> <% end %> </ul>
<!-- main page, list of many ideas, can click on title and/or number of comments to see the idea --> <!-- <h1>All Ideas</h1> --> <ul> <% @ideas.each do |idea| %> <li><h2><%= link_to(idea.title, idea_path(idea)) %></h2> <%= idea.comments.count %> comments</li> <% end %> </ul>
Remove old 'all ideas' header
Remove old 'all ideas' header
HTML+ERB
mit
chi-fiddler-crabs-2015/yesand,chi-fiddler-crabs-2015/yesand,chi-fiddler-crabs-2015/yesand
52acead500d9ccc7162e556814053ed8a33ec836
modules/monitoring/templates/govuk-uptime-collector.conf.erb
modules/monitoring/templates/govuk-uptime-collector.conf.erb
description "govuk-uptime-collector" start on runlevel [2345] respawn env RBENV_VERSION=2.6 env PATH=/usr/lib/rbenv/shims:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin exec govuk_uptime_collector <%= @environment %> <%= @aws %> content-store hmrc-manuals-api link-checker-api manuals-publisher publishi...
description "govuk-uptime-collector" start on runlevel [2345] respawn env RBENV_VERSION=2.6 env PATH=/usr/lib/rbenv/shims:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin exec govuk_uptime_collector <%= @environment %> <%= @aws %> content-store hmrc-manuals-api link-checker-api manuals-publisher publishi...
Add Whitehall Admin to UptimeCollector
Add Whitehall Admin to UptimeCollector
HTML+ERB
mit
alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet
92f324fb1836ae02c6feefc07f135ad95f9f9460
pages/app/views/refinery/admin/pages/_page_part_field.html.erb
pages/app/views/refinery/admin/pages/_page_part_field.html.erb
<div class='page_part' id='<%= new_part ? "page_part_new_#{part_index}" : part.to_param %>'> <%= hidden_field_tag "page[parts_attributes)[#{part_index}][title]", part.title if new_part %> <%= text_area_tag "page[parts_attributes)[#{part_index}][body]", part.body, :rows => 20, :class => 'wymeditor widest' %> <%= h...
<div class='page_part' id='<%= new_part ? "page_part_new_#{part_index}" : part.to_param %>'> <%= hidden_field_tag "page[parts_attributes][#{part_index}][title]", part.title if new_part %> <%= text_area_tag "page[parts_attributes][#{part_index}][body]", part.body, :rows => 20, :class => 'wymeditor widest' %> <%= h...
Fix typo which caused mass assignment error.
Fix typo which caused mass assignment error.
HTML+ERB
mit
stefanspicer/refinerycms,kappiah/refinerycms,anitagraham/refinerycms,LytayTOUCH/refinerycms,chrise86/refinerycms,bryanmtl/g-refinerycms,mkaplan9/refinerycms,donabrams/refinerycms,mojarra/myrefinerycms,bricesanchez/refinerycms,aguzubiaga/refinerycms,Retimont/refinerycms,bryanmtl/g-refinerycms,johanb/refinerycms,gwagener...
c2a3c3970cb249a63b564bb9d213baa04bd6ab63
app/views/efforts/_efforts_mini_table.html.erb
app/views/efforts/_efforts_mini_table.html.erb
<table class="table table-condensed table-striped"> <thead> <tr> <th>Bib</th> <th>Name</th> <th>Category</th> </tr> </thead> <tbody> <% @mini_table.effort_rows.each do |row| %> <tr> <td><%= row.bib_number %></td> <td><%= row.full_name %></td> <td><%= row.bio %></td>...
<table class="table table-condensed table-striped"> <thead> <tr> <th>Bib</th> <th>Name</th> <th>Category</th> </tr> </thead> <tbody> <% @mini_table.effort_rows.each do |row| %> <tr> <td><%= row.bib_number %></td> <td><%= link_to row.full_name, effort_path(row.id) %></td> ...
Add link to efforts mini table
Add link to efforts mini table
HTML+ERB
mit
voltagead/OpenSplitTime,SplitTime/OpenSplitTime,voltagead/OpenSplitTime,SplitTime/OpenSplitTime,voltagead/OpenSplitTime,SplitTime/OpenSplitTime
ffd0770c012419fc476633002cf52474991bc549
app/views/finders/_facet_collection.html.erb
app/views/finders/_facet_collection.html.erb
<div class="filter-form"> <div class="inner-block"> <p>You can use the filters to show only cases that match your interests</p> <%= form_tag({}, method: :get, class: 'facet-menu') do %> <%= render facet_collection.facets %> <input type="submit" value="Filter results" class="button" /> <% end ...
<div class="filter-form"> <div class="inner-block"> <p>You can use the filters to show only cases that match your interests</p> <form method="get" action="" class="facet-menu"> <%= render facet_collection.facets %> <input type="submit" value="Filter results" class="button" /> </form> </div>...
Use form tag rather than rails helper method
Use form tag rather than rails helper method The Rails helper method adds a UTF8 field which submits a UTF8 tick. This is to trick older versions of IE to send UTF8 POST data. As this is a GET form it doesn't make any sense and can cause errors when people copy and paste urls.
HTML+ERB
mit
alphagov/finder-frontend,alphagov/finder-frontend,alphagov/finder-frontend,alphagov/finder-frontend
fc253c2e539882f53fe516b06cc7ab02178049fc
app/views/specialist_documents/edit.html.erb
app/views/specialist_documents/edit.html.erb
<% content_for :breadcrumbs do %> <li><%= link_to "Your documents", specialist_documents_path(resource_name) %></li> <li><%= link_to document.title, specialist_document_path(resource_name) %></li> <li class='active'>Edit document</li> <% end %> <h1 class="page-header">Edit document</h1> <div class="row"> <%= re...
<% content_for :breadcrumbs do %> <li><%= link_to "Your documents", specialist_documents_path(resource_name) %></li> <li><%= link_to document.title, specialist_document_path(document) %></li> <li class='active'>Edit document</li> <% end %> <h1 class="page-header">Edit document</h1> <div class="row"> <%= render ...
Fix regression where breadcrumbs weren't linked correctly
Fix regression where breadcrumbs weren't linked correctly
HTML+ERB
mit
alphagov/specialist-publisher-rebuild,alphagov/specialist-publisher-rebuild,alphagov/specialist-publisher-rebuild,alphagov/specialist-publisher,ministryofjustice/specialist-publisher,alphagov/specialist-publisher,ministryofjustice/specialist-publisher,alphagov/manuals-publisher,alphagov/manuals-publisher,alphagov/speci...
0ced3e0fa42de584953e67ff704a288011ee4217
app/views/meetings/_list.html.erb
app/views/meetings/_list.html.erb
<% @meetings.each do |meeting| %> <div class='meeting'> <% date_and_time = "#{meeting.display_time} #{meeting.display_date}" %> <h4><%= link_to date_and_time, meeting_url(meeting) %></h3> <p><%= meeting.description %></p> <% meeting.talks.each do |talk| %> <div class='col-lg-12 col-lg-offset-2'>...
<% @meetings.each do |meeting| %> <div class='meeting'> <% date_and_time = "#{meeting.display_time} #{meeting.display_date}" %> <h4><%= link_to date_and_time, meeting_url(meeting) %></h3> <p><%= meeting.description %></p> <% meeting.talks.each do |talk| %> <div class='row'> <div class='c...
Fix appearance of talks in list
Fix appearance of talks in list
HTML+ERB
unlicense
danascheider/testrubypdx,danascheider/testrubypdx,danascheider/testrubypdx
38efcb8e124424059cacdb12e56943e7069c3e65
app/views/storages/_list.html.erb
app/views/storages/_list.html.erb
<tr> <th style="min-width:8em">Baie</th> <th>Constructeur</th> <th>Details</th> </tr> <tr> <td class="global" colspan="3"> <% device = Storcs::Device.new(""); device.children = @storages.map(&:device).select{|s|s.is_a?(Storcs::Device)} %> Etat global du stockage: <strong><%= pret...
<tr id="fix-on-scroll"> <th style="min-width:8em">Baie</th> <th>Constructeur</th> <th>Details</th> </tr> <tr> <td class="global" colspan="3"> <% device = Storcs::Device.new(""); device.children = @storages.map(&:device).select{|s|s.is_a?(Storcs::Device)} %> Etat global du stockage: ...
Fix storage/index headers when scrolling
Fix storage/index headers when scrolling
HTML+ERB
mit
jbbarth/cartoque,cartoque/cartoque,skylost/cartoque,jbbarth/cartoque,cartoque/cartoque,cartoque/cartoque,skylost/cartoque,jbbarth/cartoque
e4d319d65fa9548721786d3f8ea91d9fdaa23cc4
lib/views/index.erb
lib/views/index.erb
<!DOCTYPE html> <html> <head> <title>Brit's Badass Website</title> <link rel="stylesheet" href="main.css"> </head> <body> <h1>THE LIBRARY</h1> <p>You're probably here to listen to some music, right?</p> <ul class="song-list"> <% songs.each do |song| %> <li> ...
Add a view for the homepage. Hooray for ERB!
Add a view for the homepage. Hooray for ERB!
HTML+ERB
mit
TIY-ATL-ROR-2015-Sep/jukeberx,TIY-ATL-ROR-2015-Sep/jukeberx,TIY-ATL-ROR-2015-Sep/jukeberx
88f5ac88dfb41a181b0a5f8b1d59fab4b7b1d899
modules/govuk_jenkins/templates/jobs/whitehall_run_broken_link_checker.yaml.erb
modules/govuk_jenkins/templates/jobs/whitehall_run_broken_link_checker.yaml.erb
--- - job: name: whitehall_run_broken_link_checker display-name: whitehall_run_broken_link_checker project-type: freestyle description: "<p>Triggers the broken link checker rake task on whitehall-backend-1.</p>" properties: - build-discarder: days-to-keep: 30 artifact-num-t...
--- - job: name: whitehall_run_broken_link_checker display-name: whitehall_run_broken_link_checker project-type: freestyle description: "<p>Triggers the broken link checker rake task on whitehall-backend-1.</p>" properties: - build-discarder: days-to-keep: 30 artifact-num-t...
Remove automatic running of Whitehall Link Check report
Remove automatic running of Whitehall Link Check report This is a report sent to publishers (on a monthly basis) that lists all links that are marked as broken in their published content. The GOV.UK Publishing Service team have decided to temporarily pause the automatic sending of this report whilst improvements to i...
HTML+ERB
mit
alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet
d88bde9f0652ebfbfaff26ec32acbba64021c416
app/views/refinery/videos/admin/videos/append_to_wym.js.erb
app/views/refinery/videos/admin/videos/append_to_wym.js.erb
parent.$.fn.getIndex = function(){ var $p=$(this).parent().children(); return $p.index(this); } selectedPart = parent.$('#page_parts .ui-tabs-selected').getIndex(); wym = parent.$.wymeditors(selectedPart); selectedBlock = wym.selected(); if (selectedBlock !== null) { $(selectedBlock).append('<%= escape_javas...
parent.$.fn.getIndex = function(){ var $p=$(this).parent().children(); return $p.index(this); } selectedPart = parent.$('#page_parts .ui-tabs-active').getIndex(); wym = parent.$.wymeditors(selectedPart); selectedBlock = wym.selected(); if (selectedBlock !== null) { $(selectedBlock).append('<%= escape_javascr...
Fix dialog to work with Refinerycms 2.1.2
Fix dialog to work with Refinerycms 2.1.2
HTML+ERB
mit
panovek/refinerycms-videojs,panovek/refinerycms-videojs,panovek/refinerycms-videojs
ffcfa81eae93bcf576cfd53eb036ec464e970ee8
app/views/sir-trevor/blocks/_facebook_post_block.html.erb
app/views/sir-trevor/blocks/_facebook_post_block.html.erb
<% raise "Can't render Facebook post block, block contents don't match regex" unless block['facebook_post_id'].to_s =~ /\A\d+\Z/ url = case block['facebook_embed_type'] when 'post' # TODO: the following regex is improvised. It might deter simple attacks, but # I'm not knowledgeable enough to guarantee th...
<% raise "Can't render Facebook post block, block contents don't match regex" unless block['facebook_post_id'].to_s =~ /\A\d+\Z/ url = case block['facebook_embed_type'] when 'post' # TODO: the following regex is improvised. It might deter simple attacks, but # I'm not knowledgeable enough to guarantee th...
Use same magic width as when creating
Use same magic width as when creating
HTML+ERB
mit
represent/sir-trevor-rails,represent/sir-trevor-rails,represent/sir-trevor-rails
57597362a3d9cd76a9f02304beca5cc2a60c2713
lib/generators/task/templates/deploy.txt.erb
lib/generators/task/templates/deploy.txt.erb
namespace :after_party do desc '<%= task_description %>' task <%= file_name %>: :environment do puts "Running deploy task '<%= file_name %>'" # Put your task implementation HERE. # Update task as completed. If you remove the line below, the task will # run with every deploy (or every time you cal...
namespace :after_party do desc '<%= task_description %>' task <%= file_name %>: :environment do puts "Running deploy task '<%= file_name %>'" # Put your task implementation HERE. # Update task as completed. If you remove the line below, the task will # run with every deploy (or every time you cal...
Remove whitespace to play nice with RuboCop.
Remove whitespace to play nice with RuboCop. Currently, the auto-generated task includes 2 whitespaces for end scope comments. The default settings for the most used Ruby linter, RuboCop (https://github.com/rubocop-hq/rubocop), specifies only 1 space before comments. Who cares about these characters? Only those of us ...
HTML+ERB
mit
theSteveMitchell/after_party,theSteveMitchell/after_party
f36884d5a64ce533b3aec4763515a6c6b4b5ff25
app/views/users/show.html.erb
app/views/users/show.html.erb
<div class="section container" id="profile-section"> <div class='centered'> <div class="" id='profile'> <div class='box'> <h2>Welcome, <%= @user.username %></h2> <h3>Flights you've bookmarked</h3> <ul> <% @user.flights.each do |flight| %> <li><%= link_to flight.nam...
<div class="section container" id="profile-section"> <div class='centered'> <div class="" id='profile'> <div class='box'> <h2>Welcome, <%= @user.username %></h2> <h3>Flights you've bookmarked</h3> <% if @user.flights.empty? %> <p>You can bookmark your favorite flights and ...
Add conditional on profile page for viewing ratings and flights.
Add conditional on profile page for viewing ratings and flights.
HTML+ERB
mit
DBC-Huskies/flight-app,DBC-Huskies/flight-app,DBC-Huskies/flight-app
c18d5409031a5a294a45e3f5d914c2405f0a84a8
lib/views/global_nav.erb
lib/views/global_nav.erb
<ul class='unstyled custom-container' data-view="GlobalNavigation NavigationActive" data-active-class="nav-selected" data-active-selector="li"> <% TentStatus.settings[:global_nav_config]['items'].to_a.each do |item| %> <li <% if item['selected'] %>class='nav-selected'<% end %> <% if item['url'] === TentStatus.set...
<ul class='unstyled custom-container' data-view="GlobalNavigation NavigationActive" data-active-class="nav-selected" data-active-selector="li"> <% TentStatus.settings[:global_nav_config]['items'].to_a.each do |item| %> <li <% if item['selected'] %>class='nav-selected'<% end %> <% if item['url'] === TentStatus.set...
Fix search global nav item
Fix search global nav item
HTML+ERB
bsd-3-clause
tent/tent-status,tent/tent-status
53f8a58f8eafeaf55e1a8c7d5e701b522a8f9313
source/guide.html.erb
source/guide.html.erb
--- title: Guides - EuRuKo 2013 - Athens layout: false --- <!DOCTYPE html> <!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]--> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1...
Add a redirect from the guide index page
Add a redirect from the guide index page
HTML+ERB
mit
euruko2013/site
e2b1c3a9c3f1c5c3b353c42318a3d6f8842afebb
app/views/govuk_component/analytics_meta_tags.raw.html.erb
app/views/govuk_component/analytics_meta_tags.raw.html.erb
<% # We have to call deep_symbolize_keys because we're often dealing with a # parsed JSON document which will have string keys by default, but our # components use symbol keys and we want consistency. links_hash = content_item.to_h.deep_symbolize_keys[:links] || {} organisations = [] organisations += links...
<% # We have to call deep_symbolize_keys because we're often dealing with a # parsed JSON document which will have string keys by default, but our # components use symbol keys and we want consistency. links_hash = content_item.to_h.deep_symbolize_keys[:links] || {} meta_tags = {} organisations = [] organ...
Move logic out of template render
Move logic out of template render Split component into two, a top part that deals with the logic and a second part that renders HTML.
HTML+ERB
mit
alphagov/static,alphagov/static,kalleth/static,kalleth/static,kalleth/static,alphagov/static,kalleth/static
478ce167f0b44bba078d52800fa321898782e848
app/views/spree/admin/translations/product_property.html.erb
app/views/spree/admin/translations/product_property.html.erb
<% content_for :page_title do %> <%= Spree.t(:editing_resource, resource: Spree::ProductProperty.model_name.human) %> <span class="green">"<%= @product_property.property.presentation %>"</span> <% end %> <% content_for :page_actions do %> <%= button_link_to Spree.t(:back_to_resource_list, resource: Spree::ProductP...
<% content_for :page_title do %> <%= Spree.t(:editing_resource, resource: Spree::ProductProperty.model_name.human) %> <span class="green">"<%= @product_property.property.presentation %>"</span> <% end %> <% content_for :page_actions do %> <%= button_link_to Spree.t(:back_to_resource_list, resource: Spree::ProductP...
Add locale selector in product property translations page
Add locale selector in product property translations page It wans't present as in the other pages, it probably never worked.
HTML+ERB
bsd-3-clause
solidusio-contrib/solidus_globalize,solidusio-contrib/solidus_globalize,solidusio-contrib/solidus_globalize,solidusio-contrib/solidus_globalize
c9e9deb7423432c6cd3f636db95d351eaaaa1568
app/views/layouts/exercise_inputs/editors/_single_choice.html.erb
app/views/layouts/exercise_inputs/editors/_single_choice.html.erb
<div class="form-group"> <% @exercise.pretty_choices.each do |choice| %> <div class="field"> <%= form.radio_button(:content, choice.value, id: choice.id, required: true) %> <%= label_tag(choice.id, choice.text) %> </div> <% end %> </div>
<div class="form-group"> <% @exercise.pretty_choices.each do |choice| %> <div class="field"> <%= form.radio_button(:content, choice.value, checked: checked(choice, @current_content), id: choice.id, required: true) %> <%= label_tag(choice.id, choice.text) %> </div> <% end %> </div>
Add support for single choice
Add support for single choice
HTML+ERB
agpl-3.0
mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory
4b4009e16f0f7a163a646300274307fa2e70302b
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE HTML> <html> <head> <title>Simutrans collaborative -- BETA</title> <%= stylesheet_link_tag "style" %> </head> <body> <div id="header"> <h1>Simutrans Collaborative</h1> <ol id="menu"> <li><%= link_to "Home", root_url %></li> <li><%= link_to "Games", collaborative_...
<!DOCTYPE HTML> <html> <head> <title>Simutrans collaborative -- BETA</title> <%= stylesheet_link_tag "style" %> </head> <body> <div id="header"> <h1>Simutrans Collaborative</h1> <ol id="menu"> <li><%= link_to "Home", root_url %></li> <li><%= link_to "Games", collaborative_...
Add user admin link to menu
Add user admin link to menu
HTML+ERB
agpl-3.0
nathansamson/simucollab,nathansamson/simucollab
4a8c343b6fc9e7cfa899dfc37c6e2b13e571bffa
lib/middleman-disqus/embed.erb
lib/middleman-disqus/embed.erb
<div id='disqus_thread'></div> <script type='text/javascript'> //<![CDATA[ <% @options.each do |key, value| %> <% if value.is_a?(String) %> var disqus_<%= key %> = '<%= value %>'; <% elsif [Fixnum, FalseClass, TrueClass].include?(value.class) %> var disqus_<%= key %> = <%= value %>; ...
<div id='disqus_thread'></div> <script type='text/javascript'> //<![CDATA[ <% @options.each do |key, value| %> <% if value.is_a?(String) %> var disqus_<%= key %> = '<%= value %>'; <% elsif [Fixnum, FalseClass, TrueClass].include?(value.class) %> var disqus_<%= key %> = <%= value %>; ...
Use DISQUS.reset when already initialized
Use DISQUS.reset when already initialized
HTML+ERB
mit
simonrice/middleman-disqus,simonrice/middleman-disqus
6535f6559ebb50b8aff71e44ae33693b9446d3fd
templates/logrotate.catalina.erb
templates/logrotate.catalina.erb
# file installed but NOT managed by Puppet <%= @basedir %>/logs/catalina.out { copytruncate size 500M dateext rotate 53 compress delaycompress missingok create 644 tomcat tomcat-admin }
# file installed but NOT managed by Puppet <%= @catalina_base %>/logs/catalina.out { copytruncate size 500M dateext rotate 53 compress delaycompress missingok create 644 tomcat tomcat-admin }
Fix unscoped variable in template
Fix unscoped variable in template
HTML+ERB
apache-2.0
camptocamp/puppet-tomcat,McLarenAppliedTechnologies/puppet-tomcat,ffquintella/puppet-tomcat,ffquintella/puppet-tomcat,camptocamp/puppet-tomcat,McLarenAppliedTechnologies/puppet-tomcat,ffquintella/puppet-tomcat,McLarenAppliedTechnologies/puppet-tomcat,camptocamp/puppet-tomcat
6c206e9ca712ca46d7389c86f5205a4d85ee2dc0
templates/default/upstart.conf.erb
templates/default/upstart.conf.erb
description "Druid <%= @node_type %> daemon" start on runlevel [2345] stop on runlevel [016] kill signal INT kill timeout 10 setuid <%= @user %> setgid <%= @group %> script exec java -cp <%= @config_dir %>:<%= @install_dir %>/current/lib/* -server <%= @java_opts %> -Duser.timezone=<%= @timezone %> -Dfile.encoding...
description "Druid <%= @node_type %> daemon" start on runlevel [2345] stop on runlevel [016] kill signal INT kill timeout 10 setuid <%= @user %> setgid <%= @group %> script chdir <%= @install_dir %>/current exec java -cp <%= @config_dir %>:<%= @install_dir %>/current/lib/* -server <%= @java_opts %> -Duser.timez...
Change directory to install dir
Change directory to install dir
HTML+ERB
apache-2.0
optimizely/chef-druid,applift/chef-druid,criteo-cookbooks/chef-druid,applift/chef-druid,criteo-cookbooks/chef-druid,optimizely/chef-druid,N3TWORK/chef-druid
c519ea79cd38db83d4d5e67df3e882d6dae17e69
vendor/assets/javascripts/angular-rails-templates.js.erb
vendor/assets/javascripts/angular-rails-templates.js.erb
// Angular Rails Templates <%= AngularRailsTemplates::VERSION %> // // angular_templates.ignore_prefix: <%= Rails.configuration.angular_templates.ignore_prefix %> // angular_templates.markups: <%= Rails.configuration.angular_templates.markups %> // angular_templates.htmlcompressor: <%= Rails.configuration.angular_templ...
// Angular Rails Templates <%= AngularRailsTemplates::VERSION %> // // angular_templates.ignore_prefix: <%= ::Rails.configuration.angular_templates.ignore_prefix %> // angular_templates.markups: <%= ::Rails.configuration.angular_templates.markups %> // angular_templates.htmlcompressor: <%= ::Rails.configuration.angular...
Use global rails namespace in Sprockets templates
Use global rails namespace in Sprockets templates
HTML+ERB
mit
pitr/angular-rails-templates,pitr/angular-rails-templates,pitr/angular-rails-templates