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
50d6712e2396c91229c4fd82b1eccdbb6dc80b53
app/views/buckets/_form.html.erb
app/views/buckets/_form.html.erb
<% url = @bucket.new_record? ? team_path(current_user.team) : team_bucket_path(current_user.team, @bucket) %> <%= form_for @bucket, :url => url do |f| %> <% if @bucket.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@bucket.errors.count, "error") %> prohibited this bucket from being saved:</h...
<% url = @bucket.new_record? ? team_buckets_path(current_user.team) : team_bucket_path(current_user.team, @bucket) %> <%= form_for @bucket, :url => url do |f| %> <% if @bucket.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@bucket.errors.count, "error") %> prohibited this bucket from being s...
Fix bucket new form path
Fix bucket new form path
HTML+ERB
mit
jonmagic/i-got-issues,jonmagic/i-got-issues,jonmagic/i-got-issues
b0af86610d9f8460f54f32671444ec8c042b4c6e
app/views/courses/index.html.erb
app/views/courses/index.html.erb
<h1>Courses</h1> <ul> <% @courses.each do |course| %> <li><%= link_to course.title, course_path(course) %></li> <ul> <% render partial: "/languages/display_languages", collection: course.languages, as: :language %> </ul> <% end %> </ul>
<h1>Courses</h1> <%= link_to "Add Course", new_course_path %> <ul> <% @courses.each do |course| %> <li><%= link_to course.title, course_path(course) %></li> <ul> <% render partial: "/languages/display_languages", collection: course.languages, as: :language %> </ul> <% end %> </ul>
Move Add course link here.
Move Add course link here.
HTML+ERB
mit
abonner1/code_learning_resources_manager,abonner1/code_learning_resources_manager,abonner1/code_learning_resources_manager,abonner1/sorter,abonner1/sorter,abonner1/sorter
0f2fff77645089fa333b59a7dbbbf80658ea79e2
app/views/ranking/index.html.erb
app/views/ranking/index.html.erb
<table class="table table-hover"> <thead> <tr> <th style="width:100px">Posição</th> <th>Usuário</th> <th>Quantidade</th> </tr> </thead> <tbody> <% @i = 0 %> <% @top_users.each do |user| %> <tr> <td> <center><span class="ranking-potision"><%= "#{@i += 1} º"%></span></center></td> <td> <div...
<%= render 'ranking/ranking', top_users: @top_users %>
Move form to a partial template
[Template] Move form to a partial template
HTML+ERB
mit
marceloboeira/spread_blood,SpreadBlood/core,SpreadBlood/core,SpreadBlood/core,marceloboeira/spread_blood,marceloboeira/spread_blood
f8cdd5629b8683794a97f62e2efc03c7353d6d6d
app/views/settings/edit.html.erb
app/views/settings/edit.html.erb
<% content_for :header do %> <h1>Settings</h1> <p class="lead">Set your time zone.</p> <% end %> <%= form_tag settings_path, method: :put, id: "settings-form" do %> <div class="form-group"> <%= time_zone_select :user, :time_zone, ActiveSupport::TimeZone.us_zones, { default: current_user.tim...
<% content_for :header do %> <h1>Settings</h1> <p class="lead">What's your time zone?</p> <% end %> <%= form_tag settings_path, method: :put, id: "settings-form" do %> <div class="form-group"> <%= time_zone_select :user, :time_zone, ActiveSupport::TimeZone.us_zones, { default: current_user....
Make settings a bit friendlier
Make settings a bit friendlier
HTML+ERB
mit
codecation/trailmix,codecation/trailmix,codecation/trailmix,codecation/trailmix
09656fc5284c4715a7e009cb2b56947aa85a82fb
base/app/views/layouts/_header_dropdown_menu_sessions.html.erb
base/app/views/layouts/_header_dropdown_menu_sessions.html.erb
<% representations = current_user.represented.unshift(current_user) - [current_subject] %> <% unless representations.empty? %> <li> <%= link_to t('representation.switch'), "javascript:;", :class=>"session_change" %> <ul> <% representations.each do |representation| %> <li> <%= link_to truncate_name(rep...
<% representations = current_user.represented.unshift(current_user) - [current_subject] %> <% unless representations.empty? %> <li> <%= link_to t('representation.switch'), "javascript:;", :class=>"session_change" %> <ul> <% representations.each do |representation| %> <li> <% pending_total = represent...
Change session menu to include unread notifications rather than pending contacts
Change session menu to include unread notifications rather than pending contacts
HTML+ERB
mit
ging/social_stream,honorlin/social_stream,ging/social_stream,honorlin/social_stream,honorlin/social_stream,honorlin/social_stream,ging/social_stream
2c0650e28f9c184db5d8a801c53d39eeea473ff4
templates/fpm.erb
templates/fpm.erb
<IfModule mod_fastcgi.c> AddHandler php5-fcgi .php Action php5-fcgi /php5-fcgi Alias /php5-fcgi /usr/lib/cgi-bin/php5-fcgi FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -host <%= scope.lookupvar('apache2::fpm_host') -%>:<%= scope.lookupvar('apache2::fpm_port') -%> -pass-header Authori...
<IfModule mod_fastcgi.c> AddHandler php5-fcgi .php Action php5-fcgi /php5-fcgi Alias /php5-fcgi /usr/lib/cgi-bin/php5-fcgi FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -host <%= scope.lookupvar('apache2::fpm_host') -%>:<%= scope.lookupvar('apache2::fpm_port') -%> -pass-header Authorization <% if @osfamily =...
Support for apache 2.4 in ubuntu 13.10
Support for apache 2.4 in ubuntu 13.10
HTML+ERB
apache-2.0
icalvete/puppet-apache2,icalvete/puppet-apache2,icalvete/puppet-apache2
bf7b08ca5c5aeae9a85aee8232d8531328d14071
app/views/layouts/administrate/application.html.erb
app/views/layouts/administrate/application.html.erb
<%# # Application Layout This view template is used as the layout for every page that Administrate generates. By default, it renders: - Navigation - Content for a search bar (if provided by a `content_for` block in a nested page) - Flashes - Links to stylesheets and JavaScripts %> <!DOCTYPE html> <html lang="<%= I...
<%# # Application Layout This view template is used as the layout for every page that Administrate generates. By default, it renders: - Navigation - Content for a search bar (if provided by a `content_for` block in a nested page) - Flashes - Links to stylesheets and JavaScripts %> <!DOCTYPE html> <html lang="<%= I...
Use a hyphen separator in page titles
Use a hyphen separator in page titles The vertical pipe is read aloud by screen readers. So a page title of `page | Administrate` would be read as "page vertical pipe Administrate." By using a hyphen instead, the screen reader will read as "page, Administrate." Related: https://github.com/thoughtbot/administrate/iss...
HTML+ERB
mit
vgsantoniazzi/administrate,dminchev/administrate,nando/administrate,BenMorganIO/administrate,BenMorganIO/administrate,vgsantoniazzi/administrate,vgsantoniazzi/administrate,nando/administrate,nando/administrate,joshua5201/administrate,dminchev/administrate,thoughtbot/administrate,dminchev/administrate,dminchev/administr...
62b4bed48b843f8643d437269b3d428aadd30158
templates/json.erb
templates/json.erb
{ "version": "https://jsonfeed.org/version/1", "title": "The Setup<% if @category %> / <%= @category.capitalize %><% end %>", "home_page_url": "https://usesthis.com/", "feed_url": "http://usesthis.com/<% if @category %>/interviews/<%= @category %>/<% end %>feed/", "author": { "name": "Daniel Bogan" }, ...
Add the JSON feed template.
Add the JSON feed template.
HTML+ERB
mit
ivuk/usesthis,ivuk/usesthis,waferbaby/usesthis,waferbaby/usesthis
cb9b4c945cd4a7797c1c5e2ec61636531f9ec48c
app/views/answers/_fields.html.erb
app/views/answers/_fields.html.erb
<%= f.inputs do %> <%= render :partial => 'shared/common_edition_attributes', :locals => {:f => f} %> <div class="row"> <div class="col-md-10"> <%= f.input :body, :as => :text, :input_html => { :disabled => @resource.locked_for_edits? } %> </div> </div> <% end %> <%= render partial: 'shared/workflo...
<%= f.inputs do %> <%= render :partial => 'shared/common_edition_attributes', :locals => {:f => f} %> <%= f.input :body, :as => :text, :input_html => { :disabled => @resource.locked_for_edits?, class: 'input-md-10' } %> <% end %> <%= render partial: 'shared/workflow_buttons', locals: { f: f } %>
Use input helper classes on answer form
Use input helper classes on answer form
HTML+ERB
mit
leftees/publisher,telekomatrix/publisher,leftees/publisher,leftees/publisher,alphagov/publisher,telekomatrix/publisher,leftees/publisher,telekomatrix/publisher,alphagov/publisher,telekomatrix/publisher,alphagov/publisher
f273ab937eda75394da8db1b5cff898929eeda81
app/views/apps/calculator.html.erb
app/views/apps/calculator.html.erb
<div class='hero container'> <section class="row m-b-md"> <div class="col-sm-12"> <h2>Bitcoin <strong>Calculator</strong></h2> <%= render 'shared/breadcrumb' %> <%= render 'shared/social_media' %> </div> </section> <div class="panel panel-default" id='address_bookmarks'> <d...
<div class='hero container'> <section class="row m-b-md"> <div class="col-sm-12"> <h2>Bitcoin <strong>Calculator</strong></h2> <%= render 'shared/breadcrumb' %> <%= render 'shared/social_media' %> </div> </section> <div class="panel panel-default" id='address_bookmarks'> <d...
Remove alternate numeric keyboards due to inability to define decimal enabling pattern attribute.
Remove alternate numeric keyboards due to inability to define decimal enabling pattern attribute.
HTML+ERB
mit
cgcardona/blockchain.bigearth.io,cgcardona/blockchain.bigearth.io
e97afdab5d603c00a2e551aff78a2ec6c3d3d734
app/views/companies/index.html.erb
app/views/companies/index.html.erb
<div class="container"> <h1>companies</h1> <% @companies.each do |company| %> <div class="company-box"> <h2><%= company.name %></h2> <% company.users.each do |employee| %> <%= link_to employee.username, user_path(employee) %> <% end %> <p><%= link_to "Edit Company", edit_c...
<div class="container"> <%= link_to "Add New Company", new_company_path%> <h1>companies</h1> <% @companies.each do |company| %> <div class="company-box"> <h2><%= company.name %></h2> <% company.users.each do |employee| %> <%= link_to employee.username, user_path(employee) %> <% ...
Add link to make new company to index
Add link to make new company to index
HTML+ERB
mit
iand11/boot-on-the-ground,iand11/boot-on-the-ground,iand11/boot-on-the-ground
154d8fb86eb8ab59b52ba5f956139845ffebaec8
app/views/layouts/_search.html.erb
app/views/layouts/_search.html.erb
<%= form_tag(search_pictures_path, method: :get, enforce_utf8: false, class: 'search') do %> <div class="input-group"> <label for="q" class="sr-only">Search</label> <%= search_field_tag :q, params[:q], placeholder: 'Search pictures...', class: 'form-control', 'aria-label' => 'Query' %> <span class="input-...
<%= form_tag(search_pictures_path, method: :get, enforce_utf8: false, class: 'search') do %> <div class="input-group"> <%= search_field_tag :q, params[:q], placeholder: 'Search pictures...', class: 'form-control', 'aria-label' => 'Query' %> <span class="input-group-btn"> <button class="btn btn-secondary...
Remove label to fix border on search input
Remove label to fix border on search input
HTML+ERB
mit
vinc/pi.ctu.re,vinc/pi.ctu.re,vinc/pi.ctu.re
38f0080f796ae8173baf80ede72ac336c0c2acfd
app/views/events/_suggestion.html.erb
app/views/events/_suggestion.html.erb
<li class="suggestion"> <aside> <div class="vote-count" data-id="<%= suggestion.id %>"> <%= suggestion.vote_count %> </div> <div class="vote" data-id="<%= suggestion.id %>"> <% if vote_for_suggestion %> <%= semantic_form_for vote_for_suggestion, html: { method: :delete } do |f| %> ...
<li class="suggestion"> <aside> <div class="vote-count" data-id="<%= suggestion.id %>"> <%= suggestion.vote_count %> </div> <% if vote_for_suggestion %> <div class="vote undo-vote" data-id="<%= suggestion.id %>"> <%= semantic_form_for vote_for_suggestion, html: { method: :delete...
Add additional css class 'undo-vote' to votes which can be undone
Add additional css class 'undo-vote' to votes which can be undone
HTML+ERB
mit
mauricionr/sched.do,yammer/sched.do,yammer/sched.do,yammer/sched.do,YOTOV-LIMITED/sched.do,YOTOV-LIMITED/sched.do,mauricionr/sched.do,mauricionr/sched.do,YOTOV-LIMITED/sched.do,mauricionr/sched.do,yammer/sched.do,YOTOV-LIMITED/sched.do
c231cc979a46bb647b4d52a639cc0602fe6e4a15
app/views/expensesheets/show.html.erb
app/views/expensesheets/show.html.erb
<div class="row"> <div class="large-3 columns"> <h4>Your monthly expenses</h4> <% @user.expenses.each do |expense| %> <p>$<%= expense.amount %></p> <% end %> </div> <div class="large-9 columns"> <div id="spending-averages" style="min-width: 310px; max-width: 800px; height: 400px; marg...
<div class="row"> <div class="large-3 columns"> <h4>Your monthly expenses</h4> <% current_user.expenses.each do |expense| %> <p>$<%= expense.amount %></p> <% end %> </div> <div class="large-9 columns"> <div id="spending-averages" style="min-width: 310px; max-width: 800px; height: 400p...
Update views to reflect current_user change
Update views to reflect current_user change
HTML+ERB
mit
nyc-cicadas-2015/Can-I-Afford-This,nyc-cicadas-2015/Can-I-Afford-This,nyc-cicadas-2015/Can-I-Afford-This
b59ae72645e48ffaadb7dcbbe94d6d5feebae63c
app/views/shared/_footer_cta.html.erb
app/views/shared/_footer_cta.html.erb
<% if user_signed_in? %> <div class="rounded-md p-8 hidden lg:block"> <h3 class="text-3xl font-bold text-gray-700">Have a question?</h2> <p class="py-3 text-gray-800 text-md font-light w-96">Chat with the Odin community on Discord!</p> <%= link_to ODIN_CHAT_URL, class: "button button--dark text-lg px-14"...
<% if user_signed_in? %> <div class="rounded-md p-8 hidden lg:block"> <h3 class="text-3xl font-bold text-gray-700">Have a question?</h2> <p class="py-3 text-gray-800 text-md font-light w-96">Chat with the Odin community on Discord!</p> <%= link_to ODIN_CHAT_URL, class: "button button--dark text-lg px-14"...
Enable Tailwind Form Plugin for Email CTA.
Chore: Enable Tailwind Form Plugin for Email CTA. Because: * We will be enabling the Tailwind form plugin for all form fields by default. This commit: * Enabled the TW form plugin for the email cta field manually and fixes styling.
HTML+ERB
mit
TheOdinProject/theodinproject,TheOdinProject/theodinproject,TheOdinProject/theodinproject,TheOdinProject/theodinproject
f13405f4cc0b60a1f8271255b82af516b34abd1b
app/views/lists/_form.html.erb
app/views/lists/_form.html.erb
<p> <%= f.label :name %><br /> <%= f.text_field :name %> </p> <p> <%= f.label :short_name %><br /> <%= f.text_field :short_name %>&nbsp;@<%= APP_CONFIG[:email_domain] %> </p> <p> <%= f.label :description %><br /> <%= f.text_area :description, :rows => 5 %> </p> <p> <%= f.label :private %> <%= f.check...
<p> <%= f.label :name %><br /> <%= f.text_field :name %> </p> <p> <%= f.label :short_name %><br /> <%= f.text_field :short_name %>&nbsp;@<%= APP_CONFIG[:email_domain] %> </p> <p> <%= f.label :description %><br /> <%= f.text_area :description, :rows => 5 %> </p> <p> <%= f.check_box :private %> <%= f.l...
Add some clarity to the public/private option when creating a list
Add some clarity to the public/private option when creating a list
HTML+ERB
mit
jfqd/zlist,jfqd/zlist,bensie/zlist,jfqd/zlist,bensie/zlist
a0fc133080ff025cc53fb05ef56e8d874091e2ae
templates/default/monit.default.erb
templates/default/monit.default.erb
# Generated by Chef <% case @platform %> <% when 'ubuntu' %> <% case @platform_version %> <% when '10.04' %> startup=1 <% when '12.04', '14.04' %> START=yes <% end %> <% when 'debian' %> START=yes <% end %>
# Generated by Chef <% case @platform %> <% when 'ubuntu' %> <% case @platform_version %> <% when '10.04' %> startup=1 <% else %> START=yes <% end %> <% when 'debian' %> START=yes <% end %>
Support for Ubuntu 16.04 LTS
Support for Ubuntu 16.04 LTS
HTML+ERB
apache-2.0
vkhatri/monit-ng,StuporHero/monit-ng,StuporHero/monit-ng,StuporHero/monit-ng,vkhatri/monit-ng,bbg-cookbooks/monit-ng,vkhatri/monit-ng,bbg-cookbooks/monit-ng,bbg-cookbooks/monit-ng
64c2c72357b0aeb78f19a44fbc67a0ca85cb18d6
cookbooks/db/templates/default/cron.erb
cookbooks/db/templates/default/cron.erb
#!/bin/sh # Cleanup archive directory find /store/postgresql/system/archive -mtime +10 -print0 | xargs -0r rm
#!/bin/sh # Cleanup archive directory find -L /store/postgresql/archive -mtime +10 -print0 | xargs -0r rm
Correct location of archived logs for expiry
Correct location of archived logs for expiry
HTML+ERB
apache-2.0
zerebubuth/openstreetmap-chef,openstreetmap/chef,openstreetmap/chef,openstreetmap/chef,gravitystorm/chef,gravitystorm/chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,openstreetmap/chef,tomhughes/openstreetmap-chef,tomhughes/openstreetma...
084d5720a6860bfef3dd2b89d700397d8b34bac0
views/other.erb
views/other.erb
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"> <% if doc_index_page? %><meta name="description" content="<%= @doc['name'] %> reference documentation with fast, fuzzy search, keyboard shortcuts, mobile versio...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"> <% if doc_index_page? %><meta name="description" content="<%= @doc['name'] %> reference documentation with fast, fuzzy search, keyboard shortcuts, mobile versio...
Add canonical link to all pages
Add canonical link to all pages
HTML+ERB
mpl-2.0
zerin108/devdocs,mnquintana/devdocs,ReKungPaw/devdocs,daviart/devdocs,UIUXEngineering-Forks/devdocs,hagb4rd/devdocs,guiquanz/devdocs,hyjk2000/devdocs,seripap/devdocs,guiquanz/devdocs,Ivicel/devdocs,Ivicel/devdocs,rlugojr/devdocs,askl56/devdocs,alanepontes/devdocs,rlugojr/devdocs,hagb4rd/devdocs,yosiat/devdocs,abougouff...
6ad89acfdc901f5983c25b3621934bb1cb4173fe
modules/performanceplatform/templates/assets-vhost.erb
modules/performanceplatform/templates/assets-vhost.erb
# Spotlight serves assets from the public directory # of the currently deployed version of the app. location /spotlight/ { expires 2h; rewrite ^/spotlight(.*)$ $1 break; root /opt/spotlight/current/public; }
# Spotlight serves assets from the public directory # of the currently deployed version of the app. location /spotlight/ { expires 5m; rewrite ^/spotlight(.*)$ $1 break; root /opt/spotlight/current/public; }
Reduce cache time of Spotlight assets vhost
Reduce cache time of Spotlight assets vhost Until we have proper cachebusting in place, we shouldn't cache this for so long. Under the kind of load we'll see nginx won't have a problem serving a few static files every couple of minutes.
HTML+ERB
mit
alphagov/pp-puppet,alphagov/pp-puppet,alphagov/pp-puppet,alphagov/pp-puppet
ba7435871a44cbf76a8d8727f53d4de4ae0b75f1
app/components/pass_component.html.erb
app/components/pass_component.html.erb
<article class="mx-4 p-8 border-2 border-white text-center"> <h1 class="mb-6 text-3xl font-semibold"><%= name %></h1> <div class="mb-6"> <p class="font-semibold">NTD $<%= current_price %></p> <p><%= t("ticket.description.#{@plan}") %></p> </div> <ul class="mb-6"> <li><%= t("ticket.info.#{@plan}.orig...
<article class="flex flex-col mx-4 p-8 border-2 border-white text-center"> <h1 class="mb-6 text-3xl font-semibold"><%= name %></h1> <div class="mb-6"> <p class="font-semibold">NTD $<%= current_price %></p> <p><%= t("ticket.description.#{@plan}") %></p> </div> <ul class="mb-6 flex-grow"> <li><%= t("t...
Update PassComponent to ensure button position
Update PassComponent to ensure button position
HTML+ERB
apache-2.0
TGDF/official-site,TGDF/official-site,TGDF/official-site,TGDF/official-site
a26dc2ca90d2c3c593adb174fa06145d671af74f
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title><%= full_title(yield(:title)) %></title> <%= stylesheet_link_tag "application", media: "all" %> <%= javascript_include_tag "application" %> <%= csrf_meta_tags %> <%= render 'layouts/shim' %> </head> <body> <%= render 'layouts/header' %> <div clas...
<!DOCTYPE html> <html> <head> <title><%= full_title(yield(:title)) %></title> <%= stylesheet_link_tag "application", media: "all" %> <%= javascript_include_tag "application" %> <%= csrf_meta_tags %> <%= render 'layouts/shim' %> </head> <body> <%= render 'layouts/header' %> <div clas...
Fix flash display for success messages
Fix flash display for success messages
HTML+ERB
mit
localstatic/glf,localstatic/glf
b7a198293e3ebded81cc99a3ba407c12f420714f
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html lang="sv"> <head> <title>Biblion | <%= yield(:title) %></title> <%= csrf_meta_tags %> <meta name="description" content="På Biblion kan du ge och få böcker av andra människor, helt gratis! Registrera dig för att börja, eller ta en titt för att se vilka böcker som ligger ute nu."> ...
<!DOCTYPE html> <html lang="sv"> <head> <title>Biblion | <%= yield(:title) %></title> <%= csrf_meta_tags %> <meta name="google-site-verification" content="sthr8ei4f8LsG-T4j8vXf4bizRkUmLnfUyVXbRK5ynY" /> <meta name="description" content="På Biblion kan du ge och få böcker av andra människor, helt grati...
Add google webmaster verification tag
Add google webmaster verification tag
HTML+ERB
mit
johan-andersson01/biblion,johan-andersson01/biblion,johan-andersson01/biblion,johan-andersson01/biblion
a1ddc7eaaece604f1a162e13da9c1b6d0aa1a438
app/views/posts/_comment_form.html.erb
app/views/posts/_comment_form.html.erb
<h5> Write a comment </h5> <%= form_for(@comment, url: comment_post_path(@comment.commentable_id)) do |f| %> <%= f.text_area :comment %> <br /> <%= f.submit 'Submit', class: 'btn btn-primary btn-block' %> <% end %>
<h5> Write a comment </h5> <%= form_for(@comment, url: comment_post_path(@comment.commentable_id)) do |f| %> <%= f.text_area :comment, cols: 20, rows: 5 %> <br /> <%= f.submit 'Submit', class: 'btn btn-primary btn-block' %> <% end %>
Change comment dimensions to display a bigger box
Change comment dimensions to display a bigger box
HTML+ERB
mit
maebeale/doublehranch,rubyforgood/doublehranch,rubyforgood/doublehranch,rubyforgood/doublehranch,maebeale/doublehranch,maebeale/doublehranch
30ede839830351ade37675b4751640e2b39a718f
app/views/exam_templates/_split_form.html.erb
app/views/exam_templates/_split_form.html.erb
<%= form_for [@assignment, exam_template], url: split_assignment_exam_template_path(id: exam_template.id), html: { multipart: true }, remote: true, authenticity_token: true do |f| %> <p> <%= f.label t('exam_templates.split.instruction') %> <%= f.file_field :pdf_to...
<%= form_for [@assignment, exam_template], url: split_assignment_exam_template_path(id: exam_template.id), html: { multipart: true }, authenticity_token: true do |f| %> <p> <%= f.label t('exam_templates.split.instruction') %> <%= f.file_field :pdf_to_split %> <p><%= subm...
Fix behaviour on PDF split form submit.
scanned-exams: Fix behaviour on PDF split form submit.
HTML+ERB
mit
MarkUsProject/Markus,benjaminvialle/Markus,MarkUsProject/Markus,MarkUsProject/Markus,benjaminvialle/Markus,benjaminvialle/Markus,benjaminvialle/Markus,MarkUsProject/Markus,MarkUsProject/Markus,MarkUsProject/Markus,MarkUsProject/Markus,MarkUsProject/Markus,benjaminvialle/Markus,benjaminvialle/Markus,benjaminvialle/Marku...
b88599f3e9ecb7763089cfd3a4105b290a88b93a
lib/views/general/_topnav.html.erb
lib/views/general/_topnav.html.erb
<div id="topnav"> <ul id="navigation"> <li class="<%= 'selected' if params[:controller] == 'general' and params[:action] != 'blog' and params[:action] != 'search' %>"><%= link_to _("Home"), frontpage_path %></li> <li class="<%= 'selected' if params[:controller] == 'request' and ['new', 'select_autho...
Rename Help to About in topnav
Rename Help to About in topnav
HTML+ERB
mit
mysociety/askyourgovug-theme,mysociety/askyourgovug-theme
d471b3695f9a0af5e1e841fd97bb40e9c9f94271
core/app/views/shared/_head.html.erb
core/app/views/shared/_head.html.erb
<title><%= title %></title> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" /> <%= meta_data_tags %> <%= stylesheet_link_tag 'store/all', :media => 'screen' %> <%= csrf_meta_tags %> <%= javascript_include_tag 'store/all' %> <%= yield :head %>
<title><%= title %></title> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" /> <%== meta_data_tags %> <%= stylesheet_link_tag 'store/all', :media => 'screen' %> <%= csrf_meta_tags %> <%= javascript_include_tag 'store/all' %> <%= yield :head %>
Revert "Fix typo in shared/_head template.", which introduces bug
Revert "Fix typo in shared/_head template.", which introduces bug This reverts commit 84ccd9f8372305db162553b0592852181c80de33.
HTML+ERB
bsd-3-clause
rajeevriitm/spree,jeffboulet/spree,Hawaiideveloper/shoppingcart,Boomkat/spree,wolfieorama/spree,TimurTarasenko/spree,SadTreeFriends/spree,vulk/spree,brchristian/spree,yushine/spree,grzlus/spree,madetech/spree,jordan-brough/solidus,Hawaiideveloper/shoppingcart,grzlus/spree,vinsol/spree,DarkoP/spree,yiqing95/spree,Mayven...
f2b37edc56284a6e60d70e015331a05e6005cf8d
app/views/ideas/index.html.erb
app/views/ideas/index.html.erb
<!-- main page, list of many ideas, can click on title and/or number of comments to see the idea --> <!-- <h1>All Ideas</h1> --> <ul> <% @ideas.each do |idea| %> <li><h2><%= link_to(idea.title, idea_path(idea)) %></h2> <%= idea.comments.count %> comments</li> <% end %> </ul>
<!-- main page, list of many ideas, can click on title and/or number of comments to see the idea --> <!-- <h1>All Ideas</h1> --> <ul class="idea_list"> <% @ideas.each do |idea| %> <li><%= link_to(idea.title, idea_path(idea)) %> <%= idea.comments.count %> <i class="fa fa-comments"></i></li> <% end %> </ul>
Add styling of ideas and add comment bubble
Add styling of ideas and add comment bubble
HTML+ERB
mit
chi-fiddler-crabs-2015/yesand,chi-fiddler-crabs-2015/yesand,chi-fiddler-crabs-2015/yesand
1ba755a8aca3497d3687bc0f0b613f8b213ce229
app/views/tools/index.html.erb
app/views/tools/index.html.erb
<h1>Nested Resources for All Tools</h1> <% @tools.each do |tool| %> <ul> <li><%= tool.name %></li> <% tool.resources.each do |resource| %> <ul> <li><%= link_to resource.name, resource.url %> | <button class="btn btn-default">Resource Page</button></li> <!--ionicons not working! <li class=...
<h1>Nested Resources for All Tools</h1> <% @tools.each do |tool| %> <ul> <li><%= link_to tool.name, tool_path(tool.id) %></li> <% tool.resources.each do |resource| %> <ul> <li><%= link_to resource.name, resource.url %> | <button class="btn btn-default">Resource Page</button></li> <!--ionicons n...
Add link to tool show page on Tool index
Add link to tool show page on Tool index
HTML+ERB
mit
epicoding/epicoding,dunphyben/epicoding,epicoding/epicoding,dunphyben/epicoding
8e19719779a98aab5b2be9f08e53c7cc12444218
gitconfig.erb
gitconfig.erb
[user] name = <%= print("Your Name: "); STDOUT.flush; STDIN.gets.chomp %> email = <%= print("Your Email: "); STDOUT.flush; STDIN.gets.chomp %> [alias] co = checkout ci = commit st = status br = branch [color] ui = auto [color "diff"] meta = magenta [core] excludesfile = <%= ENV['HOME'] %>/.gitignore editor = ...
[user] name = <%= print("Your Name: "); STDOUT.flush; STDIN.gets.chomp %> email = <%= print("Your Email: "); STDOUT.flush; STDIN.gets.chomp %> [alias] co = checkout ci = commit st = status br = branch [color] ui = auto [color "diff"] meta = magenta [core] excludesfile = <%= ENV['HOME'] %>/.gitignore editor = ...
Make `git pull` default to rebase.
Make `git pull` default to rebase.
HTML+ERB
mit
eclubb/dotfiles,eclubb/dotfiles,eclubb/dotfiles
858027befcadfb11c98e91f9e2001d25122133be
app/views/answers/_form.html.erb
app/views/answers/_form.html.erb
<div class="centered"> <%= form_for [@question, answer, @comment] do |f| %> <%= f.hidden_field :commentable_type, :value => "Answer" %> <%= f.hidden_field :commentable_id, :value => answer.id %> <%= f.text_field :content, class: "comment-content" %> <%= f.submit %> <% end %> </div>
<div class="centered"> <%= form_for [@question, answer, @comment] do |f| %> <%= f.hidden_field :commentable_type, :value => "Answer" %> <%= f.hidden_field :commentable_id, :value => answer.id, class: "commentable-id" %> <%= f.text_field :content, class: "comment-content" %> <%= f.submit %> <% end %...
Add hidden field to form
Add hidden field to form
HTML+ERB
mit
daviddeneroff/shaq-overflow,daviddeneroff/shaq-overflow,daviddeneroff/shaq-overflow
b51f48b8fcd6ee1d29cf7dfbc15a3942dd0fe4ec
app/views/layouts/email.text.erb
app/views/layouts/email.text.erb
Ministry of Justice People Finder <%= yield %> ------------------------------------------ If you're unsure an email is from the MOJ: • forward it to phishing@digital.justice.gov.uk
Ministry of Justice People Finder <%= yield %> ------------------------------------------ If you're unsure an email is from the MOJ: • forward it to security@justice.gov.uk
Update to correct email address
Update to correct email address
HTML+ERB
mit
ministryofjustice/peoplefinder,ministryofjustice/peoplefinder,ministryofjustice/peoplefinder,ministryofjustice/peoplefinder,ministryofjustice/peoplefinder
2add76857942cb2e1ca9002dfeaedb2115c5a1f5
app/views/users/_parcel.html.erb
app/views/users/_parcel.html.erb
<div class="row"> <div class="col-md-1"> <%= button_to 'match', match_path, method: 'get', params: {id: parcel.id} %></div> <div class="col-md-3"><%= parcel.description %></div> <div class="col-md-3"><%= parcel.destination_address.city %></div> <div class="col-md-3"> <%= parcel.deliver_by %> <br> <%= fo...
<div class="row"> <div class="col-md-1"> <%= button_to 'match', match_path, method: 'get', params: {id: parcel.id} %></div> <div class="col-md-3"><%= parcel.description %></div> <div class="col-md-3"><%= parcel.destination_address.city %></div> <div class="col-md-3"> <%= parcel.deliver_by %> <br> <%...
Add edit button for parcel, refactor delete button
Add edit button for parcel, refactor delete button
HTML+ERB
mit
nyc-rock-doves-2015/caravan,nyc-rock-doves-2015/caravan,grantziolkowski/caravan,grantziolkowski/caravan,grantziolkowski/caravan,nyc-rock-doves-2015/caravan,bicyclethief/caravan,bicyclethief/caravan,bicyclethief/caravan
06e366acb5c6cbb991a0e2aadc0e17e5fc7421be
app/views/welcome/index.html.erb
app/views/welcome/index.html.erb
<div> <h1>Meal Time</h1> <h2>We have lots of delicious options.</h2> <div class="row"> <% [@western_item, @asian_item, @adventurous_item].each do |item| %> <div class="col-md-4"> <strong> Try this <span class="cuisine-name"><%= item.cuisine %></span> Item:<span class="item-name"><%= ...
<div> <h1>Meal Time</h1> <h2>We have lots of delicious options.</h2> <div class="row"> <% [@western_item, @asian_item, @adventurous_item].each do |item| %> <div class="col-md-4"> <strong> Try this <span class="cuisine-name"><%= item.cuisine %></span> Item: <a href="/food_item/show/<%...
Add link to show the detail page of food item
Add link to show the detail page of food item
HTML+ERB
mit
wdi-hk-sep-2014/mealtime,wdi-hk-sep-2014/mealtime
6cb0c8dd49d707aab821128c0ed14f66f5e1bc57
app/views/yogo_data/new.html.erb
app/views/yogo_data/new.html.erb
<H3><%= @model.name.demodulize.titleize.singularize %></H3> <br /> <%- form_for(@item, :url => project_yogo_data_index_path(@project, @model.name.demodulize), :builder => YogoDataFormBuilder, :html => { :method => :post, :enctype => 'multipart/form-data' } ) do |f| -%> <table> ...
<H3><%= @model.name.demodulize.titleize.singularize %></H3> <br /> <%- form_for(@item, :url => project_yogo_data_index_path(@project, @model.name.demodulize), :builder => YogoDataFormBuilder, :html => { :method => :post, :enctype => 'multipart/form-data' } ) do |f| -%> ...
Print out error messages from the models.
Print out error messages from the models.
HTML+ERB
mit
yogo/VOEIS,yogo/yogo,yogo/crux,yogo/VOEIS,yogo/yogo,yogo/crux,yogo/yogo,yogo/VOEIS
2cf807ba2938443b5f4893effa7ba86ff20f690c
app/views/admin/index.html.erb
app/views/admin/index.html.erb
<h1>Admininstrative Menu</h1> <div><%= link_to 'Manage Events', events_path %></div> <div><%= link_to 'Manage Scenarios', scenarios_path %></div> <div><%= link_to 'Manage Users', users_path %></div> <% if user_signed_in? && current_user.email == 'silbeg@gmail.com' && params['show-env'] %> <%= debug ENV.to_h.to...
<h1>Admininstrative Menu</h1> <div class="jumbotron"> <div class="text-info"><mark>More stuff will be coming here, such as the ability to drill into events, etc.</mark></div> <div><%= link_to 'Manage Events', events_path %></div> <div><%= link_to 'Manage Scenarios', scenarios_path %></div> <div><%= link_to 'M...
Add jumbotron and some info text
Add jumbotron and some info text
HTML+ERB
mit
10000-Lakes-Gaming/registration,Acerak2/registration,Acerak2/registration,Acerak2/registration,Acerak2/registration,10000-Lakes-Gaming/registration,10000-Lakes-Gaming/registration,10000-Lakes-Gaming/registration
16c9418abf7fe1a037a64bdc7a0733b0125b5c96
views/_form.erb
views/_form.erb
<% board.pins.each do |pin| %> <div class="box"> <div class="boxInner"> <form method="POST" action="/<%= pin.id %>"> <input name="value" value="<%= pin.value %>" type="hidden"/> <button type="submit" value="Setzen" class="button <%= 0 == pin.value ? 'gray' : 'blue' %>"> <div class="titleBo...
<% board.pins.each do |pin| %> <div class="box"> <div class="boxInner"> <form method="POST" action="/<%= pin.id %>"> <input name="value" value="<%= 0 == pin.value ? '1' : '0' %>" type="hidden"/> <button type="submit" value="Setzen" class="button <%= 0 == pin.value ? 'blue' : 'gray' %>"> <d...
Swap values for toggle function
Swap values for toggle function
HTML+ERB
mit
nerab/webrelais,nerab/webrelais
b99461c542924f0e6546e0d6f9881d0c05fae263
templates/ccda/_social_history.ccda.erb
templates/ccda/_social_history.ccda.erb
<component> <!--Social History - CCDA--> <section> <templateId root="2.16.840.1.113883.10.20.22.2.17"/> <!-- Social history section template --> <code code="29762-2" codeSystem="2.16.840.1.113883.6.1"/> <title>Social History</title> <%== render :partial => 'narrative_block', :locals => {:entries...
<component> <!--Social History - CCDA--> <section> <templateId root="2.16.840.1.113883.10.20.22.2.17"/> <!-- Social history section template --> <code code="29762-2" codeSystem="2.16.840.1.113883.6.1"/> <title>Social History</title> <%== render :partial => 'narrative_block', :locals => {:entries...
Remove stray "l" after closing observation tag
Remove stray "l" after closing observation tag
HTML+ERB
apache-2.0
projectcypress/health-data-standards,projectcypress/health-data-standards
33ba318964ffefb90a1249ee0de725269e0c62af
templates/default/etcd.conf.erb
templates/default/etcd.conf.erb
description "etcd service registry" start on started stop on shutdown exec /usr/local/bin/etcd <%= @args %> -d <%= node[:etcd][:state_dir] %> -n <%= node[:fqdn] %>
description "etcd service registry" start on started networking stop on shutdown exec /usr/local/bin/etcd <%= @args %> -d <%= node[:etcd][:state_dir] %> -n <%= node[:fqdn] %>
Change upstart script to start on networking
Change upstart script to start on networking Currently etcd starts before networking; networking should start first so that etcd can listen on the configured interfaces.
HTML+ERB
apache-2.0
spheromak/etcd-cookbook,heyryanw/etcd-cookbook,tmc/etcd-cookbook,chef-cookbooks/etcd,someara/etcd-cookbook,chef-cookbooks/etcd,someara/etcd-cookbook,samueltbrown/etcd-cookbook,sefd/etcd-cookbook,chef-brigade/etcd-cookbook,ilackarms/etcd,someara/etcd-cookbook,chef-cookbooks/etcd,sefd/etcd-cookbook,charliek/etcd-cookbook...
8f2a9bf4a450f7e965ba98af65738da41a3ee78d
app/views/sessions/_clicks_modal.html.erb
app/views/sessions/_clicks_modal.html.erb
<div id="modal-explain" class='modal'> <div class="modal-content"> <div class='pure-g'> <div class='pure-u-1'> <h2>Seems like you're having fun... If you register you can make Groups!</h2> <p>Find and join your friends. Vote with your group to see which Artists come out on top.</p> <...
<div id="modal-explain" class='modal'> <div class="modal-content"> <div class='pure-g'> <div class='pure-u-1'> <h2>Seems like you're having fun... If you register you can make Groups!</h2> <p>Find and join your friends. Vote with your group to see which Artists come out on top. Check out our...
Update _clicks modal with more info.
Update _clicks modal with more info.
HTML+ERB
mit
pdynowski/best-thing-ever,pdynowski/best-thing-ever,pdynowski/best-thing-ever
a6921d2486ae5f354451977a9427def550a53cfd
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...
Add skiplink to related topics
Add skiplink to related topics
HTML+ERB
mit
tadast/smart-answers,alphagov/smart-answers,keithiopia/smart-answers,lutgendorff/smart-answers,askl56/smart-answers,stwalsh/smart-answers,aledelcueto/smart-answers,aledelcueto/smart-answers,lutgendorff/smart-answers,askl56/smart-answers,ministryofjustice/smart-answers,stwalsh/smart-answers,stwalsh/smart-answers,aledelc...
8bac6cbd579f22bfe5ddc2fcaf81e03ee46e38fd
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title><%= content_for(:title) or raise "Call content_for :title, 'x'" %></title> <%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %> <%= javascript_include_tag 'vendor', 'application', "data-turbolinks-track" => true %> <%= csrf_meta_tags %> ...
<!DOCTYPE html> <html> <head> <title><%= content_for(:title) or raise "Call content_for :title, 'x'" %></title> <%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %> <%= javascript_include_tag 'vendor', 'application', "data-turbolinks-track" => true %> <%= csrf_meta_tags %> ...
Set width and minimal for Mobile Safari
Set width and minimal for Mobile Safari
HTML+ERB
mit
danielstutzman/basicruby-backend,danielstutzman/basicruby-backend,danielstutzman/basicruby-backend
64597a903a5e94c902daace18cc18c21176aeb95
lib/ragios/messages/status_report.erb
lib/ragios/messages/status_report.erb
<% @subject = "subject: Ragios Status Report" %> Ragios Status Report From <%= @time_since_last_status_report.to_s(:short) %> to <%= Time.now.to_s(:short) %> <%=@jobs.length.to_s %> monitors running on the system <% count = 0 %> <% @jobs.each do |monitor| %> <% count = count + 1 %> <%= count %>. <%= mo...
<% @subject = "subject: Ragios Status Report" %> Ragios Status Report From <%= @time_since_last_status_report.to_s(:short) %> to <%= Time.now.to_s(:short) %> <%=@jobs.length.to_s %> monitors running on the system <% count = 0 %> <% @jobs.each do |monitor| %> <% count = count + 1 %> <%= count %>. <%= mo...
Add Uptime percentage value to status report
Add Uptime percentage value to status report
HTML+ERB
mit
obi-a/maestro,obi-a/ragios,obi-a/maestro,obi-a/ragios,obi-a/maestro,obi-a/ragios
e8ee595569472c5b9f95f08c7a389ba18adad6a8
app/views/answers/_answer.html.erb
app/views/answers/_answer.html.erb
<div class="ques-answer"> <div class="content-row"> <% if answer.is_best_answer?(answer.question) %> <div class="vote-deets"><%= render "answers/best_answer_identifier" %></div> <% end %> <% if logged_in? %> <% if answer.vote_on_this?(current_user.id) %> <div class="vote-deets"><%= ...
<div class="ques-answer cf"> <div class="content-row"> <% if answer.is_best_answer?(answer.question) %> <div class="best-deets"><%= render "answers/best_answer_identifier" %></div> <% end %> <% if logged_in? %> <% if answer.vote_on_this?(current_user.id) %> <div class="vote-deets"><...
Add vote display if user already voted on a question or answer
Add vote display if user already voted on a question or answer
HTML+ERB
mit
jeder28/stack_overphil,jeder28/stack_overphil,jeder28/stack_overphil
ffa1576388b29517b360d787acf976718531f228
app/views/companies/index.html.erb
app/views/companies/index.html.erb
<div class="row"> <h2>Featured Companies</h2> <% if @companies.any? %> <% @companies.each do |company| %> <div class="col m3 top-company"> <h5><%= link_to company.name , company_path(company)%></h5> <img class="company-img" src="<%= company.profile_image_url %>" alt="<%= company.name %>" ...
<div class="row"> <h2>Featured Companies</h2> <% if @companies.any? %> <% @companies.each do |company| %> <div class="col m3 top-company"> <h5><%= link_to company.name , company_path(company)%></h5> <img class="company-img" src="<%= company.profile_image_url %>" alt="<%= company.name %>" ...
Add data to view to be used on page load
Add data to view to be used on page load
HTML+ERB
mit
husseinmaad/open-div,husseinmaad/open-div,husseinmaad/open-div
9a57286f18e873ea70575238a4337c1448bd6206
source/partials/_header.erb
source/partials/_header.erb
<header> <div id="logo"> <% link_to '/' do %> <%= image_tag 'Between_Screens_Logo_Cube_Up.svg', alt: 'Logo cube' %> <% end %> </div> <nav class="navigation"> <ul class="nav-list"> <li><%= link_to 'about', '/pages/about.html' %></li> <li><%= link_to 'design', '/de...
<header> <div id="logo"> <% link_to '/' do %> <%= image_tag 'Between_Screens_Logo_Cube_Up.svg', alt: 'Logo cube' %> <% end %> </div> <nav class="navigation"> <ul class="nav-list"> <li><%= link_to 'fork!', '#' %></li> <li><%= link_to 'about', '/pages/about.html' %...
Add dummy link for forking to navbar
Add dummy link for forking to navbar
HTML+ERB
mit
vis-kid/betweenscreens,vis-kid/betweenscreens,vis-kid/betweenscreens
123f37989f16448e6f8f6b3c70d50999f546a66e
vendor/extensions/theme_default/app/views/shared/_products.html.erb
vendor/extensions/theme_default/app/views/shared/_products.html.erb
<% paginated_products = Spree::Config.searcher.products if params.key?(:keywords) paginated_products ||= products %> <% if products.empty? %> <%= t(:no_products_found) %> <% end %> <% if products.any? %> <ul class="product-listing"> <% products.each do |product| %> <% if Spree::Config[:show_zero_stock_pr...
<% paginated_products = Spree::Config.searcher.products if params.key?(:keywords) paginated_products ||= products %> <% if products.empty? %> <%= t(:no_products_found) %> <% end %> <% if products.any? %> <ul class="product-listing"> <% products.each do |product| %> <% if Spree::Config[:show_zero_stock_pr...
Use duck typing for paginated_products.
Use duck typing for paginated_products.
HTML+ERB
bsd-3-clause
progsri/spree,assembledbrands/spree,forkata/solidus,CJMrozek/spree,vinsol/spree,ckk-scratch/solidus,josephholsten/plain-sight,vivekamn/spree,derekluo/spree,volpejoaquin/spree,delphsoft/spree-store-ballchair,gautamsawhney/spree,Senjai/solidus,quentinuys/spree,knuepwebdev/FloatTubeRodHolders,codesavvy/sandbox,jeffboulet/...
ea0d54670d6a2283fdca82796ae14a3267ed1da0
app/views/roles/_current_role_holder_with_biography.html.erb
app/views/roles/_current_role_holder_with_biography.html.erb
<% if role.current_holder %> <%= render "govuk_publishing_components/components/heading", { text: "Current role holder:", id: "current-role-holder-title", } %> <div> <%= render "govuk_publishing_components/components/heading", { text: role.current_holder["title"], id: "current-role-holder...
<% if role.current_holder.present? %> <section id="current-holder" class="govuk-!-padding-bottom-9"> <%= render "govuk_publishing_components/components/heading", { text: "Current role holder:", id: "current-role-holder-title", } %> <%= render "govuk_publishing_components/components/heading", ...
Add bottom padding to current role holder section
Add bottom padding to current role holder section
HTML+ERB
mit
alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections
65cfc78ce0dcc95a42edbf73a6c61f31609759b2
app/views/collections/edit.html.erb
app/views/collections/edit.html.erb
<% provide :page_title, construct_page_title("Edit Collection #{@form.title.first}") %> <%= provide :page_header do %> <h1>Edit Collection: <%= @form.title.first %></h1> <% end %> <% unless has_collection_search_parameters? %> <div class="row"> <div class="col-xs-12 col-sm-10 pull-right"> <%= render 'co...
<% provide :page_title, construct_page_title("Edit Collection #{@form.title.first}") %> <%= provide :page_header do %> <h1>Edit Collection: <%= @form.title.first %></h1> <% end %> <% unless has_collection_search_parameters? %> <div class="row"> <div class="col-xs-12 col-sm-10 pull-right"> <%= render 'co...
Make use of existing form for collections searchbox
Make use of existing form for collections searchbox TODO: containerize the invocation of curation concerns' template. Make it match our other one.
HTML+ERB
apache-2.0
samvera/hyrax,samvera/hyrax,samvera/hyrax,samvera/hyrax
b074fa879716c8d9870c8079208e8fb9ed2bd3da
app/views/excursions/_excursion_global_search.html.erb
app/views/excursions/_excursion_global_search.html.erb
<div class="model_with_details span4 inline-block box-result"> <ul class="thumbnails span4"> <li class="span1"> <%= link_to thumb_for(excursion, 130), excursion, :class => "container" %> <div class='number_pages'><%= excursion.slide_count %></div> </li> <li class="span"> <div class="cap...
<div class="model_with_details span4 inline-block box-result"> <ul class="thumbnails span4"> <li class="span1"> <%= link_to thumb_for(excursion, 130), excursion, :class => "container" %> <div class='number_pages'><%= excursion.slide_count %></div> </li> <li class="span"> <div class="cap...
Remove type_excursion causing view to crash
Remove type_excursion causing view to crash
HTML+ERB
agpl-3.0
ging/vish_orange,agordillo/vish,agordillo/vish,rogervaas/vish,suec78/vish_storyrobin,nathanV38/vishTst,ging/vish,ging/vish_orange,rogervaas/vish,rogervaas/vish,agordillo/vish,suec78/vish_storyrobin,ging/vish,agordillo/vish,ging/vish,ging/vish,nathanV38/vishTst,ging/vish,ging/vish_orange,ging/vish_orange,rogervaas/vish,...
8de504203a94049281c864c0e69b9ab4502892f8
config/template_wakame-vdc.yml.erb
config/template_wakame-vdc.yml.erb
name: <%= name %>----{{user `image_name`}} type: wakamevdc api_endpoint: <%= cloud.entry_point %> hypervisor: kvm host_node_id: hn-demo1 cpu_cores: 1 memory_size: 512 network_id: nw-global image_id: <%= source_image %> ssh_username: <%= ssh_username %> ssh_timeout: 60m backup_storage_id: bkst-demo1
Add wakame-vdc builder to create image by packer
Add wakame-vdc builder to create image by packer
HTML+ERB
apache-2.0
cloudconductor/cloud_conductor,cloudconductor/cloud_conductor,cloudconductor/cloud_conductor
e2cbe6b26dfeb5e82a5f4b32e47e9c6226f32508
app/views/root/advertisejob.html.erb
app/views/root/advertisejob.html.erb
<%- presenter = TransactionPresenter.new(@publication) -%> <section id="content" role="main" class="group jobsearch"> <header class="page-header group"> <hgroup> <h1><span>Service</span> Advertise a job with Universal Jobmatch</h1> </hgroup> <nav class="skip-to-related"> <a href="#related">No...
<%- presenter = TransactionPresenter.new(@publication) -%> <section id="content" role="main" class="group jobsearch"> <header class="page-header group"> <hgroup> <h1><span>Service</span> Advertise a job with Universal Jobmatch</h1> </hgroup> <nav class="skip-to-related"> <a href="#related">No...
Fix typo on /advertise-job page
Fix typo on /advertise-job page
HTML+ERB
mit
alphagov/frontend,alphagov/frontend,alphagov/frontend,alphagov/frontend
2325593a263f0104a1359d09995224a27afa56b6
app/views/layouts/static_pages.html.erb
app/views/layouts/static_pages.html.erb
<%# render 'static_pages_links' %> <%# render 'login_logout' %> <!DOCTYPE HTML> <html lang="en"> <head> <title>Mailman</title> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/> <meta charset="utf-8"> <%= favicon_link_tag %> <%= csrf_meta_tags %> <%= yield :meta_dat...
<%# render 'static_pages_links' %> <%# render 'login_logout' %> <!DOCTYPE HTML> <html lang="en"> <head> <title>Mailman</title> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/> <meta charset="utf-8"> <%= favicon_link_tag %> <%= csrf_meta_tags %> <%= yield :meta_dat...
Add javascript in static pages layout
Add javascript in static pages layout
HTML+ERB
agpl-3.0
payloadtech/mailpenny,payloadtech/mailpenny,payloadtech/mailpenny
5445099d83410d7aa029d1ce3c121a04d7778dba
app/views/page/_comment_content.html.erb
app/views/page/_comment_content.html.erb
<div class="large-10 columns"> <%= link_to comment.user.username, comment.user %> <span class="right"><%= comment.created_at.strftime("Posted on %d %a %Y at %T") %></span><br><br> <%= comment.content %> <% if current_user.admin == true %> <div class="large-2"> <br><br> <% id = "part_com"+comment.i...
<div class="large-10 columns"> <%= link_to comment.user.username, comment.user %> <span class="right"><%= comment.created_at.strftime("Posted on %d %a %Y at %T") %></span><br><br> <%= comment.content %> <% if current_user.try(:admin) == true %> <div class="large-2"> <br><br> <% id = "part_com"+com...
Correct admin bug when there is no admin param
Correct admin bug when there is no admin param
HTML+ERB
mit
ice-blaze/learn-it,ice-blaze/learn-it
3d91c413a65d0e6f2ccef34dec4cdd8fd2f0858c
app/views/movie.js.erb
app/views/movie.js.erb
var video = document.getElementById("video-stream"); var decisionTime = 15; var decicsionActive = false; ws.onmessage = function(message) { var data = JSON.parse(message.data); // console.log(data) if (data.video) { var source = document.querySelectorAll("#video-player video source"); source...
var video = document.getElementById("video-stream"); var decisionTime = 15; var decicsionActive = false; ws.onmessage = function(message) { var data = JSON.parse(message.data); // console.log(data) if (data.video) { var source = document.querySelectorAll("#video-player video source"); source...
Add online survey link add the end for usability test
Add online survey link add the end for usability test
HTML+ERB
mit
tino-junge/cinema-app,tino-junge/cinema-app,tino-junge/cinema-app
f6fa9091e0b03121f0058cad1ea84436fbd20d28
app/views/users/index.html.erb
app/views/users/index.html.erb
<% content_for :subheader do %> <section id="subheader"> <div class="container"> <div class='row-fluid'> <div class='span12'> <h1 class='subheader-title'>People a collection of creative talent from P.R.</h1> </div> </div> </div> </section> <% end %> <section class='container'> <div cla...
<% content_for :subheader do %> <section id="subheader"> <div class="container"> <div class='row-fluid'> <div class='span12'> <h1 class='subheader-title'>People a collection of creative talent from P.R.</h1> </div> </div> </div> </section> <% end %> <section class='container'> <div cla...
Add grid rows for people list
Add grid rows for people list
HTML+ERB
mit
SoPR/sopr-platform,SoPR/sopr-platform
6dfbce039c7d1587744ece9f51f3d578243f8181
app/views/admin/_nav.html.erb
app/views/admin/_nav.html.erb
<ul id="nav"> <li> <%= nav_link_to "All Actions", admin_action_pages_path %> </li> <li> <%= nav_link_to "Create new action", new_admin_action_page_path %> </li> <li> <%= nav_link_to "Featured Actions", homepage_admin_action_pages_path %> </li> <li> <%= nav_link_to "Site Analytics", admi...
<ul id="nav"> <li> <%= nav_link_to "All Actions", admin_action_pages_path %> </li> <li> <%= nav_link_to "Create new action", new_admin_action_page_path %> </li> <li> <%= nav_link_to "Featured Actions", homepage_admin_action_pages_path %> </li> <li> <%= nav_link_to "Site Analytics", admi...
Remove admin menu links for in-progress pages
Remove admin menu links for in-progress pages
HTML+ERB
agpl-3.0
EFForg/action-center-platform,EFForg/action-center-platform,EFForg/action-center-platform,EFForg/action-center-platform
0bb468d0205d5f0913d1010e3ad0e166da6d3a2a
app/views/hits/_hits.html.erb
app/views/hits/_hits.html.erb
<% content_for :page_title, title %> <%= breadcrumb(hits.first || site.default_host.hits.build) %> <h1><%= title %></h1> <%= render partial: 'hits_tabs', locals: { active: active } %> <h2><%= pluralize(number_with_delimiter(hits.total_count, :delimiter => ','), 'hit', 'hits') %></h2> <%= paginate hits %> <% if hits...
<% content_for :page_title, title %> <%= breadcrumb(hits.first || site.default_host.hits.build) %> <h1><%= title %></h1> <%= render partial: 'hits_tabs', locals: { active: active } %> <h2><%= pluralize(number_with_delimiter(hits.total_count, :delimiter => ','), 'path', 'paths') %></h2> <%= paginate hits %> <% if hi...
Update copy to say paths, not hits
Update copy to say paths, not hits * We are showing a paginated list of unique paths, not hits * A count of hits would be much higher
HTML+ERB
mit
alphagov/transition,alphagov/transition,alphagov/transition
28b8726d53a3850f6c7086dbf9024c75f8e2bdb9
app/views/carts/_cart.html.erb
app/views/carts/_cart.html.erb
<h2>Your cart:</h2> <table> <%= render(cart.line_items) %> </table> <%= button_to 'Empty cart', cart, method: :delete, data: { confirm: 'Are you sure?' } %> <%= button_to 'Download forms', "/download" %>
<h2>Your cart:</h2> <table> <%= render(cart.line_items) %> </table> <%= button_to 'Empty cart', cart, method: :delete %> <%= button_to 'Download forms', "/download" %>
Remove irritating "Are you sure?" alert from "Empty Cart" button
Remove irritating "Are you sure?" alert from "Empty Cart" button
HTML+ERB
mit
meiao/districthousing,lankyfrenchman/dchousing-apps,adelevie/districthousing,dmjurg/districthousing,uncompiled/districthousing,dmjurg/districthousing,uncompiled/districthousing,dmjurg/districthousing,MetricMike/districthousing,meiao/districthousing,meiao/districthousing,codefordc/districthousing,lankyfrenchman/dchousin...
8970a178d8c0571fbf5cba7429eb54d695dcc320
app/views/welcome/index.html.erb
app/views/welcome/index.html.erb
<header id="nav" class="nav"> <a href="/" class="title">mallard</a> <div class="buttons"> <a href="#about">About</a> <a href="accounts/new">Sign up</a> <a href="#signin">Sign in</a> <a href="#signout">Sign out</a> </div> </header> <div id="content" class="content" style="height: 564px;"> <div c...
<header id="nav" class="nav"> <a href="/" class="title">mallard</a> <div class="buttons"> <a href="#about">About</a> <a href="accounts/new">Sign up</a> <a href="#signout">Sign out</a> </div> </header> <div id="content" class="content" style="height: 564px;"> <div class="background"> <div class=...
Remove sign in menu from nav bar.
Remove sign in menu from nav bar.
HTML+ERB
mit
murmur76/mallard,murmur76/mallard,murmur76/mallard
c2b9da592e3179fb5229bffb08b7e407f6664112
app/views/nexaas/async/collector/async_resource/_show.html.erb
app/views/nexaas/async/collector/async_resource/_show.html.erb
<script type="text/javascript" id="js-nexaas-async-collector-<%= unique_id %>"> var requestContent = function() { $.ajax({ url: '<%= nexaas_async_collector.async_resource_path(collect_id) %>', dataType: 'script', data: { unique_id: '<%= unique_id %>' } }) } window.nexaas_async_interval ...
<script type="text/javascript" id="js-nexaas-async-collector-<%= unique_id %>"> if (!!window.nexaas_async_interval) clearInterval(window.nexaas_async_interval); var requestContent = function() { $.ajax({ url: '<%= nexaas_async_collector.async_resource_path(collect_id) %>', dataType: 'script', ...
Clear interval when rendering loading and the interval already exists
Clear interval when rendering loading and the interval already exists
HTML+ERB
mit
myfreecomm/nexaas-async-collector,myfreecomm/nexaas-async-collector,myfreecomm/nexaas-async-collector
94fe961890773bfc0043a4706e91014a422a42a7
app/views/partials/_navBar.html.erb
app/views/partials/_navBar.html.erb
<div class="navBar"> <h1 class="title"><a href="/">Mathio Party</a></h1> <% if current_user %> <%= link_to 'Logout', destroy_user_session_path, method: :delete %> <% if !player2_logged_in? %> <%= link_to 'Player 2 Login', players_new_path %> <% else %> <%= link_to 'Player 2 Logout', players_logout_...
<div class="navBar"> <h1 class="title"><a href="/">Mathio Party</a></h1> <% if current_user %> <%= link_to "Logout, #{current_user.username} ", destroy_user_session_path, method: :delete %> <% if !player2_logged_in? %> <%= link_to 'Player 2 Login', players_new_path %> <% else %> <%= link_to "Logou...
Add username for logout player 1
Add username for logout player 1
HTML+ERB
mit
kaydenwilliams7/mathio-party,kaydenwilliams7/mathio-party,kaydenwilliams7/mathio-party
74c967662782dc95a3729baf6458be606bfbe623
app/views/root/_stylesheet.html.erb
app/views/root/_stylesheet.html.erb
<% css_file = local_assigns[:css_file] || 'static' %> <!--[if gt IE 8]><!--><%= stylesheet_link_tag css_file, integrity: false %><!--<![endif]--> <!--[if IE 8]><%= stylesheet_link_tag "#{css_file}-ie8" %><script>var ieVersion = 8;</script><![endif]--> <%= stylesheet_link_tag "#{css_file}-print", media: "print", inte...
<% css_file = local_assigns[:css_file] || 'static' %> <%= stylesheet_link_tag css_file, integrity: false %> <!--[if lte IE 8]><%= stylesheet_link_tag "#{css_file}-ie8" %><script>var ieVersion = 8;</script><![endif]--> <%= stylesheet_link_tag "#{css_file}-print", media: "print", integrity: false %>
Modify logic for IE stylesheet inclusion
Modify logic for IE stylesheet inclusion - since the IE stylesheet now contains only the IE specific changes and not the whole of the stylesheet plus the IE specific changes, call the regular stylesheet always and the IE specific stylesheet only if we're viewed in IE8 and below
HTML+ERB
mit
alphagov/static,alphagov/static,alphagov/static
b3891b791e547c29a0e5c140d8ed89ce263c40e7
app/views/shared/_metadata.html.erb
app/views/shared/_metadata.html.erb
<% if publication.draft? %> <%= semantic_bootstrap_nested_form_for(@artefact, :html => { :class => 'artefact', :id => 'edit_artefact'}) do |f| %> <div class="row"> <div class="col-md-12"> <%= f.input :id, as: :hidden, input_html: { value: @artefact.id } %> <%= f.input :slug, :input_html => {...
<% if Edition::PUBLISHING_API_DRAFT_STATES.include? publication.state %> <%= semantic_bootstrap_nested_form_for(@artefact, :html => { :class => 'artefact', :id => 'edit_artefact'}) do |f| %> <div class="row"> <div class="col-md-12"> <%= f.input :id, as: :hidden, input_html: { value: @artefact.id } %...
Allow editing slug if in any draft state
Allow editing slug if in any draft state
HTML+ERB
mit
alphagov/publisher,alphagov/publisher,alphagov/publisher
b64f3f1aad835722a6de11299070803e90726e10
app/views/entries/_entry.html.erb
app/views/entries/_entry.html.erb
<p><strong><%= link_to h(entry.title), entry.url %></strong> published <%= time_ago_in_words entry.published %> ago by <%= link_to h(entry.feed.user.name), entry.feed.user %></p>
<p><strong><%= link_to h(entry.title), entry.url %></strong> published<%= " #{time_ago_in_words entry.published} ago" if entry.published %> by <%= link_to h(entry.feed.user.name), entry.feed.user %></p>
Patch entries to handle nil publish dates
Patch entries to handle nil publish dates
HTML+ERB
mit
jaimeiniesta/planetoid,jaimeiniesta/planetoid
5a42c496f27f15567f47fbbdf4343728821cb0b8
app/views/pages/_sidebar.html.erb
app/views/pages/_sidebar.html.erb
<% current_committee = nil if local_assigns[:current_committee].nil? %> <% current_page = nil if local_assigns[:current_page].nil? %> <div class="sidebar box left"> <section> <h2><%= t("about_section") %></h2> <% @pages.where(parent_id: nil).each do |parent_page| %> <% if current_page == parent_page %>...
<% current_committee = nil if local_assigns[:current_committee].nil? %> <% current_page = nil if local_assigns[:current_page].nil? %> <div class="sidebar box left"> <section> <h2><%= t("about_section") %></h2> <% @pages.where(parent_id: nil).each do |parent_page| %> <% if current_page == parent_page %>...
Move hr in sidebar partial, looks better
Move hr in sidebar partial, looks better
HTML+ERB
mit
cthit/chalmersit-rails,cthit/chalmersit-rails,cthit/chalmersit-rails,cthit/chalmersit-rails
dd41e92617a2ccf5eb5f4d233964e2f84a5e59ec
app/views/questions/show.html.erb
app/views/questions/show.html.erb
<%= render @question %> <%= link_to "comment", new_question_response_path(@question) %> <% if @question.responses %> <%= render :partial => "responses/response", :collection => @question.responses %> <% end %> <%= render "answers/answer_form.html", :question => @question %><br /> <% @question.sorted_answers.each do |...
<%= render @question %> <%= render "votes/vote_count", :object => @question%> <%= render "votes/questions_vote_form", :object => @question, :vote => @vote %> <%= link_to "comment", new_question_response_path(@question) %> <% if @question.responses %> <%= render :partial => "responses/response", :collection => @questi...
Add vote count partial and vote form partial to questions show view
Add vote count partial and vote form partial to questions show view
HTML+ERB
mit
jeder28/stack_overphil,jeder28/stack_overphil,jeder28/stack_overphil
9b4bfc141ce175f3dd5e97042dbced4cf6ede70b
app/views/questions/show.html.erb
app/views/questions/show.html.erb
<%= render @question %> <%= render "votes/vote_count", :object => @question%> <% if @question.vote_on_this?(current_user.id) %> <%= render "votes/vote_form", :object => @question, :vote => @vote %> <% end %> <%= link_to "comment", new_question_response_path(@question) %> <% if @question.responses %> <%= render :pa...
<%= render @question %> <%= render "votes/vote_count", :object => @question%> <% if @question.vote_on_this?(current_user.id) %> <%= render "votes/vote_form", :object => @question, :vote => @vote %> <% end %> <%= link_to "comment", new_question_response_path(@question) %> <% if @question.responses %> <%= render :pa...
Add logic to prohibit answerer from marking own answer as best
Add logic to prohibit answerer from marking own answer as best
HTML+ERB
mit
jeder28/stack_overphil,jeder28/stack_overphil,jeder28/stack_overphil
62e58b6d46a3ed48026b447c4b4b420e083ab72e
app/views/questions/show.html.erb
app/views/questions/show.html.erb
<h1><%= @question.question %></h1> <h2>Comments:</h2> <% @question.comments.each do |comment| %> <p><%= comment.text %></p> <hr/> <% end %> <br/> <h2>Write a comment:</h2> <%= form_for ([@question, @question.comments.build]) do |f| %> <p> <%= f.label :text %><br/> <%= f.text_area :text %> <...
<h1><%= @question.question %></h1> <p> <%= link_to 'Edit', edit_question_path(@question) %> | <%= link_to 'Delete', question_path(@question), method: :delete, data: {confirm: 'Are you sure?'} %> </p> <h2>Comments:</h2> <% @question.comments.each do |comment| %> <p><%= comment.text %></p> <hr/> <% end %> <b...
Add links for edit, delete to question
Add links for edit, delete to question
HTML+ERB
mit
arseniy96/my_first_site,arseniy96/my_first_site,arseniy96/my_first_site
073c44ef915f108e993954e78ef9b50e49e905d5
app/views/results/_races.html.erb
app/views/results/_races.html.erb
<% if event.races_with_results.many? %> <div class="event_info"> <table class="event_races"> <tbody> <%- event.races_with_results.sort.each_row do |first_race, second_race| -%> <tr> <td class="race"> <%= link_to first_race.name, "#race_#{first_race.id}" %> </td> <td c...
<% if races.select(&:results_present?).many? %> <div class="event_info"> <table class="event_races"> <tbody> <%- races.select(&:results_present?).sort.each_row do |first_race, second_race| -%> <tr> <td class="race"> <%= link_to first_race.name, "#race_#{first_race.id}" %> </t...
Use races local, not event.races
Use races local, not event.races
HTML+ERB
mit
scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails
9b0e2c58fffb2c2e3a29065e3035b8a275bd930b
app/views/shared/_footer.html.erb
app/views/shared/_footer.html.erb
<footer class="footer-page"> <div class="container"> <p> Copyright &copy; <%= current_tenant.copyright_range -%> <% unless user_signed_in? || !multi_tenancy? %> &middot; <%= link_to "Login", new_user_session_url %> <% end %> </p> </div> </footer> <% if user_signed_in? and current_...
<footer class="footer-page"> <div class="container"> <p> Copyright &copy; <%= current_tenant.copyright_range -%> <% unless user_signed_in? || !ResumisConfig.multi_tenant? %> &middot; <%= link_to "Login", new_user_session_url %> <% end %> </p> </div> </footer> <% if user_signed_in?...
Fix NameError in footer partial
Fix NameError in footer partial
HTML+ERB
apache-2.0
maxfierke/resumis,maxfierke/resumis,maxfierke/resumis,maxfierke/resumis
f589eb8118474b5635599b586291ebc9bb725ced
base/app/views/avatars/index.html.erb
base/app/views/avatars/index.html.erb
<% toolbar :profile => current_subject %> <% content_for :headers do %> <%= stylesheet_link_tag "avatars.css", :media => "screen, projection" %> <%= javascript_include_tag 'jquery.Jcrop.min' %> <%= javascript_include_tag 'jquery.form' %> <%= javascript_include_tag 'jquery.fileupload' %> <%= javascript_includ...
<% toolbar :profile => current_subject %> <% content_for :headers do %> <%= stylesheet_link_tag "avatars.css", :media => "screen, projection" %> <%= javascript_include_tag 'jquery.Jcrop.min' %> <%= javascript_include_tag 'jquery.form' %> <%= javascript_include_tag 'jquery.fileupload' %> <%= javascript_includ...
Delete <br/> from avatars view
Delete <br/> from avatars view
HTML+ERB
mit
honorlin/social_stream,ging/social_stream,ging/social_stream,ging/social_stream,honorlin/social_stream,honorlin/social_stream,honorlin/social_stream,beder/social_stream,beder/social_stream,beder/social_stream,beder/social_stream
937c9befc8d14a9277b3137171c2556e6440b546
lib/domgen/graphql/templates/abstract_endpoint.java.erb
lib/domgen/graphql/templates/abstract_endpoint.java.erb
/* DO NOT EDIT: File is auto-generated */ package <%= to_package(repository.graphql.qualified_abstract_endpoint_name) %>; @javax.annotation.Generated( "Domgen" ) @java.lang.SuppressWarnings( { "UnusedDeclaration", "JavaDoc" } ) public abstract class <%= repository.graphql.abstract_endpoint_name %> extends org.realit...
/* DO NOT EDIT: File is auto-generated */ package <%= to_package(repository.graphql.qualified_abstract_endpoint_name) %>; @javax.annotation.Generated( "Domgen" ) @java.lang.SuppressWarnings( { "UnusedDeclaration", "JavaDoc" } ) public abstract class <%= repository.graphql.abstract_endpoint_name %> extends org.realit...
Add mechanism for defining standard scalars across the system
Add mechanism for defining standard scalars across the system
HTML+ERB
apache-2.0
icaughley/domgen,icaughley/domgen,realityforge/domgen,realityforge/domgen
8710a50bff78210dfa1d7646d57bfd513703b055
core/app/views/home/pages/on-your-site.html.erb
core/app/views/home/pages/on-your-site.html.erb
<% content_for :header do %> <h1>Factlink on your site</h1> <p>By integrating Factlink into your website you enable your visitors to interact and discuss about statements that are made on your website. Integration of Factlink is very easy!</p> <% end %> <% content_for :title do %> Factlink &mdash; On your site <...
<% content_for :header do %> <h1>Factlink on your site</h1> <p>By integrating Factlink into your website you enable your visitors to interact and discuss about statements that are made on your website. Integration of Factlink is very easy!</p> <% end %> <% content_for :title do %> Factlink &mdash; On your site <...
Write copy for on your site page
Write copy for on your site page
HTML+ERB
mit
Factlink/factlink-core,daukantas/factlink-core,daukantas/factlink-core,daukantas/factlink-core,Factlink/factlink-core,daukantas/factlink-core,Factlink/factlink-core,Factlink/factlink-core
198c04cecece9c4b0bfe235f37dbe718f8ee6961
app/views/images/_s3_upload_form.html.erb
app/views/images/_s3_upload_form.html.erb
<div class="row margin-vert-10"> <div class="col-md-2"><%= label %></div> <div class="col-md-10"> <%= s3_uploader_form id: "s3-uploader#{'-primary' if local_assigns[:primary]}", callback_url: vehicle_images_url(vehicle, primary: local_assigns[:primary]), callback_param: "image[direct_upload_url]", ...
<div class="row margin-vert-10"> <div class="col-md-2"><%= label %></div> <div class="col-md-10"> <%= s3_uploader_form id: "s3-uploader#{'-primary' if local_assigns[:primary]}", callback_url: vehicle_images_url(vehicle, primary: local_assigns[:primary]), callback_param: "image[direct_upload_url]", ...
Add some tags to file uploads to see if uploaded images are easier from phone
Add some tags to file uploads to see if uploaded images are easier from phone
HTML+ERB
mit
BigGillyStyle/dealer,BigGillyStyle/dealer,BigGillyStyle/dealer
85e0183bbb47c543def8497c0a8667c9b484b08e
app/views/src_sets/_src_sets.html.erb
app/views/src_sets/_src_sets.html.erb
<div class="thumb-index well"> <div class="row"> <% @src_sets.each do |ss| %> <div class="col-xs-6 col-sm-3 col-md-2"> <div class="thumbnail"> <%= render :partial => ss %> </div> </div> <% end %> </div> <% if current_page? root_url %> <%= link_to 'Mo...
<div class="thumb-index well"> <div class="row"> <% @src_sets.each do |ss| %> <div class="col-xs-6 col-sm-3 col-md-2"> <div class="thumbnail"> <%= render(partial: ss) %> </div> </div> <% end %> </div> <% if current_page?(root_url) %> <%= link_to('Mor...
Use ruby 1.9 style hashes.
Use ruby 1.9 style hashes.
HTML+ERB
mit
mmb/meme_captain_web,mmb/meme_captain_web,mmb/meme_captain_web,mmb/meme_captain_web
ead9c7fa39bd60beb05ef4475ac3165de4876402
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>StockAid</title> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> <%= csrf_meta_tags %> </head> <body> <div class="container-fluid"> <div class="row">...
<!DOCTYPE html> <html> <head> <title>StockAid</title> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> <%= csrf_meta_tags %> </head> <body class="<%= controller.controller_name %> <%= controlle...
Add some classes to help identify controllers and actions
Add some classes to help identify controllers and actions This is intended to prevent JS from running on pages it doesn't belong.
HTML+ERB
mit
icodeclean/StockAid,icodeclean/StockAid,on-site/StockAid,icodeclean/StockAid,on-site/StockAid,on-site/StockAid
0560f8d6badffce88119b179dc4c082085b583c4
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>FAQrator</title> <!--Import materialize.css--> <link type="text/css" rel="stylesheet" href="css/materialize.css" media="screen,projection"/> <!--Let browser know website is optimized for mobile--> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> ...
<!DOCTYPE html> <html> <head> <title>FAQrator</title> <!--Import materialize.css--> <link type="text/css" rel="stylesheet" href="css/materialize.css" media="screen,projection"/> <!--Let browser know website is optimized for mobile--> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> ...
Add nav bar to layout
Add nav bar to layout
HTML+ERB
mit
chi-dragonflies-2015/FAQrator,chi-dragonflies-2015/FAQrator,chi-dragonflies-2015/FAQrator
39ecba6573e010043a4683bc3f13bbde9998ae0b
app/views/mobile/results/_races.html.erb
app/views/mobile/results/_races.html.erb
<% if @event.races_with_results.many? %> <div class="event_info"> <table class="event_races"> <tbody> <%- @event.races_with_results.sort.each do |race| -%> <tr> <td class="race"> <%= link_to race.name, "#race_#{race.id}" %> </td> </tr> <%- end -%> </tbody> <...
<% if races.select(&:results_present?).many? %> <div class="event_info"> <table class="event_races"> <tbody> <%- races.select(&:results_present?).sort.each_row do |first_race, second_race| -%> <tr> <td class="race"> <%= link_to race.name, "#race_#{race.id}" %> </td> </t...
Use local variable races, not @event.races
Use local variable races, not @event.races
HTML+ERB
mit
scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails
b9d3232efc6a3c1c72d745fd8c3040486fff33df
modules/backup/templates/etc/automysqlbackup/postbackup.erb
modules/backup/templates/etc/automysqlbackup/postbackup.erb
if [ "$E" == "0" ]; then NAGIOS_CODE=1 NAGIOS_MESSAGE="OK: automysqlbackup succeeded" elif [ -n "$E" ]; then NAGIOS_CODE=2 NAGIOS_MESSAGE="CRITICAL: automysqlbackup encountered errors" else NAGIOS_CODE=2 NAGIOS_MESSAGE="CRITICAL: unable to determine automysqlbackup status" fi printf "<%= @fqdn %>\t<%= @ser...
if [ "$E" == "0" ]; then NAGIOS_CODE=0 NAGIOS_MESSAGE="OK: automysqlbackup succeeded" elif [ -n "$E" ]; then NAGIOS_CODE=2 NAGIOS_MESSAGE="CRITICAL: automysqlbackup encountered errors" else NAGIOS_CODE=2 NAGIOS_MESSAGE="CRITICAL: unable to determine automysqlbackup status" fi printf "<%= @fqdn %>\t<%= @ser...
Change code for automysqlbackup passive check
Change code for automysqlbackup passive check Returning a code of 1 means that we have warnings for backups succeeding: > WARNING OK: automysqlbackup succeeded Change this to 0 to indicate that the script was OK.
HTML+ERB
mit
alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet
c19a00ed7da0defdbc528963d75d9f15a8ff1776
app/views/article/show_article.html.erb
app/views/article/show_article.html.erb
<% @title = show_article_title(@article) tabs = [ link_to(:article_index.t, action: :index), link_to(:create_article.t, action: :create_article), link_to(:edit_article.t, action: :edit_article, id: @article.id) ] @tabsets = { right: draw_tab_set(tabs) } %> <div class="row push-down"> <div class=...
<% @title = show_article_title(@article) @tabsets = { right: draw_tab_set(show_article_tabs) } %> <div class="row push-down"> <div class="col-sm-12 max-width-text"> <%= @article.body.tpl %> <%= "#{:AUTHOR.t}: #{@article.author}" %> <p class="Date"> <%= :footer_created_at.t(date: @articl...
Use helper to get article tabs
Use helper to get article tabs
HTML+ERB
mit
pellaea/mushroom-observer,JoeCohen/mushroom-observer,MushroomObserver/mushroom-observer,JoeCohen/mushroom-observer,MushroomObserver/mushroom-observer,JoeCohen/mushroom-observer,JoeCohen/mushroom-observer,pellaea/mushroom-observer,pellaea/mushroom-observer,MushroomObserver/mushroom-observer,JoeCohen/mushroom-observer,Mu...
cc6b56a212ee4c49fd892a8c996c5cf11f6e3a10
app/views/shared/_trust_banner.html.erb
app/views/shared/_trust_banner.html.erb
<div class="l-constrained"> <div class="trust-banner"> <h1 class="trust-banner__heading"><%= t('home.show.heading') %></h1> <div class="trust-banner__image"></div> </div> </div>
<div class="l-constrained"> <div class="trust-banner l-trust-banner"> <h1 class="trust-banner__heading"><%= t('home.show.heading') %></h1> <div class="trust-banner__image"></div> </div> </div>
Add layout class to HTML
Add layout class to HTML
HTML+ERB
mit
moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend
dcff87de427c466de8e0f1c22e115d8a93f94578
source/_footer.erb
source/_footer.erb
<footer> <p>Originally conceived and built by <a href="">Ruth John</a> with help from <a href="">Ben Scott</a></p><!-- --><nav> <a href="https://github.com/Rumyra/browserapis.wtf" rel="external">Contribute</a> </nav> </footer>
<footer> <p>Originally conceived and built by <a href="https://twitter.com/Rumyra">Ruth John</a> with help from <a href="https://twitter.com/BPScott">Ben Scott</a></p><!-- --><nav> <a href="https://github.com/Rumyra/browserapis.wtf" rel="external">Contribute</a> </nav> </footer>
Add links to hrefs for Ruth and Ben
Add links to hrefs for Ruth and Ben
HTML+ERB
mit
Rumyra/browserapis.wtf,Rumyra/browserapis.wtf,Rumyra/browserapis.wtf,Rumyra/web-apis,Rumyra/web-apis,Rumyra/web-apis
127b5e2bc741964a90fe11ac7a4f53d5832110dd
app/views/article_categories/show.html.erb
app/views/article_categories/show.html.erb
<% @page_title = "#{@article_category.name.capitalize}" %> <%= tabnav :article_categories %> <br/> <table> <% for article in @article_category.articles %> <tr> <td><h3><%= link_to article.title, article %></h3> <p><%= truncate(article.body, 500) %></p> <%- if article.body.length > 500 %> ...
<% @page_title = "#{@article_category.name.capitalize}" %> <%= tabnav :article_categories %> <br/> <table> <% for article in @article_category.articles %> <tr> <td><h3><%= link_to article.title, article %></h3> <p><%= truncate(article.body, :length => 500).html_safe %></p> <%- if article.bo...
Mark article content as HTML safe
Mark article content as HTML safe
HTML+ERB
mit
scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails
e9916864f2f12f99ef8261de2ea9e24a5854d00f
app/views/designs/_compact_design.html.erb
app/views/designs/_compact_design.html.erb
<%= form_tag reorder_project_design_path(@design.project, @design), method: :post, remote: true, id: 'reorder_design_form' do %> <ul class="design-list" id="compact_design" data-object="sortable"> <% @design.options.each_with_index do |option, position| %> <% if option[:variable_id].blank? %> <li id="opti...
<%= form_tag reorder_project_design_path(@design.project, @design), method: :post, remote: true, id: 'reorder_design_form' do %> <ul class="design-list" id="compact_design" data-object="sortable"> <% @design.options.each_with_index do |option, position| %> <% if option[:variable_id].blank? %> <li id="opti...
Change how the variable labels are displayed
Change how the variable labels are displayed
HTML+ERB
mit
remomueller/slice,remomueller/slice,remomueller/slice
36dd94919a78b96cc2583b30da7ba762d181ba4c
app/views/events/index.html.erb
app/views/events/index.html.erb
<h1>Listing events</h1> <h2>Category: <%= @category.to_s %></h2> <div style="float:left"> <table> <tr> <th>Name</th> <th>Description</th> <th>Position</th> <th></th> <th></th> <th></th> </tr> <% @events.each do |event| %> <tr> <td><%= event.name %></td>...
<h1>Listing events</h1> <h2>Category: <%= @category.to_s %></h2> <div style="float:left"> <table> <tr> <th>Name</th> <th>Description</th> <th>Position</th> <th></th> <th></th> <th></th> </tr> <% @events.each do |event| %> <tr> <td><%= event.name %></td>...
Add link from Events page to Categories page
Add link from Events page to Categories page
HTML+ERB
mit
rdunlop/unicycling-registration,scotthue/unicycling-registration,scotthue/unicycling-registration,rdunlop/unicycling-registration,scotthue/unicycling-registration,rdunlop/unicycling-registration,rdunlop/unicycling-registration
800b28137e131334d447c353db213b1d43f9bedb
deployment/puppet/osnailyfacter/templates/api_proxy.conf.erb
deployment/puppet/osnailyfacter/templates/api_proxy.conf.erb
ProxyRequests on ProxyVia On AllowCONNECT 443 563 HostnameLookups off <Proxy *> Order Deny,Allow <% if @master_ip.kind_of?(Array) -%> Allow from <%= @master_ip.join(",") %> <% else -%> Allow from <%= @master_ip %> <% end -%> Deny from all </Proxy>
ProxyRequests on ProxyVia On AllowCONNECT 443 563 5000 8000 8003 8004 8080 8082 8386 8773 8774 8776 8777 9292 9696 HostnameLookups off <Proxy *> Order Deny,Allow <% if @master_ip.kind_of?(Array) -%> Allow from <%= @master_ip.join(",") %> <% else -%> Allow from <%= @master_ip %> <% end ...
Add services ports to AllowConnect in Apache
Add services ports to AllowConnect in Apache OSTF needs to check services via HTTPS. To achieve this, extra ports were added to Apache proxy: * 5000 - keystone * 8000, 8003, 8004 - heat * 8080 - ceph radosgw (or swift) * 8082 - murano * 8386 - sahara * 8773, 8774 - nova * 8776 - cinder * 8777 - ceilometer * 9292 - gl...
HTML+ERB
apache-2.0
huntxu/fuel-library,stackforge/fuel-library,stackforge/fuel-library,eayunstack/fuel-library,stackforge/fuel-library,huntxu/fuel-library,ddepaoli3/fuel-library-dev,eayunstack/fuel-library,ddepaoli3/fuel-library-dev,huntxu/fuel-library,xarses/fuel-library,ddepaoli3/fuel-library-dev,xarses/fuel-library,xarses/fuel-library...
dcefd6a514bbc548ed148f1de2276a75eee362a6
deployment/puppet/rsyslog/templates/60-puppet-agent.conf.erb
deployment/puppet/rsyslog/templates/60-puppet-agent.conf.erb
# file is managed by puppet <% unless scope.lookupvar('rsyslog::client::high_precision_timestamps') -%> # # Use traditional timestamp format date-rfc3164 (Dec 5 02:21:13). # To enable high precision timestamps date-rfc3339 (2010-12-05T02:21:41.889482+01:00), comment out the following line. # $ActionFileDefaultTemplate ...
# file is managed by puppet <% unless @high_precision_timestamps -%> # # Use traditional timestamp format date-rfc3164 (Dec 5 02:21:13). # To enable high precision timestamps date-rfc3339 (2010-12-05T02:21:41.889482+01:00), comment out the following line. # $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat <% en...
Fix scope warnings in rsyslog module
Fix scope warnings in rsyslog module
HTML+ERB
apache-2.0
ddepaoli3/fuel-library-dev,zhaochao/fuel-library,stackforge/fuel-library,ddepaoli3/fuel-library-dev,xarses/fuel-library,ddepaoli3/fuel-library-dev,slystopad/fuel-lib,ddepaoli3/fuel-library-dev,xarses/fuel-library,stackforge/fuel-library,xarses/fuel-library,huntxu/fuel-library,SmartInfrastructures/fuel-library-dev,huntx...
4e78e2015f8dfabed20e6f1a00420b096fd4ecfa
app/views/products/index.html.erb
app/views/products/index.html.erb
<% content_for :head do -%> <%= stylesheet_link_tag 'products_page.css' %> <% end %> <div id='featured_item' class='span-18'> <div id='interesting_items' class='span-18'> <ol id='interesting_items-list'> <% @products.each_with_index do |product, i| %> <li id='interesting_product_<%= i %>' class...
<% content_for :head do -%> <%= stylesheet_link_tag 'products_page.css' %> <% end %> <div id='featured_item' class='span-18'> <div id='interesting_items' class='span-18'> <ol id='interesting_items-list'> <% @products.each_with_index do |product, i| %> <li id='interesting_product_<%= i %>' class...
Add title tag to product links for accessibility reason
Add title tag to product links for accessibility reason
HTML+ERB
mit
lxiaodao/ror_ecommerce,danielstanojevic/ror_ecommerce,drhenner/founderslogic,drhenner/founderslogic,kewaunited/ror_ecommerce,paulhd/Gutscheine,frenkly/artychoke,WebwinkeleninNL/wwi,drhenner/ror_ecommerce,kewaunited/ror_ecommerce,danielstanojevic/ror_ecommerce,frenkly/artychoke,rommelk/Ecommerce,frenkly/artychoke,kewaun...
ca678d9043bc332703d8b34475d7f076124065b8
app/views/trackers/_form.html.erb
app/views/trackers/_form.html.erb
<%= simple_form_for @tracker do |f| %> <%= f.input :logged_date, input_html: { class: "datepicker" } %> <%= f.input :duration %> <%= f.association :project, collection: current_user.projects.order(:name), prompt: "Choose a Project" %> <%= f.input :description %> <%= f.button :submit %> <%= link_to "Cancel",...
<%= simple_form_for @tracker do |f| %> <%= f.input :logged_date, as: :string, input_html: { class: "datepicker" } %> <%= f.input :duration %> <%= f.association :project, collection: current_user.projects.order(:name), prompt: "Choose a Project" %> <%= f.input :description %> <%= f.button :submit %> <%= link...
Fix Datepicker on tracker form
Fix Datepicker on tracker form
HTML+ERB
mit
yannvery/ratatime,yannvery/ratatime,yannvery/ratatime
9d9728a8345f9eef0f3b30b67f9cfb7b86c54f3d
templates/default/etc_environment.erb
templates/default/etc_environment.erb
# /etc/environment # # DO NOT CHANGE THIS FILE MANUALLY! # # This file is managed by the Chef `sys` cookbook. <% node['sys']['env'].each_pair do |key,value| %> <% raise "Whitespace in environment variable name" if key =~ /\s/ %> <%= key %>="<%= value %>" <% end %>
# /etc/environment # # DO NOT CHANGE THIS FILE MANUALLY! # # This file is managed by the Chef `sys` cookbook. <% node['sys']['env'].keys.sort_by(&:downcase) do |key| %> <% raise "Whitespace in environment variable name" if key =~ /\s/ %> <%= key %>="<%= node['sys']['env'][key] %> <% end %>
Sort lines in /etc/environment ignoring case
Sort lines in /etc/environment ignoring case
HTML+ERB
apache-2.0
GSI-HPC/sys-chef-cookbook,GSI-HPC/sys-chef-cookbook,GSI-HPC/sys-chef-cookbook
a5b285b1096905b1058d5143ab4681c691cf6747
app/views/appointments/booking_manager_appointment_changed.html.erb
app/views/appointments/booking_manager_appointment_changed.html.erb
<h2>The appointment was changed by an agent</h2> <%= p do %> Reference number: <br> <strong class="emphasize"> <%= @appointment.reference %> </strong> <% end %> <%= p do %> The following details were changed: <% end %> <ul> <% @appointment.audits.last.audited_changes.keys.map(&:humanize).each do |key...
<%= h2 do %> The appointment was changed by an agent <% end %> <%= p do %> Reference number: <br> <strong class="emphasize"> <%= @appointment.reference %> </strong> <% end %> <%= p do %> The following details were changed: <% end %> <%= ul do %> <% @appointment.audits.last.audited_changes.keys.map(...
Update booking manager appointment change email
Update booking manager appointment change email
HTML+ERB
mit
guidance-guarantee-programme/planner,guidance-guarantee-programme/planner,guidance-guarantee-programme/planner
4a530b02d8242efabd4327e7562eb7808d3cc123
app/views/fields/attachment/_form.html.erb
app/views/fields/attachment/_form.html.erb
<%= f.label field.attribute %> <%= f.attachment_field field.attribute, presigned: field.presigned?, direct: field.direct? %> <progress value="0" max="100"></progress>
<%= f.label field.attribute %> <%= f.attachment_field field.attribute, presigned: field.presigned?, direct: field.direct? %> <% if field.direct? %> <progress value="0" max="100"></progress> <% end %>
Hide progress bar for a direct upload
Hide progress bar for a direct upload
HTML+ERB
mit
metova/administrate-refile-attachment_fields,metova/administrate-refile-attachment_fields
d212c87f0ae73f000238930cbf938c23f53463e0
templates/mysqlbackup.sh.erb
templates/mysqlbackup.sh.erb
#!/bin/sh # # MySQL Backup Script # Dumps mysql databases to a file for another backup tool to pick up. # # MySQL code: # GRANT SELECT, RELOAD, LOCK TABLES ON *.* TO 'user'@'localhost' # IDENTIFIED BY 'password'; # FLUSH PRIVILEGES; # ##### START CONFIG ################################################### USER=<%= bac...
#!/bin/sh # # MySQL Backup Script # Dumps mysql databases to a file for another backup tool to pick up. # # MySQL code: # GRANT SELECT, RELOAD, LOCK TABLES ON *.* TO 'user'@'localhost' # IDENTIFIED BY 'password'; # FLUSH PRIVILEGES; # ##### START CONFIG ################################################### USER=<%= bac...
Tweak template spacing to pass spec tests with clean output
Tweak template spacing to pass spec tests with clean output
HTML+ERB
apache-2.0
j-russell/puppetlabs-mysql,carroarmato0/puppetlabs-mysql,newrelic/puppetlabs-mysql,BioIQ/puppetlabs-mysql,jbondpdx/puppetlabs-mysql,skyscrapers/puppetlabs-mysql,op-ct/puppetlabs-mysql,edestecd/puppetlabs-mysql,carroarmato0/puppetlabs-mysql,puppetlabs/puppetlabs-mysql,hubspotdevops/puppetlabs-mysql,seattle-biomed/puppet...
b226f87a06c1be18b93a26158e20ade53c568447
modules/govuk_jenkins/templates/jobs/success_passive_check.yaml.erb
modules/govuk_jenkins/templates/jobs/success_passive_check.yaml.erb
--- - job: name: Success_Passive_Check display-name: Success_Passive_Check project-type: freestyle description: "This job should be used to send a passive check to Icinga with a SUCCESS status. As such this should only be used as a triggered build for a stable (or related) condition." pr...
--- - job: name: Success_Passive_Check display-name: Success_Passive_Check project-type: freestyle description: "This job should be used to send a passive check to Icinga with a SUCCESS status. As such this should only be used as a triggered build for a stable (or related) condition." pr...
Use facter ipaddress_eth0 instead of ipaddress
Use facter ipaddress_eth0 instead of ipaddress ipaddress is a bad choice here because it might guess wrong when picking an interface, the result we really want is for eth0.
HTML+ERB
mit
alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet
82beb2a241094d73bd4f1fd59b74e0bb071672c8
depot/app/views/store/index.html.erb
depot/app/views/store/index.html.erb
<% if notice %> <p id="notice"><%= notice %></p> <% end %> <h1>Your Pragmatic Catalog</h1> <% @products.each do |product| %> <div class="entry"> <%= image_tag(product.image_url) %> <h3><%= product.title %></h3> <%= sanitize(product.description) %> <div class="price_line"> <span class="price"><%= numbe...
<% if notice %> <p id="notice"><%= notice %></p> <% end %> <h1>Your Pragmatic Catalog</h1> <% @products.each do |product| %> <div class="entry"> <%= link_to(image_tag(product.image_url), line_items_path(:product_id => product.id), html_options = {:method => :pos...
Add to cart when click the link of the image
Add to cart when click the link of the image
HTML+ERB
mit
9gix/pragmatic-rails,9gix/pragmatic-rails
36f7f2847adb1d7935335319740163db48bbd2f4
app/views/spree/admin/shared/_product_assembly_product_tabs.html.erb
app/views/spree/admin/shared/_product_assembly_product_tabs.html.erb
<li<%= ' class="active"' if current == "Parts" %>> <%= link_to t("parts"), admin_product_parts_url(@product) %> </li> <% if @product.assembly? %> <% content_for :head do %> <script type="text/javascript"> jQuery(document).ready(function(){ $("ul.product-menu a:contains('<%= t("variants") %>')").p...
<li<%= ' class="active"' if current == "Parts" %>> <%= link_to_with_icon 'icon-sitemap', t("parts"), admin_product_parts_url(@product) %> </li>
Use an icon for the Parts tab
Use an icon for the Parts tab
HTML+ERB
bsd-3-clause
helloluis/spree-product-assembly,spree-contrib/spree-product-assembly,tmedford/spree-product-assembly,cindyward1/spree-product-assembly,reinaris/spree-product-assembly,tmedford/spree-product-assembly,helloluis/spree-product-assembly,kimquy/spree-product-assembly,SalzmanGroup/spree-product-assembly,romul/spree-product-a...
817f6e6c9756ae6626e79936b031fd2d99c349ef
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>CorporateMessenger</title> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> <%= csrf_meta_tags %> </head> <body> <p class="notice"><%= notice %></p> <p cla...
<!DOCTYPE html> <html> <head> <title>CorporateMessenger</title> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> <%= csrf_meta_tags %> </head> <body> <p class="notice"><%= notice %></p> <p cla...
Add links to "sign_in" and "sign_up"
Add links to "sign_in" and "sign_up"
HTML+ERB
mit
arseniy96/corporate_messenger,arseniy96/corporate_messenger,arseniy96/corporate_messenger
11960aab0ba097d80d813ed0b2901cc16d25d8c1
app/views/shared/_user_header.html.erb
app/views/shared/_user_header.html.erb
<div class="jumbotron jumbotron-about visible-sm visible-md visible-lg" style="background-image: url(<%= user.header_image_url %>);"> <div class="container"> <div class="row"> <div class="col-md-8 col-sm-7"> <h1> <%= user.first_name %> ...
<div class="jumbotron jumbotron-about visible-sm visible-md visible-lg" style="background-image: url(<%= user.header_image_url %>);"> <div class="container"> <div class="row"> <div class="col-md-8 col-sm-7"> <h1> <%= user.first_name %> ...
Hide the tagline h2 if user has no tagline
Hide the tagline h2 if user has no tagline Signed-off-by: Max Fierke <0706025b2bbcec1ed8d64822f4eccd96314938d0@maxfierke.com>
HTML+ERB
apache-2.0
maxfierke/resumis,maxfierke/resumis,maxfierke/resumis,maxfierke/resumis
36eb7212606c19fb5c1c8755b083be12c2839ce6
templates/default/etc_chef_client.rb.erb
templates/default/etc_chef_client.rb.erb
<%= template_header -%> node_name '<%= node['fqdn'] %>' chef_server_url '<%= @server_url %>' client_key '<%= @client_key %>' <% if @trusted_certs_dir -%> trusted_certs_dir '<%= @trusted_certs_dir %>' <% end -%> <%- if @verify_ssl == 'all' -%> # Verify all HTTPS connections ssl_verify_mode :verify_peer ...
<%= template_header -%> <%- nodename = @node_name || node['fqdn'] -%> <%- if nodename node_name '<%= nodename %>' <%- end -%> chef_server_url '<%= @server_url %>' client_key '<%= @client_key %>' <% if @trusted_certs_dir -%> trusted_certs_dir '<%= @trusted_certs_dir %>' <% end -%> <%- if @verify_ssl == ...
Make node name configurable and catch empty node['fqdn']
Make node name configurable and catch empty node['fqdn']
HTML+ERB
apache-2.0
GSI-HPC/sys-chef-cookbook,GSI-HPC/sys-chef-cookbook,GSI-HPC/sys-chef-cookbook