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
63e490d378c2d921d8bf7f3260f77f3c874b2330
app/views/application/_save_button.html.erb
app/views/application/_save_button.html.erb
<% if user_logged_in? %> <%= form_tag(favorite_stories_path( story.id ), method: :get, value: "true", class: 'inline') do %> <%= submit_tag ' | Save', class: 'save_button' %> <% end %> <% end %>
<% if user_logged_in? %> <% if story.favorited == "true" %> <%= form_tag(favorite_stories_path( story.id ), method: :get, value: "false", class: 'inline') do %> <%= submit_tag ' | Unsave', class: 'save_button' %> <% end %> <% else %> <%= form_tag(favorite_stories_path( story.id ), method: :get, va...
Add 'unsave' button to 'save', tweak variables
Add 'unsave' button to 'save', tweak variables
HTML+ERB
mit
jasonpettus/evening-edition,jasonpettus/evening-edition,jasonpettus/evening-edition
0ab3e3268d5fc8f33562a657c1ea69ee4aa96e53
app/views/signatures/unsubscribe.html.erb
app/views/signatures/unsubscribe.html.erb
<% if @signature.already_unsubscribed? %> <h1>Already unsubscribed</h1> <p>You have already unsubscribed from future email updates on this petition.</p> <% elsif @signature.invalid_unsubscribe_token? %> <h1>Failed to unsubscribe</h1> <p>Failed to unsubscribe. Your unsubscription token is invalid.</p> <% else %>...
<% if @signature.already_unsubscribed? %> <h1>Already unsubscribed from this petition</h1> <p>You have already unsubscribed from email updates about this petition.</p> <% elsif @signature.invalid_unsubscribe_token? %> <h1>Failed to unsubscribe</h1> <p>Your unsubscribe link is invalid.</p> <% else %> <h1>Succe...
Update unsubscribe confirmation screen to be more specific
Update unsubscribe confirmation screen to be more specific
HTML+ERB
mit
alphagov/e-petitions,oskarpearson/e-petitions,oskarpearson/e-petitions,alphagov/e-petitions,unboxed/e-petitions,joelanman/e-petitions,joelanman/e-petitions,alphagov/e-petitions,StatesOfJersey/e-petitions,StatesOfJersey/e-petitions,oskarpearson/e-petitions,joelanman/e-petitions,unboxed/e-petitions,StatesOfJersey/e-petit...
7ca00345a9ac9de0efd74f2e059d0eed479d2caf
app/views/devise/passwords/new.html.erb
app/views/devise/passwords/new.html.erb
<h1>Request a passphrase reset</h1> <%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :post, :class => 'well' }) do |f| %> <div class="alert alert-warning" style="color: black;"> <p> <strong>Update: 11:15 GMT, Thursday 7th March</strong><br> We ...
<h1>Request a passphrase reset</h1> <%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :post, :class => 'well' }) do |f| %> <div class="alert alert-warning" style="color: black;"> <p> If you haven't changed your passphrase since 8pm on Wednesday 6th Ma...
Remove message about email deliverability problems
Remove message about email deliverability problems
HTML+ERB
mit
alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2
b4711134535b4ea5ec7ede0bed87ec7ca9671b6e
app/views/hits/_category_title.html.erb
app/views/hits/_category_title.html.erb
<h3 class="add-vertical-margins"> <% if category.hits.count == 1 %> <%= category.hits.length %> <%= category.title.singularize %> <% elsif category.hits.length >= 2 and category.hits.length < 10 %> <%= category.hits.length %> <%= category.title %> <% else %> Top <%= category.hits.length %> <%= categor...
<h3 class="add-vertical-margins"> <% if category.hits.length == 1 %> <%= category.hits.length %> <%= category.title.singularize %> <% elsif category.hits.length >= 2 and category.hits.length < 10 %> <%= category.hits.length %> <%= category.title %> <% else %> Top <%= category.hits.length %> <%= catego...
Stop ActiveRecord generating nonsense SQL with .count
Stop ActiveRecord generating nonsense SQL with .count A bare count on a query which selects specific fields instead of * is turned into invalid SQL by ActiveRecord. This is newly documented: https://github.com/rails/rails/commit/3023363fff502487740bd0b83a3069320551ec96 When we're selecting only some fields, .coun...
HTML+ERB
mit
alphagov/transition,alphagov/transition,alphagov/transition
7ce906bd29a411fce5a98c7637a8b3cd7663a232
app/views/protected_areas/show.html.erb
app/views/protected_areas/show.html.erb
<div id="map"></div> <main> <section class="info-card"> <h2><%= @protected_area.name %></h2> <hr> <p><strong>Area of Outstanding Natural Beauty</strong> <a href="#">United Kingdom</a>, <a href="#">Europe</a> | Marine Area</p> <hr> <a href="#" class="btn">Download the WDPA d...
<div id="map"></div> <main> <section class="info-card"> <h2><%= @protected_area.name %></h2> <hr> <p><strong>Area of Outstanding Natural Beauty</strong> <a href="#">United Kingdom</a>, <a href="#">Europe</a> | Marine Area</p> <hr> <a href="#" class="btn btn-primary">Download the WDPA data...
Fix indentation of PA show view
Fix indentation of PA show view
HTML+ERB
bsd-3-clause
unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet
7d707a7d17efb336057e80a0ab659d88fcc53390
spec/rails_app/app/views/layouts/_breadcrumbs.html.erb
spec/rails_app/app/views/layouts/_breadcrumbs.html.erb
<% if has_breadcrumbs? %> <ul id='breadcrumbs'> <% breadcrumbs do |name, url, styles| %> <li class="<%= styles %>"> <%= link_to name, url %> <span><%= styles == 'selected' ? '' : '::' %></span> </li> <% end %> </ul> <% end %>
<% if breadcrumbs? %> <ul id='breadcrumbs'> <% breadcrumbs do |name, url, styles| %> <li class="<%= styles %>"> <%= link_to name, url %> <span><%= styles == 'selected' ? '' : '::' %></span> </li> <% end %> </ul> <% end %>
Fix partial to use new helper.
Fix partial to use new helper.
HTML+ERB
mit
piotrmurach/loaf,piotrmurach/loaf,piotrmurach/loaf,peter-murach/loaf,peter-murach/loaf,piotrmurach/loaf
280f2b56aed19180c52d14b8a2048b92a6d5d31a
app/views/sevenpages/pages/_form.html.erb
app/views/sevenpages/pages/_form.html.erb
<%= form_page_header('page') %> <%= error_messages_for(@page) %> <%= form_for @page do |f| %> <%= f.label :title %> <%= f.text_field :title, autofocus: true %> <%= f.label :slug %> <%= f.text_field :slug %> <%= f.label :content %> <%= f.text_area :content %> <label> <%= f.check_box :published %> Pub...
<%= form_page_header('page') %> <%= error_messages_for(@page) %> <%= form_for @page do |f| %> <%= f.label :title %> <%= f.text_field :title, autofocus: true %> <%= f.label :slug %> <%= f.text_field :slug %> <%= f.label :content %> <%= f.text_area :content, rows: 50 %> <label> <%= f.check_box :publis...
Change the default textarea size when editing a page
Change the default textarea size when editing a page
HTML+ERB
mit
sevenview/sevenpages,sevenview/sevenpages
a88608fe7287e82538670c8ec50e28ee3d1692c3
app/views/destinations/new.erb
app/views/destinations/new.erb
<h2>Add a social network</h2> <p>When you give us access to your social network accounts, we'll post your weekly creations to the authorized accounts with a message of your choice.</p> <p>If you don't contribute to the this-week folder when the week is up, we'll post a message that you can customize too!</p>
<h2>Add a social network</h2> <p>When you give us access to your social network accounts, we'll post your weekly creations to the authorized accounts with a message of your choice.</p> <p>If you don't contribute to the this-week folder when the week is up, we'll post a message!</p> <h3>Pick your network</h3> <u...
Add link to give Twitter access
Add link to give Twitter access
HTML+ERB
mit
kenworthyc/weeker,kenworthyc/weeker
a19c072e813658bba3d5f8c94595ffad263bf208
app/views/users/_form.html.erb
app/views/users/_form.html.erb
<%= form_for @user, layout: :inline do |f| %> <div class="panel"> <div class="row"> <div class="col-md-4"> <%= f.email_field :email %> <%= f.check_box :approved, label: "Approved?" %> </div> <div class="col-md-4"> <%= f.select :role, User::ROLES, {}, { class: "select select-primary", ...
<%= simple_form_for @user do |f| %> <%= f.error_notification %> <div clsas="container"> <div class="row"> <div class="col-md-4"> <%= f.input :email %> </div> </div> <%= f.input :approved, as: :boolean, boolean_style: :inline, label: "Approved?" %> <div class="row"> <div class="col-xs-...
Revert "replace simpleform on user view"
Revert "replace simpleform on user view" This reverts commit 0bc1593d87c3be044f13231bf408ab84bcf28d11.
HTML+ERB
mit
blackeaglejs/gluedb,blackeaglejs/gluedb,dchbx/gluedb,dchbx/gluedb,pbprograms/gluedb,pbprograms/gluedb,dchbx/gluedb,pbprograms/gluedb,blackeaglejs/gluedb,dchbx/gluedb,blackeaglejs/gluedb,pbprograms/gluedb
c81e12b23c65fb02f6203552533344eefe7c0dfc
app/views/comments/signal.js.erb
app/views/comments/signal.js.erb
$(".comment-not-signalled.number-<%= @comment.id %>").removeClass().addClass('comment-signalled').html(I18n.t('comment.signalled.already_signalled', { locale: gon.language })); NProgress.done(); <%= render 'elements/alert' %> <%= render 'elements/scroll_to' %>
$(".comment-not-signalled.number-<%= @comment.id %>").removeClass().addClass('comment-signalled').html(I18n.t('comment.signalled.already_signalled', { locale: gon.language })); NProgress.done(); <%= render 'elements/alert' %>
Remove scroll to top after signalling a comment
Remove scroll to top after signalling a comment
HTML+ERB
mit
lr-agenceweb/rails-starter,lr-agenceweb/rails-starter,lr-agenceweb/rails-starter,lr-agenceweb/rails-starter
7a964e87d22e568344010407a81e03b318f9d009
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 secret URL to the product page
Add secret URL to the product page
HTML+ERB
agpl-3.0
asm-products/bit-commerce,asm-products/bit-commerce,asm-products/bit-commerce
cc0dd55dfd0e4e85abb6f88b35513d211fb2ddc9
app/views/welcome/index.html.erb
app/views/welcome/index.html.erb
<% if current_user %> <div id="graph" style="width: 100%; height: 300px;"></div> <% else %> We have about <%= @users_count %> users using the system and <%= @tasks_count %> tasks registered in. <% end %> <% content_for :footer_javascripts do %> <% if current_user %> <% javascript_tag do %> var graph = ...
<% if current_user %> <div id="graph" style="width: 100%; height: 300px;"></div> <% else %> <p>We have about <%= @users_count %> users using the system and <%= @tasks_count %> tasks registered in.</p> <p>know more about the project at <%= link_to 'Github', 'https://github.com/eduardoschneiders/tasktracker/', targ...
Add github link at home
Add github link at home
HTML+ERB
mit
eduardoschneiders/tasktracker,eduardoschneiders/tasktracker,eduardoschneiders/tasktracker
f4d5629a8e93f30f54016af8cf871e3ded6399c8
templates/default/uwsgi/config.ini.erb
templates/default/uwsgi/config.ini.erb
[uwsgi] # Bind to the specified UNIX/TCP socket using default protocol <% if @use_tcp -%> socket = <%= @tcp_socket %> <% else -%> socket = <%= @unix_socket %> chmod-socket = 666 <% end -%> # chdir to specified directory before apps loading chdir = <%= @project_path %> # Load .wsgi file wsgi...
[uwsgi] # Bind to the specified UNIX/TCP socket using default protocol <% if @use_tcp -%> socket = <%= @tcp_socket %> <% else -%> socket = <%= @unix_socket %> chmod-socket = 666 <% end -%> # chdir to specified directory before apps loading chdir = <%= @project_path %> # Load .wsgi file wsgi...
Disable uWSGI's logger, runit handle the logging
Disable uWSGI's logger, runit handle the logging
HTML+ERB
apache-2.0
tandiljuan/cookbook-ngxmgdbpy,tandiljuan/cookbook-ngxmgdbpy,tandiljuan/cookbook-ngxmgdbpy,tandiljuan/cookbook-ngxmgdbpy
c7887f0c880b557acf9990458b0893058373e5ff
templates/sentry-worker.service.erb
templates/sentry-worker.service.erb
[Unit] Description=Sentry Worker After=network.target [Service] User=<%= @user %> Group=<%= @group %> Type=simple Environment=VIRTUAL_ENV="<%= @path %>" Environment=PATH="$VIRTUAL_ENV/bin:$PATH" WorkingDirectory=<%= @path %> ExecStart=<%= @path %>/bin/sentry --config=<%= @path %> run worker -f /var/log/sentry/sentry-w...
[Unit] Description=Sentry Worker After=network.target [Service] User=<%= @user %> Group=<%= @group %> Type=simple Environment=VIRTUAL_ENV="<%= @path %>" Environment=PATH="$VIRTUAL_ENV/bin:$PATH" WorkingDirectory=<%= @path %> ExecStart=<%= @path %>/bin/sentry --config=<%= @path %> run worker -f /var/log/sentry/sentry-w...
Add restart=always flag to worker unit
Add restart=always flag to worker unit
HTML+ERB
mit
covermymeds/puppet-sentry,covermymeds/puppet-sentry,covermymeds/puppet-sentry
6948c4ab660e040fab4895c1a6c8280925349f53
templates/travis.yml.erb
templates/travis.yml.erb
language: ruby rvm: <%= RUBY_VERSION %> addons: - postgresql: '9.3' cache: bundler before_install: - "echo 'gem: --no-document' > ~/.gemrc" - "echo '--colour' > ~/.rspec" - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start before_script: - cp .sample.env .env - bundle exec rake db:create db:schema:l...
language: ruby rvm: <%= RUBY_VERSION %> sudo: false addons: - postgresql: '9.3' cache: bundler before_install: - "echo 'gem: --no-document' > ~/.gemrc" - "echo '--colour' > ~/.rspec" - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start before_script: - cp .sample.env .env - bundle exec rake db:creat...
Use new Travis Docker based architecture
Use new Travis Docker based architecture
HTML+ERB
mit
craftsmen/roll,craftsmen/roll,craftsmen/roll
4c52ebfe4656cccb068fd261f6ac1c8ef56b38e9
app/views/breeze/admin/commerce/commerce/_left.html.erb
app/views/breeze/admin/commerce/commerce/_left.html.erb
<%= pane_layout do |left| %> <% left.header do %> <h2>Commerce</h2> <% end %> <% left.inner do %> <%= commerce_menu %> <% end %> <% end %> <% content_for :head do %> <%# stylesheet_link_tag "breeze/blog.css" %> <%= stylesheet_link_tag "breeze/store.css", "breeze/multi-select.css" %> <%= javascrip...
<%# TODO: Move to shared? %> <%= pane_layout do |left| %> <% left.header do %> <h2>Commerce</h2> <% end %> <% left.inner do %> <%= commerce_menu %> <% end %> <% end %> <% content_for :head do %> <%# stylesheet_link_tag "breeze/blog.css" %> <%= stylesheet_link_tag "breeze/store.css", "breeze/multi-s...
Comment added to left menu for future consideration
Comment added to left menu for future consideration
HTML+ERB
mit
conversionfoundry/breeze_commerce,conversionfoundry/breeze_commerce
06f4b5f5c085b8a37d48628b76a3054ff5c8febf
source/_footer.erb
source/_footer.erb
<footer> <p><a href="https://twitter.com/<%= twitter_handle %>" class="twitter-follow-button" data-show-count="false">Follow @<%= twitter_handle %></a></p> <p>&copy; <%= blog_author %> 2014-<%= Time.now.utc.strftime("%Y") %> | <a href="http://status.martincostello.com/" target="_blank">Site Status &amp; Uptime</a...
<footer> <div class="container-fluid"> <div class="row"> <div class="col-md-3"> &copy; <%= blog_author %> 2014-<%= Time.now.utc.strftime("%Y") %> </div> <div class="col-md-3"> <a href="https://twitter.com/<%= twitter_handle %>" class="twitter-follow-button" data-show-count...
Change format of footer. Also include Facebook like button.
Change format of footer. Also include Facebook like button.
HTML+ERB
mit
martincostello/blog,martincostello/blog,martincostello/blog
65716820a4bd2550bb57c08aa2ffc38b34d3c0c7
app/views/groups/show.html.erb
app/views/groups/show.html.erb
<!-- <h1>Groups#show</h1> <p>Find me in app/views/groups/show.html.erb</p> --> <% provide(:title, @group.name) %> <!-- TODO (Shimmy): Add photo functionality --> <div class="row group-header"> <% if @group.photo %> <%= image_tag @group.photo(:medium) %> <% end %> <div class="image-shadow"> <h2><%= @...
<!-- <h1>Groups#show</h1> <p>Find me in app/views/groups/show.html.erb</p> --> <% provide(:title, @group.name) %> <!-- TODO (Shimmy): Add photo functionality --> <div class="row group-header"> <% if @group.photo %> <%= image_tag @group.photo(:medium) %> <% end %> <div class="image-shadow"> <h2><%= @...
Comment out Leave Group since it isn't styled yet
Comment out Leave Group since it isn't styled yet
HTML+ERB
mit
calblueprint/ashby-village,calblueprint/ashby-village,calblueprint/ashby-village
1099a69131ab9ac6ced91fed824923cd69bef95c
app/views/posts/_post.html.erb
app/views/posts/_post.html.erb
<% @posts.each do |p| %> <div class="col-sm-6 blog-item"> <div class="thumbnail"> <a href="#"> <img class="img-responsive" src="https://unsplash.it/700/300?random" alt=""> </a> <h3><%= link_to p.title, post_path(p) %></h3> <!-- <p class="lead"> ...
<% @posts.each do |p| %> <div class="col-sm-4 blog-item"> <div class="thumbnail"> <a href="#"> <img class="img-responsive" src="https://unsplash.it/700/300?random" alt=""> </a> <h4 class="text-center"><%= link_to truncate(p.title, length: 40), post_path(p) %...
Change columns in posts index pages to 3 and added truncated method to the title property.
Change columns in posts index pages to 3 and added truncated method to the title property.
HTML+ERB
mit
hebersandoval/blog_portfolio,hebersandoval/blog_portfolio,hebersandoval/blog_portfolio
d9f575691bc924e7c2eb54ce877d17834ee9dcc7
puppet/templates/mysite.example.org.erb
puppet/templates/mysite.example.org.erb
##################################################################### ### THIS FILE IS MANAGED BY PUPPET ##################################################################### # vim: filetype=apache <VirtualHost *:80> ServerName mysite.example.org RewriteEngine on RewriteRule ^/(.*)$ https://mysite.exampl...
##################################################################### ### THIS FILE IS MANAGED BY PUPPET ##################################################################### # vim: filetype=apache <VirtualHost *:80> ServerName mysite.example.org RewriteEngine on RewriteRule ^/(.*)$ https://mysite.exampl...
Fix bug with apache proxy pass
Fix bug with apache proxy pass Needed a trailing slash
HTML+ERB
isc
servermon/servermon_vagrant,servermon/servermon_vagrant,servermon/servermon_vagrant,servermon/servermon_vagrant
a40bba492ceea8484876295894d9502c8c81c106
app/views/authority/people/_form.html.erb
app/views/authority/people/_form.html.erb
<%= form_for(@person) do |f| %> <%#= render partial: 'authority/things/thing_fields', locals: {f: f, thing: @person} %> <%= render partial: 'person_fields', locals: {f: f, person: :person} %> <%= f.submit 'Gem person' unless params['modal'].present? %> <% end %>
<%= form_for(@person) do |f| %> <%= render partial: 'authority/things/thing_fields', locals: {f: f, thing: @person} %> <%= render partial: 'person_fields', locals: {f: f, person: :person} %> <%= f.submit 'Gem person' unless params['modal'].present? %> <% end %>
Add the thing fields back in the person form, so we can have description as well
Add the thing fields back in the person form, so we can have description as well
HTML+ERB
mit
Det-Kongelige-Bibliotek/authority,Det-Kongelige-Bibliotek/authority,Det-Kongelige-Bibliotek/authority
48d8c707e36e0c7eea55aada340e4b395a9a261e
app/views/layouts/common/_footer.html.erb
app/views/layouts/common/_footer.html.erb
<footer> <div class="container"> <p> <%=GIT_BRANCH%><%=GIT_COMMIT%>@<%= Rails.env %> </p> </div> </footer>
<footer> <div class="container"> <p> <%= render :partial => "shared/campuscodefest/version" %> </p> </div> </footer>
Remove duplication in common footer partial. Use version partial.
Remove duplication in common footer partial. Use version partial. Signed-off-by: Max Fierke <0706025b2bbcec1ed8d64822f4eccd96314938d0@maxfierke.com>
HTML+ERB
mit
coeventer/ccf,chadfennell/ccf,chadfennell/ccf,campuscodefest/ccf,coeventer/ccf,campuscodefest/ccf,coeventer/ccf,campuscodefest/ccf
7e44e1b7a14b6d37b17af93730e579b2f2466480
app/views/pageflow/react/_widget.html.erb
app/views/pageflow/react/_widget.html.erb
<%= content_tag(:div, '', data: {widget: name}) do %> <% if server_rendering %> <% concat React::ServerRendering.render( 'pageflow.react.ServerSideWidget', %Q'{ "resolverSeed": #{@_pageflow_react_entry_seed ||= entry_json_seed(entry)}, "widgetTypeName": "#{name}" }', true) %> <% end %> <% e...
<%= content_tag(:div, '', data: {widget: name}) do -%> <% if server_rendering -%> <% concat React::ServerRendering.render( 'pageflow.react.ServerSideWidget', %Q'{ "resolverSeed": #{@_pageflow_react_entry_seed ||= entry_json_seed(entry)}, "widgetTypeName": "#{name}" }', true) %> <% end %> <%...
Remove whitespace from server side React templates
Remove whitespace from server side React templates Ensure React reuses the DOM elements to prevent animation flicker.
HTML+ERB
mit
tf/pageflow,codevise/pageflow,codevise/pageflow,tf/pageflow,tf/pageflow,tf/pageflow,codevise/pageflow,codevise/pageflow
c4501332cab429e6fd1e9329bde2c95feb717123
templates/default/zabbix_agentd.conf.erb
templates/default/zabbix_agentd.conf.erb
# This is a config file for the Zabbix agent daemon (Unix) # To get more information about Zabbix, visit http://www.zabbix.com # This file is generated by Chef, please keep in mind you can change this file only with Chef # agent configuration options ListenIP=<%= @listen_ip %> ListenPort=<%= @listen_port %> <% if no...
# This is a config file for the Zabbix agent daemon (Unix) # To get more information about Zabbix, visit http://www.zabbix.com # This file is generated by Chef, please keep in mind you can change this file only with Chef # agent configuration options <% unless @listen_ip.to_s.empty? %> ListenIP=<%= @listen_ip %> <% ...
Add empty field checks for agent IP and PORT
Add empty field checks for agent IP and PORT
HTML+ERB
mit
express42/zabbix_lwrp,express42/zabbix_lwrp,chromko/test_lwrp_docker,chromko/test_lwrp_docker
bb7d6b4b14f646402a25fa9aff9103b87563d5ab
app/views/sessions/_email_dialog.html.erb
app/views/sessions/_email_dialog.html.erb
<% if authorized?(session) && !session.new_record? && !session.cancelled %> <div id="email-dialog" class="content-section"> <h2>Email All Participants</h2> <%= form_tag(action: 'email') do %> <%= label_tag :message_text, 'Message Text:', class: 'field-label' %> <%= text_area_tag :message_text, nil...
<% if authorized?(session) && !session.new_record? && !session.cancelled %> <div id="email-dialog" class="content-section" style="display:none"> <h2>Email All Participants</h2> <%= form_tag(action: 'email') do %> <%= label_tag :message_text, 'Message Text:', class: 'field-label' %> <%= text_area_t...
Hide email dialog when page loads. bugid: 6365
Hide email dialog when page loads. bugid: 6365
HTML+ERB
apache-2.0
txstate-etc/signup,txstate-etc/txst-signup,txstate-etc/txst-signup,txstate-etc/txst-signup,txstate-etc/signup,txstate-etc/signup
fbb722469669a7294beec25bb293a29dae028561
lib/views/general/_popup_banner.html.erb
lib/views/general/_popup_banner.html.erb
<% if Date.today < Date.parse('2017-03-21') %> We're seeking more volunteers to help us run this site. <a href="https://www.mysociety.org/2017/02/23/could-you-join-the-whatdotheyknow-team?utm_source=whatdotheyknow.com&utm_medium=banner&utm_campaign=volunteers_feb_2017&utm_content=banner+join+volunteer">See our blog pos...
<% if Date.today < Date.parse('2017-05-09') %> Need a response before the General Election? Authorities have 20 working days to respond so <%= link_to 'make your request', select_authority_path %> before May 9<sup>th</sup>. <% elsif Date.today == Date.parse('2017-05-09') %> Need a response before the General Election? ...
Add banner about last day to make request before election
Add banner about last day to make request before election May 9th is last day to guarantee response before the election (assuming authority responds promptly).
HTML+ERB
mit
mysociety/whatdotheyknow-theme,mysociety/whatdotheyknow-theme,mysociety/whatdotheyknow-theme
6f728f48cf5f949696c8af003a3f7ee123ab64ae
app/views/domains/index.html.erb
app/views/domains/index.html.erb
<p id="notice"><%= notice %></p> <h1>Listing Domains</h1> <table> <thead> <tr> <th>Name</th> <th colspan="3"></th> </tr> </thead> <tbody> <% @domains.each do |domain| %> <tr> <td><%= domain.name %></td> <td><%= link_to 'Show', domain %></td> </tr> <% end ...
<p id="notice"><%= notice %></p> <div class="panel panel-default"> <div class="panel-heading">Domains</div> <div class="list-group"> <% @domains.each do |domain| %> <%= link_to domain.name, domain, class: 'list-group-item' %> <% end %> </div> </div>
Add a stylized list to domain index.
Add a stylized list to domain index.
HTML+ERB
mit
Kyle-Dornblaser/Historical-Alexa,Kyle-Dornblaser/Historical-Alexa,Kyle-Dornblaser/Historical-Alexa
1e32feb992cb2f529a5442c71d95a60feb3bbf2d
app/views/projects/show.html.erb
app/views/projects/show.html.erb
<h1><%= current_project.name %> </h1> <section class="widget"> <header> <div class="actions hidden-xs-portrait"> <%= link_to edit_project_path(@project), class: 'btn btn-primary' do %> <i class="icon-edit"></i> Edit Project <% end %> </div> </header> <br /> <div> <strong>Descri...
<h1><%= current_project.name %> </h1> <section class="widget"> <header> <div class="actions hidden-xs-portrait"> <%= link_to edit_project_path(@project), class: 'btn btn-primary' do %> <i class="icon-edit"></i> Edit Project <% end %> </div> </header> <br /> <div> <strong>Descri...
Move instrument list to its own widget in the project show page
Move instrument list to its own widget in the project show page
HTML+ERB
mit
mnipper/rails_survey,DukeMobileTech/rails_survey,mnipper/rails_survey,mnipper/rails_survey,DukeMobileTech/rails_survey,DukeMobileTech/rails_survey
357205c5d049b7dc36b5a75d6364ba511b5cf4ad
app/views/users/_tabnav.html.erb
app/views/users/_tabnav.html.erb
<ul id="tabnav"> <!-- TODO: can an user edit or view messages from another user? --> <!-- TODO: active class in partials --> <% if user_signed_in? and user.id == current_user.id %> <li> <%= link_to_unless_current t('nlt.messages'), messages_list_path %> </li> <% end %> <li> <%= link_to_unless requ...
<ul id="tabnav"> <!-- TODO: can an user edit or view messages from another user? --> <!-- TODO: active class in partials --> <% if user_signed_in? and user.id == current_user.id %> <li> <%= link_to t('nlt.messages'), messages_list_path %> </li> <% end %> <li> <%= link_to t('nlt.profile'), profile_...
Remove visual inconsistencies in tabs
[users] Remove visual inconsistencies in tabs In our efforts to remove links to the current tab, tab styles get a little bit messed up. I think doing this is not worth the effort and we're not doing it anywhere else (home page, status filters, etc). Plus, I haven't seen this practice in a lot of places out there and I...
HTML+ERB
agpl-3.0
apardo/nolotiro.org,alabs/nolotiro.org,apardo/nolotiro.org,alabs/nolotiro.org,apardo/nolotiro.org,alabs/nolotiro.org,apardo/nolotiro.org,alabs/nolotiro.org
f74c97c8fd2390551930949b3b728b29833a1103
app/views/versions/show.html.erb
app/views/versions/show.html.erb
<h1><%= @instrument_version.title %></h1> <section class="widget"> <div class="body"> <ol class="questions"> <% @instrument_version.questions.each do |question| %> <% next unless @version.versioned(question) %> <li> <%= @version.versioned(question).text %> <br /> <span c...
<h1><%= @instrument_version.title %></h1> <section class="widget"> <div class="body"> <ol class="questions"> <% @instrument_version.questions.each do |question| %> <% next unless @version.versioned(question) %> <li> <%= @version.versioned(question).text %> <br /> <span c...
Clean up version show view
Clean up version show view
HTML+ERB
mit
DukeMobileTech/rails_survey,DukeMobileTech/rails_survey,DukeMobileTech/rails_survey,mnipper/rails_survey,mnipper/rails_survey,mnipper/rails_survey
07a5fe8b60a4e0aec717ed2a7c4d31b484daecf4
app/views/patron_statuses/index.html.erb
app/views/patron_statuses/index.html.erb
<h1>Listing patron statuses</h1> <%= form_tag patron_statuses_path, :class => "form-inline clearfix", :method => :get do %> <%= hidden_field_tag :direction, params[:direction] %> <%= hidden_field_tag :sort, params[:sort] %> <div class="input-append pull-left"> <label for="q" class="hide-text">Search...</labe...
<h1>Listing patron statuses</h1> <%= form_tag patron_statuses_path, :class => "form-inline clearfix", :method => :get do %> <%= hidden_field_tag :direction, params[:direction] %> <%= hidden_field_tag :sort, params[:sort] %> <p> <label for="q" class="sr-only">Search...</label> <input class="search_q q for...
Update PatronStatus search for Bootstrap 3
Update PatronStatus search for Bootstrap 3
HTML+ERB
mit
NYULibraries/privileges,NYULibraries/privileges,NYULibraries/privileges,NYULibraries/privileges
4482f465099bb5e09ac04436bab07e2f02dce8c8
app/views/admin/show_instructor.html.erb
app/views/admin/show_instructor.html.erb
<%= render :partial => 'show' %> <hr/> <p><%= link_to 'Edit', :action => 'edit', :id => @user %> | <%= link_to 'Delete', {:action => 'remove_instructor', :id => @user}, :confirm => 'Delete this user?', :method => :post %> </p> <p><%= link_to 'Back', :action => 'list_instructors' %> to Users list</p>
<%= render :partial => 'show' %> <hr/> <p><%= link_to 'Edit', edit_user_path(@user) %> | <%= link_to 'Delete', {:action => 'remove_instructor', :id => @user}, :confirm => 'Delete this user?', :method => :post %> </p> <p><%= link_to 'Back', :action => 'list_instructors' %> to Users list</p>
Allow editing of an instructor from the users_controller
Allow editing of an instructor from the users_controller
HTML+ERB
mit
redsock88/expertiza,ApertureScienceInnovators/expertiza,mhhassan/expertiza,rmmaily/expertiza,joshio1/expertiza,sid5788/expertiza,sid5788/expertiza,michaelamoran/expertiza,rmmaily/expertiza,akshayjain114/expertiza,KunmiaoYang/expertiza,kira0992/expertiza,rmmaily/expertiza,joshio1/expertiza,arpitashekhar/expertiza,rmmail...
aa557b34162c91b0fde4d240cb4716d4dbf27843
app/views/layouts/user_sessions.html.erb
app/views/layouts/user_sessions.html.erb
<!DOCTYPE html> <html lang="<%= set_user_language %>"> <head> <meta charset="utf-8"> <meta name="viewport" content="initial-scale=1"> <%= csrf_meta_tags %> <title><%= t('.title') %></title> <%= stylesheet_link_tag 'login', media: 'all' %> <%= javascript_include_tag 'login' %> <link rel="mask-icon" href="pinned-masterla...
<!DOCTYPE html> <html lang="<%= set_user_language %>"> <head> <meta charset="utf-8"> <meta name="viewport" content="initial-scale=1"> <meta property="og:image" content="apple-touch-icon.png" /> <%= csrf_meta_tags %> <title><%= t('.title') %></title> <%= stylesheet_link_tag 'login', media: 'all' %> <%= javascript_includ...
Add icon to the suggested sites using OpenGraph
Add icon to the suggested sites using OpenGraph
HTML+ERB
mit
Labtec/OpenLIS,Labtec/OpenLIS,Labtec/OpenLIS
2531e0738aca2936bce5560cf3eab21b679c851b
app/views/shared/_error_summary.html.erb
app/views/shared/_error_summary.html.erb
<% class_name = class_name.presence || object.class.name.demodulize.underscore.humanize.downcase %> <% if object.errors.present? %> <%= render "govuk_publishing_components/components/error_summary", { id: "error-summary", title: "To save the #{class_name} please fix the following issues:", items: object....
<% class_name = class_name.presence || object.class.name.demodulize.underscore.humanize.downcase %> <% if object.errors.present? %> <div class="gem-c-error-summary govuk-error-summary" data-module="govuk-error-summary" aria-labelledby="error-summary-title" role="alert" id="error-summary" data-govuk-error-summary-mod...
Add tracking to the error summary component
Add tracking to the error summary component Unfortunately the publishing component doesn't allow you to pass in data modules for individual list items so we're going to need to build it manually.
HTML+ERB
mit
alphagov/whitehall,alphagov/whitehall,alphagov/whitehall,alphagov/whitehall
d42ecafded358f02465d8a966c34852783da518b
app/views/shared/_search_record.html.erb
app/views/shared/_search_record.html.erb
<div class="report row"> <div class="span12"> <div class="search report row center"> <div class="span10 table-centered"> <input id="search-input" class="report input-xlarge" type="text" placeholder="Search..."></input> <table id="search-results" class="table" data-provides="rowlink"> ...
Put search metadata record view code into partial
Put search metadata record view code into partial For now I have moved the view code for displaying the metadata record search into a partial. Signed-off-by: Konrad Reiche <4ff0213f56e2082fcd8c882d04c546881c579ce4@gmail.com>
HTML+ERB
mit
platzhirsch/metadata-census
a3cccda2d28ed97a891863281bcf5513cf9e2e99
source/calendar.html.erb
source/calendar.html.erb
--- title: Calendar --- <!-- Copyright (c) 2013, 2014 ICRL See the file license.txt for copying permission. --> <h2>Calendar Of Events</h2> <div class="row"> <div class="col-xs-12 google-embed centered"> <iframe src="http://www.google.com/calendar/embed?src=portlandcodeschool.com_eqmjespggj24tp0b9gjt87utjc%40g...
--- title: Calendar --- <!-- Copyright (c) 2013, 2014 ICRL See the file license.txt for copying permission. --> <h2>Calendar Of Events</h2> <div class="row"> <div class="col-xs-12 google-embed centered"> <iframe src="http://www.google.com/calendar/embed?src=portlandcodeschool.com_p2r1jkfosr32rpk6etutglhnp4%40g...
Fix embed code to be for correct public PCS calendar
Fix embed code to be for correct public PCS calendar
HTML+ERB
mit
portlandcodeschool/portlandcodeschool,portlandcodeschool/portlandcodeschool,portlandcodeschool/portlandcodeschool,portlandcodeschool/portlandcodeschool,portlandcodeschool/portlandcodeschool,portlandcodeschool/portlandcodeschool,portlandcodeschool/portlandcodeschool,portlandcodeschool/portlandcodeschool
0377d60eb006d55a7b6a0d455a20588fc430e4da
app/views/welcome/_response.html.erb
app/views/welcome/_response.html.erb
<div class="response"> <h3><i class="fa fa-user"></i> Nathan</h3> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p> <span><i class="fa fa-comments"></i> Comments</span> <% 3.times do %> <%= render 'comment' %> <% end %> </...
<div class="response"> <h3><i class="fa fa-user"></i> Nathan</h3> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p> <span><i class="fa fa-comments"></i> Comments</span> <% 3.times do %> <%= render 'comment' %> <% end %> ...
Add 'Add Comment' button in response view partial.
Add 'Add Comment' button in response view partial.
HTML+ERB
mit
great-horned-owls-2014/dbc-what-is-this,great-horned-owls-2014/dbc-what-is-this
b7fd810863f24fd72c05965fe528ce97376cedc5
app/views/shout/_chat_userlist.html.erb
app/views/shout/_chat_userlist.html.erb
<div style="background-color: #eee; border-bottom:1px solid #ccc; font-size:14px; padding: 3px;">Users Online (<%= online_users %>)</div> <div class="presence-chat-area"> <% all_users.each do |u| %> <div class="presence-user-row"> <div style="float:left;padding-right:2px;"> <%= "<img src=\"#{u.avatar_ur...
<div style="background-color: #eee; border-bottom:1px solid #ccc; font-size:14px; padding: 3px;">Users Online (<%= online_users %>)</div> <div class="presence-chat-area"> <% all_users.each do |u| %> <div class="presence-user-row"> <div style="float:left;padding-right:2px;"> <%= "<img src=\"#{u.avatar_ur...
Add missing clear:both to userlist popup
Add missing clear:both to userlist popup
HTML+ERB
mit
miguelbaldi/clockingit,webstream-io/jobsworth,xuewenfei/jobsworth,digitalnatives/jobsworth,miguelbaldi/clockingit,webstream-io/jobsworth,ari/jobsworth,ari/jobsworth,miguelbaldi/clockingit,digitalnatives/jobsworth,arunagw/clockingit,evinoca/clockingit,xuewenfei/jobsworth,evinoca/clockingit,rafaspinola/jobsworth,digitaln...
b5c4ffb70a171bd3cb5d62c7dd64ec078daecfe7
app/views/spree/shared/_social.html.erb
app/views/spree/shared/_social.html.erb
<% if (!spree_current_user || !spree_current_user.user_authentications) && Spree::AuthenticationMethod.active_authentication_methods? %> <h2><%= Spree.t(:sign_in_through_one_of_these_services) %>:</h2> <% end %> <% Spree::AuthenticationMethod.available_for(@spree_user).each do |method| %> <% img = "store/#{method....
<% if (!spree_current_user || !spree_current_user.user_authentications) && Spree::AuthenticationMethod.active_authentication_methods? %> <h2><%= Spree.t(:sign_in_through_one_of_these_services) %>:</h2> <% end %> <% Spree::AuthenticationMethod.available_for(@spree_user).each do |method| %> <% img = "store/#{method....
Use correct path for routes in shared/_social
Use correct path for routes in shared/_social Fixes #90
HTML+ERB
bsd-3-clause
cassioscabral/spree_social,supherman/spree_social,spark-solutions/spree_social,wuboy0307/solidus_social,denniscastro/spree_social,paywithamazon/spree_social,wuboy0307/solidus_social,denniscastro/spree_social,gogo52cn/spree_social,spark-solutions/spree_social,com123/spree_social,DynamoMTL/spree_social,rogelio-meza-t/spr...
6f8444c46437a7f0b09663eb2f9d0c70ecea3d2f
base/app/views/toolbar/_logo.html.erb
base/app/views/toolbar/_logo.html.erb
<div id="avatar_profile"> <% if subject == current_subject %> <%= link_to image_tag(subject.logo.url(:medium), :alt => subject.name , :size => "150x150", :id => "current_avatar_img"), subject %> <div class="logo_menu logo_caption"> <%= link_to t('avatar.profile_change'), polymorphic_path([subje...
<div id="avatar_profile"> <%= link_to image_tag(subject.logo.url(:medium), :alt => subject.name , :size => "150x150"), subject %> <% if subject == current_subject %> <div class="logo_menu logo_caption"> <%= link_to t('avatar.profile_change'), polymorphic_path([subject, :profile], section: :avatar) %...
Use medium size in profile avatar
Use medium size in profile avatar
HTML+ERB
mit
ging/social_stream,honorlin/social_stream,ging/social_stream,ging/social_stream,honorlin/social_stream,honorlin/social_stream,honorlin/social_stream
c5649e6aec207bac505028e8963cf45bfcdfe88b
app/views/businesses/_businesses.html.erb
app/views/businesses/_businesses.html.erb
<%= hidden_field_tag :direction, params[:direction] %> <%= hidden_field_tag :sort, params[:sort] %> <%= cache(cache_key_for_businesses(@businesses)) do %> <div class="bus_index_well"> <table class="table table-hover pretty"> <thead> <tr> <th><%= sortable "title" %></th> <th><%= ...
<%= hidden_field_tag :direction, params[:direction] %> <%= hidden_field_tag :sort, params[:sort] %> <%= cache(cache_key_for_businesses(@businesses)) do %> <div class="bus_index_well"> <table class="table table-hover pretty"> <thead> <tr> <th><%= sortable "title" %></th> <th><%= ...
Remove edit links from index; caching was causing links to appear even though user didn't have auth to click them
Remove edit links from index; caching was causing links to appear even though user didn't have auth to click them
HTML+ERB
mit
kbarre123/starterkits_rails4,kbarre123/starterkits_rails4,kbarre123/starterkits_rails4
ae364dc3da8885a546e8e65d260e99a06cbb56dc
app/views/taxons/confirm_discard.html.erb
app/views/taxons/confirm_discard.html.erb
<header class="heading-with-actions"> <h1><%= taxon.internal_name %></h1> </header> <div class="lead"> You are about to <strong>delete</strong> this topic - this will remove the topic from the system, and cannot be undone. </div> <div class="confirmation-box"> <%= button_to "Confirm delete", taxon_discard_d...
<header class="heading-with-actions"> <h1><%= taxon.internal_name %></h1> </header> <div class="lead"> You are about to <strong>delete</strong> the draft version of this topic. </div> <div class="confirmation-box"> <%= button_to "Confirm delete", taxon_discard_draft_path(taxon.content_id), method: :delete, ...
Modify confirm delete draft message.
Modify confirm delete draft message. The 'Delete draft' message implied it would delete the taxon, even though it will only delete the draft version. This change clarifies this.
HTML+ERB
mit
alphagov/content-tagger,alphagov/content-tagger,alphagov/content-tagger
c5b07409ea577b48804c868a5b1b8772e13530e9
vendor/plugins/refinery/app/views/shared/_site_bar.html.erb
vendor/plugins/refinery/app/views/shared/_site_bar.html.erb
<div id='site_bar'> <div id='site_bar_content' class='clearfix'> <div id='editor_switch'> <% if admin? %> <%= link_to "Switch to live view", begin request.request_uri.to_s.match(/\/admin(.*)\/edit/)[1] rescue "/" end %> <% else %> <%= link_to "Switch to editor view", (request.request_u...
<div id='site_bar'> <div id='site_bar_content' class='clearfix'> <div id='editor_switch'> <% if admin? (r = ::ActionController::TestRequest.new(request.env)).path = (request.request_uri.to_s.match(/\/admin(.*)\/edit/)[1] rescue root_url) public_route = ((c = ActionController::Rou...
Support jumping straight to the correct page in the refinery backend/frontend using the site bar.
Support jumping straight to the correct page in the refinery backend/frontend using the site bar.
HTML+ERB
mit
mdoyle13/haymarket-ref,myabc/refinerycms,johnreilly/johnandkaty,mdoyle13/haymarket-ref,kritik/diamond-tours,mdoyle13/haymarket-ref,captproton/fugu,ashrafuzzaman/stips,mdoyle13/haymarket-ref,kritik/portfolio,kritik/portfolio,kritik/diamond-tours,johnreilly/johnandkaty,ashrafuzzaman/stips,captproton/fugu,myabc/refinerycm...
81d3b0c0c1c85ae70cb5426a1f30068de5918399
admin/views/interviews.erb
admin/views/interviews.erb
<?xml version="1.0" encoding="utf-8" ?> <feed xmlns="http://www.w3.org/2005/Atom"> <id>usesthis.admin.interviews</id> <updated><%= (@interviews[0].published_on ? @interviews[0].published_on : @interviews[0].date_create).strftime('%FT%TZ') %></updated> <author><name>Daniel Bogan</name></author> <% for interview in @...
<?xml version="1.0" encoding="utf-8" ?> <feed xmlns="http://www.w3.org/2005/Atom"> <id>usesthis.admin.interviews</id> <updated><%= (@interviews[0].date_publish ? @interviews[0].date_publish : @interviews[0].date_create).strftime('%FT%TZ') %></updated> <author><name>Daniel Bogan</name></author> <% for interview in @...
Switch to date_publish in place of published_on.
Switch to date_publish in place of published_on.
HTML+ERB
mit
MjAbuz/usesthis,ivuk/usesthis,holman/usesthis,waferbaby/usesthis,orta/usesthis,holman/usesthis,waferbaby/usesthis,orta/usesthis,ivuk/usesthis,MjAbuz/usesthis,MjAbuz/usesthis
604df4d7d794eb0ddb81ae76e205a6d5397e3685
lib/oven/templates/json.rb.erb
lib/oven/templates/json.rb.erb
require 'json' require 'delegate' class <%= client_name %> class JsonResponse < DelegateClass(Net::HTTPResponse) alias headers to_hash HAS_SYMBOL_GC = RUBY_VERSION > '2.2.0' def json parsable? ? JSON.parse(body, symbolize_names: HAS_SYMBOL_GC) : nil end private def parsable? !!...
require 'json' require 'delegate' class <%= client_name %> class JsonResponse < DelegateClass(Net::HTTPResponse) alias response __getobj__ alias headers to_hash HAS_SYMBOL_GC = RUBY_VERSION > '2.2.0' def json parsable? ? JSON.parse(body, symbolize_names: HAS_SYMBOL_GC) : nil end def i...
Make it clear that JsonResponse is a wrapper object
Make it clear that JsonResponse is a wrapper object
HTML+ERB
mit
yuki24/oven,yuki24/oven,yuki24/oven
98500e8a64c88b74c4f8395beb6d2b5ac7fb410f
lib/views/general/_popup_banner.html.erb
lib/views/general/_popup_banner.html.erb
<% if I18n.locale.to_s == 'cy' %> As you can see, we don't yet have a complete Welsh translation of WhatDoTheyKnow. Please help us get there by adding translations at <a href="https://www.transifex.com/projects/p/alaveteli/" target="_blank">Transifex</a>. You can read more about working with translations for <a href="h...
<% if I18n.locale.to_s == 'cy' %> As you can see, we don't yet have a complete Welsh translation of WhatDoTheyKnow. Please help us get there by adding translations at <a href="https://www.transifex.com/projects/p/alaveteli/" target="_blank">Transifex</a>. You can read more about working with translations for <a href="h...
Add link to main page.
Add link to main page.
HTML+ERB
mit
schlos/whatdotheyknow-theme,mysociety/whatdotheyknow-theme,mysociety/whatdotheyknow-theme,mysociety/whatdotheyknow-theme,schlos/whatdotheyknow-theme
46c250cfdcb2d8cd819114739b15e0556f8c78ab
lib/views/general/frontpage.html.erb
lib/views/general/frontpage.html.erb
<%# TODO: Cache for 5 minutes %> <div id="frontpage_splash"> <div id="frontpage_right_to_know"> <%= render :partial => 'frontpage_intro_sentence' %> </div> <div id="frontpage_start_request"> <%= render :partial => "frontpage_new_request" %> </div> <div id="frontpage_search_box"> ...
<%# TODO: Cache for 5 minutes %> <div id="frontpage_splash"> <div id="frontpage_right_to_know"> <%= render :partial => 'frontpage_intro_sentence' %> </div> <div id="frontpage_start_request"> <%= render :partial => "frontpage_new_request" %> </div> <div id="frontpage_search_box"> ...
Add class (merged in from app)
Add class (merged in from app)
HTML+ERB
mit
openaustralia/righttoknow,openaustralia/righttoknow,openaustralia/righttoknow
b6697962dd4a655e19d8d317e33f445153311241
app/views/financial_assets/totals.html.erb
app/views/financial_assets/totals.html.erb
<% content_for :heading do -%><%= t("myplaceonline.financial_assets.totals") %><% end -%> <h1><%= t("myplaceonline.financial_assets.totals") %></h1> <%= flashes! %> <%= data_row(heading: t("myplaceonline.financial_assets.totals"), prefix_heading: true, content: @total, wrap: false) %> <% if @breakdown.count > 0 %> ...
<% content_for :heading do -%><%= t("myplaceonline.financial_assets.totals") %><% end -%> <h1><%= t("myplaceonline.financial_assets.totals") %></h1> <%= flashes! %> <%= data_row(heading: t("myplaceonline.financial_assets.totals"), prefix_heading: true, content: @total, wrap: false) %> <% if @breakdown.count > 0 %> ...
Add details to financial asset totals page
Add details to financial asset totals page
HTML+ERB
agpl-3.0
myplaceonline/myplaceonline_rails,myplaceonline/myplaceonline_rails,myplaceonline/myplaceonline_rails
fba9a23417ada735b6da900b44323c797a0f78d8
app/views/convocation_firemen/_form.html.erb
app/views/convocation_firemen/_form.html.erb
<%= form_tag(update_all_convocation_convocation_firemen_path(convocation), :method => :patch) do %> <table class="table table-bordered table-striped"> <thead> <tr> <th>Grade</th> <th>Nom</th> <th>Prénom</th> <th>Présent ?</th> </tr> </thead> <tbody> <%- co...
<%= form_tag(update_all_convocation_convocation_firemen_path(convocation), :method => :patch) do %> <table class="table table-bordered table-striped"> <thead> <tr> <th>Grade</th> <th>Nom</th> <th>Prénom</th> <th>Présent ?</th> </tr> </thead> <tbody> <%- co...
Fix convocation firemen form for BS3.
Fix convocation firemen form for BS3.
HTML+ERB
mit
osaris/sp-gestion,osaris/sp-gestion,osaris/sp-gestion
c51bd527554dd98d0a8328183bb79d4d44ba1181
app/views/rapidfire/questions/index.html.erb
app/views/rapidfire/questions/index.html.erb
<div class='container survey__edit'> <div class='section-header'> <h1> Editing Questions in <%= @question_group.name %></h1> <div class='survey__admin-tools'> <%= link_to "Preview Question Group", new_question_group_answer_group_path(@question_group) %> </div> </div> <div class='survey__questions-list'> <% if @ques...
<div class='container survey__edit'> <div class='section-header'> <h1> Editing Questions in <%= @question_group.name %></h1> <div class='survey__admin-tools'> <%= link_to "Preview Question Group", new_question_group_answer_group_path(@question_group) + '?preview' %> </div> </div> <div class='survey__questions-list'> ...
Add ?preview to "Preview Question Group" link
Add ?preview to "Preview Question Group" link There's probably a better way to do this, but this works. Resolves #767
HTML+ERB
mit
majakomel/WikiEduDashboard,sejalkhatri/WikiEduDashboard,Wowu/WikiEduDashboard,alpha721/WikiEduDashboard,Wowu/WikiEduDashboard,WikiEducationFoundation/WikiEduDashboard,sejalkhatri/WikiEduDashboard,MusikAnimal/WikiEduDashboard,sejalkhatri/WikiEduDashboard,majakomel/WikiEduDashboard,feelfreelinux/WikiEduDashboard,KarmaHat...
b9fb001630a248e9973d2f19a5b5befa2e1ac5a5
lib/pliny/templates/endpoint_scaffold.erb
lib/pliny/templates/endpoint_scaffold.erb
module Endpoints class <%= plural_class_name %> < Base namespace "<%= url_path %>" do get do encode serialize(<%= singular_class_name %>.all) end post do # warning: not safe <%= field_name %> = <%= singular_class_name %>.new(body_params) <%= field_name %>.save ...
module Endpoints class <%= plural_class_name %> < Base namespace "<%= url_path %>" do serializer(Serializers::<%= singular_class_name %>) get do encode serialize(<%= singular_class_name %>.all) end post do # warning: not safe <%= field_name %> = <%= singular_class...
Use serializer helper in template
Use serializer helper in template
HTML+ERB
mit
fdr/pliny,fdr/pliny,fdr/pliny,interagent/pliny,interagent/pliny,interagent/pliny
6d6e141651ac6ca8e71b8e498c012528bacc9022
templates/dhcpd.conf.erb
templates/dhcpd.conf.erb
# dhcpd.conf ddns-update-style none; default-lease-time 600; max-lease-time 7200; option domain-name "<%= domain %>"; option domain-name-servers <%= nameservers.join( ', ') %>; option ntp-servers <%= ntpservers.join( ', ') %>; #authoritative; #allow booting; #allow bootp; option fqdn.no-client-update on; # set ...
# dhcpd.conf default-lease-time 600; max-lease-time 7200; <% if has_variable?( 'dnsupdatekey' ) -%> ddns-update-style interim; include "<%= dnsupdatekey %>"; <% dnsdomain.each do |dom| -%> zone "<%= dom %>". { primary <%= nameservers.first %>; key "dhcp_updater"; } <% end -%> <% else %> ddns-update-style none; <%...
Add in DNS updating evaluation. tidy up.
Add in DNS updating evaluation. tidy up.
HTML+ERB
apache-2.0
varunarya10/puppetlabs-dhcp,bmjen/puppetlabs-dhcp,simon3270/puppetlabs-dhcp,archii/puppetlabs-dhcp,puppetlabs/puppetlabs-dhcp,michaelweiser/puppetlabs-dhcp,bmjen/puppetlabs-dhcp,varunarya10/puppetlabs-dhcp,javierwilson/puppetlabs-dhcp,ocadotechnology/puppetlabs-dhcp,ocadotechnology/puppetlabs-dhcp,treydock/puppetlabs-d...
8431fb3163a25ea8db5a9a79fc7e23796545f17e
documents/app/views/audios/_audio_processed.html.erb
documents/app/views/audios/_audio_processed.html.erb
<%= div_for audio do %> <%= render partial: 'audios/player', object: audio, as: :audio %> <%= render partial: 'objects/timeline_description', object: audio, as: :obj %> <% end %>
<%= div_for audio do %> <h5> <%= link_to truncate(audio.title, :length => 15), audio %> </h5> <%= render partial: 'audios/player', object: audio, as: :audio %> <%= render partial: 'objects/timeline_description', object: audio, as: :obj %> <% end %>
Add title to audio timeline
Add title to audio timeline Related to #275
HTML+ERB
mit
honorlin/social_stream,honorlin/social_stream,honorlin/social_stream,ging/social_stream,honorlin/social_stream,ging/social_stream,ging/social_stream
90792afe3eac2b129f7d92843d98fde86c21dd1d
app/views/smart_answers/_landing.html.erb
app/views/smart_answers/_landing.html.erb
<% if @presenter.has_meta_description? %> <% content_for :head do %> <meta name="description" content="<%= @presenter.meta_description %>"> <% end %> <% end %> <header class="page-header group"> <hgroup> <h1> <span>Quick answer </span> <%= @presenter.title %> </h1> <% if @presenter.ha...
<% if @presenter.has_meta_description? %> <% content_for :head do %> <meta name="description" content="<%= @presenter.meta_description %>"> <% end %> <% end %> <header class="page-header group"> <hgroup> <h1> <span>Quick answer </span> <%= @presenter.title %> </h1> <% if @presenter.ha...
Make skiplink markup match return-to-top links
Make skiplink markup match return-to-top links
HTML+ERB
mit
aledelcueto/smart-answers,askl56/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers,stwalsh/smart-answers,ministryofjustice/smart-answers,aledelcueto/smart-answers,ministryofjustice/smart-answers,aledelcueto/smart-answers,tadast/smart-answers,askl56/smart-answers,stwalsh/smart-answers,stwalsh/smart-answers,...
b691b7435cd6f0561b1eb0ab6ee20d1d65e1a8fe
data/ore/templates/rspec/spec/[namespace_dir]_spec.rb.erb
data/ore/templates/rspec/spec/[namespace_dir]_spec.rb.erb
require 'spec_helper' require '<%= @namespace_path %>' describe <%= @namespace %> do it "should have a VERSION constant" do <%= @namespace %>.const_get('VERSION').should_not be_empty end end
require 'spec_helper' require '<%= @namespace_path %>' describe <%= @namespace %> do it "should have a VERSION constant" do subject.const_get('VERSION').should_not be_empty end end
Use subject in the spec.
Use subject in the spec.
HTML+ERB
mit
philoserf/ore,ruby-ore/ore,dldinternet/ore,dldinternet/ore,philoserf/ore,ruby-ore/ore
944d77fba33c5bb2bb578f3179de8589df76c3fb
jobs/policy-server/templates/cc_ca.crt.erb
jobs/policy-server/templates/cc_ca.crt.erb
<% if_link("cloud_controller_https_endpoint") do |cc| %> <%= cc.p("cc.public_tls.ca_cert") %> <% end %>
<% if_link("cloud_controller_https_endpoint") do |cc| %> <% cc.if_p("cc.public_tls.ca_cert") do |ca_cert| %> <%= ca_cert %> <% end %> <% end %>
Make cc ca cert optional
Make cc ca cert optional - it is not a required property on cc provided link - if not provided, template interpolation fails
HTML+ERB
apache-2.0
cloudfoundry-incubator/cf-networking-release,cloudfoundry-incubator/cf-networking-release,cloudfoundry-incubator/cf-networking-release,cloudfoundry-incubator/cf-networking-release
0c4d4ba31c95d41d8d51f78f9e77f64f9672ecc0
app/views/events/_podium_category.html.erb
app/views/events/_podium_category.html.erb
<div class="podium-category"> <thead> <tr> <th><%= category.name %></th> <th>Name</th> <th>Category</th> <th>From</th> </tr> </thead> <tbody> <% if category.efforts.present? %> <% category.efforts.each_with_index do |effort, i| %> <tr> <td><%= (i + 1).ordinalize %...
<div class="podium-category"> <thead> <tr> <th><%= category.name %></th> <th>Time</th> <th>Name</th> <th>Category</th> <th>From</th> </tr> </thead> <tbody> <% if category.efforts.present? %> <% category.efforts.each_with_index do |effort, i| %> <tr> <td><%= (i...
Add Time column to events/podium view.
Add Time column to events/podium view.
HTML+ERB
mit
SplitTime/OpenSplitTime,SplitTime/OpenSplitTime,SplitTime/OpenSplitTime
c4b8961477d646ec9b91eda23ac3ca065acafdb3
lib/views/general/_frontpage_hero.html.erb
lib/views/general/_frontpage_hero.html.erb
<div class="homepage-hero"> <div class="row"> <div id="frontpage_right_to_know"> <%= render :partial => 'frontpage_intro_sentence' %> </div> <div id="frontpage_start_request"> <%= render :partial => "frontpage_new_request" %> </div> <div id="frontpage_search_box"> <%= render :pa...
<div class="homepage-hero"> <div class="row"> <div id="frontpage_right_to_know"> <%= render :partial => "frontpage_intro_sentence" %> </div> <div id="frontpage_start_request"> <%= render :partial => "frontpage_new_request" %> </div> <div id="frontpage_search_box"> <%= render :pa...
Make template a little closer to that used by application
Make template a little closer to that used by application
HTML+ERB
mit
openaustralia/righttoknow,openaustralia/righttoknow,openaustralia/righttoknow
421433a103fa4efab2b850ba1959d84b744a3925
app/views/people/_current_roles.html.erb
app/views/people/_current_roles.html.erb
<section id="current-roles"> <% person.current_roles.each do |role| %> <section class="role_appointment role govuk-!-padding-bottom-8"> <%= render "govuk_publishing_components/components/heading", { text: person.current_roles_title, id: person.current_roles_title.parameterize, ...
<section id="current-roles"> <% person.current_roles.each do |role| %> <section class="role_appointment role govuk-!-padding-bottom-8"> <%= render "govuk_publishing_components/components/heading", { text: person.current_roles_title, id: person.current_roles_title.parameterize, ...
Support a current role without an organisation
Support a current role without an organisation
HTML+ERB
mit
alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections
d1900cf74e450ff857b8b5967d1acf42eef88f6f
app/views/application/_masthead.html.erb
app/views/application/_masthead.html.erb
<div class="masthead"> <p class="logo"> <%= image_tag("eelogo.jpg", alt: "The Evening Edition") %> </p> <p> <span class="mdl-typography--title"><%= Time.now.strftime("For %B %d, %Y") %></span><br> <span class="mdl-typography--caption">Updated each day at 5 pm Chicago local time</span> </p> <div ...
<div class="masthead"> <p class="logo"> <%= image_tag("eelogo.jpg", alt: "The Evening Edition") %> </p> <p> <span class="mdl-typography--title"><%= Time.now.strftime("For %B %d, %Y") %></span> </p> <div class="login mdl-color--orange-900"> <span class="mdl-typography--caption"> <% if user_...
Move message about 5pm update time to only show to non-logged-in visitors
Move message about 5pm update time to only show to non-logged-in visitors
HTML+ERB
mit
jasonpettus/evening-edition,jasonpettus/evening-edition,jasonpettus/evening-edition
bcea02aa5667ced3218ecfa6afde2918ef6e9e39
app/views/smart_answers/landing.html.erb
app/views/smart_answers/landing.html.erb
<% start_node = @presenter.start_node %> <% if start_node.meta_description.present? %> <% content_for :head do %> <meta name="description" content="<%= start_node.meta_description %>"> <% end %> <% end %> <div class="govuk-grid-row"> <div class="govuk-grid-column-two-thirds"> <%= render "govuk_publishin...
<% start_node = @presenter.start_node %> <% if start_node.meta_description.present? %> <% content_for :head do %> <meta name="description" content="<%= start_node.meta_description %>"> <% end %> <% end %> <div class="govuk-grid-row"> <div class="govuk-grid-column-two-thirds"> <%= render "govuk_publishin...
Fix inconsistent margin for 'start' button
Fix inconsistent margin for 'start' button
HTML+ERB
mit
alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers
92163946d0ffcba21e3432c0c805d82d26671413
app/views/cdx/admin/pages/index.html.erb
app/views/cdx/admin/pages/index.html.erb
<% render_main_sidebar_menu; render_content_header_breadcrumb %> <div class="col-md-12"> <div class="box"> <div class="box-header with-border"> <%= link_to_new %> </div> <div class="box-body"> <table id="pages-table" data-source="<%= admin_pages_path(format: :json) %>" class="table table-bo...
<% render_main_sidebar_menu; render_content_header_breadcrumb %> <div class="col-md-12"> <div class="box"> <div class="box-header with-border"> <%= link_to_new %> </div> <div class="box-body"> <table id="pages-table" data-source="<%= admin_pages_path(format: :json) %>" class="table table-bo...
Fix page index table th titles
Fix page index table th titles
HTML+ERB
mit
alexandre025/cdx,alexandre025/cdx,alexandre025/cdx
9dbe9a4f087b1fec2ca6e23cbc4258e8768b9a32
app/views/data_objects/view_all.html.erb
app/views/data_objects/view_all.html.erb
<h1>List of all Data Objects</h1> <hr /> <table> <tr> <th>Name</th> <th>Data Type</th> </tr> <%- for obj in @data_objects -%> <tr> <td><%= obj.name %></td> <td><%= DataType.find(obj.data_type_id).name %></td> <!-- should this logic go elsewhere? --> </tr> <%- end -%> </table> <p><%= link_to "Back to Data Types List", ...
Index of data_objects added to tracked files
Index of data_objects added to tracked files
HTML+ERB
mit
YaleSTC/shifts,YaleSTC/shifts,YaleSTC/shifts
e90b3685807678f835aa73c31bb3a1f85ac2b0ae
app/views/catalog_admin/items/_common_form_fields.html.erb
app/views/catalog_admin/items/_common_form_fields.html.erb
<% @item.fields.each_with_index do |field, i| %> <%= field_input(f, field, :autofocus => (i == 0), :style => :compact) %> <% end %> <hr> <%= render_items_review(f) if catalog.requires_review? %>
<% @item.fields.each_with_index do |field, i| %> <%= field_input(f, field, :autofocus => (i == 0), :style => :compact) %> <% end %> <hr> <div id="item_review"> <%= render_items_review(f) if catalog.requires_review? %> </div>
Add HTML ID for future ajax use
Add HTML ID for future ajax use
HTML+ERB
apache-2.0
catima/catima,catima/catima,catima/catima,catima/catima
666850f6889acb700787cabf3cb345ad8debc15e
templates/default/sv-logstash-run.erb
templates/default/sv-logstash-run.erb
#!/bin/sh cd <%= @options['home'] %> exec 2>&1 exec chpst -u <%= @options['user'] %> <%= @options['home'] %>/bin/logstash <%= @options['args'].join(' ') %>
#!/bin/sh export HOME=<%= @options['home'] %> cd $HOME exec 2>&1 exec chpst -u <%= @options['user'] %> <%= @options['home'] %>/bin/logstash <%= @options['args'].join(' ') %>
Fix logstash HOME required for some plugins
Fix logstash HOME required for some plugins
HTML+ERB
apache-2.0
vkhatri/simple-logstash-cookbook,vkhatri/simple-logstash-cookbook,commandp/simple-logstash-cookbook,commandp/simple-logstash-cookbook,jsirex/simple-logstash-cookbook,jsirex/simple-logstash-cookbook
31fc2c57cb2fb3b7a1ab1fa2c145480fd2ed9ab0
templates/uwsgi.ini.erb
templates/uwsgi.ini.erb
# # This file is managed by puppet class 'uwsgi' # # uWSGI main process configuration # [uwsgi] <% if @socket -%> socket = <%= @socket %> <% end -%> plugins-dir <%= scope.lookupvar('uwsgi::plugins_directory') %> pidfile = <%= @pidfile %> emperor = <%= @app_directory %> emperor-tyrant = <%= @tyrant %> master = true auto...
# # This file is managed by puppet class 'uwsgi' # # uWSGI main process configuration # [uwsgi] <% if @socket -%> socket = <%= @socket %> <% end -%> plugin-dir <%= scope.lookupvar('uwsgi::plugins_directory') %> pidfile = <%= @pidfile %> emperor = <%= @app_directory %> emperor-tyrant = <%= @tyrant %> master = true autol...
Fix plugin dir and remove sorting
Fix plugin dir and remove sorting
HTML+ERB
apache-2.0
cwood/puppet-uwsgi,cwood/puppet-uwsgi,cwood/puppet-uwsgi
532c80ab8c95d89b9143b594656ae0c677c4910e
vendor/assets/javascripts/app.js.es6.erb
vendor/assets/javascripts/app.js.es6.erb
<% config = Rails.application.config.ember_appkit %> import Resolver from 'resolver'; <% unless config.enable_logging %> Ember.LOG_VERSION = false; <% end %> var App = Ember.Application.extend({ <% if config.enable_logging %> LOG_ACTIVE_GENERATION: true, LOG_MODULE_RESOLVER: true, LOG_TRANSITIONS: true, LO...
<% config = Rails.application.config.ember_appkit %> import Resolver from 'resolver'; if (typeof Turbolinks !== 'undefined') { throw new Error("Turbolinks has been detected. Ember Appkit Rails will not function properly alongside Turbolinks."); } <% unless config.enable_logging %> Ember.LOG_VERSION = false; <% en...
Throw an error if Turbolinks is detected.
Throw an error if Turbolinks is detected.
HTML+ERB
mit
tomdale/ember-appkit-rails,DavyJonesLocker/ember-appkit-rails,tomdale/ember-appkit-rails,DavyJonesLocker/ember-appkit-rails
00ad809495ef185abb985e1784695ad638af1f5b
lib/juici/views/partials/builds/debug.erb
lib/juici/views/partials/builds/debug.erb
<div class="debug-output"> <% if build[:priority] %> <h3 class="block-header">priority:</h3> <%= build[:priority] %> <% end %> <% if build[:command] %> <h3 class="block-header">command:</h3> <%= build[:command] %> <% end %> <% if build[:environment] %> <h3 class="block-header">environment:</h3> <% build[:en...
<div class="debug-output"> <% if build[:priority] %> <h3 class="block-header">priority:</h3> <%= build[:priority] %> <% end %> <% if build[:command] %> <h3 class="block-header">command:</h3> <div class="build-output"><%= build[:command] %></div> <% end %> <% if build[:environment] %> <h3 class="block-header">...
Format the build command neatly
Format the build command neatly
HTML+ERB
mit
richo/juici,richo/juici,richo/juici,richo/juici
d39b5c4b5f572f94160c4b3fa119c189e1df701e
app/views/gobierto_participation/scopes/show.html.erb
app/views/gobierto_participation/scopes/show.html.erb
<% content_for :breadcrumb_current_item do %> <strong> <%= link_to t('gobierto_participation.layouts.menu_subsections.scopes'), gobierto_participation_scopes_path %> </strong> <span role="separator">/</span> <h1> <%= link_to @scope.name, gobierto_participation_scope_path(@scope) %> </h1> <% end %> ...
<% content_for :breadcrumb_current_item do %> <strong> <%= link_to t('gobierto_participation.layouts.menu_subsections.scopes'), gobierto_participation_scopes_path %> </strong> <span role="separator">/</span> <h1> <%= link_to @scope.name, gobierto_participation_scope_path(@scope.slug) %> </h1> <% end...
Fix paths arguments to use slug
Fix paths arguments to use slug
HTML+ERB
agpl-3.0
PopulateTools/gobierto-dev,PopulateTools/gobierto-dev,PopulateTools/gobierto,PopulateTools/gobierto-dev,PopulateTools/gobierto,PopulateTools/gobierto,PopulateTools/gobierto-dev,PopulateTools/gobierto
5e5ad32406f2b45255cdf43b3ce0686f39cfb351
templates/default/distributions.erb
templates/default/distributions.erb
<% @codenames.each do |dist| -%> Origin: <%= node[:reprepro][:fqdn] %> Label: apt repository Codename: <%= dist %> Architectures: <%= @architectures.join(" ") %> Components: <%= @pulls["component"] %> Description: <%= node[:reprepro][:description] %> SignWith: <%= node[:reprepro][:pgp_email] %> <% unless @pulls["name...
<% @codenames.each do |dist| -%> Origin: <%= node[:reprepro][:fqdn] %> Label: apt repository Codename: <%= dist %> Architectures: <%= @architectures.join(" ") %> Components: <%= @pulls["component"] %> Description: <%= node[:reprepro][:description] %> SignWith: <%= node[:reprepro][:pgp_email] %> <% unless @pulls["name...
Fix support for multiple distribution releases
[COOK-3545] Fix support for multiple distribution releases Signed-off-by: Seth Vargo <81550dbf04dfd8537ff7b3c014c6fbf86e0889dc@gmail.com>
HTML+ERB
apache-2.0
mohitsethi/reprepro,naphthalene/reprepro,cybera-cookbooks/reprepro,Tealium/reprepro,tas50/reprepro,jesseadams/reprepro,tarak/reprepro,tarak/reprepro,cybera-cookbooks/reprepro,jesseadams/reprepro,david415/reprepro,mohitsethi/reprepro,tas50/reprepro
48043eef2513855d27777b1ec2d178944e24434c
app/views/search/index.html.erb
app/views/search/index.html.erb
<div class="search-results-page-form"><%= render 'search/form' %></div> <div class="row"> <div class="col m12"> <p class="no-results"> <%= @results_message %> </p> </div> </div> <div class="search-results"> <% @companies.each do |company| %> <div class="row"> <div class="col m3"> ...
<div class="search-results-page-form"><%= render 'search/form' %></div> <div class="row"> <div class="col m12"> <p class="no-results"> <%= @results_message %> </p> </div> </div> <div class="search-results"> <% @companies.each do |company| %> <div class="row"> <div class="col m3"> ...
Add data to search page
Add data to search page
HTML+ERB
mit
husseinmaad/open-div,husseinmaad/open-div,husseinmaad/open-div
1d3dec828a5503945c418cd1e645fae8d8eee068
views/local_branch_results.erb
views/local_branch_results.erb
<% content_for :page_title do %> Local guidance branches <% end %> <div class="inner-block"> <p>Contact the branch directly to book a session.</p> <ol class="list-number"> <li> <strong class="bold-medium">Earlsfield</strong><br/> 591 Garratt Lane<br /> London SW18 4ST<br/> ...
<% content_for :page_title do %> Local guidance branches <% end %> <div class="inner-block"> <p>Contact the branch directly to book a session.</p> <ol class="list-number"> <li> <strong class="bold-medium">Earlsfield</strong><br/> 591 Garratt Lane<br /> London SW18 4ST<br/> ...
Reduce size of postcode field on results page
Reduce size of postcode field on results page
HTML+ERB
mit
guidance-guarantee-programme/alpha,guidance-guarantee-programme/alpha,guidance-guarantee-programme/alpha
889a5fcabec12b5381f1d93094e82549ce4dd0f3
app/views/partials/_paymentmodal.html.erb
app/views/partials/_paymentmodal.html.erb
<div id="payment_details_modal" class="modal fade"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> <h4 class="modal-title">Add the p...
<div id="payment_details_modal" class="modal fade"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> <h4 class="modal-title">Add the p...
Add the fields bank, branch and others
Add the fields bank, branch and others - branch and others are optional fields. Signed-off-by: Siddharth Kannan <805f056820c7a1cecc4ab591b8a0a604b501a0b7@gmail.com>
HTML+ERB
mit
aniarya82/networking-rails,icyflame/erp-rails,icyflame/erp-rails,aniarya82/networking-rails,icyflame/erp-rails,aniarya82/networking-rails
43df82952cb51073c4a554b2c65ffe274cda686d
app/views/sevenpages/pages/_form.html.erb
app/views/sevenpages/pages/_form.html.erb
<%= form_page_header('page') %> <%= error_messages_for(@page) %> <%= form_for @page do |f| %> <%= f.label :title %> <%= f.text_field :title %> <%= f.label :slug %> <%= f.text_field :slug %> <%= f.label :content %> <%= f.text_area :content %> <%= f.submit %> <% end %>
<%= form_page_header('page') %> <%= error_messages_for(@page) %> <%= form_for @page do |f| %> <%= f.label :title %> <%= f.text_field :title %> <%= f.label :slug %> <%= f.text_field :slug %> <%= f.label :content %> <%= f.text_area :content %> <label> <%= f.check_box :published %> Published </label>...
Add published flag to Page form
Add published flag to Page form
HTML+ERB
mit
sevenview/sevenpages,sevenview/sevenpages
61299bbfbb58c008ef957541732e7cb001faf15b
app/views/shared/_whats_new_banner.html.erb
app/views/shared/_whats_new_banner.html.erb
<% tracking_module ||= "gem-track-click" %> <%= render "govuk_publishing_components/components/phase_banner", { phase: "Update", message: sanitize("Whitehall Publisher is changing - #{ link_to( "find more about upcoming changes and what's new", admin_whats_new_path, ...
<% tracking_module ||= "gem-track-click" %> <%= render "govuk_publishing_components/components/phase_banner", { phase: "What's new", message: sanitize("6 October: topic taxonomy and unpublishing and withdrawing pages move to the GOV.UK Design System - #{ link_to( "find more about the ch...
Update phase banner with release group 2 changes
Update phase banner with release group 2 changes Updated content for release group 2 changes for moving to the GOV.UK Design System.
HTML+ERB
mit
alphagov/whitehall,alphagov/whitehall,alphagov/whitehall,alphagov/whitehall
265066a25e1d79c47ce72f071553cb2ab4d60053
views/groups/index.html.erb
views/groups/index.html.erb
<h2><%= I18n.t('.groups.title') %></h2> <div class="panel panel-success"> <div class="panel-heading"> <h3 class="panel-title"><%= I18n.t('.common.group') %>s</h3> </div> <div class="panel-body"> <% if groups.any? %> <ul class="list-group"> <% groups.each_with_index do |user_group, index| %> ...
<h2><%= I18n.t('.groups.title') %></h2> <div class="panel panel-success"> <div class="panel-heading"> <h3 class="panel-title"><%= I18n.t('.common.group') %>s</h3> </div> <div class="panel-body"> <% if groups.any? %> <ul class="list-group"> <% groups.each_with_index do |user_group, index| %> ...
Fix positions on groups page
Fix positions on groups page
HTML+ERB
mit
threefunkymonkeys/funky-world-cup,threefunkymonkeys/funky-world-cup,threefunkymonkeys/funky-world-cup,threefunkymonkeys/funky-world-cup
6551cc8478d69d0b9aea560a6c48bf5b66caa973
app/views/links/_link_table_row.html.erb
app/views/links/_link_table_row.html.erb
<%= content_tag 'tr', class: link.updated? ? 'success' : '', data: link.row_data do %> <td class="analytics"><span><%= link.analytics.to_i %></span>this week</td> <td class="links"> <div class="local-authority"><%= link.local_authority.name %></div> <div class="govuk"><%= link.govuk_title || link.se...
<%= content_tag 'tr', class: link.updated? ? 'success' : '', data: link.row_data do %> <td class="analytics"><span><%= link.analytics.to_i %></span>visits this week</td> <td class="links"> <div class="local-authority"><%= link.local_authority.name %></div> <div class="govuk"><%= link.govuk_title || ...
Make it clearer that we show visits to broken links
Make it clearer that we show visits to broken links Content Support weren't aware that we show in the number of visits to broken links in Local Links Manager. They use that information to try and prioritise which broken links to work on. This small change makes it clear how many visits have resulted in broken links...
HTML+ERB
mit
alphagov/local-links-manager,alphagov/local-links-manager,alphagov/local-links-manager
88fb2267c5af2e2839a22da47d32af7b3f85d18e
app/views/parcels/_current_user.html.erb
app/views/parcels/_current_user.html.erb
<%= render partial: 'application/flash_messages' %> <div class="tab-sub-header row"> <% if @parcels.count == 0 %> <div class="col-md-1"></div> <div class="col-md-5">You have no current parcels</div> <% else %> <div class="col-md-3">Description</div> <div class="col-md-2">Update</div> <div clas...
<%= render partial: 'application/flash_messages' %> <div id="parcels"> <div class="tab-sub-header row"> <% if @parcels.count == 0 %> <div class="col-md-1"></div> <div class="col-md-5">You have no current parcels</div> <% else %> <div class="col-md-3">Description</div> <div class="col-m...
Add parcels id to parcels summary
Add parcels id to parcels summary
HTML+ERB
mit
bicyclethief/caravan,grantziolkowski/caravan,nyc-rock-doves-2015/caravan,bicyclethief/caravan,bicyclethief/caravan,nyc-rock-doves-2015/caravan,grantziolkowski/caravan,nyc-rock-doves-2015/caravan,grantziolkowski/caravan
d73d9cb27f749d213357e28d3bf7180c47d8ddd7
app/views/styleguide/pages_home.html.erb
app/views/styleguide/pages_home.html.erb
<%= render 'shared/trust_banner' %> <%= render 'shared/homepage_feature', strapline: t('home.show.strapline'), items: t('home.show.featured') %> <%= render 'shared/home_promoted', items: t('home.show.promoted') %> <%= render 'shared/contact' %>
<%= render 'shared/trust_banner' %> <%= render 'shared/directory', items: t('home.show.featured') %> <%= render 'shared/home_promoted', items: t('home.show.promoted') %> <%= render 'shared/contact' %>
Add directory to the homepage demo
Add directory to the homepage demo
HTML+ERB
mit
moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend
7c7230575d273abe30ccd851169a9249c710d5f3
app/views/layouts/_inside_sidebar.html.erb
app/views/layouts/_inside_sidebar.html.erb
<ul class="nav nav-list"> <% if can? :manage, Performance %> <li class="nav-header">Verwalten</li> <%= nav_link_to "Benutzer", jmd_users_path if can? :manage, User %> <%= nav_link_to "Wettbewerbe", jmd_competitions_path if can? :manage, Competition %> <%= nav_link_to "Ergebnisse", jmd_appearances_pa...
<ul class="nav nav-list"> <% if can? :manage, Performance %> <li class="nav-header">Verwalten</li> <%= nav_link_to "Benutzer", jmd_users_path if can? :manage, User %> <%= nav_link_to "Wettbewerbe", jmd_competitions_path if can? :manage, Competition %> <%= nav_link_to "Vorspiele", jmd_performances_pa...
Fix missing link to performances index when signed in as admin
Fix missing link to performances index when signed in as admin
HTML+ERB
mit
richeterre/jumubase-rails,richeterre/jumubase-rails,richeterre/jumubase-rails
006ca720fe15040b362b495d5ebc7e45ab84d91d
app/views/devise/invitations/edit.html.erb
app/views/devise/invitations/edit.html.erb
<% resource = User.new %> <h2><%= t 'devise.invitations.edit.header' %></h2> <p>Welcome to Diaperbase! Before we get started, please set a new password for yourself.</p> <p>We recommend a password that is:</p> <ul> <li>Memorable to you</li> <li>At least 10 characters long</li> <li>Uses some mix of letters, punctu...
<h2><%= t 'devise.invitations.edit.header' %></h2> <p>Welcome to Diaperbase! Before we get started, please set a new password for yourself.</p> <p>We recommend a password that is:</p> <ul> <li>Memorable to you</li> <li>At least 10 characters long</li> <li>Uses some mix of letters, punctuation, numbers, spaces, et...
Undo accidental change to view
Undo accidental change to view
HTML+ERB
mit
rubyforgood/diaper,rubyforgood/diaper,rubyforgood/diaper,rubyforgood/diaper
a06ce3efddb2fca7d25e7820b38c9e30517bd49f
app/views/projects/explore.erb
app/views/projects/explore.erb
<h1>Here goes the view of all projects</h1>
<div class="container"> <h1>Here goes the view of all projects</h1> <div class="row"> <% @projects.each do |project| %> <div class="col-lg-4 col-md-4"> <div class="panel panel-primary"> <div class="panel-heading"> <img src="<%= project.cover_img_url %>" class="img-responsive" alt...
Add populated view with all projects
Add populated view with all projects
HTML+ERB
mit
RobinSoubry/home2horizon,RobinSoubry/home2horizon,RobinSoubry/home2horizon
1c6235a7a6dd4839509802e68c67ee7bf61a3b50
app/views/users/_user.html.erb
app/views/users/_user.html.erb
<% form_for @user do |form| %> <% if @user.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@user.errors.count, "error") %> prohibited this user from being created:</h2> <ul> <% @user.errors.full_messages.each do |msg| %> <li><%= msg %></li> <% end %> </ul> ...
<%= form_for @user do |form| %> <% if @user.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@user.errors.count, "error") %> prohibited this user from being created:</h2> <ul> <% @user.errors.full_messages.each do |msg| %> <li><%= msg %></li> <% end %> </ul> ...
Use block style helpers please.
Everyone: Use block style helpers please.
HTML+ERB
mit
wtg/shuttle_tracking,wtg/shuttle_tracking,wtg/shuttle_tracking
2df449f100a8a56248b4b8b561849063264b7957
app/views/users/index.html.erb
app/views/users/index.html.erb
<% if @users != nil %> <div class="ui piled segment"> <%= render partial: "list", locals: { users: @users, show_controls: true } -%> </div> <% end %>
<% if @users != nil %> <div class="ui piled segment"> <%= render partial: "list", locals: { users: @users.sort_by { |u| u[:user_role] }, show_controls: true } -%> </div> <% end %>
Sort users by user_role in main user list
Sort users by user_role in main user list
HTML+ERB
mit
sptq/Vhagar,sptq/Vhagar
91557237c055f2f2777348edf1fcc3b1b4bb2d8b
app/views/shared/_error_messages.html.erb
app/views/shared/_error_messages.html.erb
<% if model.errors.any? %> <div id="error_explanation" class="span8 alert notice"> <ul> <% model.errors.full_messages.each do |full_error_message| %> <li><%= full_error_message %></li> <% end %> </ul> </div> <% end %>
<% if model.errors.any? %> <div id="error_explanation" class="alert notice"> <ul> <% model.errors.full_messages.each do |full_error_message| %> <li><%= full_error_message %></li> <% end %> </ul> </div> <% end %>
Remove span8 class from mappings error message
Remove span8 class from mappings error message * It was causing float problems * The error message can go full width now, though this doesn't always look great
HTML+ERB
mit
alphagov/transition,alphagov/transition,alphagov/transition
0d672d781679175be709d2f3202e6970d26151e5
app/views/spree/devices/activate.html.erb
app/views/spree/devices/activate.html.erb
<h1>Activate device</h1> <%= form_tag do %> <div class="field"> <%=label_tag 'name' %><br /> <%=text_field_tag 'name'%> </div> <div class="field"> <%=label_tag 'activation_token' %><br /> <%=text_field_tag 'activation_token'%> </div> <div class="actions"> <%= submit_tag 'Activate Device...
<h1>Activate device</h1> <%= form_tag do %> <div class="field"> <%=label_tag 'activation_token' %><br /> <%=text_field_tag 'activation_token'%> </div> <div class="actions"> <%= submit_tag 'Activate Device' %> </div> <% end %>
Remove device name from activation form.
Remove device name from activation form.
HTML+ERB
bsd-2-clause
brewbit/brewbit-dashboard,brewbit/brewbit-dashboard,brewbit/brewbit-dashboard
8421bff318616e202c491633163b3d182830d4bd
app/views/forem/forums/index.html.erb
app/views/forem/forums/index.html.erb
<div id='forums_container'> <h2><%= t('.title') %></h2> <%= render @categories %> </div> <br> <footer id='admin_link'> <% if forem_admin? %> <%= link_to t("area", :scope => "forem.admin"), admin_root_path %> <% end %> </footer>
<div id='forums_container'> <h1 id='forums_title'><%= t('.title') %></h1> <%= render @categories %> </div> <br> <footer id='admin_link'> <% if forem_admin? %> <%= link_to t("area", :scope => "forem.admin"), admin_root_path %> <% end %> </footer>
Use h1 tag for highest level forums title heading
Use h1 tag for highest level forums title heading
HTML+ERB
mit
wuwx/forem,rubysherpas/forem,moh-alsheikh/forem,danman01/forem,devleoper/forem,BanzaiMan/forem,daniely/forem,bvsatyaram/forem,rubysherpas/forem,kenmazaika/forem,wuwx/forem,bodrovis/forem,beansmile/forem,bvsatyaram/forem,link-er/forem,ketanjain/forem,code-mancers/forem,nikolaevav/forem,wuwx/forem,mmcc/forem,bcavileer/fo...
543d572dfe9ebde903203fbb242e2df4d001ad96
app/views/pages/home/_footer.html.erb
app/views/pages/home/_footer.html.erb
<footer class="text-center"> <nav data-scroll-to-content="true"> <ul class="list-inline"> <li><%= link_to 'Helpful', root_path %></li> <li><%= link_to 'Blog', 'https://medium.com/@Helpful' %></li> <li><%= mail_to 'helpful@helpful.io', 'Contact' %></li> <li><%= link_to 'Twitter', 'https://t...
<footer class="text-center"> <nav data-scroll-to-content="true"> <ul class="list-inline"> <li><%= link_to 'Helpful', root_path %></li> <li><%= link_to 'Blog', 'https://medium.com/@Helpful' %></li> <li><a href="#" data-helpful="helpful">Contact us</a></li> <li><%# mail_to 'helpful@helpful.i...
Use widget for contact link
Use widget for contact link
HTML+ERB
agpl-3.0
asm-helpful/helpful-web,asm-helpful/helpful-web,asm-helpful/helpful-web,asm-helpful/helpful-web
d6b7995544f59eb674ef46202b3b35d09ab712cf
app/views/shared/_global_nav.html.erb
app/views/shared/_global_nav.html.erb
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation"> <div class="container-fluid"> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> <span class="icon-bar"></span> <span clas...
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation"> <div class="container-fluid"> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> <span class="icon-bar"></span> <span clas...
Add correct global nav links and session check to global_nav in app layout.
Add correct global nav links and session check to global_nav in app layout.
HTML+ERB
mit
tiger-swallowtails-2014/write-now,tiger-swallowtails-2014/write-now
ef91954a11ab520975a41b6e82f7a6d3365a2ff7
app/views/users/_delegations.html.erb
app/views/users/_delegations.html.erb
<div class='respondents-list'> <div class="datatable-filters"> <div class="datatable-filters__right"> <input type="text" name="filter" id="filter" value="" placeholder="Type your search here... " size="25"/> <a href="#" id="clear_search" class="btn">Clear Search</a><br> </div> </div> <div cla...
<div class='respondents-list'> <div class="datatable-filters"> <div class="datatable-filters__right"> <input type="text" name="filter" id="filter" value="" placeholder="Type your search here... " size="25"/> <a href="#" id="clear_search" class="btn">Clear Search</a><br> </div> </div> <div cla...
Fix list not re-rendering when redirecting back to the page
Fix list not re-rendering when redirecting back to the page
HTML+ERB
bsd-3-clause
unepwcmc/ORS,unepwcmc/ORS,unepwcmc/ORS,unepwcmc/ORS,unepwcmc/ORS
184311af46e202c9636b0132eef03266d10afb95
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html lang="zh-Hant-TW"> <head> <title>Hackboard - Accelerate your works!</title> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> <!-- Loading Bootstrap --> <link href="css/vendor/bootstrap.min.css" rel="stylesheet"> <!-- Loading Flat UI Pro --> <lin...
<!DOCTYPE html> <html lang="zh-Hant-TW"> <head> <title>Hackboard - Accelerate your works!</title> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> <!-- Loading Bootstrap --> <!-- <link href="css/vendor/bootstrap.min.css" rel="stylesheet">--> <!-- Loading Flat UI Pro -->...
Change to use semantic ui
Change to use semantic ui
HTML+ERB
mit
hackboard/hackboard,hackboard/hackboard,hackboard/hackboard
ad796e2ac94281a36ac181c3ec6d49d8e952ae0d
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <link href='//fonts.googleapis.com/css?family=Droid+Sans' rel='stylesheet' type='text/css'> <link href='//fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'> <link href='//fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'> <link href='/...
<!DOCTYPE html> <html> <head> <link href='//fonts.googleapis.com/css?family=Droid+Sans' rel='stylesheet' type='text/css'> <link href='//fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'> <link href='//fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'> <link href='/...
Change view for loged in and out status.
Change view for loged in and out status.
HTML+ERB
mit
kahdojay/dbc-overflow,PeterJahnes/dbc-overflow,PeterJahnes/dbc-overflow,kahdojay/dbc-overflow,kahdojay/dbc-overflow,PeterJahnes/dbc-overflow
bd30ace44578d94431c52e620ccba085cd40f1c4
app/views/tickets/show.html.erb
app/views/tickets/show.html.erb
<h2><%= @ticket.subject %></h2> Created by <%= @ticket.name %><br> <%= @ticket.message %> <p> <%= link_to "Edit Ticket", edit_ticket_path(@ticket) %> <%= link_to "Delete Ticket", ticket_path(@ticket), method: :delete, data: { confirm: "Are you sure you want to delete this ticket?" } %> <%= link_to "Back to...
<h2><%= @ticket.subject %></h2> Created by <%= @ticket.name %><br> <%= simple_format(@ticket.message) %> <p> <%= link_to "Edit Ticket", edit_ticket_path(@ticket) %> <%= link_to "Delete Ticket", ticket_path(@ticket), method: :delete, data: { confirm: "Are you sure you want to delete this ticket?" } %> <%= l...
Update view for inbound email and reset back to working commit
Update view for inbound email and reset back to working commit
HTML+ERB
mit
stephdatu/helpdesk,stephdatu/helpdesk
24be68706346a95a2574a4038325751ffb1e3b40
app/views/password_resets/new.html.erb
app/views/password_resets/new.html.erb
<%= form_tag password_resets_path, :method => :post do %> <div class="field"> <%= label_tag :email %> <%= text_field_tag :email, params[:email] %> </div> <div class="actions"><%= submit_tag t('authentication.reset_your_password') %></div> <% end %>
<%= form_tag password_resets_path, :method => :post do %> <div class="field"> <%= label_tag :email %> <%= text_field_tag :email, params[:email] %> </div> <div class="actions"><%= submit_tag t('authentication.reset_your_password'), class: 'btn btn-primary' %></div> <% end %> <%# partial in tkh_menus gem o...
Call menu partial from the passwor reset page.
Call menu partial from the passwor reset page.
HTML+ERB
mit
allesklar/tkh_authentication,allesklar/tkh_authentication
3c037703c89f9e758b11688921247de8957a6555
app/views/shared/_footer_page.html.erb
app/views/shared/_footer_page.html.erb
<footer class="footer-bottom full-width text-center "> <h2> <a href="#top" class="footer-link">トップ</a> | <a href="/kata" class="footer-link">Kata (Wiki)</a> | <a href="/sotechsha" class="footer-link">公式ブック</a> </h2> <p>本WEBサイトのソースコードや社団法人の定款などは <a href="https://github.com/coderdojo-japan/" class="foot...
<footer class="footer-bottom full-width text-center "> <h2> <a href="/#top" class="footer-link">トップ</a> | <a href="/kata#top" class="footer-link">Kata (Wiki)</a> | <a href="/sotechsha" class="footer-link">公式ブック</a> </h2> <p>本WEBサイトのソースコードや社団法人の定款などは <a href="https://github.com/coderdojo-japan/" class=...
Add anchors to footer page links
Add anchors to footer page links
HTML+ERB
mit
yasslab/coderdojo.jp,coderdojo-japan/coderdojo.jp,yasslab/coderdojo.jp,coderdojo-japan/coderdojo.jp,coderdojo-japan/coderdojo.jp,yasslab/coderdojo.jp,coderdojo-japan/coderdojo.jp
50d47a5055e96e370e0f43a6f77d32bea7e7b635
app/views/shared/_map_popup.html.erb
app/views/shared/_map_popup.html.erb
<div style="width:200px;"> <div class="row" style="border-top:1px solid #CCCCCC;"> <div class="col-md-3"> <i class="fa fa-3x <%= asset.asset_type.display_icon_name %>"></i> </div> <div class="col-md-9"> <h4><%= asset.asset_type.name %></h4> </div> </div> <div class="row" style="border-top:1px soli...
<div style="width:200px;"> <div class="row" style="border-top:1px solid #CCCCCC;"> <div class="col-md-3"> <i class="fa travelcon-2x fa-2x <%= asset.asset_type.display_icon_name %>"></i> </div> <div class="col-md-9"> <h4><%= asset.asset_type.name %></h4> </div> </div> <div class="row" style="border...
Tweak asset icons in map popups
Tweak asset icons in map popups
HTML+ERB
mit
nycdot/transam_core,camsys/transam_core,camsys/transam_core,nycdot/transam_core,camsys/transam_core,camsys/transam_core,nycdot/transam_core
c637d87b6c55a91df828f330ca8f0e46d2855803
app/views/reports/new.erb
app/views/reports/new.erb
<p>Snow (in inches):</p> <% @snow_data_in.each do |k, v|%> <% if v == nil %> <p><%= k %>: Unable to fetch snow data.</p> <% else %> <p><%= k %>: <%= v %></p> <% end %> <% end %>
<h3><%= @resort.name %></h3> <hr> <p>Snow (in inches):</p> <% @snow_data_in.each do |k, v|%> <% if v == nil %> <p><%= k %>: Unable to fetch snow data.</p> <% else %> <p><%= k %>: <%= v %></p> <% end %> <% end %>
Add title to snowreport page
Add title to snowreport page
HTML+ERB
mit
themcny/snow-days,themcny/snow-days,themcny/snow-days
825e4aefe39ff47235e381a5f63c9d878102a837
app/views/questions/show.erb
app/views/questions/show.erb
<h1><%= @question.title %></h1> <div><%= @question.content %></div> <div><%= @question.author %></div> <h2>Answers</h2> <ul> <% @question.answers.each do |answer| %> <li><%= answer.content %></li> <% end %> </ul>
<h1><%= @question.title %></h1> <div><%= @question.content %></div> <div><%= @question.author %></div> <ul> <% @question.comments.each do |comment| %> <li><%= comment.content %></li> <% end %> </ul> <h2>Answers</h2> <ul> <% @question.answers.each do |answer| %> <li><%= answer.content %></li> <ul> ...
Add comments to each answers
Add comments to each answers
HTML+ERB
mit
sf-fiery-skippers-2016/hippoverflow,sf-fiery-skippers-2016/hippoverflow,sf-fiery-skippers-2016/hippoverflow
b698933353fa31f184a75e368c8d54c69311c214
app/views/users/new.html.erb
app/views/users/new.html.erb
<%= form_for @user do |f| %> <%= f.label :name %> <%= f.text_field :name %> <%= f.label :email %> <%= f.email_field :email %> <%= f.label :password %> <%= f.password_field :password %> <%= f.submit %> <% end %>
Add new view for user
Add new view for user
HTML+ERB
mit
rock-doves-2014/DemBoyz-Overflow,rock-doves-2014/DemBoyz-Overflow
3146b6cf71c6abc696e01979a21b237768fce23d
templates/etc/cron.daily/puppet-apply.erb
templates/etc/cron.daily/puppet-apply.erb
#!/bin/bash PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin PUPPET_OPTS="--detailed-exitcodes --color=false --confdir=<%= @conf_dir %>" PUPPET_MANIFEST="<%= @manifest_file %>" LOG_FILE="<%= @log_file %>" TEMP_FILE=$(mktemp tmp.puppet-XXXXXXXXXX) chmod 600 $TEMP_FILE apt-get -qq update puppet apply $...
#!/bin/bash PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin PUPPET_OPTS="--detailed-exitcodes --color=false --confdir=<%= @conf_dir %>" PUPPET_MANIFEST="<%= @manifest_file %>" LOG_FILE="<%= @log_file %>" TEMP_FILE=$(mktemp tmp.puppet-XXXXXXXXXX) if [ "$EUID" -ne "0" ]; then echo "This script must ...
Make sure the script is run as root
Make sure the script is run as root
HTML+ERB
apache-2.0
tohuwabohu/puppet-puppet,tohuwabohu/puppet-puppet