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
a29c5ae1ed5fbc6682123cba5dbd2dcc475f3451
app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
<div class="editor-code"> <% files = exercise.files_for(content) %> <div class="editor-files"> <span class="files-tabs"> <ul class="nav nav-tabs"> <% files.each_with_index do |file, index| %> <li role="presentation" class="file-tab <%= 'active' if index == 0 %>" data-bs-target="#editor...
<div class="editor-code"> <% files = exercise.files_for(content) %> <div class="editor-files"> <span class="files-tabs"> <ul class="nav nav-tabs" role="tablist"> <% files.each_with_index do |file, index| %> <li role="presentation" class="nav-item file-tab"> <a class="file-n...
Fix read-only discussion editor on multifile exercises
Fix read-only discussion editor on multifile exercises
HTML+ERB
agpl-3.0
mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory
ca6dc657d1d4db6af28d53161760cef6fb433a1f
bashrc.erb
bashrc.erb
#!/bin/bash # If not running interactively, don't do anything [ -z "$PS1" ] && return # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi # Declare dotfiles directory DOTFILES_DIR=<%= File.dirname(File.expand_path(__FILE__)) %> source ~/.bash/aliases source ~/.bash/completions source ~/.bash/...
#!/bin/bash # If not running interactively, don't do anything [[ -z "$PS1" ]] && return if [[ -f ~/.localrc.pre ]]; then source ~/.localrc.pre fi # Source global definitions if [[ -f /etc/bashrc ]]; then . /etc/bashrc fi # Declare dotfiles directory DOTFILES_DIR=<%= File.dirname(File.expand_path(__FILE__)) %> ...
Add possibility to source a ~/.localrc.pre file
Add possibility to source a ~/.localrc.pre file
HTML+ERB
mit
JrCs/dotfiles,JrCs/dotfiles,JrCs/dotfiles,JrCs/dotfiles,JrCs/dotfiles,JrCs/dotfiles
35d0f2e605360a944b8366afde1c65686f68f04e
rails/app/views/settings/index.html.erb
rails/app/views/settings/index.html.erb
<div class="wrapper"> <h1>eva·bot</h1> <nav class="page-nav"> <%= link_to fa_icon("bar-chart", text: "Dashboard"), dashboard_path %> <%= link_to fa_icon("cogs", text: "Settings"), settings_path %> <%= link_to fa_icon("life-ring", text: "Get help"), "" %> <%= link_to fa_icon("rocket", text: "Contrib...
<div class="wrapper"> <h1>eva·bot</h1> <nav class="page-nav"> <%= link_to fa_icon("bar-chart", text: "Dashboard"), dashboard_path %> <%= link_to fa_icon("cogs", text: "Settings"), settings_path %> <%= link_to fa_icon("life-ring", text: "Get help"), "" %> <%= link_to fa_icon("rocket", text: "Contrib...
Fix misplaced forms in settings view
Fix misplaced forms in settings view This was messing with the styling of the table.
HTML+ERB
apache-2.0
macaullyjames/evabot,macaullyjames/evabot,macaullyjames/evabot,macaullyjames/evabot
908e1fc2b5dc2718d89e39e4a8630953c485d395
app/views/noodall/admin/nodes/_branch.html.erb
app/views/noodall/admin/nodes/_branch.html.erb
<ol class="tree"> <% if @parent.nil? %> <li><a id="id-none" class="choose">Root</a></li> <% end %> <% for node in @nodes %> <li> <% if params[:allowed_types] && params[:allowed_types].include?(node.class.to_s) && node.id.to_s != params[:not_branch] && !node.path.map(&:to_s).include?(params[:not_branch]) %> ...
<ol class="tree"> <% if @parent.nil? %> <li><a id="id-none" class="choose">Root</a></li> <% elsif @parent.parent_id? %> <li><%= link_to 'Up', tree_noodall_admin_node_path(@parent.parent_id, params), :class => 'expand' -%></li> <% else %> <li><%= link_to 'Up', tree_noodall_admin_nodes_path(params.reject{|k,v| k ==...
Add back up button to tree browser
Add back up button to tree browser
HTML+ERB
mit
noodall/noodall-ui,noodall/noodall-ui
2d0372c9d348065bfe1bef3bb23f467e13e7439b
app/views/solidus_subscription_boxes/subscription_boxes/_box_variants.html.erb
app/views/solidus_subscription_boxes/subscription_boxes/_box_variants.html.erb
<div class="meal-selector row row-centered"> <%- box_variants.each do |variant| %> <div class="col-xs-12 col-md-4 col-centered text-center meal"> <label class="meal-selection"> <input class="hidden" type="checkbox" name="<%= preference_scope %>" value="<%= variant.id %>" <%= is_checked(preferable, v...
<div class="meal-selector row row-centered"> <%- box_variants.each do |variant| %> <div class="col-xs-12 col-md-4 col-centered text-center meal"> <label class="meal-selection"> <input class="d-none" type="checkbox" name="<%= preference_scope %>" value="<%= variant.id %>" <%= is_checked(preferable, v...
Update to bootstrap 4 classes.
Update to bootstrap 4 classes.
HTML+ERB
bsd-3-clause
joeljackson/solidus_subscription_boxes,joeljackson/solidus_subscription_boxes,joeljackson/solidus_subscription_boxes
6b75df7216d9ca88dad1b90d3e9163b0e88f3eae
app/views/objects/_object_search_result.json.erb
app/views/objects/_object_search_result.json.erb
[<% @found_resources.each_with_index do |res,i| %>{"id": "<%=res.id.to_s%>", "title": "<%=res.title%>", "description": "<%=res.description%>", "author": "<%=res.author.name%>", "object": "<%= if res.is_a? Embed; then raw(res.fulltext); else res.file.to_s.downcase; end%>"}<% unless i==(@found_resources.size - 1) %>,<%en...
[<% @found_resources.each_with_index do |res,i| %>{"id": "<%=res.id.to_s%>", "title": "<%=res.title%>", "description": "<%=res.description%>", "author": "<%=res.author.name%>", "object": "<%= if res.is_a? Embed; then raw(res.fulltext); else 'http://' + request.env['HTTP_HOST'] + res.file.to_s.downcase; end%>"}<% unless...
Return full resources URL when rendering objects. Heads up @agordillo.
Return full resources URL when rendering objects. Heads up @agordillo.
HTML+ERB
agpl-3.0
agordillo/vish,ging/vish,rogervaas/vish,agordillo/vish,ging/vish_orange,rogervaas/vish,ging/vish,nathanV38/vishTst,ging/vish_orange,ging/vish_orange,suec78/vish_storyrobin,suec78/vish_storyrobin,ging/vish_orange,ging/vish,suec78/vish_storyrobin,ging/vish,nathanV38/vishTst,agordillo/vish,ging/vish,rogervaas/vish,ging/vi...
8c508afef618f39886ae91a00c225f60fae73459
ext/templates/dev/redhat/redhat_dev_postinst.erb
ext/templates/dev/redhat/redhat_dev_postinst.erb
#!/bin/bash <% if @pe -%> export PATH=/opt/puppet/bin:$PATH <% end -%> # Setup the SSL stuff <%= @sbin_dir -%>/puppetdb-ssl-setup # Correct permissions find <%= @config_dir -%> -type f | xargs chmod 640 chown -R <%= @name -%>:<%= @name -%> <%= @etc_dir -%> chown -R <%= @name -%>:<%= @name -%> <%= @install_dir %> <%...
#!/bin/bash <% if @pe -%> export PATH=/opt/puppet/bin:$PATH <% end -%> # Setup the SSL stuff <%= @sbin_dir -%>/puppetdb-ssl-setup # Correct permissions find <%= @config_dir -%> -type f | xargs chmod 640 chown -R <%= @name -%>:<%= @name -%> <%= @etc_dir %> chown -R <%= @name -%>:<%= @name -%> <%= @install_dir %> <% ...
Fix typo in redhat postinstall template
Fix typo in redhat postinstall template
HTML+ERB
apache-2.0
johnduarte/puppetdb,rbrw/puppetdb,puppetlabs/puppetdb,mullr/puppetdb,ajroetker/puppetdb,highb/puppetdb,puppetlabs/puppetdb,wkalt/puppetdb,senior/puppetdb,jantman/puppetdb,grimradical/puppetdb,kbrezina/puppetdb,senior/puppetdb,wkalt/puppetdb,grimradical/puppetdb,mullr/puppetdb,rbrw/puppetdb,wkalt/puppetdb,ajroetker/pupp...
c32acd7a55f529de742f82ff602d51d9cedecad9
app/views/progress_updates/_form.html.erb
app/views/progress_updates/_form.html.erb
<%= form_for [project,update] do |f| %> <h3>How's it going?</h3> <div class="form-group"> <%= f.text_area :content, class: "form-control", rows: 6 %> </div> <h3>Record your progress:</h3> <div class="row"> <div class="col-lg-6"> <div class="form-group"> <div class="input-g...
<%= form_for [project,update] do |f| %> <h3>How's it going?</h3> <div class="form-group"> <%= f.text_area :content, class: "form-control", rows: 6 %> </div> <% if !update.persisted? %> <h3>Record your progress:</h3> <div class="row"> <div class="col-lg-6"> <div class="form-group"> ...
Hide word count/hours fields when editing progress update
Hide word count/hours fields when editing progress update
HTML+ERB
mit
Cecily2/writing-project-tracker,Cecily2/writing-project-tracker,Cecily2/writing-project-tracker
e2fdf4077d9942c6b5aa184ac5943c09f67049c1
app/views/channels/_show.table.html.erb
app/views/channels/_show.table.html.erb
<table class="table table-striped table-content"> <tbody> <tr> <th class="col-md-2">Date</th> <th class="">Item</th> <th class="col-md-2"><!--Visuals--></th> </tr> <%- @channel.items.recent.take(4).each do |item| %> <tr> <td> <p class="nobr"><%= time_or_dash(item.published_at, :med_omit_y...
<table class="table table-striped table-content"> <tbody> <tr> <th class="col-md-2">Date</th> <th class="">Item</th> <th class="col-md-2"><!--Visuals--></th> </tr> <%- @channel.items.recent.take(4).each do |item| %> <tr> <td> <p class="nobr"><%= time_or_dash(item.published_at, :med_omit_y...
Use excerpt instead of title
Use excerpt instead of title
HTML+ERB
agpl-3.0
osucomm/mediamagnet,osucomm/mediamagnet
1dbccb0a96a228fbc4811e995dcf862788364676
app/views/layouts/application.print.erb
app/views/layouts/application.print.erb
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <% if @publication.overview.present? %> <meta name="description" content="<%= @publication.overview %>"> <% end %> <%= section_meta_tags(@artefact) %> <%= yield :extra_headers %> </head> <body> <div id="wrapper" class="<%= wrapper_class(...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title><% if @publication %><%= page_title(@artefact, @publication) %><% else %><%= yield :title %><% end %></title> <% if @publication.overview.present? %> <meta name="description" content="<%= @publication.overview %>"> <% end %> <%= sect...
Print pages deserve a title as well
Print pages deserve a title as well Add titles to print pages in frontend. These weren't set previously for some unknown reason.
HTML+ERB
mit
alphagov/frontend,alphagov/frontend,alphagov/frontend,alphagov/frontend
5c98870e30d53c153449739375f52748541f612d
app/views/layouts/application.print.erb
app/views/layouts/application.print.erb
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title> <% if @publication %> <%= @publication.alternative_title.nil? ? @publication.alternative_title : @publication.title %> | <% unless @publication.section.nil? or @publication.section == ''%> <%= @publication.section %> | <% end...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title><%= page_title(@artefact, @publication) %></title> <%= stylesheet_link_tag '/stylesheets/core.css', '/stylesheets/text.css', '/stylesheets/publisher.css', '/stylesheets/core-print.css', '/stylesheets/guide...
Update video layout in line with regular one
Update video layout in line with regular one
HTML+ERB
mit
alphagov/frontend,alphagov/frontend,alphagov/frontend,alphagov/frontend
3bba53a4d19f12b80b92f510bb999ed3452a6cf4
app/views/shared/_current_user.html.erb
app/views/shared/_current_user.html.erb
<div id="current_user" class="pull-right"> <ul class="nav"> <li> <div class="navbar-text user-label"> <div class="avatar"> <%= image_tag user.gravatar_url %> </div> <%= user.username %> </div> </li> <li> <%= button_to t('devise.sessions.sign_out'), destroy_user_session_path, :method => ...
<div id="current_user" class="pull-right"> <ul class="nav"> <li> <div class="navbar-text user-label"> <div class="avatar"> <%= image_tag user.gravatar_url %> </div> <%= user.username %> </div> </li> <li> <%= button_to t('devise.invitations.link'), new_user_invitation_path, :method => :g...
Add link to invite new user in navbar
Add link to invite new user in navbar
HTML+ERB
mit
joshmcarthur/inquest,joshmcarthur/inquest
e0a8e06319d8fefb79f7308c685f4de450002ae1
sv/run.erb
sv/run.erb
#!/bin/sh exec 2>&1 exec runit-man<% if server.kind_of?(String) %> -s "<%= server %>"<% end %><% if bind %> -b <%= bind %><% end %> -p <%= port %> -a "<%= active_services_directory %>" -f "<%= all_services_directory %>"<% files_to_view.each do |f| %> -v "<%= f %>"<% end %><% auth.each_pair do |name, password| %> -u <%=...
#!/bin/sh exec 2>&1 exec runit-man<% if server.kind_of?(String) %> -s "<%= server %>"<% end %><% if bind %> -b <%= bind %><% end %> -p <%= port %> -a "<%= active_services_directory %>" -f "<%= all_services_directory %>"<% files_to_view.each do |f| %> -v "<%= f %>"<% end %><% auth.each_pair do |name, password| %> -u <%=...
Fix registration of logger option
Fix registration of logger option
HTML+ERB
mit
Undev/runit-man,Undev/runit-man,akzhan/runit-man,akzhan/runit-man,Undev/runit-man,akzhan/runit-man,Undev/runit-man,akzhan/runit-man
2c5835e51aa5302df30c4198bcac8c97fdd9e2b1
templates/default_configure_options.erb
templates/default_configure_options.erb
--without-pear --with-gd --enable-sockets --with-jpeg-dir=<%= scope.lookupvar "boxen::config::homebrewdir" %>/opt/jpeg --with-png-dir=<%= scope.lookupvar "boxen::config::homebrewdir" %>/opt/libpng --enable-exif --enable-zip --with-zlib --with-zlib-dir=<%= scope.lookupvar "boxen::config::homebrewdir" %>/opt/zlib --with-...
--with-config-file-path=<%= @php_ini %> --with-config-file-scan-dir=<%= @conf_d %> --without-pear --with-gd --enable-sockets --with-jpeg-dir=<%= scope.lookupvar "boxen::config::homebrewdir" %>/opt/jpeg --with-png-dir=<%= scope.lookupvar "boxen::config::homebrewdir" %>/opt/libpng --enable-exif --enable-zip --with-zlib -...
Add configuration directories to default build options
Add configuration directories to default build options
HTML+ERB
mit
castiron/puppet-php,rolfvandekrol/puppet-php,rolfvandekrol/puppet-php,boxen/puppet-php,mattheath/puppet-php,toby-griffiths/puppet-php,hussfelt/puppet-php,oddhill/puppet-php,oddhill/puppet-php,webflo/puppet-php,rolfvandekrol/puppet-php,boxen/puppet-php,typhonius/puppet-php,typhonius/puppet-php,mattheath/puppet-php,names...
bbd2f6ab11d8e403ba260551f53fcb50199ba811
app/views/dashboard/_entry.html.erb
app/views/dashboard/_entry.html.erb
<div class="entry"> <h1> <% if entry.created_at.today? %> Today <% else %> <%= l entry.created_at, format: :day_of_week %> <% end %> </h1> <p class="lead"> <%= l entry.created_at, format: :month_day_year %> </p> <%= paginate @entries %> <%= simple_format(entry.body) %> </div>
<% content_for :header do %> <h1> <% if entry.created_at.today? %> Today <% else %> <%= l entry.created_at, format: :day_of_week %> <% end %> </h1> <p class="lead"> <%= l entry.created_at, format: :month_day_year %> </p> <% end %> <%= paginate @entries %> <%= simple_format(entry.bo...
Move header of dashboard into content_for
Move header of dashboard into content_for This makes it so that flash messages appear below the header.
HTML+ERB
mit
codecation/trailmix,codecation/trailmix,codecation/trailmix,codecation/trailmix
9e5facdbff6c4baf2ffde241f950566368c6e842
app/views/dashboard/_entry.html.erb
app/views/dashboard/_entry.html.erb
<div class="entry"> <h1> <% if entry.created_at.today? %> Today <% else %> <%= l entry.created_at, format: :day_of_week %> <% end %> </h1> <p class="lead"> <%= l entry.created_at, format: :month_day_year %> </p> <%= paginate @entries %> <p> <%= entry.body %> </p> </div>
<div class="entry"> <h1> <% if entry.created_at.today? %> Today <% else %> <%= l entry.created_at, format: :day_of_week %> <% end %> </h1> <p class="lead"> <%= l entry.created_at, format: :month_day_year %> </p> <%= paginate @entries %> <%= simple_format(entry.body) %> </div>
Format entries with paragraphs and line breaks
Format entries with paragraphs and line breaks
HTML+ERB
mit
codecation/trailmix,codecation/trailmix,codecation/trailmix,codecation/trailmix
d75246b3baaa1bf705acb0e449fd8bb398e7d429
app/views/user_drops/index.html.erb
app/views/user_drops/index.html.erb
<div class="container-fluid"> <h1>Welcome USer !</h1> <p>SoundDrop lets you record stories or create playlists of your favourite songs and connect them to any place you wish via geolocation.</p> <p>With SoundDrop you can leave an audible mark anywhere and share it with friends. Wish to leave a playlist...
<div class="container-fluid"> <h1> Hello, <%= current_user.username %>! Here you can see the drops that you have added: </h1> <p> You have added <%= @drops.count %> drops</p> <div id="map" class="map-index"></div> <script type="text/javascript"> var coordinateList = JSON.parse('<%= @drops.map...
Add text and drop count for the User's drop view
Add text and drop count for the User's drop view
HTML+ERB
mit
sounddrop/sounddrop,sounddrop/sounddrop,sounddrop/sounddrop,sounddrop/sounddrop
dd4d8b3e0584daff3357a6282fba46f865d62637
app/views/articles/index.js.erb
app/views/articles/index.js.erb
<% new_article_link = link_to("Create one!", new_article_path(title: params[:search])) %> ( function() { var fallback = "No articles found. <%= escape_javascript(new_article_link) %></a>"; var articleMarkup = '<%= escape_javascript( render( @articles ) ) %>'; // the js-articleSearch is only present on the guid...
<% new_article_link = link_to("create one", new_article_path(title: params[:search])) %> ( function() { var fallback = "We didn't find an article whose title or content matches. Why not <%= escape_javascript(new_article_link) %></a>?"; var articleMarkup = '<%= escape_javascript( render( @articles ) ) %>'; // t...
Improve the no matches create article copy.
Improve the no matches create article copy.
HTML+ERB
mit
orientation/orientation,splicers/orientation,hashrocket/orientation,splicers/orientation,robomc/orientation,codeschool/orientation,orientation/orientation,cmckni3/orientation,Scripted/orientation,liufffan/orientation,ferdinandrosario/orientation,twinn/orientation,codio/orientation,liufffan/orientation,IZEA/orientation,...
41e409f3b2af4ac492c15569ac547d4518d4af8d
app/views/sessions/new.html.erb
app/views/sessions/new.html.erb
<section class='signin'> <h1>Sign In</h1> <% if flash[:alert] %> <p id='notice'><%= flash[:alert] %></p> <% end %> <%= form_tag create_session_path do %> <table> <tr> <td><%= label_tag :email, 'Email:' %></td> <td><%= text_field_tag :email, params[:email] %></td> </tr>...
<section class='signin'> <h1>Sign In</h1> <% if flash[:alert] %> <p id='notice'><%= flash[:alert] %></p> <% end %> <%= form_tag create_session_path do %> <table> <tr> <td><%= label_tag :email, 'Email:' %></td> <td><%= text_field_tag :email, params[:email] %></td> </tr>...
Mark 'forgot password' as a TODO on sign in page
Mark 'forgot password' as a TODO on sign in page
HTML+ERB
mit
milewdev/biodb,milewdev/biodb,milewdev/biodb
87be0bd4893ee8cce5c718e50ac56654ca29712b
app/views/signin/index.html.erb
app/views/signin/index.html.erb
<div id="wrapper"> <div id="sub-pane"> <nav id="main-nav"> <%= render partial: 'signin/main_nav' %> </nav> <div id="sub-toolbar"> <%= render partial: 'signin/sub_toolbar' %> </div> </div> <div id="main-pane" class="container-fluid"> <div id="main-toolbar"> <div id="fixed-tool...
<div id="wrapper"> <div id="sub-pane"> <nav id="main-nav"> <%= render partial: 'signin/main_nav' %> </nav> <div id="sub-toolbar"> <%= render partial: 'signin/sub_toolbar' %> </div> </div> <div id="main-pane" class="container-fluid"> <div id="main-toolbar"> <div id="fixed-tool...
Fix bug in initial setup
:wrench: Fix bug in initial setup
HTML+ERB
agpl-3.0
lepo-project/lepo,lepo-project/lepo,lepo-project/lepo
4b33fe3d96a808a7e6bf8a2aa2295692371c4940
lib/domgen/gwt/templates/gin_module.erb
lib/domgen/gwt/templates/gin_module.erb
/* DO NOT EDIT: File is auto-generated */ package <%= data_module.gwt.gin_package %>; <%= description_javadoc_for(data_module, "") %>@javax.annotation.Generated( "Domgen" ) @SuppressWarnings( { "UnusedDeclaration", "JavaDoc" } ) public class <%= data_module.gwt.gin_module_name %> extends com.google.gwt.inject.client...
/* DO NOT EDIT: File is auto-generated */ package <%= data_module.gwt.gin_package %>; <%= description_javadoc_for(data_module, "") %>@javax.annotation.Generated( "Domgen" ) @SuppressWarnings( { "UnusedDeclaration", "JavaDoc" } ) public class <%= data_module.gwt.gin_module_name %> extends com.google.gwt.inject.client...
Make sure that the name of method to get service matches the service name
Make sure that the name of method to get service matches the service name
HTML+ERB
apache-2.0
realityforge/domgen,william-ml-leslie/domgen,icaughley/domgen,icaughley/domgen,realityforge/domgen
51be267fffb01fccebbd94b86d7a193702d57a98
app/views/admin/shared/_trial_notification.html.erb
app/views/admin/shared/_trial_notification.html.erb
<% if current_user.has_feature_flag?('no_free_tier') && current_user.account_type == 'PERSONAL30' %> <div class="CDB-Text FlashMessage FlashMessage--main"> <div class="u-inner"> <div class="FlashMessage-info FlashMessage--main u-flex u-justifySpace u-alignCenter" style="width: 100%; flex-directi...
<% if current_user.has_feature_flag?('no_free_tier') && current_user.account_type == 'PERSONAL30' %> <div class="CDB-Text FlashMessage FlashMessage--main"> <div class="u-inner"> <div class="FlashMessage FlashMessage-info FlashMessage--main u-flex u-justifySpace u-alignCenter"> <p...
Use new classes for button
Use new classes for button
HTML+ERB
bsd-3-clause
splashblot/dronedb,splashblot/dronedb,CartoDB/cartodb,splashblot/dronedb,splashblot/dronedb,splashblot/dronedb,CartoDB/cartodb,CartoDB/cartodb,CartoDB/cartodb,CartoDB/cartodb
5b8db9722757be7d2e2d8622b1646fcc076574b9
app/views/meetings/show.html.erb
app/views/meetings/show.html.erb
<p id="notice"><%= notice %></p> <p> <strong>Date:</strong> <%= @meeting.date %> </p> <%= link_to 'Edit', edit_meeting_path(@meeting) %> | <%= link_to 'Back', meetings_path %>
<p id="notice"><%= notice %></p> <div class='show-meeting'> <h2><%= @meeting.display_date %></h2> <h4><%= @meeting.time %></h4> <% if current_user %> <%= link_to 'Edit', edit_meeting_path(@meeting) %> | <% end %> <% destination = @meeting.date < Date.today ? past_meetings_path : upcoming_meetings_path...
Add some formatting and only show edit link if a user is logged in
Add some formatting and only show edit link if a user is logged in
HTML+ERB
unlicense
danascheider/testrubypdx,danascheider/testrubypdx,danascheider/testrubypdx
8ef395d811a7ee054d356beb849b73f056c976d8
app/views/products/show.html.erb
app/views/products/show.html.erb
<p id="notice"><%= notice %></p> <p> <strong>Title:</strong> <%= @product.title %> </p> <p> <strong>Urls:</strong> <% @product.urls.each do |url| %> <li><a href="<%= url %>" target="_blank"><%= url %></a></li> <% end %> </p> <p> <strong>Price:</strong> <%= @product.price %> </p> <p> <strong>Emai...
<p id="notice"><%= notice %></p> <p> <strong>Title:</strong> <%= @product.title %> </p> <p> <strong>Urls:</strong> <% @product.urls.each do |url| %> <li><a href="<%= url %>" target="_blank"><%= url %></a></li> <% end %> </p> <p> <strong>Price:</strong> <%= @product.price %> </p> <p> <strong>Emai...
Add a number of purchases to product page
Add a number of purchases to product page
HTML+ERB
agpl-3.0
asm-products/bit-commerce,asm-products/bit-commerce,asm-products/bit-commerce
177324e440a97012fb99ba863d0fa8595fd38a97
app/views/projects/edit.html.erb
app/views/projects/edit.html.erb
<h1>Seu Projeto</h1> <% if @project.has_valid_release_date? %> <div class="alert"> Seu projeto deve ser entregue em <strong><%= @project.remaining_days %></strong> dias </div> <% else %> <div class="alert alert-error"> A data de entrega do seu projeto é inválida. </div> <% end %> <%= simple_form_for(@...
<h1>Seu Projeto</h1> <%= simple_form_for(@project, :url => { :action => :update }) do |f| %> <div class="form-inputs"> <%= field_set_tag "Data de lançamento" do %> <%= f.input :release_date, :as => :date_picker %> <% end %> <div class="form-actions"> <%= f.button :submit, :class => 'btn btn-...
Remove finish date alert as it's now redundant
Remove finish date alert as it's now redundant
HTML+ERB
mit
hedra-digital/livro-da-classe,hedra-digital/livro-da-classe,hedra-digital/livro-da-classe,hedra-digital/livro-da-classe,hedra-digital/livro-da-classe,hedra-digital/livro-da-classe
5036f2b53774ff11c0b5e4c271cb3accd132a0e2
app/views/reviews/_form.html.erb
app/views/reviews/_form.html.erb
<%= form_for( (@review == nil ? [@course, @course.reviews.build] : [@course, @review]) ) do |f| %> <div class="form-group"> <p> <%= f.label :rating %> <br> <%= f.number_field :rating, class: 'form-control', id: 'form_review_rating', in: 0..5, step: 1 %> </p> <p> <%= f.label :grade %> ...
<%= form_for( (@review == nil ? [@course, @course.reviews.build] : [@course, @review]) ) do |f| %> <div class="form-group"> <p> <%= f.label :rating %> <br> <%= f.number_field :rating, class: 'form-control', id: 'form_review_rating', in: 0..5, step: 1 %> </p> <p> <%= f.label :grade %> ...
Add cancel btn & btn bootstrap
Add cancel btn & btn bootstrap
HTML+ERB
mit
mesch-hmc/Claremontreview,mesch-hmc/Claremontreview,mesch-hmc/Claremontreview,mesch-hmc/Claremontreview
c8adc816b2a8abda39d8c3225f6e00f745923fd6
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 parent: "/manual.html" --- <% unless ApplicationsByTeam.no_known_owner.empty? %> ## Repos without a home You can help us improve this documentation by [ed...
--- layout: application_layout title: Application ownership by team source_url: https://github.com/alphagov/govuk-developer-docs/blob/master/data/applications.yml parent: "/apps.html" --- <% unless ApplicationsByTeam.no_known_owner.empty? %> ## Repos without a home You can help us improve this documentation by [edit...
Fix parent link for apps by team
Fix parent link for apps by team
HTML+ERB
mit
alphagov/govuk-developer-docs,alphagov/govuk-developer-docs,alphagov/govuk-developer-docs,alphagov/govuk-developer-docs
d98c0ca5d039dc84f1b8042b787e64b5f0938a90
source/donate.html.erb
source/donate.html.erb
--- title: Donate --- <h1>Donate</h1> <p>From time to time, people ask us how they can support our ministry. If you feel that the Lord has directed you to send a financial gift to us, you have several options:</p> <hr class="my-6"> <p>If you wish your donation to be tax-deductible, you can mail a check made out to Che...
--- title: Donate --- <h1>Donate</h1> <p>From time to time, people ask us how they can support our ministry. If you feel that the Lord has directed you to send a financial gift to us, you have a couple options:</p> <hr class="my-6 border-t-2 border-gray-300"> <p>If you wish your donation to be tax-deductible, you can ...
Tweak wording and <hr> styling on Donate page
Tweak wording and <hr> styling on Donate page
HTML+ERB
mit
speedy1812/daysinukraine.com,speedy1812/daysinukraine.com,speedy1812/daysinukraine.com,speedy1812/daysinukraine.com
66a2518291acf6c17547ee3d8d3012fe8d8a3d18
app/views/layouts/_public_sidebar.html.erb
app/views/layouts/_public_sidebar.html.erb
<ul class="nav nav-list"> <li class="nav-header">Aktuell</li> <% if JUMU_ROUND == 2 && JUMU_TIMETABLES_PUBLIC %> <% lw_competition = Competition.seasonal_with_level(JUMU_ROUND).first %> <% date = lw_competition.begins %> <% lw_competition.venues.each do |venue| %> <%= nav_link_to "Vorspielplan #{...
<ul class="nav nav-list"> <li class="nav-header">Aktuell</li> <% if JUMU_ROUND == 2 && JUMU_TIMETABLES_PUBLIC %> <% lw_competition = Competition.seasonal_with_level(JUMU_ROUND).first %> <% date = lw_competition.begins %> <% lw_competition.venues.each do |venue| %> <%= nav_link_to "Vorspielplan #{...
Hide rules link in sidebar when signup is not open
Hide rules link in sidebar when signup is not open
HTML+ERB
mit
richeterre/jumubase-rails,richeterre/jumubase-rails,richeterre/jumubase-rails
ecdd3f4a700210428097885f1e338956f6c251da
lib/adhearsion/generators/app/templates/Gemfile.erb
lib/adhearsion/generators/app/templates/Gemfile.erb
source 'https://rubygems.org' gem 'adhearsion', '~> <%= Adhearsion::VERSION.split('.')[0,2].join('.') %>' # This is here by default due to deprecation of #ask and #menu. # See http://adhearsion.com/docs/common_problems#toc_3 for details gem 'adhearsion-asr' # # Here are some example plugins you might like to use. Si...
source 'https://rubygems.org' gem 'adhearsion', '~> <%= Adhearsion::VERSION.split('.')[0,2].join('.') %>' # This is here by default due to deprecation of #ask and #menu. # See http://adhearsion.com/docs/common_problems#toc_3 for details gem 'adhearsion-asr' # # Here are some example plugins you might like to use. Si...
Remove 'gem adhearsion-rails' statement. adhearsion-rails is dead.
Remove 'gem adhearsion-rails' statement. adhearsion-rails is dead.
HTML+ERB
mit
adhearsion/adhearsion,renemendoza/adhearsion,kares/adhearsion,cloudvox/adhearsion,renemendoza/adhearsion,cloudvox/adhearsion,adhearsion/adhearsion,adhearsion/adhearsion,cloudvox/adhearsion,renemendoza/adhearsion,cloudvox/adhearsion,kares/adhearsion,adhearsion/adhearsion
494119e3db289bb972178c8cf26819c0485fb5bc
template/pe/ext/redhat/ezbake.service.erb
template/pe/ext/redhat/ezbake.service.erb
[Unit] Description=<%= EZBake::Config[:project] %> Service After=syslog.target network.target [Service] Type=simple EnvironmentFile=/etc/sysconfig/<%= EZBake::Config[:project] %> User=$USER ExecStart=/opt/puppet/bin/java $JAVA_ARGS \ -cp "${INSTALL_DIR}/<%= EZBake::Config[:uberjar_name] %>" clojure.main \ ...
[Unit] Description=<%= EZBake::Config[:project] %> Service After=syslog.target network.target [Service] Type=simple EnvironmentFile=/etc/sysconfig/<%= EZBake::Config[:project] %> User=<%= EZBake::Config[:user] %> ExecStart=/opt/puppet/bin/java $JAVA_ARGS \ -cp "${INSTALL_DIR}/<%= EZBake::Config[:uberjar_nam...
Fix systemd for pe templates
Fix systemd for pe templates
HTML+ERB
apache-2.0
puppetlabs/ezbake,puppetlabs/ezbake,puppetlabs/ezbake
9732c85f6f9d3f6f0a28c04050fc574a34528687
templates/interfaces.erb
templates/interfaces.erb
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback <% if auto.any? %> auto <%= auto.join(" ") %> <% end %> <% mappings.each do |name, options| %> mapping <%= name %>...
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback <% if auto.any? %> auto <%= auto.join(" ") %> <% end %> <% mappings.sort.each do |name_and_options| %> mapping <%=...
Work around lack of sorted hashes in Ruby 1.8.
Work around lack of sorted hashes in Ruby 1.8.
HTML+ERB
mit
varunarya10/attachmentgenie-network,attachmentgenie/attachmentgenie-network,varunarya10/attachmentgenie-network,attachmentgenie/attachmentgenie-network
9f965f59e4637e416c45a80b22fae9285de40c1a
app/views/arcade_machines/index.html.erb
app/views/arcade_machines/index.html.erb
<h1>Winnitrons</h1> <p><em>as far as the eye can see</em></p> <p> <%= link_to "Add your Winnitron!", new_arcade_machine_path, class: "btn btn-success" %> </p> <table class="table table-condensed"> <tbody> <% mine, theirs = @arcade_machines.partition { |am| user_signed_in? && current_user.owns?(am) } %> ...
<h1>Winnitrons</h1> <p><em>as far as the eye can see</em></p> <p> <%= link_to "Add your Winnitron!", new_arcade_machine_path, class: "btn btn-success" %> </p> <table class="table table-condensed"> <tbody> <% mine, theirs = @arcade_machines.partition { |am| user_signed_in? && current_user.owns?(am) } %> ...
Remove headers on Winnitron index.
Remove headers on Winnitron index.
HTML+ERB
mit
winnitron/winnitron_reborn,winnitron/winnitron_reborn,winnitron/winnitron_reborn
b4e1f0c134c464de97b8d227c1296f9d780fb4fc
app/views/machines/_list_normal.html.erb
app/views/machines/_list_normal.html.erb
<tr> <%= sortable_th "name", nil, :style => "width:10em" %> <%= sortable_th "ipaddress", nil, :style => "width:10em" %> <th style="width:12em">OS</th> <%= sortable_th "manufacturer,model", t(:fullmodel), :style => "width:12em" %> <th style="width:8em">Localisation</th> <th colspan="2" class="actions" style=...
<tr> <%= sortable_th "name", nil, :style => "width:10em" %> <%= sortable_th "ipaddress", nil, :style => "width:10em" %> <th style="width:12em">OS</th> <%= sortable_th "manufacturer,model", t(:fullmodel), :style => "width:12em" %> <th style="width:8em">Localisation</th> <th colspan="2" class="actions" style=...
Use link_to_rack() helper in machines/list_normal partial
Use link_to_rack() helper in machines/list_normal partial
HTML+ERB
mit
skylost/cartoque,jbbarth/cartoque,cartoque/cartoque,jbbarth/cartoque,jbbarth/cartoque,skylost/cartoque,cartoque/cartoque,cartoque/cartoque
5000ec57743ba5191864ba2b5f01284e5e34744e
app/views/shared/_team_switcher.html.erb
app/views/shared/_team_switcher.html.erb
<% if current_user.teams.size > 1 %> <div class="ui-dropdown-menu"> <span class="title noselect"><%= current_team.present? ? current_team.name : "Switch team" %><span class="arrow"></span></span> <ul class="dropdown"> <% current_user.teams.each do |team| %> <li><%= link_to(team.name, root_url(su...
<div class="ui-dropdown-menu"> <span class="title noselect">Teams<span class="arrow"></span></span> <ul class="dropdown"> <% current_user.teams.each do |team| %> <li class="<%= "active" if current_team == team %>"><%= link_to(team.name, root_url(subdomain: team.subdomain)) %></li> <% end %> </ul> </...
Make teams dropdown always visible
Make teams dropdown always visible
HTML+ERB
mit
openhq/openhq,openhq/openhq,openhq/openhq,openhq/openhq
f77ee5bb182488cdb58dcb2a475bb40397d71389
app/views/users/_about_me_modal.html.erb
app/views/users/_about_me_modal.html.erb
<a class="waves-effect waves-light btn-medium modal-trigger" href="#modal1">Tell us about yourself</a> <!-- Modal Structure --> <div id="modal1" class="modal"> <div class="modal-content"> <div class="input-field col s12"> <textarea id="personal_info" class="materialize-textarea" length="120" name="user[pers...
<a class="waves-effect waves-light btn-medium modal-trigger" href="#modal1">Tell us about yourself</a> <!-- Modal Structure --> <div id="modal1" class="modal"> <div class="modal-content"> <p> Please tell us more about your quirks. </p> <div class="input-field col s12"> <textarea id="personal_i...
Add helper text to registration form
Add helper text to registration form
HTML+ERB
mit
Aslonski/Global-Host,Aslonski/Global-Host,Aslonski/Global-Host
614d82870352f05251ccec6503ea69ad2328ee56
app/views/noisy_workflow/_request_review.text.erb
app/views/noisy_workflow/_request_review.text.erb
Please review "<%= @action.edition.title %>" (<%= @action.edition.format %>) Comment: <%= @action.comment %> Requested by <%= @action.requester.name %> at <%=Time.zone.now.strftime("%R on %d/%m/%Y") %> View: <%= "#{Plek.current.find("private-frontend")}/#{@action.edition.slug}?edition=#{@action.edition.version_numbe...
Please review "<%= @action.edition.title %>" (<%= @action.edition.format %>) Comment: <%= @action.comment %> Requested by <%= @action.requester.name %> at <%=Time.zone.now.strftime("%R on %d/%m/%Y") %> View: <%= "#{Plek.current.find("www")}#{@action.edition.rendering_path}?edition=#{@action.edition.version_number}"%...
Make the links go to the right place
Make the links go to the right place
HTML+ERB
mit
theodi/publisher,theodi/publisher,theodi/publisher,theodi/publisher
50e2fc972a72ab5420d9a4bc5ec4f815e5e5bb20
app/views/users/teachers_index.html.erb
app/views/users/teachers_index.html.erb
<h2>All Teachers in Resume Bank:</h2> <% @users.each do |user| %> <div class="result"> <label>Name:</label> <%= user.first_name %> <%= user.last_name %><br> <label>Email:</label> <%= user.email %><br> <label>Registered:</label> <% if user.register == 'bank' %> No <% else %> Yes <% end %><br> <label>Active:</la...
<h2>All Teachers in Resume Bank:</h2> <% @users.each do |user| %> <div class="result"> <label>Name:</label> <%= user.first_name %> <%= user.last_name %><br> <label>Email:</label> <%= user.email %><br> <label>Registered:</label> <% if user.register == 'bank' %> No <% else %> Yes <% end %><br> <label>Active:</la...
Fix delete button for users
Fix delete button for users
HTML+ERB
mit
brianmock/incs-resume-bank,brianmock/incs-resume-bank,brianmock/incs-resume-bank
afe5a95e3bd8a976de62adb74eb1f79504052ed9
alert_templates/shared/loggregator/loggregator_metron_to_doppler_message_loss_above_threshold.json.erb
alert_templates/shared/loggregator/loggregator_metron_to_doppler_message_loss_above_threshold.json.erb
{ "name": "<%= environment %> CF: Loggregator Message loss from Metron to Doppler above threshold", "no_data_timeframe": 30, "notify_no_data": true, "notify_audit": false, "silenced": false, "query": "avg(last_30m):100 * (ewma_10(rate(sum:cf.collector.MetronAgent.dropsondeAgentListener.receivedM...
{ "name": "<%= environment %> CF: Loggregator Message loss from Metron to Doppler above threshold", "no_data_timeframe": 30, "notify_no_data": true, "notify_audit": false, "silenced": false, "query": "avg(last_30m):100 * (ewma_10(rate(sum:cf.collector.MetronAgent.dropsondeAgentListener.receivedM...
Update loggregator message loss alarm to use new metric name
Update loggregator message loss alarm to use new metric name [#96001628] Signed-off-by: John Tuley <b62d404e513eecfa92cb060d3427723b1e04fc4e@pivotal.io>
HTML+ERB
apache-2.0
pivotal-cf-experimental/datadog-config-oss,pivotal-cf-experimental/datadog-config-oss
855c7af2faa5d0941c1d9232852c7a552575fc33
core/app/views/templates/create.html.erb
core/app/views/templates/create.html.erb
<div class="fl-popup fl-create"> <div class="fl-label"> <span class="fl-create"><a href="#"><%= t(:add_fact).humanize %> <img src=<%= "#{jslib_url_for(current_user.username)}/images/arrow.png" %> alt=""> </a></span> <span class="fl-created"><%= t(:added_fact).humanize %></span> </div> <ul cla...
<div class="fl-popup fl-create"> <div class="fl-label"> <span class="fl-create"><a href="#"><%= t(:add_fact).humanize %> <img src=<%= "#{jslib_url_for(current_user.username)}/images/arrow.png" %> alt=""> </a></span> <span class="fl-created"><%= t(:added_fact).humanize %></span> </div> </div>
Remove old Add Factlink menu
Remove old Add Factlink menu Signed-off-by: tomdev <96835dd8bfa718bd6447ccc87af89ae1675daeca@codigy.nl>
HTML+ERB
mit
Factlink/factlink-core,daukantas/factlink-core,Factlink/factlink-core,daukantas/factlink-core,Factlink/factlink-core,daukantas/factlink-core,Factlink/factlink-core,daukantas/factlink-core
4eaa664172ecfd988ebf4b3bce900a3848d31221
templates/plugin/iptables.conf.erb
templates/plugin/iptables.conf.erb
<% if @chains -%> <Plugin iptables> <% @chains.each_pair do |table,chains| Array(chains).each do |chain| -%> Chain <%= table %> <%= chain %> <% end end -%> </Plugin> <% end -%>
<% if @chains -%> <Plugin iptables> <% @chains.each_pair do |table,chains| Array(chains).each do |chain| -%> Chain <%= table %> <%= chain %> <% end -%> <% end -%> </Plugin> <% end -%>
Use separate tags for each line of code
Use separate tags for each line of code
HTML+ERB
apache-2.0
archii/puppet-collectd,voxpupuli/puppet-collectd,juniorsysadmin/puppet-collectd,archii/puppet-collectd,voxpupuli/puppet-collectd,voxpupuli/puppet-collectd,archii/puppet-collectd,juniorsysadmin/puppet-collectd
bb8b11d2a8a728bd90b95216b484752f537c040b
web/views/queues.erb
web/views/queues.erb
<table class='table'> <thead> <tr> <th>Queue Name</th> <th>Job Load</th> </tr> </thead> <% @queues.each_with_index do |queue, i| %> <tr> <td class='queue_name<%= i %>'><%= queue[0] %></td> <td class='queue_count<%= i %>'><%= queue[1] %></td> </tr> <% end %> <tr class=...
<table class='table'> <thead> <tr> <th>Queue Name</th> <th>Job Load</th> </tr> </thead> <% @queues.each_with_index do |queue, i| %> <tr> <td id='queue_name_<%= queue[0].split(':').last %>'><%= queue[0] %></td> <td id='queue_count_<%= queue[0].split(':').last %>'><%= queue[1] %...
Rename id attribute for jQuery compatibility.
Rename id attribute for jQuery compatibility.
HTML+ERB
mit
workerholic/workerholic,workerholic/workerholic,workerholic/workerholic
9e2af89ea89e704c3f5e840a0dca740c116c2d30
app/views/child_benefit_tax/_starting_child.html.erb
app/views/child_benefit_tax/_starting_child.html.erb
<div class="date_selection"> <label>Start date</label> <%= select_date (child ? child.start_date : nil), :prefix => "starting_children[#{index}][start]", :prompt => {:day => "Day", :month => "Month", :year => "Year" }, :order => [:day, :month, :year], :start_year => 20.years.ago(Date.today).year, :end_year...
<div class="date_selection<% if child.errors.has_key?(:start_date) %> validation-error<% end -%>"> <% if child.errors.has_key?(:start_date) %> <p>Enter the date child benefit started</p> <% end -%> <label>Start date</label> <%= select_date (child ? child.start_date : nil), :prefix => "starting_children[#{index}][...
Add validation classes and message to child benefit start dates
Add validation classes and message to child benefit start dates
HTML+ERB
mit
mikeee/z_archived-calculators,mikeee/z_archived-calculators,mikeee/z_archived-calculators,mikeee/z_archived-calculators
4d6785a61baa7e35fee1d7759cc2144bbb09a474
app/views/cdm_migrator/csv/upload.html.erb
app/views/cdm_migrator/csv/upload.html.erb
<h1><span class="fa fa-angle-double-up"></span> <%= default_page_title %></h1> <%= form_for :csv_import, url: csv_create_path do |f| %> <%= f.label 'Multi-value Separator:' %> <%= f.text_field 'mvs' %> <br /> <%= f.file_field 'csv_file' %> <br /> <%= f.label 'Admin Set:' %> <%= select_tag "adm...
<h1><span class="fa fa-angle-double-up"></span> <%= default_page_title %></h1> <%= form_for :csv_import, url: csv_create_path do |f| %> <%= f.label 'Multi-value Separator:' %> <%= f.text_field 'mvs' %> <br /> <%= f.file_field 'csv_file' %> <br /> <%= f.label 'Admin Set:' %> <%= select_tag "adm...
Add 'submitting csv' text and disable button after click.
Add 'submitting csv' text and disable button after click.
HTML+ERB
mit
UVicLibrary/cdm_migrator,UVicLibrary/cdm_migrator,UVicLibrary/cdm_migrator
43e4ac395b953bffb563dd22d111cf87f089c728
app/views/layouts/georgia/_head.html.erb
app/views/layouts/georgia/_head.html.erb
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Language" content="en-US" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title><%= Georgia.title %> CMS</title> <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="...
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Language" content="en-US" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title><%= Georgia.title %> CMS</title> <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="...
Upgrade Twitter Bootstrap to 3.0.3
Upgrade Twitter Bootstrap to 3.0.3
HTML+ERB
mit
georgia-cms/georgia,georgia-cms/georgia,georgia-cms/georgia
5266fc1e99d88571f880a1feac80fa69d24a6a8d
app/views/local_petitions/index.html.erb
app/views/local_petitions/index.html.erb
<% content_for(:page_title) { "Petitions in #{@constituency.name}" } %> <h1 class="page-title">Petitions in <%= @constituency.name %></h1> <div class="section-panel local-petitions"> <ol> <% @petitions.each do |petition| %> <li class="petition-item petition-<%= petition.state %>"> <%= link_to petit...
<% content_for(:page_title) { "Petitions in #{@constituency.name}" } %> <h1 class="page-title">Petitions in <%= @constituency.name %></h1> <div class="section-panel local-petitions"> <% if @petitions.any? %> <ol> <% @petitions.each do |petition| %> <li class="petition-item petition-<%= petition.sta...
Add a "no petitions" message
Add a "no petitions" message For when the constituency can be found but no-one has signed anything (or nothing is published yet).
HTML+ERB
mit
oskarpearson/e-petitions,unboxed/e-petitions,ansonK/e-petitions,oskarpearson/e-petitions,StatesOfJersey/e-petitions,telekomatrix/e-petitions,ansonK/e-petitions,telekomatrix/e-petitions,joelanman/e-petitions,alphagov/e-petitions,ansonK/e-petitions,telekomatrix/e-petitions,alphagov/e-petitions,joelanman/e-petitions,State...
14946c7061564fab0a3e4c61f6f400793649ef98
app/views/application/_flash.html.erb
app/views/application/_flash.html.erb
<% if flash.any? %> <section class="flash"> <% flash.each do |key, value| %> <%= check_box_tag key %> <%= content_tag(:article, class: key) do %> <%= content_tag(:p, value) %> <%= content_tag(:label, '&times;'.html_safe, for: key) %> <% end %> <% end %> </section> <% end %>
<% if flash.any? %> <section class="flash"> <%- flash.each do |key, value| %> <%= check_box_tag key %> <%= content_tag(:article, class: key) do %> <%= content_tag :ul do %> <%- Array(value).map do |message| %> <%= content_tag(:li, message) %> <%- end %> <%- end %> <...
Print out all flash messages instead of just an array
Print out all flash messages instead of just an array
HTML+ERB
mit
conference-opportunities/conference-opportunities,conference-opportunities/conference-opportunities,conference-opportunities/conference-opportunities
36ffb976192f33e097e7f8c2c6be0472185a1c2e
app/views/gobierto_admin/gobierto_cms/sections/_pages_filter.html.erb
app/views/gobierto_admin/gobierto_cms/sections/_pages_filter.html.erb
<div id="search_pages"> <% if @pages %> <% @pages.each do |page| %> <div class="activity_item"> <h2> <%= link_to edit_admin_cms_page_path(page, collection_id: page.collection), class: "tipsit draggable", title: t('.page_help'), data: { id: page.id, title: page.title } do %> <%=...
<div id="search_pages"> <% if @pages %> <% @pages.each do |page| %> <div class="activity_item"> <h2> <%= link_to edit_admin_cms_page_path(page, collection_id: page.collection), class: "tipsit draggable", title: t('.page_help'), data: { id: page.id, title: page.title } do %> <%=...
Fix date in last edited pages in section
Fix date in last edited pages in section
HTML+ERB
agpl-3.0
PopulateTools/gobierto,PopulateTools/gobierto-dev,PopulateTools/gobierto-dev,PopulateTools/gobierto-dev,PopulateTools/gobierto-dev,PopulateTools/gobierto,PopulateTools/gobierto,PopulateTools/gobierto
98af334ae7d1f467942ba2ba5956dca2e34bf61f
app/views/questions/_comment.html.erb
app/views/questions/_comment.html.erb
<div class="comment col-center col-10"> <h4><i class="fa fa-user"></i> <%= comment.user ? comment.user.name : 'Default' %></h4> <p><%= comment.body %></p> <% if comment.user.id == session[:current_user] %> <%= link_to 'Edit', edit_comment_path(comment) %> <%= link_to 'Delete', comment, method: :delete, ...
<div class="comment col-center col-10"> <h4><i class="fa fa-user"></i> <%= comment.user ? comment.user.name : 'Default' %></h4> <p><%= comment.body %></p> <% if comment.user.id == session[:current_user] %> <%= link_to 'Edit', edit_comment_path(comment) %> <%= link_to 'Delete', comment, method: :delete, ...
Prepare upvote button for ajax call.
Prepare upvote button for ajax call.
HTML+ERB
mit
great-horned-owls-2014/dbc-what-is-this,great-horned-owls-2014/dbc-what-is-this
d4baad313b290f8ef8ad344bbeb6c50409b75f31
views/leader_table.erb
views/leader_table.erb
<table class="table table-striped"> <thead> <tr> <th>#</th> <th>Github</th> <th>Points</th> </tr> </thead> <tbody> <% users.each_with_index do |u, index| %> <% url = "/profile/#{u[:user].github_login}" %> <% if u[:points] > 0 %> <tr> <td><%= index + 1 %>...
<table class="table table-striped"> <thead> <tr> <th>#</th> <th>Github</th> <th>Points</th> </tr> </thead> <tbody> <% users.each_with_index do |u, index| %> <% url = "/profile/#{u[:user].github_login}" %> <% if u[:points] > 0 %> <tr> <td><%= index + 1 un...
Make leaderboard show ties more equitably
Make leaderboard show ties more equitably
HTML+ERB
mit
afterburner/afterburner.me,afterburner/afterburner.me
c1d220b0b5702182c1e4d5d3e7f3aa967ce47137
app/views/work/shifts/show.html.erb
app/views/work/shifts/show.html.erb
<% content_for(:title, shift.job_title_with_icons) %> <% content_for(:title_no_html, shift.job_title) %> <% content_for(:top_buttons, shift.action_links) %> <h2><%= shift.times %></h2> <dl class="shift-info icon-list bigger"> <dt><%= icon_tag("clock-o") %></dt><dd><%= shift.hours_formatted %>h</dd><br/> <dt><%= i...
<% content_for(:title, shift.job_title_with_icons) %> <% content_for(:title_no_html, shift.job_title) %> <% content_for(:top_buttons, shift.action_links) %> <h2><%= shift.times %></h2> <dl class="shift-info icon-list bigger"> <dt><%= icon_tag("clock-o") %></dt><dd><%= shift.hours_formatted %>h</dd><br/> <dt><%= i...
Fix broken link on shift show page
Fix broken link on shift show page
HTML+ERB
mit
touchstone-cohousing/mess,touchstone-cohousing/mess,touchstone-cohousing/mess
458bef1c2ed8ba3f43b372c2577b0b0a2097b29d
lib/smart_answer_flows/business-coronavirus-support-finder/questions/rate_relief_march_2020.govspeak.erb
lib/smart_answer_flows/business-coronavirus-support-finder/questions/rate_relief_march_2020.govspeak.erb
<% content_for :title do %> Is your business in receipt of small business rate relief or rural rate relief as of the 11 March 2020? <% end %> <% options( "yes": "Yes", "no": "No", ) %>
<% content_for :title do %> Is your business in receipt of small business rate relief or rural rate relief as of 11 March 2020? <% end %> <% options( "yes": "Yes", "no": "No", ) %>
Update content for receipt of buisness relief question
Update content for receipt of buisness relief question Removed extra "the" before the date.
HTML+ERB
mit
alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers
5eddb5a22532c9ab041c844350be39a71f7d1f8c
generators/feature/templates/feature.erb
generators/feature/templates/feature.erb
Feature: Manage <%= plural_name %> In order to keep track of <%= plural_name %> A <%= singular_name %> mechanic Should be able to manage several <%= plural_name %> Scenario: Register new <%= singular_name %> Given I am on the new <%= singular_name %> page <% keyword = 'When' -%> <% args.each do |arg| -%>...
Feature: Manage <%= plural_name %> In order to keep track of <%= plural_name %> A <%= singular_name %> mechanic Should be able to manage several <%= plural_name %> Scenario: Register new <%= singular_name %> Given I am on the new <%= singular_name %> page <% keyword = 'When' -%> <% args.each do |arg| -%>...
Update generator with new table keyword
Update generator with new table keyword
HTML+ERB
mit
shadow000902/cucumber-ruby,CW5000/CWFDerpy,dchelimsky/cucumber,richarda/cucumber,shadow000902/cucumber-ruby,tom025/cucumber,brasmusson/cucumber,cucumber/cucumber-ruby,jasonkarns/cucumber-ruby,sideci-sample/sideci-sample-cucumber,danascheider/cucumber-ruby,tom025/cucumber,songkick/cucumber,brasmusson/cucumber,jasonkarns...
d70e8f5f1bc748cc72d0e80c44e5fc09ec18dfbf
lib/domgen/jpa/templates/dao_test.java.erb
lib/domgen/jpa/templates/dao_test.java.erb
/* DO NOT EDIT: File is auto-generated */ package <%= to_package(dao.jpa.qualified_dao_test_name) %>; @java.lang.SuppressWarnings( { "UnusedDeclaration" } ) @javax.annotation.Generated( "Domgen" ) public abstract class <%= dao.jpa.dao_test_name %> extends <%= dao.data_module.repository.ejb? ? dao.data_module.reposit...
/* DO NOT EDIT: File is auto-generated */ package <%= to_package(dao.jpa.qualified_dao_test_name) %>; @java.lang.SuppressWarnings( { "UnusedDeclaration" } ) @javax.annotation.Generated( "Domgen" ) public abstract class <%= dao.jpa.dao_test_name %> extends <%= dao.data_module.repository.jpa.qualified_standalone_entit...
Use the standalone test for testing repositories
Use the standalone test for testing repositories
HTML+ERB
apache-2.0
icaughley/domgen,realityforge/domgen,realityforge/domgen,icaughley/domgen
d6b4a27f8dee33b8b12499df142c03fed9bc5a4d
app/views/mailer/notification_copy.html.erb
app/views/mailer/notification_copy.html.erb
<% #-- # Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option...
<% # encoding: utf-8 #-- # Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or #...
Fix a UTF-8 error when sending notification copies.
Fix a UTF-8 error when sending notification copies.
HTML+ERB
agpl-3.0
vymiheev/Gitorious-OpenStack,balcom/gitorious,Gitorious-backup/base_uri-fixes,tigefa4u/gitorious-mainline,vymiheev/Gitorious-OpenStack,spencerwp/mainline,grjones/gitorious-submodule-dependencies,deld/gitorious,njall/wel-gitorious,altrair/gitorious-openstack,adg29/asi.gitorious,gnufied/gitorious,Gitorious-backup/mainlin...
ae7ac6f2be182d31322f53652d7d113ed4e98e35
app/views/pages/index.html.erb
app/views/pages/index.html.erb
<%= link_to "", params.merge({days: params[:days] - 1}), id: "yesterday", class:"colored-text-day" %> <span id="human-today" class="colored-text-day">Loading…</span> <% if params[:days] && params[:days] != 0 %> <%= link_to "", params.merge({days: 0}), id: "today", class: (params[:days] > 0 ? "back-t...
<%= link_to "", params.merge({days: params[:days] - 1}), id: "yesterday", class:"colored-text-day" %> <span id="human-today" class="colored-text-day">Loading…</span> <% if params[:days] && params[:days] != 0 %> <%= link_to "", params.merge({days: 0}), id: "today", class: (params[:days] > 0 ? "back-t...
Fix "missing today arrow" regression
Fix "missing today arrow" regression
HTML+ERB
mit
thomas-profitt/tiny_harvest_dashboard,thomas-profitt/tiny_harvest_dashboard,thomas-profitt/tiny_harvest_dashboard
3112681d6bb3a2c367d25c2d794fa7bfced54010
lib/templates/javascript_notifier.erb
lib/templates/javascript_notifier.erb
<%= javascript_tag %Q{ (function(){ var notifierJsScheme = (("https:" == document.location.protocol) ? "https://" : "http://"); document.write(unescape("%3Cscript src='" + notifierJsScheme + "#{host}/javascripts/notifier.js' type='text/javascript'%3E%3C/script%3E")); })(); }%> <%= javascript_tag %Q{ wi...
<%= javascript_tag %Q{ (function(){ var notifierJsScheme = (("https:" == document.location.protocol) ? "https://" : "http://"); document.write(unescape("%3Cscript src='" + notifierJsScheme + "#{host}/javascripts/notifier.js' type='text/javascript'%3E%3C/script%3E")); })(); }%> <%= javascript_tag %Q{ wi...
Fix bug in defining the Airbrake javascript object
Fix bug in defining the Airbrake javascript object
HTML+ERB
mit
stevecrozz/hydraulic_brake,Shopify/airbrake,thoughtbot/hoptoad_notifier,CarlosCD/airbrake,thoughtbot/airbrake,nick-desteffen/airbrake,CarlosCD/airbrake,airbrake/airbrake,benjaminoakes/airbrake,airbrake/airbrake,nick-desteffen/airbrake
d648c155e749d29896db64712a06125f29c0f537
app/views/pictures/_tag.html.erb
app/views/pictures/_tag.html.erb
<%= %> <%= div_for tag do -%> <%= tag.name -%> <% end -%>
<%= %> <%= div_for tag do -%> <% if tag.kind_of? Tag -%> <%= link_to(tag.name, {:controller => :pictures.to_s, :action => :index.to_s, :tag => tag.name}) -%> <% else -%> <%= tag -%> <% end -%> <% end -%>
Add link to pictures tag partial.
Add link to pictures tag partial.
HTML+ERB
mit
MarkDBlackwell/webmaster-gallery,MarkDBlackwell/webmaster-gallery,MarkDBlackwell/webmaster-gallery,MarkDBlackwell/webmaster-gallery
77e16d116ff2aa7f7793e45a3d25d566d0e05eb5
templates/default_configure_options.erb
templates/default_configure_options.erb
--without-pear --with-gd --enable-sockets --with-jpeg-dir=/opt/boxen/homebrew/opt/jpeg --with-png-dir=/opt/boxen/homebrew/opt/libpng --enable-exif --enable-zip --with-zlib --with-zlib-dir=/opt/boxen/homebrew/opt/zlib --with-kerberos --with-openssl --with-mcrypt=/opt/boxen/homebrew/opt/mcrypt --enable-soap --enable-xmlr...
--without-pear --with-gd --enable-sockets --with-jpeg-dir=<%= scope.lookupvar "boxen::config::homebrewdir" %>/opt/jpeg --with-png-dir=<%= scope.lookupvar "boxen::config::homebrewdir" %>/opt/libpng --enable-exif --enable-zip --with-zlib --with-zlib-dir=<%= scope.lookupvar "boxen::config::homebrewdir" %>/opt/zlib --with-...
Update configure options template to use dynamic paths
Update configure options template to use dynamic paths
HTML+ERB
mit
namesco/puppet-php,namesco/puppet-php,mattheath/puppet-php,toby-griffiths/puppet-php,boxen/puppet-php,namesco/puppet-php,castiron/puppet-php,oddhill/puppet-php,rolfvandekrol/puppet-php,typhonius/puppet-php,oddhill/puppet-php,hussfelt/puppet-php,oddhill/puppet-php,typhonius/puppet-php,boxen/puppet-php,webflo/puppet-php,...
3e20a1629afad3ef0bd32a4b7cab161bb113958f
app/views/calculations/results/_results.html.erb
app/views/calculations/results/_results.html.erb
<%- if results.empty? -%> <p class="event_notes">No results for <%= event.year %></p> <%- end -%> <% ActiveSupport::Notifications.instrument "event.results.calculations.racing_on_rails", event_id: event.id, event_name: event.name do %> <% races.sort.each do |race| %> <% unless race.name == "Calculation" %> ...
<%- if results.empty? -%> <p class="event_notes">No results for <%= event.year %></p> <%- end -%> <% ActiveSupport::Notifications.instrument "event.results.calculations.racing_on_rails", event_id: event.id, event_name: event.name do %> <% races.sort.each do |race| %> <% unless race.name == "Calculation" %> ...
Load calc event results only once
Load calc event results only once
HTML+ERB
mit
scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails
9c9e5daf58d7ff28df2b1afa610b7a809c53dc3c
app/views/spree/admin/shipments/_picking_pdf.erb
app/views/spree/admin/shipments/_picking_pdf.erb
<style type="text/css"> table.picking_list { border: 1px solid black; width: auto; margin: 10px 10px 10px 10px; } table.picking_list td { padding: 20px; margin: 20px; } </style> <h1><%= t(:picking_list) %></h1> <table id="picking_list" class="index picking_list"> <tr data-hook="admin_p...
<style type="text/css"> table.picking_list { border: 1px solid black; width: auto; margin: 10px 10px 10px 10px; } table.picking_list td { padding: 20px; margin: 20px; } </style> <h1><%= t(:picking_list) %></h1> <% @shipments.each do |shipment| %> <h2><%= shipment.number %></h2> <tab...
Change picking_list PDF so shipment is printed only once
Change picking_list PDF so shipment is printed only once
HTML+ERB
bsd-3-clause
Genshin/spree_warehouse,Genshin/spree_warehouse
7f659062903af03bb2097af5824888db416e2a5e
lib/smart_answer_flows/am-i-getting-minimum-wage/questions/what_would_you_like_to_check.govspeak.erb
lib/smart_answer_flows/am-i-getting-minimum-wage/questions/what_would_you_like_to_check.govspeak.erb
<% content_for :title do %> What would you like to check? <% end %> <% options( "current_payment": "If you're getting the National Minimum Wage (from October 2015) or the National Living Wage (from April 2016)", "past_payment": "If an employer owes you past payments (before October 2015)" ) %>
<% content_for :title do %> What would you like to check? <% end %> <% options( "current_payment": "If you're getting the National Minimum Wage or the National Living Wage", "past_payment": "If an employer owes you past payments (before April 2016)" ) %>
Update landing page template for `am-i-getting-minimum-wage`
Update landing page template for `am-i-getting-minimum-wage`
HTML+ERB
mit
alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,stwalsh/smart-answers,aledelcueto/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers,stwalsh/smart-answers,stwalsh/smart-answers,stwalsh/smart-answers,aledelcueto/smart-answers
4e770e3954551e499019ed214574fcc9c8483a0e
lib/templates/awesome/rcov.html.erb
lib/templates/awesome/rcov.html.erb
<h3>Rcov Code Coverage Results</h3> <p>C0 code coverage information.</p> <p>Total Coverage: <%= @rcov.delete(:global_percent_run) %>% </p> <table> <tr> <th>File Path</th> <th>Percent run</th> </tr> <% count = 0 %> <% @rcov.each_pair do |fname, file| %> <tr> <td><a href="#<%= fname.gsub(/[^a-z]...
<h3>Rcov Code Coverage Results</h3> <p>C0 code coverage information.</p> <p>Total Coverage: <%= @rcov.delete(:global_percent_run) %>% </p> <table> <tr> <th>File Path</th> <th>Percent run</th> </tr> <% count = 0 %> <% @rcov.each_pair do |fname, file| %> <tr> <td><a href="#<%= fname.gsub(/[^a-z]...
Sort rcov percentages to list least covered first
Sort rcov percentages to list least covered first
HTML+ERB
mit
jscruggs/metric_fu,metricfu/metric_fu,metricfu/metric_fu,metricfu/metric_fu,ManageIQ/metric_fu,openeducation/metric_fu
ccd3a61c980ff8d2b2f651400c91237dfaac96ca
jobs/mysql/templates/mariadb_init.erb
jobs/mysql/templates/mariadb_init.erb
CREATE USER IF NOT EXISTS 'root'@'%' IDENTIFIED BY '<%= p('cf_mysql.mysql.admin_password') %>'; GRANT ALL PRIVILEGES ON *.* TO '<%= p('cf_mysql.mysql.admin_username') %>'@'%' WITH GRANT OPTION; UPDATE mysql.user SET Password=PASSWORD('<%= p('cf_mysql.mysql.admin_password') %>') WHERE User='<%= p('cf_mysql.mysql.admin_u...
CREATE USER IF NOT EXISTS '<%= p('cf_mysql.mysql.admin_username') %>'@'%' IDENTIFIED BY '<%= p('cf_mysql.mysql.admin_password') %>'; GRANT ALL PRIVILEGES ON *.* TO '<%= p('cf_mysql.mysql.admin_username') %>'@'%' WITH GRANT OPTION; UPDATE mysql.user SET Password=PASSWORD('<%= p('cf_mysql.mysql.admin_password') %>') WHER...
Use admin_username when creating the user
Use admin_username when creating the user [#130544249] Signed-off-by: Andrew Crump <bad96bc28586e95c5d7da81c13d926ea5028b22f@pivotal.io>
HTML+ERB
apache-2.0
cloudfoundry/cf-mysql-release,cloudfoundry/cf-mysql-release,cloudfoundry/cf-mysql-release,cloudfoundry/cf-mysql-release
aa9a257f6e16695d0b559cdd4543dbeb68a46469
pages/interviews/index.erb
pages/interviews/index.erb
--- layout: default title: Interviews --- <h3>By date</h3> <ul class="years"> <% @site.archives.each do |year, data| %> <li> <a href="/interviews/<%= year %>/" title="View all interviews from <%= year %>."><strong><%= year %></strong></a> <ul class="months"> <% data[:months].each_key do |month| %> ...
--- layout: default title: Interviews --- <h3>By date</h3> <ul class="years"> <% @site.archives.each do |year, data| %> <li> <a href="/interviews/<%= year %>/" title="View all interviews in <%= year %>."><strong><%= year %></strong></a> <ul class="months"> <% %w{01 02 03 04 05 06 07 08 09 10 11 12}.each ...
Reorder the months, show a month for every year, even if we won't link to it (future months, missed one). Better link title for months.
Reorder the months, show a month for every year, even if we won't link to it (future months, missed one). Better link title for months.
HTML+ERB
mit
holman/usesthis,waferbaby/usesthis,MjAbuz/usesthis,ivuk/usesthis,ivuk/usesthis,orta/usesthis,holman/usesthis,waferbaby/usesthis,MjAbuz/usesthis,MjAbuz/usesthis,orta/usesthis
660e86ac5b551dd29f43197396c4b18c0736c7c8
lib/requirejs/rails/rjs_driver.js.erb
lib/requirejs/rails/rjs_driver.js.erb
//Load the requirejs optimizer var requirejs = require('<%= rjs_path %>'), //Set up basic config, include config that is //common to all the optimize() calls. baseConfig = <%= modifiedHash = build_config.select {|k, _| k != "modules"} pathsHash = modifiedHash["paths"] modifiedHash["dir"] = self.target...
//Load the requirejs optimizer var requirejs = require('<%= rjs_path %>'), //Set up basic config, include config that is //common to all the optimize() calls. baseConfig = <%= modifiedHash = build_config.select {|k, _| k != "modules"} pathsHash = modifiedHash["paths"] modifiedHash["dir"] = self.target...
Fix invalid dir value in build config.
Fix invalid dir value in build config. Convert target_dir path config to a string to ensure json structure is valid. Closes #165.
HTML+ERB
mit
tributech/requirejs-rails,tributech/requirejs-rails,tributech/requirejs-rails,tributech/requirejs-rails
0b5ed31b540d5fe1c853952e6d3f72ece0cd5a11
app/views/radius/_corporate_bar.html.erb
app/views/radius/_corporate_bar.html.erb
<div id="corporate_bar"> <div class="corporate-bar-content"> <span class="corporate-bar-brand"> <a href="http://www.radiusnetworks.com"> <img height="15" src="<%= image_path("corporate-bar-logo.png") %>"> Radius Networks </a> </span> <ul class="corporate-bar-nav" style="float:r...
<div id="corporate_bar"> <div class="corporate-bar-content"> <span class="corporate-bar-brand"> <a href="http://www.radiusnetworks.com"> <img height="15" src="<%= image_path("corporate-bar-logo.png") %>"> Radius Networks </a> </span> <ul class="corporate-bar-nav" style="float:r...
Add teams to corporate bar
Add teams to corporate bar Because it is one of the most used/needed items on the account server. Also used the url helper to point the links to the proper instance of Kracken.
HTML+ERB
mit
RadiusNetworks/radius-rails,RadiusNetworks/radius-rails,RadiusNetworks/radius-rails,RadiusNetworks/radius-rails,RadiusNetworks/radius-rails
813cd3ac1512e98598646863b9b168b314978c8a
views/index.erb
views/index.erb
<h2>Welcome to Pizza Shop!</h2> <br> <div class="row"> <%@products.each do |p|%> <div class="col-md-4"> <div class="h4"><%=p.title%></div> <div><img src="<%=p.path_to_image%>" width="350"></div> <div class="text-center"><%=p.description%></div> <p>Size: <%=p.size%></p> <p>Price: <%=p...
<h2>Welcome to Pizza Shop!</h2> <br> <div class="row"> <%@products.each do |p|%> <div class="col-md-4"> <div class="h4"><%=p.title%></div> <div><img src="<%=p.path_to_image%>" width="350"></div> <div class="text-center"><%=p.description%></div> <p>Size: <%=p.size%></p> <p>Price: <%=p...
Add button "add to cart"
Add button "add to cart"
HTML+ERB
mit
inzoddwetrust/pizzashop,inzoddwetrust/pizzashop,inzoddwetrust/pizzashop
12bf93dea0eec2dfc4b1cf8023a912c5a4cc3d0d
profile/templates/network/pf.conf.erb
profile/templates/network/pf.conf.erb
# # This file is managed by puppet! # # # Options # set limit { states 1500000, frags 500000, src-nodes 100000 } set timeout { adaptive.start 0, adaptive.end 0 } set optimization conservative set skip on lo0 nat pass on vtnet1 from <%= scope.function_hiera(['netcfg_priv_network']) %> to any -> <%= scope.function_hi...
Add pf template for nat gw
Add pf template for nat gw
HTML+ERB
apache-2.0
norcams/himlar,mikaeld66/himlar,mikaeld66/himlar,raykrist/himlar,raykrist/himlar,norcams/himlar,norcams/himlar,tanzr/himlar,TorLdre/himlar,tanzr/himlar,tanzr/himlar,TorLdre/himlar,eckhart/himlar,tanzr/himlar,norcams/himlar,mikaeld66/himlar,TorLdre/himlar,TorLdre/himlar,mikaeld66/himlar,raykrist/himlar,eckhart/himlar,ra...
c861c6c5cd60b92220d87ef37ff63bf9ca530b75
profile/templates/network/pf.conf.erb
profile/templates/network/pf.conf.erb
# # This file is managed by puppet! # trp_if = <%= @interface_trp1 %> set limit { states 1500000, frags 500000, src-nodes 100000 } set timeout { adaptive.start 0, adaptive.end 0 } set optimization conservative set skip on lo0 # sNAT traffic on public interface nat pass on $trp_if from 0.0.0.0/0 to !<%= @network_trp1...
# # This file is managed by puppet! # trp_if = <%= @interface_trp1 %> set limit { states 1500000, frags 500000, src-nodes 100000 } set timeout { adaptive.start 0, adaptive.end 0 } set optimization conservative set skip on lo0 # sNAT traffic on public interface nat pass on $trp_if from 0.0.0.0/0 to !<%= @network_trp1...
Add established filter for NAT
Add established filter for NAT
HTML+ERB
apache-2.0
mikaeld66/himlar,eckhart/himlar,norcams/himlar,raykrist/himlar,TorLdre/himlar,TorLdre/himlar,eckhart/himlar,norcams/himlar,mikaeld66/himlar,raykrist/himlar,mikaeld66/himlar,tanzr/himlar,TorLdre/himlar,tanzr/himlar,tanzr/himlar,norcams/himlar,raykrist/himlar,TorLdre/himlar,tanzr/himlar,raykrist/himlar,norcams/himlar,eck...
eaa44178fca77e8c854ac85bd46dd1dda07e614a
app/views/patients/edit.html.erb
app/views/patients/edit.html.erb
<div class="box editPatientBox"> <h1>Edit Patient Information</h1> <%= form_for @patient do |f| %> <%= f.text_field :first_name %> <%= f.text_field :last_name %> <%= f.select(:gender, options_for_select(["Gender", "Male", "Female"], disabled: "Gender", selected: 'Gender')) %> <%= f.text_field :birt...
<div class="box editPatientBox"> <h1>Edit Patient Information</h1> <%= form_for @patient do |f| %> <%= f.text_field :first_name %> <%= f.text_field :last_name %> <%= f.select(:gender, options_for_select(["Gender", "Male", "Female"], disabled: "Gender", selected: 'Gender')) %> <%= f.text_field :birt...
Add email_field to edit patient form
Add email_field to edit patient form
HTML+ERB
mit
jorgerc85/rails-etherapytrackr,jorgerc85/rails-etherapytrackr,jorgerc85/rails-etherapytrackr
54e07d7b5566732861fc6d8751cea1c94bf137a8
app/views/projects/index.csv.erb
app/views/projects/index.csv.erb
<% require 'csv' -%> <%= CSV.generate_line(Project.column_names) -%> <%- @projects.each do |project| -%> <%= raw CSV.generate_line(Project.column_names.map {|c| project[c]}) -%> <%- end -%>
Add CSV output for /projects
Add CSV output for /projects I want to make it easy to analyze data - directly supporting CSV helps. Signed-off-by: David A. Wheeler <9ae72d22d8b894b865a7a496af4fab6320e6abb2@dwheeler.com>
HTML+ERB
mit
taylorcoursey/cii-best-practices-badge,linuxfoundation/cii-best-practices-badge,coreinfrastructure/best-practices-badge,linuxfoundation/cii-best-practices-badge,jdossett/cii-best-practices-badge,yannickmoy/cii-best-practices-badge,jdossett/cii-best-practices-badge,wanganyv/cii-best-practices-badge,coreinfrastructure/be...
e3c900f33e291a55f9cc53c92806548f971e7638
app/views/shared/_focus.html.erb
app/views/shared/_focus.html.erb
<script type="text/javascript" charset="utf-8"> Event.observe(window, 'load', function() { if ($('<%= focus %>') && $('<%= focus %>').visible()) { $('<%= focus %>').focus(); $('<%= focus %>').select(); } }); </script>
<script type="text/javascript" charset="utf-8"> <!-- Event.observe(window, 'load', function() { if ($('<%= focus %>') && $('<%= focus %>').visible()) { $('<%= focus %>').activate(); } }); // --> </script>
Make focus JS XHTML valid
Make focus JS XHTML valid
HTML+ERB
mit
scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails
dd2646122915e148f23a26bc7c8fcee076311bbc
app/views/repos/index.html.erb
app/views/repos/index.html.erb
<h1>Listing repos</h1> <table> <thead> <tr> <th>Name</th> </tr> </thead> <tbody> <% @repos.each do |repo| %> <tr> <td><%= link_to repo.full_name, issues_path(org: repo_full_name_to_org(repo.full_name), repo: repo_full_name_to_name(repo.full_name)) %></td> </tr> <% end %...
<h1>Listing repos</h1> <table class="table"> <thead> <tr> <th>Name</th> </tr> </thead> <tbody> <% @repos.each do |repo| %> <tr> <td><%= link_to repo.full_name, issues_path(org: repo_full_name_to_org(repo.full_name), repo: repo_full_name_to_name(repo.full_name)) %></td> </tr...
Add style to repos index
Add style to repos index
HTML+ERB
mit
ajsharma/monologue,ajsharma/monologue,ajsharma/monologue,ajsharma/monologue
826bcc7ec55daf529c611e3f33ed49ae026133b6
app/views/metadata_fields/_medical_safety_alerts.html.erb
app/views/metadata_fields/_medical_safety_alerts.html.erb
<%= render layout: "shared/form_group", locals: { f: f, field: :alert_type } do %> <%= f.select :alert_type, f.object.facet_options(:alert_type), { include_blank: true }, { class: 'form-control' } %> <% end %> <%= render layout: "shared/form_group", locals: { f: f, fiel...
<%= render layout: "shared/form_group", locals: { f: f, field: :alert_type, label: "Message type" } do %> <%= f.select :alert_type, f.object.facet_options(:alert_type), { include_blank: true }, { class: 'form-control' } %> <% end %> <%= render layout: "shared/form_group...
Update labels on MHRA's Medical safety alerts form
Update labels on MHRA's Medical safety alerts form Changes label from 'Alert type' to 'Message type' https://govuk.zendesk.com/agent/tickets/4893256
HTML+ERB
mit
alphagov/specialist-publisher,alphagov/specialist-publisher,alphagov/specialist-publisher
905bf96fb9f51dc070318f401b6f3cd97e649981
app/assets/stylesheets/_enhanced.scss.erb
app/assets/stylesheets/_enhanced.scss.erb
@import 'lib/grid'; @import 'lib/variables'; @import 'lib/functions'; @import 'lib/mixins'; @import 'lib/placeholders'; @import 'utilities/visually_hidden'; @import 'layout/common'; @import 'layout/pages'; <% if Rails.env.development? %> @import 'dev_tools/debug'; <% end %> //atoms @import 'components/intro'; @im...
@import 'lib/grid'; @import 'lib/variables'; @import 'lib/functions'; @import 'lib/mixins'; @import 'lib/placeholders'; @import 'utilities/visually_hidden'; @import 'layout/common'; @import 'layout/pages'; <% if Rails.env.development? %> @import 'dev_tools/debug'; <% end %> //atoms @import 'components/intro'; @im...
Add footer opt out styles to index file
Add footer opt out styles to index file
HTML+ERB
mit
moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend
2e292b8bfb693ebd3d954d136b33742e2e27356a
app/views/layouts/survey_builder.html.erb
app/views/layouts/survey_builder.html.erb
<!DOCTYPE html> <html> <head> <title><%= t("app_name") %></title> <%= render partial: "layouts/include_links" %> </head> <body> <div id="header"> <div class="navbar-header header-container"> <div id="site-title"> <% if current_user %> <%= link_to campaigns_path, ...
<!DOCTYPE html> <html> <head> <title><%= t("app_name") %></title> <%= render partial: "layouts/include_links" %> </head> <body> <div id="header"> <div class="navbar-header header-container"> <div id="branding"> <% if current_user %> <%= link_to campaigns_path, cl...
Fix header logo ID in builder
Fix header logo ID in builder
HTML+ERB
mit
c4fcm/Promise-Tracker-Builder,c4fcm/Promise-Tracker-Builder,c4fcm/Promise-Tracker-Builder
89e312465affc110ad9e5b3987d4a49e3644fe35
app/views/partial/navbar/_graphs.html.erb
app/views/partial/navbar/_graphs.html.erb
<div class="btn-group"> <% navbar_buttons(:graph, ["standard","stacked","horizon"]).each do |a| %> <%= a.html_safe %> <% end %> </div>
<div class="btn-group"> <% navbar_buttons(:graph, ["standard","stacked","horizon"]).each do |a| %> <%= a.html_safe %> <% end %> </div> <% if get_param(:graph) == "stacked" %> <div class="btn-group"> <% navbar_dropdown(:render, ["line","area","bar"], {label: true}).each do |a| %> <%= a.html_safe %> <% end %> </...
Add button to toggle renderer if graph is stacked
Add button to toggle renderer if graph is stacked
HTML+ERB
bsd-3-clause
glasnt/machiavelli,machiavellian/machiavelli,machiavellian/machiavelli,glasnt/machiavelli,machiavellian/machiavelli,machiavellian/machiavelli,glasnt/machiavelli,glasnt/machiavelli
35a7a05801c20b4e04b1c722fb44e9160a9aa255
app/cells/post/form.erb
app/cells/post/form.erb
<%= form_for(@post_form, format:'json', remote:true) do |f| %> <% if @post_form.new_topic? %> <%= f.hidden_field :board_id %> <% else %> <%= f.hidden_field :topic_id %> <% end %> <% if @post_form.new_topic? %> <div class="field"> <%= f.label :title %> <%= f.text_field :title %> </di...
<%= form_for(@post_form, format:'json', remote:true, data:{type: :json}) do |f| %> <% if @post_form.new_topic? %> <%= f.hidden_field :board_id %> <% else %> <%= f.hidden_field :topic_id %> <% end %> <% if @post_form.new_topic? %> <div class="field"> <%= f.label :title %> <%= f.text_fiel...
Fix Rails remote file upload not returning JSON bug.
Fix Rails remote file upload not returning JSON bug. https://github.com/JangoSteve/remotipart/issues/85#issuecomment-58162242
HTML+ERB
mit
masolin/mei,lulalala/mei,nicoNaN/mei,masolin/mei,masolin/mei,lulalala/mei,nicoNaN/mei,lulalala/mei,nicoNaN/mei
b769a4969bb470101610103f6865f5b8330993f8
app/views/admin/form_inputs/_status.html.erb
app/views/admin/form_inputs/_status.html.erb
<% if record.statusable? %> <% date_label = local_assigns.fetch(:date_label, 'Published date') %> <div class="status-scheduler"> <%= f.input :status, as: :select, collection: record.class.statuses_for_select.collect { |k, v| [k.titleize, k] }, include_blank: false %> <% if record.respond_to?(:published_date...
<% if record.statusable? %> <% date_label = local_assigns.fetch(:date_label, 'Published date') %> <div class="status-scheduler form-group"> <%= f.input :status, as: :select, collection: record.class.statuses_for_select.collect { |k, v| [k.titleize, k] }, include_blank: false %> <% if record.respond_to?(:pub...
Add form-group class to status scheduler wrapper
Add form-group class to status scheduler wrapper
HTML+ERB
mit
dylanfisher/forest,dylanfisher/forest,dylanfisher/forest
4bc17c6f0db12bc189abbc8854c19666004b0a81
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>Monster Cards</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 class="bg-black ...
<!DOCTYPE html> <html lang="en"> <head> <title>Monster Cards</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <%= csrf_meta_tags %> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> <%= javascript_include_tag 'application', 'd...
Add appropriate viewport zoom level
Add appropriate viewport zoom level
HTML+ERB
mit
evangillespie/monsterCards,evangillespie/monsterCards,evangillespie/monsterCards
3292ec49e2b536fbd460d7764123f5fc7e271a1f
templates/default/systemd/default.erb
templates/default/systemd/default.erb
[Unit] Description=<%= @daemon_name %> daemon [Service] User=<%= @user %> EnvironmentFile=<%= @env_path %> ExecStart=/bin/bash $KAFKA_RUN $KAFKA_ARGS $KAFKA_CONFIG TimeoutSec=10 <% if node.kafka.ulimit_file %> LimitNOFILE=<%= node.kafka.ulimit_file -%> <% end %> [Install] WantedBy=multi-user.target
[Unit] Description=<%= @daemon_name %> daemon [Service] User=<%= @user %> EnvironmentFile=<%= @env_path %> ExecStart=/bin/bash $KAFKA_RUN $KAFKA_ARGS $KAFKA_CONFIG TimeoutSec=10 <% if node.kafka.ulimit_file %> LimitNOFILE=<%= node.kafka.ulimit_file %> <% end %> [Install] WantedBy=multi-user.target
Fix missing newline in systemd service template
Fix missing newline in systemd service template
HTML+ERB
apache-2.0
mthssdrbrg/kafka-cookbook,mthssdrbrg/kafka-cookbook,mthssdrbrg/kafka-cookbook
3925237b35e78f20797c1d528a3e9d60e58ac401
app/views/projects/index.html.erb
app/views/projects/index.html.erb
<h2>Welcome, <%= current_user.github_username %></h2> <hr> <br> <% Project.all.each do |project| %> <p> Project name: <%= project.name %> </p> <p> Project Description: <%= project.description %> </p> <p> Contact person: <%= project.contact %> </p> <% if current_user == project.user %> <%=...
<br> <% Project.all.each do |project| %> <p> Project name: <%= project.name %> </p> <p> Project Description: <%= project.description %> </p> <p> Contact person: <%= project.contact %> </p> <% if current_user == project.user %> <%= link_to 'Edit', edit_project_path(project) %> <% end %> ...
Delete buggy welcome from home page
Delete buggy welcome from home page
HTML+ERB
mit
andyfoster/the-wall,andyfoster/the-wall,Railsn00bs/the-wall,Railsn00bs/the-wall,Railsn00bs/the-wall,andyfoster/the-wall
a836f8f2544cccfbca3fd6ca6490013866cf18a8
app/views/layouts/_email_attachment.html.erb
app/views/layouts/_email_attachment.html.erb
<!DOCTYPE html> <html lang="en"> <head> <style> ol { counter-reset: section; list-style-type: none; } ol li { counter-increment: section; } ol li:before { content: counters(section, ".") ". "; } ol li p { display: inline-bl...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <style> ol { counter-reset: section; list-style-type: none; } ol li { counter-increment: section; } ol li:before { content: counters(section, ".") ". "; } ol li p {...
Mark T&C’s as utf-8 so £ sign appears correctly
Mark T&C’s as utf-8 so £ sign appears correctly
HTML+ERB
mit
theodi/member-directory,theodi/member-directory,theodi/member-directory
c337323ebe97245302db7073b0aad8268470752f
resources/bootstrap/debian-9.erb
resources/bootstrap/debian-9.erb
#!/bin/bash -x # Bootstrap for Debian 9 stable (stretch) # Uses distribution-supplied Puppet version (4.8.x) ( exec 1> >(logger -s -t user-data) 2>&1 export DEBIAN_FRONTEND=noninteractive apt-get update apt-get -y upgrade apt-get install -y puppet ruby ruby-dev zlib1g-dev libxml2-dev gcc make patch gnupg2 gem insta...
Add bootstrap template for Debian-9
Add bootstrap template for Debian-9
HTML+ERB
apache-2.0
jethrocarr/pupistry,jethrocarr/pupistry,jethrocarr/pupistry
fa5e3de27caa0bafc3e09af525d0ff54727c2989
views/index.erb
views/index.erb
<h2>Список наших парикмахеров.</h2> <% @barbers.each do |barber| %> <p> <%= barber.name %> </p> <% end %>
<h2>Список наших парикмахеров.</h2> <% @barbers.each do |barber| %> <p> <a href="/barber/<%= barber.id %>"><%= barber.name %></a> </p> <% end %>
Make link "barbers/id" on main page/
Make link "barbers/id" on main page/
HTML+ERB
mit
evilgen/EK_BarbeShop,evilgen/EK_BarbeShop,evilgen/EK_BarbeShop
4d1dba520a6cda5d48f4a425ae36fadfca6610e4
app/views/mailers_common/_booking_rejection.text.erb
app/views/mailers_common/_booking_rejection.text.erb
Dear <%= @visit.visitors.first.first_name %>, <% case @confirmation.outcome %> <% when Confirmation::NO_SLOT_AVAILABLE %> We’re sorry but none of the dates and times you chose to visit <%= @visit.prisoner.first_name %> <%= initial ? @visit.prisoner.last_initial : @visit.prisoner.last_name %> at <%= @visit.prisoner.pr...
Dear <%= @visit.visitors.first.first_name %>, <% case @confirmation.outcome %> <% when Confirmation::NO_SLOT_AVAILABLE %> We’re sorry but none of the dates and times you chose to visit <%= @visit.prisoner.first_name %> <%= initial ? @visit.prisoner.last_initial : @visit.prisoner.last_name %> at <%= @visit.prisoner.pr...
Add requested time and alternatives to rejection email
Add requested time and alternatives to rejection email
HTML+ERB
mit
matharden/prison-visits,ministryofjustice/prison-visits,matharden/prison-visits,matharden/prison-visits,ministryofjustice/prison-visits,ministryofjustice/prison-visits
a9c07ccb2750a99a13572d41155a5b86d832deba
app/flows/marriage_abroad_flow/outcomes/countries/peru/uk/partner_other/_same_sex.erb
app/flows/marriage_abroad_flow/outcomes/countries/peru/uk/partner_other/_same_sex.erb
You may be able to register a civil partnership or get married at the British embassy or consulate in Peru. [Make an appointment at the embassy in Lima.](https://www.book-consular-appointment.service.gov.uk/TimeSelection?location=125&service=10) ##What documents you’ll need You need to have been living in Peru for 2...
It’s not possible to get legal recognition for your same-sex relationship in Peru.
Remove same-sex option for Peru - UK, other 1
Remove same-sex option for Peru - UK, other 1
HTML+ERB
mit
alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers
c60c9a73c69cf20ab2d8d85e6d9c676baedd6fb6
modules/puppet/templates/etc/puppet/puppet.conf.erb
modules/puppet/templates/etc/puppet/puppet.conf.erb
[main] preferred_serialization_format = yaml pluginsync = true lastrunfile = $statedir/last_run_summary.yaml { mode = 644 } <% if govuk_platform == 'development' %> modulepath = /var/govuk/puppet/modules manifestdir = /var/govuk/puppet/manifests <% else %> [agent] report = false configtimeout = 600 [master] reports =...
[main] preferred_serialization_format = yaml pluginsync = true lastrunfile = $statedir/last_run_summary.yaml { mode = 644 } <%- if govuk_platform == 'development' -%> modulepath = /var/govuk/puppet/modules manifestdir = /var/govuk/puppet/manifests <%- end -%> [master] reports = store storeconfigs = true storeconfigs_b...
Make it easier to test puppet master in dev VM
Make it easier to test puppet master in dev VM
HTML+ERB
mit
alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet
c88bcaf1d32440b5ae8d3092e92237e36d940c15
lib/views/general/_frontpage_bodies_list.html.erb
lib/views/general/_frontpage_bodies_list.html.erb
<%- popular_bodies = PublicBody.popular_bodies(@locale) %> <% if popular_bodies.size > 0 %> <div id="examples_0" class="bodies-list"> <h3><%= _("Who can I request information from?") %></h3> <h4><%= _("{{site_name}} covers requests to {{number_of_authorities}} authorities, including:", :site_name => s...
<%- popular_bodies = PublicBody.popular_bodies(@locale) %> <% if popular_bodies.size > 0 %> <div id="examples_0" class="bodies-list"> <h3><%= _("Who can I request information from?") %></h3> <h4><%= _("{{site_name}} covers requests to {{number_of_authorities}} authorities, including:", :site_name => s...
Make the 'browse all authorities' link on homepage a button
Make the 'browse all authorities' link on homepage a button
HTML+ERB
mit
mysociety/whatdotheyknow-theme,mysociety/whatdotheyknow-theme,schlos/whatdotheyknow-theme,mysociety/whatdotheyknow-theme,schlos/whatdotheyknow-theme
57e0d6f2cae54d76a9894170a6b3b48c35cc8ff8
lib/react/config.rb.erb
lib/react/config.rb.erb
if RUBY_ENGINE != 'opal' module React module Config extend self def environment=(value) config[:environment] = value end def config @config ||= default_config end def default_config { environment: ENV['RACK_ENV'] || 'development' } ...
Add universal / isormorphic React::Config
Add universal / isormorphic React::Config
HTML+ERB
mit
ruby-hyperloop/hyper-react,reactrb/reactrb,ruby-hyperloop/hyper-react,reactrb/reactrb,ruby-hyperloop/hyper-react
3b58d006054117aa086dbd822939fa0db68f93a0
_footer.html.erb
_footer.html.erb
<div id="footer"> <div class="footer-holder"> <ul class="footer-nav"> <li><%= link_to _("Contact {{site_name}}", :site_name => site_name), help_contact_path %></li> <li><a href="/help/conditions">Conditions d'utilisation</a></li> <!-- <li class="twitter"><a href="https://twitter.com/<%= Alavetel...
Fix footer (Stéphane's content but works with the new theme).
Fix footer (Stéphane's content but works with the new theme).
HTML+ERB
mit
opennorth-archive/alavetelitheme
9c806e89a261c0b4b46780f9d0bcab71947d188f
app/views/catalog/_pagination.html.erb
app/views/catalog/_pagination.html.erb
<% options = {params: {controller: :catalog, action: :index, profile: profile.identifier}} if @use_show_more options[:previous_label] = '' options[:next_label] = _('Show more') options[:page_links] = false end %> <% if @products.current_page < @products.total_pages %> <%= pagination_links @products,...
<% options = {params: {controller: :catalog, action: :index, profile: profile.identifier}} if @use_show_more options[:previous_label] = '' options[:next_label] = _('Show more')+'&hellip;' options[:page_links] = false end %> <% if @products.current_page < @products.total_pages %> <%= pagination_links...
Add ellipsis to see more
Add ellipsis to see more
HTML+ERB
agpl-3.0
blogoosfero/noosfero,EcoAlternative/noosfero-ecosol,samasti/noosfero,samasti/noosfero,samasti/noosfero,coletivoEITA/noosfero-ecosol,CIRANDAS/noosfero-ecosol,blogoosfero/noosfero,blogoosfero/noosfero,blogoosfero/noosfero,samasti/noosfero,samasti/noosfero,EcoAlternative/noosfero-ecosol,coletivoEITA/noosfero-ecosol,EcoAlt...
d11116290f8fca3904800206dafbba9f63ce6702
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 %> <...
Replace sections with role=main with main element
Replace sections with role=main with main element
HTML+ERB
mit
alphagov/business-support-finder,alphagov/business-support-finder,alphagov/business-support-finder,alphagov/business-support-finder
41e8afafdb801b506219e50982f7899e3d1f2e5a
app/views/news_articles/index.html.erb
app/views/news_articles/index.html.erb
<div id="content-wrapper"> <div id="single-column-wrapper"> <div id="content"> <p id="notice"><%= notice %></p> <h1>Listing News Articles</h1> <table> <thead> <tr> <th>Title</th> <th>Content</th> <th>Image url</th> <...
<div id="content-wrapper"> <div id="single-column-wrapper"> <div id="content"> <p id="notice"><%= notice %></p> <h1>Listing News Articles</h1> <table> <thead> <tr> <th>Title</th> <th>Content</th> <th>Image url</th> <...
Add cancancan access control to news articles index view.
Add cancancan access control to news articles index view.
HTML+ERB
mit
CollegeSTAR/collegestar_org,CollegeSTAR/collegestar_org,CollegeSTAR/collegestar_org
99f429aef4e876f974fa22f9c3638629bf56cd7e
templates/default/fulldoc/html/full_list_file.erb
templates/default/fulldoc/html/full_list_file.erb
<% n = 1 %> <% @items.each do |item| %> <li class="r<%= n %>"><%= link_file item %></li> <% n = n == 2 ? 1 : 2 %> <% end %>
Add missing file from last commit
Add missing file from last commit
HTML+ERB
mit
lsegal/yard,alexdowad/yard,alexdowad/yard,jreinert/yard,amclain/yard,ohai/yard,herosky/yard,jreinert/yard,amclain/yard,amclain/yard,lsegal/yard,thomthom/yard,lsegal/yard,iankronquist/yard,iankronquist/yard,jreinert/yard,ohai/yard,thomthom/yard,thomthom/yard,iankronquist/yard,alexdowad/yard,ohai/yard,herosky/yard,herosk...
5d6dfeae7999e3a2f65d05f4eb47ca15313cf339
app/views/request/_request_listing_single.html.erb
app/views/request/_request_listing_single.html.erb
<div class="request_listing"> <span class="head"> <%= link_to h(info_request.title), request_path(info_request).html_safe %> </span> <span class="desc"> <%= excerpt(info_request.initial_request_text, "", 150) %> </span> <span class="bottomline icon_<%= info_request.calculate_status %>"> <st...
<div class="request_listing"> <span class="head"> <%= link_to h(info_request.title), (@play_urls ? categorise_request_path(:url_title => info_request.url_title) : request_path(info_request)) %> </span> <span class="desc"> <%= excerpt(info_request.initial_request_text, "", 150) %> </span> <span clas...
Fix request categorisation links post merge
Fix request categorisation links post merge
HTML+ERB
agpl-3.0
4bic/alaveteli,nzherald/alaveteli,4bic/alaveteli,obshtestvo/alaveteli-bulgaria,obshtestvo/alaveteli-bulgaria,datauy/alaveteli,nzherald/alaveteli,Br3nda/alaveteli,petterreinholdtsen/alaveteli,petterreinholdtsen/alaveteli,andreicristianpetcu/alaveteli_old,obshtestvo/alaveteli-bulgaria,4bic/alaveteli,nzherald/alaveteli,an...
93487b0baae0cca5bb3b7cd6c0bda6eb5d3438ee
app/views/locations/invalid_postcode.html.erb
app/views/locations/invalid_postcode.html.erb
<% content_for(:page_title, 'Find a face-to-face appointment location - Pension Wise') %> <h1>Find a face-to-face appointment location</h1> <p class="t-invalid-postcode"><strong><%= @postcode.squish %></strong> is not a valid postcode. Please try again.</p> <form action="/locations" method="get"> <label class="for...
<% content_for(:page_title, 'Find a face-to-face appointment location - Pension Wise') %> <h1>Find a face-to-face appointment location</h1> <form action="/locations" method="get"> <div class="form-group error"> <label class="form-label-bold" for="location">Postcode <span class="form-hint"> For exa...
Make it clear that user has input invalid postcode
Make it clear that user has input invalid postcode
HTML+ERB
mit
guidance-guarantee-programme/pension_guidance,guidance-guarantee-programme/pension_guidance,guidance-guarantee-programme/pension_guidance
4064fea1e5ba931fd5524612145d3b4816387be4
app/views/dashboard/show.html.erb
app/views/dashboard/show.html.erb
<% content_for :action_title, t("dashboard.index.title") %> <% if current_editable?(proposal) %> <%= link_to t("dashboard.index.edit_proposal_link"), edit_proposal_path(proposal), target: "_blank", class: "button hollow" %> <% end %> <% if can_destroy_image?(proposal) %> ...
<% content_for :action_title, t("dashboard.index.title") %> <% if current_editable?(proposal) %> <%= link_to t("dashboard.index.edit_proposal_link"), edit_proposal_path(proposal), target: "_blank", class: "button hollow" %> <% end %> <% unless proposal.retired? %> <%= lin...
Remove button to remove image
Remove button to remove image This image still can be removed with edit button.
HTML+ERB
agpl-3.0
consul/consul,consul/consul,AyuntamientoPuertoReal/decidePuertoReal,usabi/consul_san_borondon,consul/consul,AyuntamientoPuertoReal/decidePuertoReal,usabi/consul_san_borondon,usabi/consul_san_borondon,consul/consul,AyuntamientoPuertoReal/decidePuertoReal,usabi/consul_san_borondon,consul/consul
c6d4674f1f20f06d78a94aedb35d25f82002c5bc
app/views/patients/_card.html.erb
app/views/patients/_card.html.erb
<% cache [I18n.locale, @patient] do %> <div class="panel" id="summary"> <%= avatar_icon(@patient) %> <h4><%= link_to full_name(@patient), patient_path(@patient) %></h4> <div> <%= @patient.identifier %><br /> <%= age(@patient.birthdate) %> </div> <div> <% if @patient.address.pre...
<% cache [I18n.locale, @patient] do %> <div class="panel" id="summary"> <%= avatar_icon(@patient) %> <h4><%= link_to full_name(@patient), patient_path(@patient) %></h4> <div> <%= @patient.identifier %><br /> <%= age(@patient.birthdate) %> </div> <div> <% if @patient.address.pre...
Add tel URI (RFC 5341)
Add tel URI (RFC 5341)
HTML+ERB
mit
Labtec/OpenLIS,Labtec/OpenLIS,Labtec/OpenLIS