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 |
|---|---|---|---|---|---|---|---|---|---|
6cbc54df86c33d1f95d70e797ac6e90474df9446 | app/views/news/show.html.erb | app/views/news/show.html.erb | <% set_meta_tags(description: news_article.description,
canonical: news_article.canonical_url,
alternate: news_article.alternate_options) %>
<% content_for(:context_bar) do %>
<% if @breadcrumbs.present? %>
<%= render 'shared/breadcrumbs', breadcrumbs: @breadcrumbs %>
<% e... | <% set_meta_tags(description: news_article.description,
canonical: news_article.canonical_url,
alternate: news_article.alternate_options) %>
<% content_for(:context_bar) do %>
<% if @breadcrumbs.present? %>
<%= render 'shared/breadcrumbs', breadcrumbs: @breadcrumbs %>
<% e... | Add layout containers for news article page | Add layout containers for news article page
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
b7525047672046bfeecc5761c9d5b3199930d75c | themes/activate/views/organizations/show.html.erb | themes/activate/views/organizations/show.html.erb | <%# render :partial => 'organizations/item', :locals => {:organization => @organization} %>
<h1><%= @organization.name %></h1>
<p>
<b>URL:</b>
<%= source_url_link @organization %>
</p>
<% unless @organization.topics.blank? -%>
<p>
<b>Topics:</b>
<%= render :partial => 'shared/topics', :locals => {:topics => @... | <%# render :partial => 'organizations/item', :locals => {:organization => @organization} %>
<h1><%= @organization.name %></h1>
<p>
<b>URL:</b>
<%= source_url_link @organization %>
</p>
<% unless @organization.topics.blank? -%>
<p>
<b>Topics:</b>
<%= render :partial => 'shared/topics', :locals => {:topics => @... | Add link to add-event page from Org show page. | Add link to add-event page from Org show page.
[Fixes #23663807]
| HTML+ERB | mit | CorainChicago/ActivateHub,CorainChicago/ActivateHub,CorainChicago/ActivateHub,CorainChicago/ActivateHub |
e9cc164155e0dda0afb7d4d11edf50135a64cb4a | app/views/layouts/godmin/application.html.erb | app/views/layouts/godmin/application.html.erb | <% content_for :body do %>
<nav class="navbar navbar-default navbar-static-top" role="navigation">
<div class="container">
<div class="navbar-header">
<%= link_to t("godmin.title"), root_path, class: "navbar-brand" %>
</div>
<div class="collapse navbar-collapse">
<ul class="nav n... | <% content_for :body do %>
<nav class="navbar navbar-default navbar-static-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#godmin-navbar-collapse" aria-expanded="false">
<... | Fix navbar for mobile devices | Fix navbar for mobile devices
| HTML+ERB | mit | varvet/godmin,varvet/godmin,inserve/godmin-material,inserve/godmin-material,inserve/godmin-material,varvet/godmin |
5de3c17f76d34414dac8dd43e69841c194a314fe | app/views/shared/_email_invite_modal.html.erb | app/views/shared/_email_invite_modal.html.erb | <div class="modal-window" id="email-invite-modal">
<div class="inner">
<h2>email Share this poll with Yammer people.</h2>
<%= link_to "Sign in with Yammer", "/auth/yammer", class: "sign-in", id: "sign-in" %>
</div>
<a href="#close" class="modal-close">
<div class="close-inner">
<img src="/asset... | <div class="modal-window" id="email-invite-modal">
<div class="inner">
<h2>Share this poll with Yammer people.</h2>
<%= link_to "Sign in with Yammer", "/auth/yammer", class: "sign-in", id: "sign-in" %>
</div>
<a href="#close" class="modal-close">
<div class="close-inner">
<img src="/assets/moda... | Fix typo "email Share this poll..." | Fix typo "email Share this poll..."
| HTML+ERB | mit | yammer/sched.do,mauricionr/sched.do,mauricionr/sched.do,yammer/sched.do,yammer/sched.do,yammer/sched.do,mauricionr/sched.do,mauricionr/sched.do,YOTOV-LIMITED/sched.do,YOTOV-LIMITED/sched.do,YOTOV-LIMITED/sched.do,YOTOV-LIMITED/sched.do |
bf1593d9acc1b5f5951b48d848ef4807d5145b3c | app/views/admin/guides/_part.html.erb | app/views/admin/guides/_part.html.erb | <div class="part group">
<h3><a href="#"><%= f.object.title.present? ? f.object.title : 'Untitled part' %></a></h3>
<%= f.inputs do %>
<%= f.input :title, :input_html => { :class => 'title' }, :label => false, :hint => "Enter text to rename this part", %>
<%= f.input :excerpt, :as => :text, :input_html => { ... | <div class="part group">
<h3><a href="#"><%= f.object.title.present? ? f.object.title : 'Untitled part' %></a></h3>
<%= f.inputs do %>
<%= f.input :title, :input_html => { :class => 'title' }, :label => false, :hint => "Enter text to rename this part", %>
<%= f.input :excerpt, :as => :text, :input_html => { ... | Remove maxlength on part body, increase it on part excerpt | Remove maxlength on part body, increase it on part excerpt
| HTML+ERB | mit | leftees/publisher,leftees/publisher,alphagov/publisher,telekomatrix/publisher,theodi/publisher,theodi/publisher,telekomatrix/publisher,alphagov/publisher,leftees/publisher,leftees/publisher,telekomatrix/publisher,theodi/publisher,alphagov/publisher,theodi/publisher,telekomatrix/publisher |
d50359bd97e913eab79f602e0f55cbb79ed1eeab | app/views/common/new/_header.html.erb | app/views/common/new/_header.html.erb | <header id="page-header" class="navbar navbar-full dc-navbar-primary dc-navbar" role="banner">
<% if @use_minimal_nav %>
<nav class="nav navbar-nav pull-xs-right">
<%= link_to 'DocumentCloud', '/', class: 'nav-item nav-link dc-logo' %>
</nav>
<nav class="nav navbar-nav pull-xs-left">
<%= link_... | <header id="page-header" class="navbar navbar-full dc-navbar-primary dc-navbar" role="banner">
<% if @use_minimal_nav %>
<nav class="nav navbar-nav float-right">
<%= link_to 'DocumentCloud', '/', class: 'nav-item nav-link dc-logo' %>
</nav>
<nav class="nav navbar-nav float-left">
<%= link_to "... | Update markup for Bootstrap v4 alpha 5 compat | Update markup for Bootstrap v4 alpha 5 compat
| HTML+ERB | mit | documentcloud/documentcloud,documentcloud/documentcloud,documentcloud/documentcloud,documentcloud/documentcloud |
442265191e633c7e760d3fb63622b53d77ac1c0e | app/views/shared/_global_nav.html.erb | app/views/shared/_global_nav.html.erb | <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="icon-bar"></span>
<span clas... | <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="icon-bar"></span>
<span clas... | Add link to 'Account Settings' (edit_user_path(current_user)) in the global_nav partial. | Add link to 'Account Settings' (edit_user_path(current_user)) in the global_nav partial.
| HTML+ERB | mit | tiger-swallowtails-2014/write-now,tiger-swallowtails-2014/write-now |
f80e087b0dabf17a95ce546419905f49112fa768 | app/views/shared/_navigation.html.erb | app/views/shared/_navigation.html.erb | <div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<%= link_to "TeachReach", root_path, :class => 'brand' %>
<ul class="nav">
<%= nav_link 'Home', root_path %>
<%= nav_link 'Courses', courses_path %>
<%= nav_link 'Programmes', programmes_path %>
<%= nav_lin... | <div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<%= link_to "TeachReach", root_path, :class => 'brand' %>
<ul class="nav">
<%= nav_link 'Home', root_path %>
<%= nav_link 'Courses', courses_path %>
<%= nav_link 'Programmes', programmes_path %>
<%= nav_lin... | Add divider back into nav bar | Add divider back into nav bar
| HTML+ERB | mit | IanField90/TeachReach,IanField90/TeachReach,IanField90/TeachReach |
b0f855f9d1c15929694ada3d802b207c982418dc | aphrodite/app/views/notification_mailer/flag.text.erb | aphrodite/app/views/notification_mailer/flag.text.erb | El usuario: <%= @user.name %> ha reportado el documento <%= @document.title %>.
Analice.me
| El usuario: <%= @user.email %> ha reportado el documento <%= @document.title %>.
Analice.me
| Send user email on flag notification | [aphrodite] Send user email on flag notification
| HTML+ERB | mit | analiceme/chaos |
0543b225d63d24ffcb836aed0fc1baac2fb45572 | app/views/orders/new.html.erb | app/views/orders/new.html.erb | <script type="text/javascript">
var data = data || {};
data.categories = <%= Category.to_json %>;
$(".show-here").text(window.data.categories);
</script>
<h4>New Order</h4>
<div class="col-md-10">
<div class="well new-order-form">
<table class="table table-hover table-striped">
<thead>
<... | <script type="text/javascript">
var data = data || {};
data.categories = <%= Category.to_json %>;
$(".show-here").text(window.data.categories);
</script>
<h4>New Order</h4>
<div class="col-md-10">
<div class="well new-order-form">
<table class="table table-hover table-striped">
<thead>
<tr>
... | Fix tabbing and remove extra closing div | Fix tabbing and remove extra closing div | HTML+ERB | mit | on-site/StockAid,on-site/StockAid,icodeclean/StockAid,icodeclean/StockAid,icodeclean/StockAid,on-site/StockAid |
9f43eab37267a16608815855d3ab2ea12665848a | app/views/pages/home.html.erb | app/views/pages/home.html.erb | <h1>Cologne Sanskrit Lexicon</h1>
<p>FIXME: some words about the Cologne Sankrit Lexicon.</p>
<section>
<h2>Search</h2>
<% @query = {} %>
<%= render 'search/search_form' %>
</section>
<section id="dictionaries">
<h2>The dictionaries</h2>
<p>FIXME: some words about the dictionaries.</p>
</section>
<section id... | <h1>Cologne Sanskrit Lexicon</h1>
<p>FIXME: some words about the Cologne Sankrit Lexicon.</p>
<section>
<h2>Search</h2>
<% @query = {} %>
<%= render 'search/search_form' %>
</section>
<section id="dictionaries">
<h2>The dictionaries</h2>
<p>FIXME: some words about the dictionaries.</p>
</section>
<section id... | Add 'Other resources' section to home page | Add 'Other resources' section to home page
| HTML+ERB | isc | cceh/sanskrit-web,cceh/sanskrit-web,cceh/sanskrit-web |
89e5939b98a5b875312a1702085d1684051fa07c | app/views/users/show.html.erb | app/views/users/show.html.erb | <h1><p><%= @user.first_name %>'s Profile</p></h1>
<img width="100" height="100" src="<%= @user.picture %>" alt="<%= @user.first_name %>">
<h3><p><%= @user.first_name %>'s Good Nghbor Points:</p></h3>
<h3><p><%= @user.first_name %>'s Recent Activity:</p></h3>
| <h1><p><%= @user.first_name %>'s Profile</p></h1>
<img width="100" height="100" src="<%= @user.picture %>" alt="<%= @user.first_name %>">
<h3><p><%= @user.first_name %>'s Good Nghbor Points: <%= @user.vote_count %></p></h3>
<h3><p><%= @user.first_name %>'s Recent Activity:</p></h3>
<div id='river'>
<ul id='my-trans... | Add div id & ul id for river | Add div id & ul id for river
| HTML+ERB | mit | nyc-mud-turtles-2015/nghborly,kimchanyoung/nghborly,nyc-mud-turtles-2015/nghborly,kimchanyoung/nghborly,kimchanyoung/nghborly,nyc-mud-turtles-2015/nghborly |
1104c53e4a3ac869ba638daca0739447212a622a | app/views/users/show.html.erb | app/views/users/show.html.erb | <p id="notice"><%= notice %></p>
<%= image_tag @user.image_url %>
<p>
<strong>Name:</strong>
<%= @user.name %>
</p>
<p>
<strong>Email:</strong>
<%= @user.email %>
</p><br>
<%= link_to 'Edit', edit_user_path(@user) %> |
<%= link_to 'Back', users_path %>
| <p id="notice"><%= notice %></p>
<%= image_tag @user.image_url %>
<p><br>
<strong>Name:</strong>
<%= @user.name %>
</p>
<p>
<strong>Email:</strong>
<%= @user.email %>
</p><br>
<%= link_to 'Edit', edit_user_path(@user) %> |
<%= link_to 'Back', root_path %> <br>
<br><%= link_to "New Question", question_path ... | Add button/link to new question form | Add button/link to new question form
| HTML+ERB | mit | DanFerrer/FlatironExchange,DanFerrer/FlatironExchange,DanFerrer/FlatironExchange |
be52a09d7901dbe58dfb2fe0abc8493787197570 | app/views/users/show.html.erb | app/views/users/show.html.erb | <div class="trail-header">
<ul>
<li class="sort"><%= link_to 'Trending', '#' %> // <%= link_to 'Newest', '#' %></li>
<li class="trail-name"><%= @user.name %>'s Contributions</li>
<li class="post-comment">Something Else</li>
</ul>
</div>
<% @user.comments.each do |comment| %>
<div class="vote-containe... | <div class="profile-header">
<ul>
<li class="left"><%= link_to 'Trending', '#' %> // <%= link_to 'Newest', '#' %></li>
<li class="profile-name"><%= @user.name %> Posts</li>
<li class="right">TBD</li>
</ul>
</div>
<% @user.comments.each do |comment| %>
<div class="vote-container">
<% if current_us... | Change class names for header | Change class names for header
| HTML+ERB | mit | zlschatz/Mountain-Chat-Rails-App,zlschatz/Mountain-Chat-Rails-App,zlschatz/Mountain-Chat-Rails-App |
8e35e07fc7c9092e4fcecd8871082412e31e0a5d | app/views/images/new.html.erb | app/views/images/new.html.erb | <h2>Upload image(s)</h2>
<%= form_for @image, :url => images_path, :html => { multipart: true } do |f| %>
<%= f.label 'file' %>
<%= f.file_field :file, :multiple => true %>
<%= submit_tag 'Upload image' %>
<% end %> | <h2>Upload image(s)</h2>
<h3>Upload files from computer</h3>
<%= form_for @image, :url => images_path, :html => { multipart: true } do |f| %>
<%= f.label 'file' %>
<%= f.file_field :file, :multiple => true %>
<%= submit_tag 'Upload image' %>
<% end %>
<h3>Upload file from URL</h3>
<%= form_for @image, :url => i... | Add new upload from URL form | Add new upload from URL form
| HTML+ERB | mit | Margatroid/uploadstuffto.me,Margatroid/uploadstuffto.me |
6e5c569d79998cc07e1b1a359533e169e186175c | app/views/users/edit.html.erb | app/views/users/edit.html.erb |
<div class="container">
<h1>Settings</h1>
<hr>
<%= form_for current_user do |f| %>
<% if Octobox.personal_access_tokens_enabled? %>
<div class="form-group">
<%= f.label :personal_access_token %>
<%= f.text_field :personal_access_token, value: nil, placeholder: current_user.masked_per... |
<div class="container">
<h1>Settings</h1>
<hr>
<%= form_for current_user do |f| %>
<% if Octobox.personal_access_tokens_enabled? %>
<div class="form-group">
<%= f.label :personal_access_token %>
<%= f.text_field :personal_access_token, value: nil, placeholder: current_user.masked_per... | Add description to delete button | Add description to delete button
| HTML+ERB | agpl-3.0 | octobox/octobox,octobox/octobox,octobox/octobox,octobox/octobox |
3a7731d4c8d606b63ca126a3dacf5305ef6ebafa | lib/views/general/_frontpage_how_it_works.html.erb | lib/views/general/_frontpage_how_it_works.html.erb | <div class="homepage-how-it-works" id="learn-more">
<div class="row">
<div class="homepage-how-it-works__hiw-content">
<div class="hiw-content__steps">
<ol class="steps__list row">
<li>
<div class="steps__step-box">
<%= image_tag "step1.png", :alt => "", :class =>... | <div class="homepage-how-it-works" id="learn-more">
<div class="row">
<div class="homepage-how-it-works__hiw-content">
<div class="hiw-content__steps">
<ol class="steps__list row">
<li>
<div class="steps__step-box">
<%= image_tag "step1.png", :alt => "", :class =>... | Add link to homepage steps | Add link to homepage steps
Partner feedback.
| HTML+ERB | mit | mysociety/ipvtheme,mysociety/ipvtheme |
2c626ac0e17327f6571561c002c06db3676f434d | templates/default/sv-jenkins-slave-run.erb | templates/default/sv-jenkins-slave-run.erb | #!/bin/sh
exec 2>&1
cd <%= node['jenkins']['node']['home'] %>
exec chpst -u <%= node['jenkins']['node']['user'] %> \
env HOME=<%= node['jenkins']['node']['home'] %> \
USER=<%= node['jenkins']['node']['user'] %> \
<% if node['jenkins']['node']['locale'] %>
LANG="<%= node['jenkins']['node']['locale'] %>" \
LC_ALL... | #!/bin/sh
exec 2>&1
cd <%= node['jenkins']['node']['home'] %>
exec chpst -u <%= node['jenkins']['node']['user'] %> \
env HOME=<%= node['jenkins']['node']['home'] %> \
USER=<%= node['jenkins']['node']['user'] %> \
<% if node['jenkins']['node']['locale'] %>
LANG="<%= node['jenkins']['node']['locale'] %>" \
LC_ALL... | Change jvm_options order in runit slave script | Change jvm_options order in runit slave script
| HTML+ERB | apache-2.0 | rapid7-cookbooks/jenkins,rapid7-cookbooks/jenkins,rapid7-cookbooks/jenkins |
ffe0c908e78668dd422e91b257cb35ca6491420a | web/views/history.erb | web/views/history.erb | <div id="day_tabs">
<a class='button' id="button_7" href='/history?days=7'>7 Days</a>
<a class='button' id="button_30" href='/history?days=30'>30 Days</a>
<a class='button' id="button_180" href='/history?days=180'>180 Days</a>
<a class='button' id="button_365" href='/history?days=365'>365 Days</a>
</div>
<div ... | <div id="day_tabs">
<a class='button' id="button_7" data-day="7" href='/history?days=7'>7 Days</a>
<a class='button' id="button_30" data-day="30" href='/history?days=30'>30 Days</a>
<a class='button' id="button_180" data-day="180" href='/history?days=180'>180 Days</a>
<a class='button' id="button_365" data-day=... | Update view for historical data | Update view for historical data
| HTML+ERB | mit | workerholic/workerholic,workerholic/workerholic,workerholic/workerholic |
b6da8b27d171f7ad49662af36306d873f781e122 | app/views/search/_proposition_results.html.erb | app/views/search/_proposition_results.html.erb | <% results = results.reject { |r| r.description.empty? } %>
<% if results.any? %>
<h3><%= Proposition.model_name.human(count: 2).capitalize %></h3>
<ul>
<% results.each do |r| %>
<% if r.votes.first %>
<li><%= link_to r.description, vote_path(r.votes.first.slug) %></li>
<% else %>
<... | <% results = results.reject { |r| r.description.empty? } %>
<% if results.any? %>
<h3><%= Proposition.model_name.human(count: 2).capitalize %></h3>
<ul>
<% results.each do |r| %>
<% if r.votes.first %>
<li data-proposition-id="<%= r.id %>"><%= link_to r.description, vote_path(r.votes.first.slug)... | Add data-proposition-id to proposition search results. | Add data-proposition-id to proposition search results.
| HTML+ERB | bsd-3-clause | holderdeord/hdo-site,holderdeord/hdo-site,holderdeord/hdo-site,holderdeord/hdo-site |
5aafdd8c94754f21dea19bd27b5ec9d0f7efe737 | app/views/home/index.html.erb | app/views/home/index.html.erb | <p id="notice"><%= notice %></p>
<% if current_user == nil %>
<h1 class="center">Welcome</h1>
<div class="user_basics center">
<%= link_to 'Register', new_user_path, class: 'btn-large waves-effect waves-light block' %>
<%= link_to 'Login', login_path, class: 'btn-large waves-effect waves-light block' %>
... | <p id="notice"><%= notice %></p>
THIS IS THE VERSION I WANT TO BE USING
<% if current_user == nil %>
<h1 class="center">Welcome</h1>
<div class="user_basics center">
<%= link_to 'Register', new_user_path, class: 'btn-large waves-effect waves-light block' %>
<%= link_to 'Login', login_path, class: 'btn-larg... | Add version line to test that Heroku is updating | Add version line to test that Heroku is updating
| HTML+ERB | mit | beccanelson/brightfolio,beccanelson/brightfolio,beccanelson/brightfolio |
5c817aa0eb62eae6da70c937eaef2b195f643403 | app/views/main/login.html.erb | app/views/main/login.html.erb | <%= javascript_include_tag 'jquery' %>
<div class='login'>
<div class='login-image'></div>
<p class='login-course'><%= MarkusConfigurator.markus_config_course_name %></p>
<div class='login-error'>
<%= render 'shared/flash_message' %>
</div>
<div class='login-form'>
<%= form_tag({ action: 'login',
... | <%= javascript_include_tag 'jquery' %>
<%= javascript_include_tag 'jquery_ujs' %>
<div class='login'>
<div class='login-image'></div>
<p class='login-course'>
<%= MarkusConfigurator.markus_config_course_name %>
</p>
<div class='login-error'>
<%= render 'shared/flash_message' %>
</div>
<div class... | Remove hacky way of focusing username field and disabling submit button | Remove hacky way of focusing username field and disabling submit button
| HTML+ERB | mit | benjaminvialle/Markus,arkon/Markus,arkon/Markus,arkon/Markus,MarkUsProject/Markus,benjaminvialle/Markus,benjaminvialle/Markus,MarkUsProject/Markus,MarkUsProject/Markus,ealonas/Markus,reidka/Markus,ealonas/Markus,ealonas/Markus,reidka/Markus,reidka/Markus,benjaminvialle/Markus,ealonas/Markus,ealonas/Markus,ealonas/Marku... |
23a8080e459751af3ffa902845fd37be33fa8fd0 | app/views/pages/home.html.erb | app/views/pages/home.html.erb | <% @content_title = "Home Page" %>
<p>Cool Stuff Here</p>
<h2><%= link_to "Users", users_path %></h2>
| <% @content_title = "Home Page" %>
<p>Cool Stuff Here</p>
| Remove users link from home page | Remove users link from home page
| HTML+ERB | mit | markmcspadden/coding-mentors,markmcspadden/coding-mentors |
b292610dda22d4977bfc87deec7032df50207f68 | app/views/orders/index.html.erb | app/views/orders/index.html.erb | <h2>Order History</h2>
<ul>
<% @user_account.orders.each do |order| %>
<%= render "list", order: order %>
<% end %>
</ul>
| <h2>Order History</h2>
<ul>
<% @orders.each do |order| %>
<%= render "list", order: order %>
<% end %>
</ul>
| Fix typo on index view | Fix typo on index view
| HTML+ERB | mit | Dom-Mc/fetch_it,Dom-Mc/fetch_it,Dom-Mc/fetch_it |
2294fbb415c4251a51d217edd14297779aeec87a | cookbooks/tile/templates/default/update-lowzoom.erb | cookbooks/tile/templates/default/update-lowzoom.erb | #!/bin/bash
# DO NOT EDIT - This file is being maintained by Chef
# Send output to the log
exec > /var/log/tile/update-lowzoom-<%= @style %>.log 2>&1
# Update tiles from z0 to z10 for style "<%= @style %>"
render_list \
--all --force \
--tile-dir=/srv/tile.openstreetmap.org/tiles \
--socket=/var/run/renderd/re... | #!/bin/bash
# DO NOT EDIT - This file is being maintained by Chef
# Send output to the log
exec > /var/log/tile/update-lowzoom-<%= @style %>.log 2>&1
# Update tiles from z0 to z10 for style "<%= @style %>"
render_list \
--all --force \
--tile-dir=/srv/tile.openstreetmap.org/tiles \
--socket=/var/run/renderd/re... | Update the planet timestamp correctly when the style changes | Update the planet timestamp correctly when the style changes
| HTML+ERB | apache-2.0 | tomhughes/openstreetmap-chef,gravitystorm/chef,openstreetmap/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,gravitystorm/chef,gravitystorm/chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,Fir... |
b6b98effb51b9f0bd3e3251d0d368fafbadd6268 | 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 1d;
rewrite ^/spotlight(.*)$ $1 break;
root /opt/spotlight/current/public;
gzip on;
gzip_types application/x-javascript application/javascript application/json text/css;
gzip_pr... | # Spotlight serves assets from the public directory
# of the currently deployed version of the app.
location /spotlight/ {
expires 1m;
rewrite ^/spotlight(.*)$ $1 break;
root /opt/spotlight/current/public;
gzip on;
gzip_types application/x-javascript application/javascript application/json text/css;
gzip_pr... | Increase Spotlight assets cache time to 1 month | Increase Spotlight assets cache time to 1 month
When we deploy applications, we frequently see issues where the page
is rendered without assets.
Initially we thought Varnish was working incorrectly, but actually I
think the issue is that the files are not in the cache on both frontend
app servers, which means that we... | HTML+ERB | mit | alphagov/pp-puppet,alphagov/pp-puppet,alphagov/pp-puppet,alphagov/pp-puppet |
70692341bd544bce84f7b9890319b797b1ced46f | lib/domgen/arez/templates/dao_gin_module.java.erb | lib/domgen/arez/templates/dao_gin_module.java.erb | /* DO NOT EDIT: File is auto-generated */
package <%= to_package(repository.arez.qualified_dao_gin_module_name) %>;
@java.lang.SuppressWarnings( { "UnusedDeclaration" } )
@javax.annotation.Generated( "Domgen" )
public class <%= repository.arez.dao_gin_module_name %>
extends com.google.gwt.inject.client.AbstractGinMo... | /* DO NOT EDIT: File is auto-generated */
package <%= to_package(repository.arez.qualified_dao_gin_module_name) %>;
@java.lang.SuppressWarnings( { "UnusedDeclaration" } )
@javax.annotation.Generated( "Domgen" )
public class <%= repository.arez.dao_gin_module_name %>
extends com.google.gwt.inject.client.AbstractGinMo... | Fix binding of dao instances in GIN modules | Fix binding of dao instances in GIN modules
| HTML+ERB | apache-2.0 | icaughley/domgen,realityforge/domgen,icaughley/domgen,realityforge/domgen |
56c542d8809871c47ddba9c1a0b867018eca6dd3 | vendor/extensions/theme_default/app/views/checkouts/_confirm.html.erb | vendor/extensions/theme_default/app/views/checkouts/_confirm.html.erb | <fieldset id="order_details">
<div class="clear"></div>
<legend><%= t("confirm") %></legend>
<%= render :partial => 'shared/order_details', :locals => {:order => @order} -%>
</fieldset>
<hr />
<div class="form-buttons">
<input type="submit" class="continue button primary" value="<%=t("save_and_continue") %>"/... | <fieldset id="order_details">
<div class="clear"></div>
<legend><%= t("confirm") %></legend>
<%= render :partial => 'shared/order_details', :locals => {:order => @order} -%>
</fieldset>
<hr />
<div class="form-buttons">
<input type="submit" class="continue button primary" value="<%=t("place_order") %>"/>
</di... | Change the button label in the final step of order to 'Place Order' instead of 'Save and continue'. | Change the button label in the final step of order to 'Place Order'
instead of 'Save and continue'.
[#1194 state:resolved]
| HTML+ERB | bsd-3-clause | radarseesradar/spree,thogg4/spree,Hawaiideveloper/shoppingcart,yushine/spree,sliaquat/spree,Nevensoft/spree,lzcabrera/spree-1-3-stable,brchristian/spree,omarsar/spree,grzlus/solidus,shioyama/spree,omarsar/spree,Migweld/spree,SadTreeFriends/spree,jhawthorn/spree,Arpsara/solidus,codesavvy/sandbox,tomash/spree,builtbybuff... |
2beb30ffccc798ffef11585f50ce276170acb43c | views/home.erb | views/home.erb | <!DOCTYPE html>
<head>
<title>Overheard - Quotes Sans Context</title>
</head>
<body>
<header>
<h1>Overheard - Quotes Sans Context</h1>
<p>Silly Sayings Said Serendipitously</p>
</header>
<main>
<% @overheards.each do |overheard| %>
<p><%= overheard.body %></p>
<% end %>
</main>
</body>
</html>
| <!DOCTYPE html>
<head>
<title>Overheard - Quotes Sans Context</title>
</head>
<body>
<header>
<h1>Overheard - Quotes Sans Context</h1>
<p>Silly Sayings Said Serendipitously</p>
<nav>
<a href="/overheards/new">Add Overheard</a>
</nav>
</header>
<main>
<% @overheards.each do |overheard| %>
<p><%= ov... | Create link to page where we create new overheards | Create link to page where we create new overheards
The pattern we're following is that first, we declare our intent; then
we make the change.
We used the test to declare the intent that their would be a link with
the text "Add Overheard".
We now use the link to declare the intent that the application will have
a
[ro... | HTML+ERB | mit | chrisswk/overheard-server,mjgold/overheard-server,codeunion/overheard-server,chrisswk/overheard-server |
3ba5ebc1bd098f59443f9dbdcbb82ef524b88b90 | puppet/environments/development/modules/npm_install/templates/npm_install.sh.erb | puppet/environments/development/modules/npm_install/templates/npm_install.sh.erb | #!/bin/bash -e
cd /home/vagrant/janus-gateway-js
npm install
| #!/bin/bash -e
chown -R vagrant /usr/local/chrome-linux
cd /home/vagrant/janus-gateway-js
npm install
| Add a workaround line (to be removed later!) | Add a workaround line (to be removed later!)
| HTML+ERB | mit | vogdb/janus-gateway-js,vogdb/janus-gateway-js,cargomedia/janus-gateway-js,cargomedia/janus-gateway-js |
260db1c33abed80f6328405eeb91746810238193 | views/cart.erb | views/cart.erb | <h2>Your cart</h2>
<table class="table table-hover">
<thead>
<tr>
<th>Title</th>
<th>Quantity</th>
</tr>
</thead>
<tbody>
<% @items.each do |row| %>
<tr>
<td><%= row[0].title %></td>
<td><%= row[1] %></td>
</tr>
<% end %>
</tbody>
</table> | <h2>Your cart</h2>
<table class="table table-hover">
<thead>
<tr>
<th>#</th>
<th>Title</th>
<th>Price</th>
<th>Quantity</th>
</tr>
</thead>
<tbody>
<% x = 0 %>
<% @items.each do |item| %>
<tr>
<td><%= x += 1 %></td>
<td><%= item[0].title %></td>
<td><%= item[0].price %></td>
... | Add number and price to table | Add number and price to table
| HTML+ERB | mit | Kraykin/PizzaShop,Kraykin/PizzaShop,Kraykin/PizzaShop |
44b615483aea03c2c42aab463df396d47825626d | lib/generators/refinery_theme/templates/views/layouts/application.html.erb | lib/generators/refinery_theme/templates/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<%= render :partial => "/shared/head", :locals => {:theme => true} %>
<body>
<%= render :partial => "/shared/site_bar" %>
<div id='page_container'>
<div id='page'>
<%= render :partial => "/shared/ie6check" if request.env['HTTP_USER_AGENT'] =~ /MSIE/ -%>
<div id='... | <!DOCTYPE html>
<%= render :partial => "/shared/html_tag" %>
<% site_bar = render(:partial => "/shared/site_bar", :locals => {:head => true}) -%>
<%= render :partial => "/shared/head", :locals => {:theme => true} %>
<body>
<%= site_bar -%>
<%= render :partial => "/shared/ie6check" if request.env['HTTP_USE... | Update layout HTML to latest version in Refinery. | Update layout HTML to latest version in Refinery.
| HTML+ERB | mit | brighton-agency/refinerycms-domain-theming,brighton-agency/refinerycms-domain-theming,resolve/refinerycms-theming,resolve/refinerycms-theming |
202b0ef381c47690a62d3f6db63f4fd1eb4e8ebf | app/views/defence_requests/show_draft.html.erb | app/views/defence_requests/show_draft.html.erb | <h1>Check the request</h1>
<p>Check the details below to make sure they are correct. Update any incorrect details, then submit the request.</p>
<section class="detainee-details">
<h2><%= not_given_formatter(@defence_request, :detainee_name, "name_not_given") %></h2>
<%= render("defence_requests/show_partials/det... | <h1>Check the request</h1>
<p>Check the details below to make sure they are correct. Update any incorrect details, then submit the request.</p>
<section class="detainee-details">
<h2><%= not_given_formatter(@defence_request, :detainee_name, "name_not_given") %></h2>
<%= render("defence_requests/show_partials/det... | Remove empty parenthesis at method call | Remove empty parenthesis at method call
| HTML+ERB | mit | ministryofjustice/defence-request-service,ministryofjustice/defence-request-service,ministryofjustice/defence-request-service,ministryofjustice/defence-request-service |
d316c2b4452eee57d719d14aad4ea938966ac6b4 | app/views/layouts/application/_footer.html.erb | app/views/layouts/application/_footer.html.erb | <% unless @for_pdf %>
<footer style="<%= yield :footer_style %>" class="footer <%= yield :footer_classes %>">
<p class="footer__element">
<i class="fa fa-copyright"></i> ProtectedPlanet 2014-<%= Date.today.year %>. All rights reserved
</p>
<div class="<%= bem('footer__element', :logos, :right) %> f... | <% unless @for_pdf %>
<footer style="<%= yield :footer_style %>" class="footer <%= yield :footer_classes %>">
<p class="footer__element">
<i class="fa fa-copyright"></i> ProtectedPlanet 2014-<%= Date.today.year %>. All rights reserved
</p>
<div class="footer__element footer__element--logos flex-row... | Tweak classes in the footer | Tweak classes in the footer
| HTML+ERB | bsd-3-clause | unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet |
dc055a6fd4e474ecd05d3055604a1b7df33520c2 | lib/domgen/imit/templates/client/gwt/gwt_data_loader_service_interface.java.erb | lib/domgen/imit/templates/client/gwt/gwt_data_loader_service_interface.java.erb | /* DO NOT EDIT: File is auto-generated */
package <%= to_package(repository.imit.qualified_gwt_data_loader_service_interface_name) %>;
@java.lang.SuppressWarnings( { "UnusedDeclaration", "JavaDoc" } )
public interface <%= repository.imit.gwt_data_loader_service_interface_name %>
{
boolean isConnected();
void conn... | /* DO NOT EDIT: File is auto-generated */
package <%= to_package(repository.imit.qualified_gwt_data_loader_service_interface_name) %>;
@java.lang.SuppressWarnings( { "UnusedDeclaration", "JavaDoc" } )
public interface <%= repository.imit.gwt_data_loader_service_interface_name %>
extends org.realityforge.replicant.cl... | Use interface exposed in latest replicant library | Use interface exposed in latest replicant library
| HTML+ERB | apache-2.0 | realityforge/domgen,realityforge/domgen,icaughley/domgen,icaughley/domgen |
c80e38f08552139c82a05b582af6393f40e84f6d | app/views/alchemy/admin/languages/_language.html.erb | app/views/alchemy/admin/languages/_language.html.erb | <tr class="<%= cycle('even', 'odd') %>">
<td>
<%= language.name %>
</td>
<td>
<%= language.language_code %>
</td>
<td>
<%= language.country_code %>
</td>
<td>
<%= language.frontpage_name %>
</td>
<td>
<%= language.page_layout %>
</td>
<td class="center">
<%= language.public... | <tr class="<%= cycle('even', 'odd') %>">
<td>
<%= language.name %>
</td>
<td>
<%= language.language_code %>
</td>
<td>
<%= language.country_code %>
</td>
<td>
<%= language.frontpage_name %>
</td>
<td>
<%= language.page_layout %>
</td>
<td class="center">
<%= language.public... | Fix language resource window size. | Fix language resource window size.
| HTML+ERB | bsd-3-clause | paperculture/alchemy_cms,mamhoff/alchemy_cms,AlchemyCMS/alchemy_cms,akra/alchemy_cms,phaedryx/alchemy_cms,thomasjachmann/alchemy_cms,mixandgo/alchemy_cms,AlchemyCMS/alchemy_cms,robinboening/alchemy_cms,chalmagean/alchemy_cms,paperculture/alchemy_cms,robinboening/alchemy_cms,kinsomicrote/alchemy_cms,Domenoth/alchemy_cms... |
556890fcd3bd6e109dcb59dacd6b077f23252c1b | ci_environment/phpbuild/templates/default/default_configure_options.erb | ci_environment/phpbuild/templates/default/default_configure_options.erb | --enable-intl
--with-openssl
--without-pear
--with-gd
--with-jpeg-dir=/usr
--with-png-dir=/usr
--enable-exif
--enable-zip
--with-zlib
--with-zlib-dir=/usr
--with-mcrypt=/usr
--with-pdo-sqlite
--enable-soap
--enable-xmlreader
--with-xsl
--enable-ftp
--with-tidy
--with-xmlrpc
--enable-sysvsem
--enable-sysvshm
--enable-sy... | --enable-intl
--with-openssl
--without-pear
--with-gd
--with-jpeg-dir=/usr
--with-png-dir=/usr
--with-freetype-dir=/usr/local/freetype2
--enable-exif
--enable-zip
--with-zlib
--with-zlib-dir=/usr
--with-mcrypt=/usr
--with-pdo-sqlite
--enable-soap
--enable-xmlreader
--with-xsl
--enable-ftp
--with-tidy
--with-xmlrpc
--en... | Fix freetype directory for Trusty | Fix freetype directory for Trusty
| HTML+ERB | mit | spurti-chopra/travis-cookbooks,ardock/travis-cookbooks,Distelli/travis-cookbooks,dracos/travis-cookbooks,Zarthus/travis-cookbooks,travis-ci/travis-cookbooks,gavioto/travis-cookbooks,Zarthus/travis-cookbooks,Acidburn0zzz/travis-cookbooks,dracos/travis-cookbooks,Acidburn0zzz/travis-cookbooks,gavioto/travis-cookbooks,ardo... |
9f7f89fbbbb00441058e15475adbfa92488dadf3 | config/haproxy/frontends/public_router.cfg.erb | config/haproxy/frontends/public_router.cfg.erb | defaults
log global
mode http
option httplog
retries 3
option redispatch
maxconn 2000
timeout connect 5s
timeout client 50s
timeout server 50s
# Allow keep-alive connections with the internet client, but not with backend
# servers. Without this, backend servers keep connections alive which means
... | frontend public_router <%= domain %>:80
option forwardfor
# Requests starting with /api get sent to the auth proxy for authentication
# and rate limiting.
acl url_match_api path_beg /api/
use_backend auth_proxy_farm if url_match_api
# All other requests go to our main site.
default_backend public_site_f... | Move defaults into system directory so they're prefixed before all frontends. Fix default backend call. | Move defaults into system directory so they're prefixed before all frontends. Fix default backend call.
| HTML+ERB | mit | apinf/api-umbrella,apinf/api-umbrella,NREL/api-umbrella-router,apinf/api-umbrella,OdiloOrg/api-umbrella-router,apinf/api-umbrella,NREL/api-umbrella,NREL/api-umbrella,NREL/api-umbrella-router,NREL/api-umbrella,apinf/api-umbrella,OdiloOrg/api-umbrella-router,OdiloOrg/api-umbrella-router,NREL/api-umbrella,NREL/api-umbrell... |
a69db7b5c8dd0fbc5156ae33adbc6d697cd71a20 | plugins/custom_forms/views/custom_forms_plugin_myprofile/show_submission.html.erb | plugins/custom_forms/views/custom_forms_plugin_myprofile/show_submission.html.erb | <h1><%= @form.name %></h1>
<p><%= @form.description %></p>
<% fields_for :submission, @submission do |f| %>
<%= render :partial => 'shared/form_submission', :locals => {:f => f} %>
<% end %>
<% button_bar do %>
<%= button :back, _('Back to submissions'), :action => 'submissions', :id => @form.id %>
<% end %>
| <h1><%= @form.name %></h1>
<p><%= @form.description %></p>
<%= fields_for :submission, @submission do |f| %>
<%= render :partial => 'shared/form_submission', :locals => {:f => f} %>
<% end %>
<% button_bar do %>
<%= button :back, _('Back to submissions'), :action => 'submissions', :id => @form.id %>
<% end %>
| Change fields_for structure to rails 3 in show_submission view | Change fields_for structure to rails 3 in show_submission view
| HTML+ERB | agpl-3.0 | hebertdougl/noosfero,vfcosta/noosfero,evandrojr/noosfero,evandrojr/noosfero,CIRANDAS/noosfero-ecosol,blogoosfero/noosfero,EcoAlternative/noosfero-ecosol,blogoosfero/noosfero,AlessandroCaetano/noosfero,vfcosta/noosfero,EcoAlternative/noosfero-ecosol,coletivoEITA/noosfero-ecosol,evandrojr/noosfero,coletivoEITA/noosfero,t... |
3dbdc9d7c6a625f7d5dcea64481d1cb45a28a1c0 | app/views/record/record.html.erb | app/views/record/record.html.erb | <div classs="record">
<%= @record_id %>
</div> | <%= render partial: "search/form" %>
<div class="gridband layout-3q1q">
<div class="col3q">
<%# ~~~~~~~~~~~~~~~~~~~~~~~~ Basic info section ~~~~~~~~~~~~~~~~~~~~~~~~ %>
<% if Flipflop.enabled?(:local_browse) %>
<% search_prefix = '/search/bento?q=' %>
<% else %>
<% search_prefix = ENV['EDS_PR... | Make basic record info exist! | Make basic record info exist!
| HTML+ERB | apache-2.0 | MITLibraries/bento,MITLibraries/bento,MITLibraries/bento,MITLibraries/bento |
cb7e7d1bc91f584367d040d02e2666cae40c23d8 | app/views/welcome/index.html.erb | app/views/welcome/index.html.erb | <div class='row text-center'>
<h1 class='title-text'>WhatzCookin</h1>
<div>
<%= flash[:error] %>
</div>
</div>
<div class='container-fluid'>
<%= form_tag('/retrieve_recipes', "data-ajax" => "false") do %>
<div class='row text-center'>
<%= text_field_tag('ingredient', "", size: 40, autofocus: true, autocomp... | <div class='row text-center'>
<h1 class='title-text'>WhatzCookin</h1>
<div>
<%= flash[:error] %>
</div>
</div>
<div class='container-fluid'>
<%= form_tag('/retrieve_recipes', "data-ajax" => "false") do %>
<div class='row text-center'>
<%= text_field_tag('ingredient', "", size: 40, autofocus: true, autocomp... | Add placeholder to recipe search bar | Add placeholder to recipe search bar
| HTML+ERB | mit | axblum/whatzcookin-rails,axblum/whatzcookin-rails,axblum/whatzcookin-rails |
6c26119d99faa3896f4e9099a20b1cdbaf621829 | views/new.erb | views/new.erb |
<div class="col-md-12">
<form>
<textarea class="form-control" rows="7"></textarea>
</br>
<button type="submit" class="btn btn-primary ">Submit</button>
</form></div>
|
<div class="col-md-12">
<form actio='/new' method="post" role='form'>
<textarea class="form-control" rows="7" name='text'></textarea>
</br>
<button type="submit" class="btn btn-primary ">Submit</button>
</form></div>
| Add action methot to form | Add action methot to form
| HTML+ERB | mit | airwall/Leprosorium,airwall/Leprosorium |
ee1aafd7a85d06eedbbdee3c9701bf5698cfe862 | lib/chef-dk/skeletons/code_generator/templates/default/Policyfile.rb.erb | lib/chef-dk/skeletons/code_generator/templates/default/Policyfile.rb.erb | # Policyfile.rb - Describe how you want Chef to build your system.
#
# For more information on the Policyfile feature, visit
# https://github.com/opscode/chef-dk/blob/master/POLICYFILE_README.md
# A name that describes what the system you're building with Chef does.
name "example_application"
# Where to find external... | # Policyfile.rb - Describe how you want Chef to build your system.
#
# For more information on the Policyfile feature, visit
# https://github.com/opscode/chef-dk/blob/master/POLICYFILE_README.md
# A name that describes what the system you're building with Chef does.
name "example_application"
# Where to find external... | Change default source in generated policies to "supermarket" | Change default source in generated policies to "supermarket"
| HTML+ERB | apache-2.0 | vinyar/chef-dk,chef/chef-dk,clintoncwolfe/chef-dk,vinyar/chef-dk,tas50/chef-dk,chef/chef-dk,tbunnyman/chef-dk,tas50/chef-dk,vinyar/chef-dk,chef/chef-dk,clintoncwolfe/chef-dk,tbunnyman/chef-dk,tas50/chef-dk |
6dbae5e4f6ebe0f55c1281a71bd51a8abb0aa776 | app/views/home/index.html.erb | app/views/home/index.html.erb | <div id="statement">
<h2>Private hosting for your hidden gems.</h2>
</div>
<hr />
<div class="span-16">
<div class="span-11">
<%= image_tag 'screenshot.png', :size => '640x395' %>
</div>
<div id="explanation" class="span-5 last">
<h3>Private, secure, reliable.</h3>
<p>We offer dedicated repositories... | <div id="statement">
<h2>Private hosting for your hidden gems.</h2>
</div>
<hr />
<div class="span-16">
<div class="span-11">
<%= image_tag 'screenshot.png', :size => '640x395' %>
</div>
<div id="explanation" class="span-5 last">
<h3>Private, secure, reliable.</h3>
<p>We offer dedicated repositories... | Use new <%= %> syntax | Use new <%= %> syntax
| HTML+ERB | mit | jodosha/minegems,jodosha/minegems |
20241ece608f456e2236ceec6fa94fbd1fad9ba8 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html lang="en">
<head>
<%= render 'layouts/shared_head' %>
<%= stylesheet_link_tag 'forest/application_public', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= stylesheet_link_tag 'forest/application_bootstrap', media: 'all', 'data-turbolinks-track': 'reload' if controller_name == ... | <!DOCTYPE html>
<html lang="en">
<head>
<%= render 'layouts/shared_head' %>
<%= stylesheet_link_tag 'forest/application_public', media: 'all', 'data-turbolinks-track': 'reload' %>
</head>
<body class="<%= @body_classes %> public">
<%#= TODO: if a admin user is logged in, show admin bar %>
<%= rend... | Clean up appliction layout now that devise has its own layout | Clean up appliction layout now that devise has its own layout
| HTML+ERB | mit | dylanfisher/forest,dylanfisher/forest,dylanfisher/forest |
d86d9bb64eff63ea7a0e90fcca742189a2fcc83d | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Secondlead</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<%= yield %>
</body>
</html>
| <!DOCTYPE html>
<html>
<head>
<title>Second Lead</title>
<!--Let browser know website is optimized for mobile-->
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<%= stylesheet_link_tag 'application', media: 'all'%>
<%= javascript_include_tag 'application' %>
<%= c... | Add nav bar to include sign up link | Add nav bar to include sign up link
| HTML+ERB | mit | ac-adekunle/secondlead,ac-adekunle/secondlead,ac-adekunle/secondlead,ac-adekunle/ds,ac-adekunle/ds,ac-adekunle/ds |
7ccf90e380b01104e8e076f5393aaaa34331835b | app/views/shared/_quick_links.html.erb | app/views/shared/_quick_links.html.erb | <% if can? :create, Asset %>
<%= render(:partial => 'quick_link', :locals => {:action_title => 'New Asset', :action_path => new_asset_inventory_index_path, :action_icon => 'fa fa-plus'}) %>
<% end %>
<%= render(:partial => 'quick_link', :locals => {:action_title => 'Search Assets', :action_path => new_search_path(:sea... | <% if can? :create, Asset %>
<%= render(:partial => 'quick_link', :locals => {:action_title => 'New Asset', :action_path => new_asset_inventory_index_path, :action_icon => 'fa fa-plus'}) %>
<% end %>
<%= render(:partial => 'quick_link', :locals => {:action_title => 'Search Assets', :action_path => new_search_path(:sea... | Remove activity item from the quick links panel | Remove activity item from the quick links panel
| HTML+ERB | mit | camsys/transam_core,camsys/transam_core,nycdot/transam_core,nycdot/transam_core,camsys/transam_core,camsys/transam_core,nycdot/transam_core |
ad8ff7fe49caca011b2d32544666671cedb783d9 | templates/dev.riak.plist.erb | templates/dev.riak.plist.erb | <?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
<dict>
<key>Label</key>
<string>dev.riak</string>
<key>Boxen</key>
<dict>
<key>Description</key>
<string>A key-value store with delusions of grandeur.</string>
<key>Port</key>
<integer><%= @port %></integer>
</... | <?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
<dict>
<key>Label</key>
<string>dev.riak</string>
<key>Boxen</key>
<dict>
<key>Description</key>
<string>A key-value store with delusions of grandeur.</string>
<key>Port</key>
<integer><%= @port %></integer>
</... | Configure epmd to listen on the loopback interface | Configure epmd to listen on the loopback interface
| HTML+ERB | mit | boxen/puppet-riak,boxen/puppet-riak |
9942d34bbbd3b3c663d8b62d02bb9dde6434438f | src/oc-id/app/views/profiles/_profile.html.erb | src/oc-id/app/views/profiles/_profile.html.erb | <h3>Profile</h3>
<%= form_for(@user, :url => :profile, :method => :put, :html => {'data-abide' => ''}) do |f| %>
<div class="row">
<div class="medium-12 columns">
<%= f.label :first_name %>
<%= f.text_field :first_name, :required => true, :class => 'radius' %>
<small class="error">Required</smal... | <h3>Profile</h3>
<%= form_for(@user, :url => :profile, :method => :put, :html => {'data-abide' => ''}) do |f| %>
<div class="row">
<div class="medium-12 columns">
<%= f.label :first_name %>
<%= f.text_field :first_name, :required => true, :class => 'radius' %>
<small class="error">Required</smal... | Fix title for disabling email update | Fix title for disabling email update
Signed-off-by: Prajakta Purohit <e0b6074fb36005ab38b637036277c00627bb386c@chef.io>
| HTML+ERB | apache-2.0 | chef/chef-server,chef/chef-server,chef/chef-server,chef/chef-server,chef/chef-server,chef/chef-server |
79d8a3f4e00b3d7ac3b184e79760c72bd396d3de | files/private-chef-cookbooks/private-chef/templates/default/sv-opscode-solr-run.erb | files/private-chef-cookbooks/private-chef/templates/default/sv-opscode-solr-run.erb | #!/bin/sh
cd <%= File.join(node['private_chef']['opscode-solr']['dir'], 'jetty') %>
exec 2>&1
exec chpst -P -o 50000 -U <%= node['private_chef']['user']['username'] %> -u <%= node['private_chef']['user']['username'] %> /usr/bin/env PATH=/opt/opscode/embedded/bin:/opt/opscode/bin:/opt/opscode/embedded/jre/bin:$PATH JA... | #!/bin/sh
cd <%= File.join(node['private_chef']['opscode-solr']['dir'], 'jetty') %>
ulimit -n 50000
exec 2>&1
exec chpst -P -o 50000 -U <%= node['private_chef']['user']['username'] %> -u <%= node['private_chef']['user']['username'] %> /usr/bin/env PATH=/opt/opscode/embedded/bin:/opt/opscode/bin:/opt/opscode/embedded... | Fix Solr fd exhaustion by upping fd ulimit | Fix Solr fd exhaustion by upping fd ulimit
For reference, see commit e64f710be3badc316baa2f26e2c40a2ebfbfc902 in
opscode-platform cookbooks.
| HTML+ERB | apache-2.0 | chef/opscode-omnibus,poliva83/chef-server,juliandunn/chef-server-1,chef/chef-server,Minerapp/chef-server,charlesjohnson/chef-server,chef/opscode-omnibus,stephenbm/chef-server,vladuemilian/chef-server,itmustbejj/chef-server,stephenbm/chef-server,itmustbejj/chef-server,charlesjohnson/chef-server,rmoorman/chef-server,itmu... |
7c62d7cc794306ca15d8cee33a6c4b2cd324599d | templates/interviews.erb | templates/interviews.erb | ---
layout: default
title: Interviews
---
<ul id="interviews">
<% @items.each do |interview| %>
<li class="h-card">
<%= render_template('shared.interview', interview: interview) %>
</li>
<% end %>
</ul>
<% if @pagination && @pagination[:page_count] > 1 %>
<nav id="paginator">
Page <strong><%= @paginat... | ---
layout: default
title: Interviews
---
<ul id="interviews">
<% @items.each do |interview| %>
<li class="h-card">
<%= render_template('shared.interview', interview: interview) %>
</li>
<% end %>
</ul>
<% if @pagination && @pagination[:page_count] > 1 %>
<nav id="paginator">
Page <strong><%= @paginat... | Use the pagination's links hash | Use the pagination's links hash
| HTML+ERB | mit | waferbaby/usesthis,ivuk/usesthis,waferbaby/usesthis,ivuk/usesthis |
8ecd8fb2c35fe7f55d7c924294e9db9a3b4da1d1 | templates/50_password.erb | templates/50_password.erb | #!/bin/sh
#
# WARNING: This file maintained by Puppet.
# Editing is no use unless you avoid running the Puppet agent
#
# Set username and PBKDF2 password for protect GRUB configuration
# during the boot process.
#
exec tail -n +3 $0
<% if @password -%>
set superusers="<%= @password_username %>"
password_pbkdf2 <%= @pas... | #!/bin/sh
exec tail -n +3 $0
<% if @password -%>
set superusers="<%= @password_username %>"
password_pbkdf2 <%= @password_username %> <%= @password_pbkdf2_hash %>
<% end -%>
| Remove comments to avoid issue | [templates] Remove comments to avoid issue
| HTML+ERB | apache-2.0 | goldyfruit/puppet-grub2,goldyfruit/puppet-grub2,goldyfruit/puppet-grub2 |
1f6d61ec8fadca1c33d409c76c8cfa2d8c403e1c | modules/govuk_jenkins/templates/jenkins_jobs.ini.erb | modules/govuk_jenkins/templates/jenkins_jobs.ini.erb | [jenkins]
user=<%= @jenkins_user %>
password=<%= @jenkins_api_token %>
url=<%= @jenkins_url %>
| [jenkins]
user=<%= @jenkins_user %>
password=<%= @jenkins_api_token %>
url=<%= @jenkins_url %>
[job_builder]
ignore_cache=True
| Make jenkins_job_builder always update jobs. | Make jenkins_job_builder always update jobs.
jenkins_job_builder maintains a cache of the jobs it has written to
Jenkins. It uses this cache to determine whether a job needs to be
updated in Jenkins. This means that if a job has been edited in the
Jenkins UI, jenkins_job_builder won't notice, and the UI changes will
o... | HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
ae551e3591a8404ebd8f10ba00cafb97dbbe296c | app/views/devise/sessions/new.html.erb | app/views/devise/sessions/new.html.erb | <% content_for :header do %>
<h1>Trailmix</h1>
<p class="lead">Private journaling about your life.</p>
<% end %>
<%= simple_form_for(
resource,
as: resource_name,
url: session_path(resource_name)
) do |f| %>
<div class="form-group">
<%= f.input :email,
label: false,
required: true,
a... | <% content_for :header do %>
<h1>Sign in</h1>
<p class="lead">
<%= link_to "Forget your password?", new_password_path(:user) %>
</p>
<% end %>
<%= simple_form_for(
resource,
as: resource_name,
url: session_path(resource_name)
) do |f| %>
<div class="form-group">
<%= f.input :email,
label: ... | Move 'forgot password' above sign in form | Move 'forgot password' above sign in form
| HTML+ERB | mit | codecation/trailmix,codecation/trailmix,codecation/trailmix,codecation/trailmix |
e7d6c2552ad56e305286ec8576d70dcea6a2eb93 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>App</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<%= yield %>
</body>
</html>
| <!DOCTYPE html>
<html>
<head>
<title>App</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
<style>
a{
-webkit-transition: all 0.5s ease-out;
-moz-transition: all 0.5s ea... | Change the main layout to show the signin and signout buttons. | Change the main layout to show the signin and signout buttons.
- These buttons will be shown depending on whether and what type of a
user is signed in. | HTML+ERB | mit | aniarya82/networking-rails,icyflame/erp-rails,aniarya82/networking-rails,icyflame/erp-rails,aniarya82/networking-rails,icyflame/erp-rails |
c607648cb78e71f1219bde35647ccb207805a6a8 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Meal</title>
<%= csrf_meta_tags %>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4... | <!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Meal</title>
<%= csrf_meta_tags %>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4... | Remove hard coded google api key | Remove hard coded google api key
| HTML+ERB | mit | mattgfisch/meal,mattgfisch/meal,mattgfisch/meal |
aa3e0649a270e38fa417d2ed595b42865b6d4ff1 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5">
<meta name="description" content="Imaginary friends automata for Freefeed.net">
<title>Feeder</title>
<%= javascript_pack_tag 'application' %>
<%= stylesheet_pack_tag 'appl... | <!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5">
<meta name="description" content="Imaginary friends automata for Freefeed.net">
<title>Feeder</title>
<%= javascript_pack_tag 'application' %>
<%= stylesheet_pack_tag 'appl... | Remove whitespace during partial template rendering | Remove whitespace during partial template rendering
| HTML+ERB | mit | dreikanter/feeder,dreikanter/feeder,dreikanter/feeder |
58e11f38eae1ba168520de54f77993f4b29846a3 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>RailsOnlineShop</title>
<%= csrf_meta_tags %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
</head>
<body>
<% if logged_in?%>
<... | <!DOCTYPE html>
<html>
<head>
<title>RailsOnlineShop</title>
<%= csrf_meta_tags %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
</head>
<body>
<% if logged_in?%>
<... | Include home link to nav | Include home link to nav
| HTML+ERB | mit | benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop |
59e1f4d9b72f385057e4db87a393e0aa0a37e33a | app/views/surveys/_question.erb | app/views/surveys/_question.erb | <% question.choices.each do |choice| %>
<%= erb :"surveys/_choice", locals: {choice: choice, question: question}, layout: false %>
<% end %> | <h4><%= question.question %></h4>
<% question.choices.each do |choice| %>
<%= erb :"surveys/_choice", locals: {choice: choice, question: question}, layout: false %>
<% end %> | Fix question not showing up | Fix question not showing up
| HTML+ERB | mit | Doralyp/Survey-Primate,Doralyp/Survey-Primate,Doralyp/Survey-Primate |
f877cd86b47c4213c9c314a80578e4502eaf4707 | app/views/topics/index.html.erb | app/views/topics/index.html.erb | <h1>Listing topics</h1>
<table>
<thead>
<tr>
<th>Title</th>
<th></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<% @topics.each do |topic| %>
<tr>
<td><%= link_to topic.title, topic %></td>
<td><%= pluralize(topic.votes.count, "vote") %></td>
<t... | <h1>Listing topics</h1>
<table>
<thead>
<tr>
<th>Title</th>
<th></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<% @topics.each do |topic| %>
<tr>
<td><%= link_to topic.title, topic %></td>
<td><%= pluralize(topic.votes.count, "vote") %></td>
<t... | Remove Show & Edit, rename Destroy -> Delete | Remove Show & Edit, rename Destroy -> Delete | HTML+ERB | mit | jaw6/super-suggestotron,jaw6/super-suggestotron |
153226e9f42e16c7c317142c0d485dd899a59d55 | app/views/visits/index.html.erb | app/views/visits/index.html.erb | <div class="col-sm-8 cs-main-area">
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="cs-no-margin">
Analytics
</h4>
</div>
<div class="panel-body">
<%= line_chart Visit.group(:search_keyword).count, title: "Search Keyword", ytitle: "Count" %>
... | <div class="col-sm-8 cs-main-area">
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="cs-no-margin">
Analytics
</h4>
</div>
<%
visit_dict = ActiveSupport::OrderedHash.new
visit_dict[:country] = nil
visit_dict[:referring_domain] = "juliaobs... | Improve plots used on visits page (i.e. sort them) | Improve plots used on visits page (i.e. sort them) | HTML+ERB | mit | djsegal/julia_observer,djsegal/julia_observer,djsegal/julia_observer |
b31ef329999112e8e193a3bcc2a0e4d51b054881 | app/views/reports/standard_form_report/_item.html.erb | app/views/reports/standard_form_report/_item.html.erb | <% # text items %>
<% if item.text.present? %>
<%= sanitize(item.text) %>
<% # include submitter name and add link to response if appropriate %>
<% if item.submitter_name.present? %>
<div class="by-at">
<%= t("report/report.submitted_by_at", user: item.submitter_name, datetime: item.created_at) %>,
... | <% # text items %>
<% if item.text.present? %>
<%= sanitize(item.text) %>
<% # include submitter name and add link to response if appropriate %>
<% if item.submitter_name.present? %>
<div class="by-at">
<%= t("report/report.submitted_by_at", user: item.submitter_name, datetime: item.created_at) %>,
... | Fix path to response view | 10996: Fix path to response view
| HTML+ERB | apache-2.0 | thecartercenter/elmo,thecartercenter/elmo,thecartercenter/elmo |
a9c28a9f83308d0dc035334eeadc35182af531f1 | backend/app/views/spree/admin/product_properties/_product_property_fields.html.erb | backend/app/views/spree/admin/product_properties/_product_property_fields.html.erb | <tr class="product_property fields" id="spree_<%= dom_id(f.object) %>" data-hook="product_property">
<td class="move-handle">
<% if f.object.persisted? && can?(:edit, f.object) %>
<%= svg_icon name: "sort.svg", width: '18', height: '18' %>
<%= f.hidden_field :id %>
<% end %>
</td>
<td class='p... | <tr class="product_property fields" id="spree_<%= dom_id(f.object) %>" data-hook="product_property">
<% if f.object.persisted? && can?(:edit, f.object) %>
<td class="move-handle">
<%= svg_icon name: "sort.svg", width: '18', height: '18' %>
<%= f.hidden_field :id %>
</td>
<% else %>
<td style="opacity:... | Make properties form nicer. Stop sortable on new unset fields. | Make properties form nicer. Stop sortable on new unset fields.
| HTML+ERB | bsd-3-clause | imella/spree,imella/spree,imella/spree |
64d221c07065e558d1174c31c39703ae909f9f1f | app/views/events/new.html.erb | app/views/events/new.html.erb | <div class="row">
<div class="col-md-6 offset-md-3">
<%= render 'form' %>
</div>
<div class="col-md-3">
<%= render 'shared/links' %>
</div>
</div>
| <div class="row">
<div class="col-md-3">
<%= render 'shared/user_info', user: current_user %>
</div>
<div class="col-md-6 offset-md-3">
<%= render 'form' %>
</div>
<div class="col-md-3">
<%= render 'shared/links' %>
</div>
</div>
| Add user info to new event view | feat: Add user info to new event view
| HTML+ERB | mit | frankolson/BIC_Hub,frankolson/BIC_Hub,frankolson/BIC_Hub |
8eb9eed9867429e70a2bc92ac2e71025f8681710 | app/views/lists/show.html.erb | app/views/lists/show.html.erb | <h1><%= @list.name.capitalize %></h1>
<ul>
<% @items.each do |item| %>
<li><%= item.name %></li>
<% end %>
</ul>
</br>
<table class="table">
<thead>
<th>Item</th>
<th>Store</th>
<th>Date Purchased</th>
</thead>
<tbody>
<% @list.items.each do |item| %>
<tr>
<td>
<%= item... | <h1><%= @list.name.capitalize %></h1>
<ul>
<% @items.each do |item| %>
<li><%= item.name %></li>
<% end %>
</ul>
</br>
<table class="table">
<thead>
<th>Item</th>
<th>Store</th>
<th>Date Purchased</th>
</thead>
<tbody>
<% @list.items.each do |item| %>
<tr>
<td>
<%= item... | Change Rename to Edit on list show page | Change Rename to Edit on list show page
| HTML+ERB | mit | withtwoemms/stuff-i-buy,withtwoemms/stuff-i-buy,withtwoemms/stuff-i-buy |
447bb51958a3c504f18756a566b6a191ba723517 | app/views/pours/edit.html.erb | app/views/pours/edit.html.erb | <div class="page-header">
<div class="pull-right">
<%= link_to 'Return', root_path, :class => 'btn btn-default' %>
</div>
<h1>Who are you?</h1>
</div>
<div class="user-list">
<div class="row">
<%= link_to 'New User', new_user_path %>
</div>
<% @users.each do |user| %>
<div class="row">
<%= li... | <div class="page-header">
<div class="pull-right">
<%= link_to 'Return', :back, :class => 'btn btn-default' %>
</div>
<h1>Who are you?</h1>
</div>
<div class="user-list">
<div class="row">
<%= link_to 'New User', new_user_path %>
</div>
<% @users.each do |user| %>
<div class="row">
<%= link_t... | Make the return link work correctly | Make the return link work correctly
The are 2 places you might return to
| HTML+ERB | mit | collectiveidea/bender,collectiveidea/bender,collectiveidea/bender,collectiveidea/bender |
4182c12912ee2980f64560ab6886ceb5cb2eae24 | modules/govuk/templates/whitehall-admin/whitehall-admin-delayed-job-worker.conf.erb | modules/govuk/templates/whitehall-admin/whitehall-admin-delayed-job-worker.conf.erb | description "Whitehall Admin Delayed job background worker"
<%- if govuk_platform != 'development' -%>
start on runlevel [2345]
<%- end -%>
stop on runlevel [!2345]
respawn
# If the app respawns more than 5 times in 20 seconds, it has deeper problems
# and should be killed off.
respawn limit 5 20
exec govuk_setenv ... | description "Whitehall Admin Delayed job background worker"
<%- if govuk_platform != 'development' -%>
start on runlevel [2345]
<%- end -%>
stop on runlevel [!2345]
respawn
# If the app respawns more than 5 times in 20 seconds, it has deeper problems
# and should be killed off.
respawn limit 5 20
exec govuk_setenv ... | Fix outdated whitehall-admin reference in worker | Fix outdated whitehall-admin reference in worker
This has since changed to just be `whitehall`. This job is currently
failing in production, probably for this reason.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
94b6483e56555a4b8fab897d76e22802e69e3fb5 | app/views/shared/visualizations/_google_maps.html.erb | app/views/shared/visualizations/_google_maps.html.erb | <% if google_maps_qs.present? %>
<script type='text/javascript' src="//maps.google.com/maps/api/js?<%= google_maps_qs %>&v=3.25"></script>
<% end %>
| <% if google_maps_qs.present? %>
<script type='text/javascript' src="//maps.google.com/maps/api/js?<%= google_maps_qs %>&v=3.26"></script>
<% end %>
| Update to google maps 3.26 | Update to google maps 3.26
| HTML+ERB | bsd-3-clause | splashblot/dronedb,splashblot/dronedb,CartoDB/cartodb,CartoDB/cartodb,splashblot/dronedb,CartoDB/cartodb,splashblot/dronedb,splashblot/dronedb,CartoDB/cartodb,CartoDB/cartodb |
416afc3dd3c5f9c65895b8f7ebefb7f5037c0548 | app/views/home/index.html.erb | app/views/home/index.html.erb | <ul class="thumbnails">
<% @src_images.each do |si| %>
<li>
<div class="thumbnail">
<%= render :partial => si %>
</div>
</li>
<% end %>
</ul>
<ul class="thumbnails">
<% @gend_images.each do |gi| %>
<li>
<div class="thumbnail">
<%= render :partial => g... | <p>
<%= link_to 'new source image', :controller => :src_images, :action => :new %>
</p>
<ul class="thumbnails">
<% @src_images.each do |si| %>
<li>
<div class="thumbnail">
<%= render :partial => si %>
</div>
</li>
<% end %>
</ul>
<ul class="thumbnails">
<% @gend_images.ea... | Add temporary new source image link. | Add temporary new source image link.
| HTML+ERB | mit | mmb/meme_captain_web,mmb/meme_captain_web,mmb/meme_captain_web,patrickmcguire/meme,patrickmcguire/meme,mmb/meme_captain_web |
f74671620b249c7f364b6713950f5ef4b32973fc | app/views/users/edit.html.erb | app/views/users/edit.html.erb | <div id="sign_up_form">
<%= form_for(:user, url: signup_path) do |f| %>
<%= f.label :username %>
<%= f.text_field :username %>
<%= f.label :password %>
<%= f.password_field :password %>
<%= f.label :password_confirmation %>
<%= f.password_field :password_confirmation %>
<%= f.label :first_name %>... | Create views for edit and show | Create views for edit and show
| HTML+ERB | mit | pearlshin/StoryVine,pearlshin/StoryVine,mxngyn/StoryVine,SputterPuttRedux/storyvine_clone,SputterPuttRedux/storyvine_clone,mxngyn/StoryVine,SputterPuttRedux/storyvine_clone,pearlshin/StoryVine,mxngyn/StoryVine | |
a97cab1aee9561431f9f4887d794c23c80fc9fd7 | app/views/users/show.html.erb | app/views/users/show.html.erb | <div class="container">
<div class="row row-grid">
<div class="col-xs-12 col-md-4 offset-md-4">
<div class="mdl-card mdl-shadow--2dp" id="user-card">
<%= gravatar_for @user, size: 1000 %>
<div class="mdl-card__title mdl-card--expand">
<h4><stro... | <div class="container">
<div class="row row-grid">
<div class="col-xs-12 col-md-4 offset-md-4">
<div class="mdl-card mdl-shadow--2dp" id="user-card">
<%= gravatar_for @user, size: 1000 %>
<div class="mdl-card__title mdl-card--expand">
<h4><stro... | Add paginate to articles in the user show view | Add paginate to articles in the user show view
| HTML+ERB | mit | juanhenriquez/blog-app,juanhenriquez/blog-app,juanhenriquez/blog-app |
a2ce7f991405e10886ecbe83c6577526a7480ca6 | views/teams/show.html.erb | views/teams/show.html.erb | <% content_for(:title) { "#{I18n.t('.teams_page.title')} #{I18n.t(".teams.#{team.iso_code}")}" } %>
<div class="row">
<div class="col-12 col-md-8 ml-auto mr-auto">
<div class="card">
<div class="card-header">
<div class="select-team row form-group">
<div class="col-6 col-sm-4 ml-auto pr-1"... | <% content_for(:title) { "#{I18n.t('.teams_page.title')} #{I18n.t(".teams.#{team.iso_code}")}" } %>
<div class="row">
<div class="col-12 col-md-8 ml-auto mr-auto">
<div class="card">
<div class="card-header">
<div class="select-team row form-group">
<div class="col-6 col-sm-4 ml-auto pr-1"... | Remove table-striped for team matches. | Remove table-striped for team matches.
| HTML+ERB | mit | threefunkymonkeys/funky-world-cup,threefunkymonkeys/funky-world-cup,threefunkymonkeys/funky-world-cup,threefunkymonkeys/funky-world-cup |
3e5b906da2615ec16107fd2502f874648c773029 | mipt/app/views/students/index.html.erb | mipt/app/views/students/index.html.erb | <h2 class='title'>Students of MIPT</h2>
<ul>
<% @students.each do |student| %>
<li><%= student.last_name %>, <%= student.first_name %><br>
<% if student.teacher %>
<em>Current teacher: <%= student.teacher.full_name %></em>
<% end %>
</li><br>
<% end %>
</ul>
| <h2 class='title'>Students of MIPT</h2>
<ul>
<% @students.each do |student| %>
<li><%= link_to "#{student.last_name}, #{ student.first_name }", student_path(student) %><br>
<% if student.teacher %>
<em>Current teacher: <%= link_to "#{student.teacher.full_name}", teacher_path(student.teacher) %></em>
<% end %... | Add link functionality to students index | Add link functionality to students index
| HTML+ERB | mit | sf-red-pandas-2016/mipt,sf-red-pandas-2016/mipt,sf-red-pandas-2016/mipt |
936e1a93e249940bf272517a32b9b3c5ce1bb06c | files/private-chef-cookbooks/private-chef/templates/default/init-runsvdir.erb | files/private-chef-cookbooks/private-chef/templates/default/init-runsvdir.erb | start on runlevel [2345]
stop on shutdown
respawn
post-stop script
# To avoid stomping on runsv's owned by a different runsvdir
# process, kill any runsv process that has been orphaned, and is
# now owned by init (process 1).
pkill -HUP -P 1 runsv$
end script
exec <%= @install_path %>/embedded/bin/runsvdir-... | start on runlevel [2345]
stop on shutdown
respawn
pre-stop script
# To avoid Enterprise Chef service processes from being orphaned,
# we need to ensure everything is stopped before we kill our
# runsvdir process.
/usr/bin/private-chef-ctl stop
end script
post-stop script
# To avoid stomping on runsv's ow... | Stop all EC processes before stopping Upstart job | Stop all EC processes before stopping Upstart job
| HTML+ERB | apache-2.0 | chef/chef-server,poliva83/chef-server,juliandunn/chef-server-1,chef/chef-server,chef/chef-server,juliandunn/chef-server-1,itmustbejj/chef-server,chef/chef-server,itmustbejj/chef-server,Minerapp/chef-server,marcparadise/chef-server,chef/opscode-omnibus,stephenbm/chef-server,marcparadise/chef-server,Minerapp/chef-server,... |
88f93bd5393b8e9780536699508b8f5a7c4e4b69 | 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 1d;
rewrite ^/spotlight(.*)$ $1 break;
root /opt/spotlight/current/public;
gzip on;
gzip_types application/x-javascript application/javascript application/json text/css;
gzip_pr... | # Spotlight serves assets from the public directory
# of the currently deployed version of the app.
location /spotlight/ {
expires 1d;
rewrite ^/spotlight(.*)$ $1 break;
root /opt/spotlight/current/public;
gzip on;
gzip_types application/x-javascript application/javascript application/json text/css;
gzip_pr... | Add /stagecraft location to nginx for assets | Add /stagecraft location to nginx for assets
| HTML+ERB | mit | alphagov/pp-puppet,alphagov/pp-puppet,alphagov/pp-puppet,alphagov/pp-puppet |
bf4a93098e8bee8a17bb2c016632036da81a2c58 | app/views/components/_webchat.html.erb | app/views/components/_webchat.html.erb | <a href="https://www.pensionsadvisoryservice.org.uk/TPASPWChat" class="show-only-with-js">Need help? Live chat with our specialists</a>
| <a href="https://www.pensionsadvisoryservice.org.uk/TPASPWChat" class="show-only-with-js" target="_parent">Need help? Live chat with our specialists</a>
| Make webchat load outside of iframe | Make webchat load outside of iframe
| HTML+ERB | mit | guidance-guarantee-programme/pension_guidance,guidance-guarantee-programme/pension_guidance,guidance-guarantee-programme/pension_guidance |
351f05983d9e9878ae2284c9ed39a4234a2e6115 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>there's a board</title>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'a... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>there's a board</title>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'a... | Add edit-user-modal to main layout | Add edit-user-modal to main layout
| HTML+ERB | mit | theresaboard/theres-a-board,theresaboard/theres-a-board,theresaboard/theres-a-board |
3c06ee011cb4795bcc4225dfc25a5da626bea6dd | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>MagicGridDemo</title>
<%= stylesheet_link_tag "application", :media => "all" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
</head>
<body>
<%= yield %>
</body>
</html>
| <!DOCTYPE html>
<html>
<head>
<title>MagicGridDemo</title>
<%= stylesheet_link_tag "application", :media => "all" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
</head>
<body>
<a href="https://github.com/rmg/magic_grid"><img style="position: absolute; top: 0; right: 0; border: 0;" src=... | Add all important fork me ribbon | Add all important fork me ribbon
| HTML+ERB | mit | rmg/magic_grid-demo,rmg/magic_grid-demo |
cb899671e9a8285ee719f31e3be881c1359b4b11 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<script src="http://maps.google.com/maps/api/js?libraries=places"></script>
<link href='https://fonts.googleapis.com/css?family=Shadows+Into+Light' rel='stylesheet' type='text/css'>
<title>MollyNick</title>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_... | <!DOCTYPE html>
<html>
<head>
<script src="https://maps.google.com/maps/api/js?libraries=places"></script>
<link href='https://fonts.googleapis.com/css?family=Shadows+Into+Light' rel='stylesheet' type='text/css'>
<title>MollyNick</title>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript... | Update http to https for heroku | Update http to https for heroku
| HTML+ERB | mit | nperri6/molly_nick,nperri6/molly_nick,nperri6/molly_nick |
8e592a57897dc3d7406277bb64c46215f228e498 | app/views/questions/_question.html.erb | app/views/questions/_question.html.erb | <h2><%=question.title%></h2>
<p><%=question.content%></p> | <h2><%= question.title%></h2>
<p><%= question.content%></p>
<%= link_to "comment", new_question_response_path(question) %>
| Add link to comment on question | Add link to comment on question
| HTML+ERB | mit | jeder28/stack_overphil,jeder28/stack_overphil,jeder28/stack_overphil |
cbed3b535de385bd695e68e89bfd8789a68bf26d | app/views/search/_search_post.html.erb | app/views/search/_search_post.html.erb | <tr id="post_<%=@post.id%>">
<td class="post-search"><%= link_to(highlight_all(@post.topic.title, @keys || []), topic_path(@post.forum, @post.topic)) %></td>
<td width="80%" class="post-search-body"><%= highlight_all(excerpt(@post.body, @keys[0]), @keys || []) %></td>
</tr>
| <tr id="post_<%=@post.id%>">
<td class="post-search"><%= link_to(highlight_all(@post.topic.title, @keys || []), forum_topic_path(@post.forum, @post.topic)) %></td>
<td width="80%" class="post-search-body"><%= highlight_all(excerpt(@post.body, @keys[0]), @keys || []) %></td>
</tr>
| Update route name in search view. | Update route name in search view.
| HTML+ERB | agpl-3.0 | digitalnatives/jobsworth,arunagw/clockingit,webstream-io/jobsworth,webstream-io/jobsworth,xuewenfei/jobsworth,rafaspinola/jobsworth,xuewenfei/jobsworth,digitalnatives/jobsworth,rafaspinola/jobsworth,ari/jobsworth,digitalnatives/jobsworth,webstream-io/jobsworth,evinoca/clockingit,digitalnatives/jobsworth,xuewenfei/jobsw... |
aed41abad23f4f9d7238ece003a8145920b22c0b | app/views/streams/_share_note.html.erb | app/views/streams/_share_note.html.erb | <h2 class="tab" id="note"><%= image_tag('note.png', :alt => I18n.t('notes.note'), :class => 'icon')%> <%= I18n.t('notes.note') %> </h2>
<div class="section">
<% form_for :note, :url => notes_path do |form| %>
<%= hidden_field_tag :redirect_to, request.request_uri %>
<%= form.hidden_field :group_id %>
<p>
... | <h2 class="tab" id="note"><%= image_tag('note.png', :alt => I18n.t('notes.note'), :class => 'icon')%> <%= I18n.t('notes.note') %> </h2>
<div class="section">
<% form_for :note, :url => notes_path do |form| %>
<%= hidden_field_tag :redirect_to, request.request_uri %>
<%= form.hidden_field :group_id %>
<p>
... | Fix new formatted note path for groups. | Fix new formatted note path for groups.
| HTML+ERB | agpl-3.0 | nerdnorth/remote-workers-app,cessien/onebody,seethemhigh/onebody,klarkc/onebody,mattraykowski/onebody,ebennaga/onebody,brunoocasali/onebody,AVee/onebody,davidleach/onebody,tochman/onebody,samuels410/church-portal,fadiwissa/onebody,0612800232/sns_shop,klarkc/onebody,brunoocasali/onebody,powerchurch/onebody,ebennaga/oneb... |
fa69710e8690e6fc5cb89d4a8c2b4a5a85ebe624 | app/views/student_support_programs/forms/_new.html.erb | app/views/student_support_programs/forms/_new.html.erb | <div id="student-support-program-form-wrapper">
<%= form_for @student_support_program, html: { multipart: true } do |f| %>
<%= render 'student_support_programs/forms/fields/name_logo', f: f %>
<%= render 'student_support_programs/forms/fields/video_link', f: f %>
<%= render 'student_support_programs/f... | <div id="student-support-program-form-wrapper">
<%= form_for @student_support_program, html: { multipart: true } do |f| %>
<%= render 'student_support_programs/forms/fields/name_logo', f: f %>
<%= render 'student_support_programs/forms/fields/video_link', f: f %>
<%= render 'student_support_programs/f... | Add id to student_support_programs new submit button | Add id to student_support_programs new submit button
| HTML+ERB | mit | CollegeSTAR/collegestar_org,CollegeSTAR/collegestar_org,CollegeSTAR/collegestar_org |
0dd023b2295475ea38b4c2d431b910adc153ba77 | app/views/admin/attachments/reorder.html.erb | app/views/admin/attachments/reorder.html.erb | <% content_for :context, attachable.title %>
<% content_for :page_title, "Reorder attachments" %>
<% content_for :title, "Reorder attachments" %>
<% content_for :title_margin_bottom, 6 %>
<% content_for :back_link do %>
<%= render "govuk_publishing_components/components/back_link", {
href: attachable_attachments_... | <% content_for :context, attachable.title %>
<% content_for :page_title, "Reorder attachments" %>
<% content_for :title, "Reorder attachments" %>
<% content_for :title_margin_bottom, 6 %>
<% content_for :back_link do %>
<%= render "govuk_publishing_components/components/back_link", {
href: attachable_attachments_... | Add attachment attributes to reorder page | Add attachment attributes to reorder page
Display the attachment attributes so users can differentiate between files with the same name.
| HTML+ERB | mit | alphagov/whitehall,alphagov/whitehall,alphagov/whitehall,alphagov/whitehall |
1a1c56caeb8ad010e693a1fa6a0614c2fe308bb9 | app/views/orders/_organization_info.html.erb | app/views/orders/_organization_info.html.erb | <p>
<strong>County:</strong><br/>
<span id="county"><%= order.organization.county %></span>
</p>
<p>
<strong>Organization:</strong><br/>
<span id="county"><%= link_to "#{order.organization.name}", edit_organization_path(order.organization, redirect_to: "order", redirect_id: order.id) %></span>
</p>
<p>
<stron... | <p>
<strong>County:</strong><br/>
<span id="county"><%= order.organization.county %></span>
</p>
<p>
<strong>Organization:</strong><br/>
<span id="county"><%= link_to "#{order.organization.name}", edit_organization_path(order.organization, redirect_to: "order", redirect_id: order.id) %></span>
</p>
| Remove org address from order view as it could be confused for ship to | Remove org address from order view as it could be confused for ship to
| HTML+ERB | mit | icodeclean/StockAid,icodeclean/StockAid,on-site/StockAid,icodeclean/StockAid,on-site/StockAid,on-site/StockAid |
d243d79d1eda6849c75af9cfe444f4aaea6aa218 | modules/collectd/templates/etc/collectd/collectd.conf.erb | modules/collectd/templates/etc/collectd/collectd.conf.erb | # Config file for collectd(1).
#
# Some plugins need additional configuration and are disabled by default.
# Please read collectd.conf(5) for details.
#
# You should also read /usr/share/doc/collectd-core/README.Debian.plugins
# before enabling any more plugins.
Hostname "<%= @fqdn_metrics %>"
FQDNLookup false
#BaseDi... | # Config file for collectd(1).
#
# Some plugins need additional configuration and are disabled by default.
# Please read collectd.conf(5) for details.
#
# You should also read /usr/share/doc/collectd-core/README.Debian.plugins
# before enabling any more plugins.
<% if scope.lookupvar('::aws_migration') -%>
Hostname "<... | Change the collectd naming scheme when on AWS | Change the collectd naming scheme when on AWS
We need to change the way we name machines on collectd when
on AWS since the machines have different hostnames now.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
7b8b69f2bb3f12c564da8f9d2a5ab056e7180c30 | aux/json_query.erb | aux/json_query.erb | <tr data-target="toggle<%= @row['idx'] %>" data-jsonFile="files/json/<%= @config[:filename] %>_<%= @row['idx'] %>.json">
<td title="idx"><%= @row['idx'] %></td>
<td data-score="<%= @row['overall_score'] %>"><div class="ratings"><div class="empty-stars"></div><div class="full-stars" style="width:<%= @row['overall_sc... | <tr data-target="toggle<%= @row['idx'] %>" data-jsonFile="files/json/<%= @config[:filename] %>_<%= @row['idx'] %>.json">
<td title="idx"><%= @row['idx'] %></td>
<td data-score="<%= @row['overall_score'] %>"><div class="ratings"><div class="empty-stars"></div><div class="full-stars" style="width:<%= @row['overall_sc... | Add to the HTML output derived from JSON | Add to the HTML output derived from JSON
| HTML+ERB | agpl-3.0 | wurmlab/genevalidator,wurmlab/genevalidator,wurmlab/genevalidator,wurmlab/genevalidator |
18aeaffc7d1c1df8f75093ee77e880c324c7856d | app/views/tweets/index.erb | app/views/tweets/index.erb | <h1>ALL THE TWEETS</h1>
<p>
<% @tweet.each do |tweet|%>
<ul>
<li><%= p tweet.body %><br></li>
</ul>
<% end %>
</p>
| Add body of all tweets from all users. | Add body of all tweets from all users.
| HTML+ERB | mit | UmarFBajwa/rackup-twitter,UmarFBajwa/rackup-twitter,UmarFBajwa/rackup-twitter | |
9c2743c7ed000a02cb7c30091427418313ee7d67 | modules/govuk_jenkins/templates/jobs/record_superfluous_taggings_metrics.yaml.erb | modules/govuk_jenkins/templates/jobs/record_superfluous_taggings_metrics.yaml.erb | ---
- job:
name: record_superfluous_taggings_metrics
display-name: Record the number of superfluous taggings in the Topic Taxonomy
project-type: freestyle
description: |
This job runs a rake task in Content Tagger to send the number of superfluous taggings
in the Topic Taxonomy to statsd. Th... | ---
- job:
name: record_superfluous_taggings_metrics
display-name: Record the number of superfluous taggings in the Topic Taxonomy
project-type: freestyle
description: |
This job runs a rake task in Content Tagger to send the number of superfluous taggings
in the Topic Taxonomy to statsd. Th... | Use run-rake-task in record_superfluous_taggings_metrics job | Use run-rake-task in record_superfluous_taggings_metrics job
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
0d78c47751bb1e41e136149ff9ef6e047bb1c0be | app/views/lists/_all_list_items.html.erb | app/views/lists/_all_list_items.html.erb | <section class="list" aria-labelledby='all-list-items-header' id='all-list-items'>
<h4 id='all-list-items-header'>Items with tag "<%= tag.title %>"</h4>
<table class='links-table'>
<tbody>
<% tag.tagged_documents.each do |list_item| %>
<tr class='item'
data-title='<%= list_item.title ... | <section class="list" aria-labelledby='all-list-items-header' id='all-list-items'>
<h4 id='all-list-items-header'>Items with tag "<%= tag.title %>"</h4>
<table class='links-table'>
<tbody>
<% tag.tagged_documents.each do |item| %>
<tr class='item'
data-title='<%= item.title %>'
... | Rename list_item variable to item | Rename list_item variable to item
Rename for clarity - list_item is an actual domain type, so avoid it
as a name unless actually using that type.
| HTML+ERB | mit | alphagov/collections-publisher,alphagov/collections-publisher,alphagov/collections-publisher |
8b9deb73c45ee66ecc32810d7543c67325820c2f | app/views/people/_current_roles.html.erb | app/views/people/_current_roles.html.erb | <% if person.currently_in_a_role? %>
<section id="current-roles" <%= direction_rtl_class(prefix: true) %> <%= dir_attribute %> <%= lang_attribute %>>
<% person.current_roles.each do |role| %>
<section class="role_appointment role govuk-!-padding-bottom-8">
<%= render "govuk_publishing_components/com... | <% if person.currently_in_a_role? %>
<section id="current-roles" <%= direction_rtl_class(prefix: true) %> <%= dir_attribute %> <%= lang_attribute %>>
<% person.current_roles.each do |role| %>
<div class="role_appointment role govuk-!-padding-bottom-8">
<%= render "govuk_publishing_components/compone... | Switch section to div on people roles | Switch section to div on people roles
| HTML+ERB | mit | alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections |
d9e612eed19504fee4d8298c6c9864d6fe215a84 | app/views/users/_public_profile.html.erb | app/views/users/_public_profile.html.erb | <%if @user.avatar%>
<%= image_tag @user.avatar %>
<% end %>
</br>
<p>
<strong>State:</strong>
<%= @user.state %>
</p>
<p>
<strong>Average Rating:</strong>
<% if @ratings.average(:rating) == nil %>
<%= "This user has not yet been rated." %>
<% else %>
<%= @ratings.average(:rating).round(2) %>
... | <%if @user.avatar%>
<%= image_tag @user.avatar %>
<% end %>
</br>
<p>
<strong>Average Rating:</strong>
<% if @ratings.average(:rating) == nil %>
<%= "This user has not yet been rated." %>
<% else %>
<%= @ratings.average(:rating).round(2) %>
<% end %>
<p class="blog-post-meta"><%= link_to "Det... | Remove state from public profile | Remove state from public profile
| HTML+ERB | mit | XanderPSON/Clutch,XanderPSON/Clutch,XanderPSON/Clutch |
f3f90045f0de437fcc2a6b77c12d185bfacfa4c9 | deployment/puppet/nailgun/templates/uwsgi_nailgun.yaml.erb | deployment/puppet/nailgun/templates/uwsgi_nailgun.yaml.erb | uwsgi:
enable-threads: 1
threads: 1
workers: <%= (@physicalprocessorcount) %>
master: 1
socket: :8001
plugin: python
chown-socket: nginx:nginx
pythonpath: <%= @venv %>/lib/python2.6/site-packages/nailgun
touch-reload: /var/lib/nailgun-uwsgi
virtualenv: <%= @venv %>
module: nailgun.wsgi
buffer-si... | uwsgi:
enable-threads: 1
threads: 1
workers: <%= (@physicalprocessorcount) %>
master: 1
socket: :8001
plugin: python
chown-socket: nginx:nginx
pythonpath: <%= @venv %>/lib/python2.6/site-packages/nailgun
touch-reload: /var/lib/nailgun-uwsgi
virtualenv: <%= @venv %>
module: nailgun.wsgi
buffer-si... | Add mule to uwsgi config | Add mule to uwsgi config
We will be using uwsgi mule config to move some nailgun tasks to
background and we need to change the config for uwsgi to spawn needed
workers
Change-Id: I92e0ae73e455582d8895bec6caec422c3ed6f92f
blueprint: 200-nodes-support
| HTML+ERB | apache-2.0 | ddepaoli3/fuel-library-dev,zhaochao/fuel-library,SmartInfrastructures/fuel-library-dev,ddepaoli3/fuel-library-dev,huntxu/fuel-library,eayunstack/fuel-library,eayunstack/fuel-library,stackforge/fuel-library,huntxu/fuel-library,SmartInfrastructures/fuel-library-dev,huntxu/fuel-library,xarses/fuel-library,stackforge/fuel-... |
83d87fdb1de55822f77879c3e0cdc0d2fd9b9c5a | lib/generators/hyrax/work/templates/feature_spec.rb.erb | lib/generators/hyrax/work/templates/feature_spec.rb.erb | # Generated via
# `rails generate hyrax:work <%= class_name %>`
require 'rails_helper'
include Warden::Test::Helpers
# NOTE: If you generated more than one work, you have to set "js: true"
RSpec.feature 'Create a <%= class_name %>', js: false do
context 'a logged in user' do
let(:user_attributes) do
{ <%=... | # Generated via
# `rails generate hyrax:work <%= class_name %>`
require 'rails_helper'
include Warden::Test::Helpers
# NOTE: If you generated more than one work, you have to set "js: true"
RSpec.feature 'Create a <%= class_name %>', js: false do
context 'a logged in user' do
let(:user_attributes) do
{ <%=... | Create PermissionTemplateAccess in the generated feature spec | Create PermissionTemplateAccess in the generated feature spec
Previously this generated test would fail, because the user didn't have
access to deposit into the admin set that was created.
| HTML+ERB | apache-2.0 | samvera/hyrax,samvera/hyrax,samvera/hyrax,samvera/hyrax |
b954aa78b3aa993a6ef0e5f7dc84d555b0457339 | lib/generators/clearance/install/templates/db/migrate/add_clearance_to_users.rb.erb | lib/generators/clearance/install/templates/db/migrate/add_clearance_to_users.rb.erb | class AddClearanceToUsers < ActiveRecord::Migration<%= migration_version %>
def self.up
change_table :users do |t|
<% config[:new_columns].values.each do |column| -%>
<%= column %>
<% end -%>
end
<% config[:new_indexes].values.each do |index| -%>
<%= index %>
<% end -%>
users = select_all("SEL... | class AddClearanceToUsers < ActiveRecord::Migration<%= migration_version %>
def self.up
change_table :users do |t|
<% config[:new_columns].values.each do |column| -%>
<%= column %>
<% end -%>
end
<% config[:new_indexes].values.each do |index| -%>
<%= index %>
<% end -%>
users = select_all("SEL... | Clean up sql output in generated migration | Clean up sql output in generated migration
Adding the `squish` here has the effect of slightly cleaning up the eventual SQL
generated by the migration we are helping create here. Before this change the
migration would be full of newlines (or `\n`). Post-change, each sql statement
should come out cleaner in the logs wi... | HTML+ERB | mit | thoughtbot/clearance,thoughtbot/clearance,thoughtbot/clearance |
2dfa7e3c15bfb77b55bff503dd9f4009ac7e30d9 | app/views/guesses/_form.html.erb | app/views/guesses/_form.html.erb | <%= form_for([@game, @game.guesses.build]) do |f| %>
<%# with service model, this will be @errors, assigned in controller %>
<% if @errors and @errors.any? %>
<div id="error_explanation">
<h2><%= t("%{errors} prohibited this %{thing} from being saved", errors: t(:error, count: @errors.count), thing: Guess... | <%= form_for([@game, @game.guesses.build]) do |f| %>
<%# with service model, this will be @errors, assigned in controller %>
<% if @errors and @errors.any? %>
<div id="error_explanation">
<h2><%= t("%{errors} prohibited this %{thing} from being saved", errors: t(:error, count: @errors.count), thing: Guess... | Add max length for guess | Add max length for guess
| HTML+ERB | mit | hughdavenport/powershop_devtrain_hangman_rails,hughdavenport/powershop_devtrain_hangman_rails,hughdavenport/powershop_devtrain_hangman_rails |
aa2307cf6a9a58b387e91375fb6b5aac1d1132f6 | app/views/layouts/_head.html.erb | app/views/layouts/_head.html.erb | <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
<title>
<%= page_title %>
</title>
<%= stylesheet_pack_tag 'application', media: 'all' %>
<%= javascript_pack_tag 'browser-warning', defer: true %>
<%= javascript_pack_tag 'application', defer: true, type: 'module' %>
<script type="application/javas... | <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
<title>
<%= page_title %>
</title>
<%= stylesheet_pack_tag 'application', media: 'all' %>
<%= javascript_pack_tag 'browser-warning', defer: true %>
<%= javascript_pack_tag 'application', defer: true, type: 'module' %>
<script type="application/javas... | Fix up some stray HAML syntax | Fix up some stray HAML syntax
| HTML+ERB | mit | neinteractiveliterature/intercode,neinteractiveliterature/intercode,neinteractiveliterature/intercode,neinteractiveliterature/intercode,neinteractiveliterature/intercode |
3c28f2d997d8e8a48fba3a2a9bb9122ae6538454 | app/views/schools/index.html.erb | app/views/schools/index.html.erb | <h1>Listing schools</h1>
<table>
<thead>
<tr>
<th colspan="3"></th>
</tr>
</thead>
<tbody>
<% @schools.each do |school| %>
<tr>
<td><%= school.name%></td>
<td><%= link_to 'Show', school %></td>
<td><%= link_to 'Edit', edit_school_path(school) %></td>
<td><... | <h1>Listing schools in <%= @district.jurisdiction_name %></h1>
<table>
<thead>
<tr>
<th colspan="3"></th>
</tr>
</thead>
<tbody>
<% @schools.each do |school| %>
<tr>
<td><%= school.name%></td>
<td><%= link_to 'Show', district_school_path(@district.id,school.id) %></td>
... | Remove edit and destroy link next to each school's name | Remove edit and destroy link next to each school's name
| HTML+ERB | mit | fma2/school-visits-tool,fma2/school-visits-tool |
0e075da0d23c1e7d69fd434e1ca7295233166d86 | app/views/admin/partials/_admin_sidebar.html.erb | app/views/admin/partials/_admin_sidebar.html.erb | <!--BEGIN SIDEBAR MENU-->
<nav id="sidebar" role="navigation" data-step="2"
data-position="right" class="navbar-default navbar-static-side">
<div class="sidebar-collapse menu-scroll">
<ul class="list-group">
<a href="<%= admin_users_url(:only_path => true) %>" class="list-group-item">
<i class=... | <!--BEGIN SIDEBAR MENU-->
<nav id="sidebar" role="navigation" data-step="2"
data-position="right" class="navbar-default navbar-static-side">
<div class="sidebar-collapse menu-scroll">
<ul class="list-group">
<a href="<%= admin_users_url(:only_path => true) %>" class="list-group-item">
<i class=... | Add problem_template link to admin sidebar | Add problem_template link to admin sidebar
| HTML+ERB | apache-2.0 | patrickspencer/compass-webapp,patrickspencer/compass-webapp,patrickspencer/compass-webapp |
06fd6d6aae674655f9c54548be05371c52dc62b7 | views/index.erb | views/index.erb | <table>
<% @scripts.each do |script| %>
<tr class="script">
<th>
<a href="https://github.com/github/hubot-scripts/blob/master/src/scripts/<%=h script['name'] %>">
<%=h script['name'] %>
</a>
</th>
<td>
<% if script['description'].empty? %>
<p class="empty">No descrip... | <h1>Hubot Script Catalog</h1>
<p class="last-updated">
Last updated: <%= ((Time.now - @last_updated) / 60).round %> mins ago
</p>
<% @scripts.each do |script| %>
<div class="script">
<div class="header">
<h2>
<a href="https://github.com/github/hubot-scripts/blob/master/src/scripts/<%=h script['n... | Update views to reflect new header information | Update views to reflect new header information
| HTML+ERB | mit | Aupajo/hubot-script-catalog |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.