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 |
|---|---|---|---|---|---|---|---|---|---|
038fde309fe825a7c4fef140f7cbbf59c6ad8163 | lib/rails/assets/templates/README.md.erb | lib/rails/assets/templates/README.md.erb | # <%= component.gem_name %> bower package repacked as gem
This gem was generated, please visit [rails-asset.org](http://rails-assets.org) for more information.
## Installation
Add this two lines to your application's Gemfile:
```ruby
source "http://rails-assets.org"
gem <%= component.gem_name.dump %>
```
## Usage... | # <%= component.gem_name %>
> The Bower package inside a gem
This gem was automatically generated. You can visit [rails-assets.org](http://rails-assets.org) for more information.
## Usage
Add these two lines to your application’s `Gemfile`:
```ruby
source "http://rails-assets.org"
gem <%= component.gem_name.dump ... | Tweak the gem README template | Tweak the gem README template
| HTML+ERB | mit | tenex/rails-assets,tenex/rails-assets,tenex/rails-assets |
0b1a9f36b9a3ab883fe24e45a4723170f0104888 | lib/templates/routes.rb.erb | lib/templates/routes.rb.erb | <%= @name.camelize %>::Application.routes.draw do
root to: 'home#index'
end
| <%= @name.gsub(/-/, '_').camelize %>::Application.routes.draw do
root to: 'home#index'
end
| Fix routes file when using - in app name | Fix routes file when using - in app name
refs #9
| HTML+ERB | mit | jasnow/highgroove-generator |
27a0322194e9b0a99dcb8f748402200ede1fbdee | templates/default/zookeeper.upstart.erb | templates/default/zookeeper.upstart.erb | description "zookeeper centralized coordination service"
start on runlevel [2345]
stop on runlevel [!2345]
respawn
limit nofile 8192 8192
console log
script
. /etc/default/zookeeper
[ -r /etc/default/zookeeper ] && . /etc/default/zookeeper
[ -d $ZOO_LOG_DIR ] || mkdir -p $ZOO_LOG_DIR
chown $USER:$G... | description "zookeeper centralized coordination service"
start on runlevel [2345]
stop on runlevel [!2345]
respawn
limit nofile 8192 8192
console log
script
[ -r /etc/default/zookeeper ] && . /etc/default/zookeeper
[ -d $ZOO_LOG_DIR ] || mkdir -p $ZOO_LOG_DIR
chown $USER:$GROUP $ZOO_LOG_DIR
exec s... | Remove duplicate sourcing in Upstart script | Remove duplicate sourcing in Upstart script
| HTML+ERB | apache-2.0 | criteo-forks/chef-zookeeper,evertrue/zookeeper-cookbook,SimpleFinance/chef-zookeeper,evertrue/zookeeper-cookbook,SimpleFinance/chef-zookeeper,SimpleFinance/chef-zookeeper,evertrue/zookeeper-cookbook |
1e441b8d7c75376cea00309744898fbd95a5f16b | puppet/zulip/templates/uwsgi.ini.template.erb | puppet/zulip/templates/uwsgi.ini.template.erb | [uwsgi]
socket=/home/zulip/deployments/uwsgi-socket
module=zproject.wsgi:application
chdir=/home/zulip/deployments/current/
chmod-socket=700
chown-socket=zulip:zulip
processes=<%= @uwsgi_processes %>
harakiri=20
post-buffering=4096
env= LANG=en_US.UTF-8
uid=zulip
gid=zulip
| [uwsgi]
socket=/home/zulip/deployments/uwsgi-socket
module=zproject.wsgi:application
chdir=/home/zulip/deployments/current/
master=true
chmod-socket=700
chown-socket=zulip:zulip
processes=<%= @uwsgi_processes %>
harakiri=20
post-buffering=4096
env= LANG=en_US.UTF-8
uid=zulip
gid=zulip
| Add master mode to the main uwsgi process. | uwsgi: Add master mode to the main uwsgi process.
- Enable `master` parameter for `uswgi` configuration.
It allows cleaning leaked processes if the parent
process is closed unexpectedly or with SIGKILL command.
Child processes follow to the master and kill themselves
after the main process.
Fixes #3855
| HTML+ERB | apache-2.0 | SmartPeople/zulip,andersk/zulip,tommyip/zulip,amanharitsh123/zulip,jackrzhang/zulip,brockwhittaker/zulip,vabs22/zulip,vaidap/zulip,jrowan/zulip,kou/zulip,dattatreya303/zulip,blaze225/zulip,andersk/zulip,jainayush975/zulip,blaze225/zulip,rishig/zulip,susansls/zulip,amanharitsh123/zulip,dawran6/zulip,jackrzhang/zulip,dhc... |
aab661ef926460ee4ce2f80debb2622525007bde | app/assets/templates/articles/three.html.erb | app/assets/templates/articles/three.html.erb | <h2>Third Article</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Maiores velit, optio omnis voluptate sequi obcaecati cumque officia deleniti. Maxime nam obcaecati itaque maiores quisquam deleniti ut possimus perspiciatis ex, vitae.</p>
<ul>
<li>Lorem ipsum dolor sit amet, consectetur adipisicing... | <h2>Third Article</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Maiores velit, optio omnis voluptate sequi obcaecati cumque officia deleniti. Maxime nam obcaecati itaque maiores quisquam deleniti ut possimus perspiciatis ex, vitae.</p>
<ul>
<li>Lorem ipsum dolor sit amet, consectetur adipisicing... | Increase size of sample text in third article to test how it deals with displaying longer articles | Increase size of sample text in third article to test how it deals with displaying longer articles
| HTML+ERB | mit | jeremymcintyre/rails-angular-sandbox,jeremymcintyre/rails-angular-sandbox,jeremymcintyre/rails-angular-sandbox |
e02e12ed549e94d7e4aa5c10a07710dd288422fb | app/views/comments/shared/_comments.html.erb | app/views/comments/shared/_comments.html.erb | <div class="comments-thread">
<% if comments %>
<ul>
<% comments.each do |comment| %>
<li class="comment">
<%= comment.text %>
<div class="comment-details">
<span>by <%= link_to comment.user.username, user_defined_words_path(comment.user) %></span>
</div>
<%= li... | <div class="comments-thread">
<% if comments %>
<ul>
<% comments.each do |comment| %>
<li class="comment">
<%= comment.text %>
<div class="comment-details">
<span>by <%= link_to comment.user.username, user_defined_words_path(comment.user) %></span>
</div>
<%= li... | Comment details on nested comments / replies are now visible. | Comment details on nested comments / replies are now visible.
| HTML+ERB | mit | edgarsbarajas/spanglishdictionary,edgarsbarajas/spanglishdictionary,edgarsbarajas/spanglishdictionary |
487a5f7123dbec5742fb07aaeaec9f2810f7e597 | app/views/images/_edit_form_buttons.html.erb | app/views/images/_edit_form_buttons.html.erb | <div class="edit-form-buttons center">
<button class="pure-button s-margin">Select all</button>
<button class="pure-button s-margin">Deselect all</button>
<button class="pure-button s-margin">Delete</button>
<button class="pure-button s-margin">Add to album</button>
<button class="pure-button s-margin">Leave... | <div class="edit-form-buttons center l-box">
<button class="pure-button s-margin">Edit mode</button>
<button class="pure-button s-margin">Select all</button>
<button class="pure-button s-margin">Deselect all</button>
<button class="pure-button s-margin">Delete</button>
<button class="pure-button s-margin">Ad... | Add button to enter edit mode | Add button to enter edit mode
| HTML+ERB | mit | Margatroid/uploadstuffto.me,Margatroid/uploadstuffto.me |
2145feaa921d161454e8dca3d33dded5b432520d | app/views/layouts/_progress_listing.html.erb | app/views/layouts/_progress_listing.html.erb | <ul class="progress-listing">
<% guide.assignments_for(current_user).each do |assignment| %>
<% cache [assignment.exercise, assignment.status, Organization.current] do %>
<li <%= turbolinks_enable_for(assignment.exercise) %>>
<%= assignment_status_icon assignment %>
<%= link_to... | <ul class="progress-listing">
<% guide.assignments_for(current_user).each do |assignment| %>
<% cache [assignment.exercise, assignment.status, Organization.current, current_user?] do %>
<li <%= turbolinks_enable_for(assignment.exercise) %>>
<%= assignment_status_icon assignment %>
... | Add current_user? to progress_listing cache | Add current_user? to progress_listing cache
| HTML+ERB | agpl-3.0 | mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory |
690c1aa7be832a5c24267e238e3ed86fb18b7f4a | app/views/shared/actions/_choiceset.html.erb | app/views/shared/actions/_choiceset.html.erb | <% if policy(model).edit? %>
<%= link_to(
fa_icon(:pencil),
edit_catalog_admin_choice_set_path(model.catalog, I18n.locale, model),
class: "btn btn-xs btn-outline-secondary choiceset-action-edit",
"data-toggle" => "tooltip", "data-placement" => "top", "title" => t("edit")
... | <% if policy(model).edit? %>
<%= link_to(
fa_icon(:pencil),
edit_catalog_admin_choice_set_path(model.catalog, I18n.locale, model),
class: "btn btn-xs btn-outline-secondary choiceset-action-edit",
"data-toggle" => "tooltip", "data-placement" => "top", "title" => t("edit")
... | Add delete confirm to choice set index | Add delete confirm to choice set index
| HTML+ERB | apache-2.0 | catima/catima,catima/catima,catima/catima,catima/catima |
4eade8230063a6a2b918097159933f8e9aa56723 | app/views/spree/shared/_collections.html.erb | app/views/spree/shared/_collections.html.erb | <% if collections.any? %>
<ul id="products" class="inline product-listing" data-hook>
<% collections.each do |collection| %>
<% url = "t/fabric/collection/#{collection.name}".downcase.gsub(/\s+/, "-") %>
<li id="product_<%= collection.id %>" class="columns three <%= cycle("alpha", "secondary", "", "omega seco... | <% if collections.any? %>
<ul id="products" class="inline product-listing" data-hook>
<% collections.each do |collection| %>
<% url = "t/fabric/collection/#{collection.name}".downcase.gsub(/\s+/, "-") %>
<% if collection.products.any? %>
<li id="product_<%= collection.id %>" class="columns three <%= cycle... | Add collections controller and view. | Add collections controller and view.
| HTML+ERB | bsd-3-clause | clomax/spree_cwilt_theme,clomax/spree_cwilt_theme,clomax/spree_cwilt_theme |
32ffe231c751e7502123c95483b31d6844b671a1 | base/app/views/activities/_audience.html.erb | base/app/views/activities/_audience.html.erb | <% if user_signed_in? %>
<%= link_to image_tag("btn/#{ activity.public? ? 'public' : 'restricted' }.png", :class => 'menu_icon') + activity.audience_in_words(current_subject, :details => :summary),
'#',
:class => 'audience' %>
<div class="audience-tooltip tooltip top fade in">
<%= activity.audience_in_... | <% if user_signed_in? && controller.controller_name != 'explore' %>
<%= link_to image_tag("btn/#{ activity.public? ? 'public' : 'restricted' }.png", :class => 'menu_icon') + activity.audience_in_words(current_subject, :details => :summary),
'#',
:class => 'audience' %>
<div class="audience-tooltip tooltip ... | Remove audience view from explore timeline | Remove audience view from explore timeline
| HTML+ERB | mit | honorlin/social_stream,ging/social_stream,honorlin/social_stream,honorlin/social_stream,honorlin/social_stream,ging/social_stream,ging/social_stream |
e27d576f13dbb04660a938488f1dbdf4b8af18c0 | test/dummy/app/views/posts/index.html.erb | test/dummy/app/views/posts/index.html.erb | <h1><%= @title || "Listing posts" %></h1>
<%= magic_grid @posts, [:title, :body, :published, :user, 'Actions'],
:searchable => [:body, 'users.name'], :id => 1 do |post| %>
<tr>
<td><%= post.title %></td>
<td><%= post.body.truncate(30) %></td>
<td><%= post.published %></td>
<td><%= link_to post.user... | <h1><%= @title || "Listing posts" %></h1>
<%= search_field_tag :posts_search %>
<%= magic_grid @posts, [:title, :body, :published, :user, 'Actions'],
:searchable => [:body, 'users.name'], :searcher => :posts_search,
:id => 1, :ajax => true do |post| %>
<tr>
<td><%= post.title %></td>
<td><%= post.body.tr... | Update test/demo to use live search | Update test/demo to use live search
| HTML+ERB | mit | rmg/magic_grid,rmg/magic_grid |
36831c9acd88264a85f2668c93357387a0533fe5 | app/views/blogit/posts/show.html.erb | app/views/blogit/posts/show.html.erb | <% content_for(:page_title, "Blog | #{@post.title}")%>
<% content_for(:head) do %>
<meta property="og:title" content="Blog | <%= @post.title %>" />
<meta property="og:description"
content="<%= truncate(strip_tags(format_content(@post.body)), length: 500, separator: ' ') %>" />
<meta property="og:type" conten... | <% content_for(:page_title, "Blog | #{@post.title}")%>
<% content_for(:head) do %>
<meta property="og:title" content="Blog | <%= @post.title %>" />
<meta property="og:description"
content="<%= truncate(strip_tags(format_content(@post.body)), length: 500, separator: ' ') %>" />
<meta property="og:type" conten... | Include a meta author tag if the blogger has an author tag attribute. | Include a meta author tag if the blogger has an author tag attribute.
| HTML+ERB | mit | tfe/blogit,tfe/blogit,tfe/blogit |
fb1ea268ab8fa517d88e5b358eeb65715228d991 | lib/ctf_turbine.cfg.erb | lib/ctf_turbine.cfg.erb | <% if disable_source_tv? %>
<%= 'tv_enable 0' %>
<%= 'tv_stop' %>
<% else %>
<%= 'tv_enable 1' %>
<% end %>
<% if first_map.present? %>
changelevel <%= first_map %>
changelevel <%= first_map %>
<% else %>
<% if disable_source_tv? %>
<%= 'changelevel cp_badlands' %>
<%= 'changelevel cp_badlands' %>
<% end %... | <% if first_map.present? %>
changelevel <%= first_map %>
changelevel <%= first_map %>
<% else %>
<% if disable_source_tv? %>
<%= 'changelevel cp_badlands' %>
<%= 'changelevel cp_badlands' %>
<% end %>
<% end %>
| Revert "deal with STV on initial map too" | Revert "deal with STV on initial map too"
This reverts commit cd163d576f4e587544616d0d9ac7c7c71afa0815.
| HTML+ERB | apache-2.0 | Arie/serveme,Arie/serveme,Arie/serveme,Arie/serveme |
07ba22645656ffb162f8bd882168d2858a375920 | app/views/conversations/_message.html.erb | app/views/conversations/_message.html.erb | <div class="message-excerpt">
<div class="message-container">
<% if message.sender == message.conversation.originator %>
<div class="triangle-me">
</div>
<div class="bubble bg-bubble-me">
<div class="message-date">
<%= time_ago_in_words(message.created_at) %>
</div>
... | <div class="message-excerpt">
<div class="message-container">
<% if message.sender == current_user %>
<div class="triangle-me">
</div>
<div class="bubble bg-bubble-me">
<div class="message-date">
<%= time_ago_in_words(message.created_at) %>
</div>
<%= simple_for... | Fix bug in conversation colors | Fix bug in conversation colors
Color for current user doesn't always match color for the conversation's
originator.
| HTML+ERB | agpl-3.0 | alabs/nolotiro.org,alabs/nolotiro.org,alabs/nolotiro.org,alabs/nolotiro.org |
b4c7b5608ab1072217a47b3ef9af8a1c644e8d21 | app/views/local_authorities/edit.html.erb | app/views/local_authorities/edit.html.erb | <% breadcrumb :local_authorities, @local_authority %>
<div class="page-title">
<h1><%= @authority.name %></h1>
</div>
<hr>
<% if flash[:bad_url] %>
<div class="alert alert-danger">Please enter a valid link.</div>
<% end %>
<%= label_tag 'link_url', 'Homepage URL' %>
<p class="text-muted">eg http://www.local-autho... | <% breadcrumb :services, @authority %>
<div class="page-title">
<h1><%= @authority.name %></h1>
</div>
<% if flash[:bad_url] %>
<div class="alert alert-danger">Please enter a valid link.</div>
<% end %>
<%= label_tag 'link_url', 'Homepage URL' %>
<p class="text-muted">eg http://www.local-authority.gov.uk</p>
<%=... | Fix edit homepage link cancel button bug | Fix edit homepage link cancel button bug
Also fixed missing breadcrumb on the same page.
| HTML+ERB | mit | alphagov/local-links-manager,alphagov/local-links-manager,alphagov/local-links-manager |
1cbe2df97ceedfaa3fdfdf143228ffc2459c5198 | app/views/workflow/products/show.html.erb | app/views/workflow/products/show.html.erb | <h3><%= params[:id] == 'no-name' ? 'No Name' : @product.name %></h3>
<%= render 'shared/collection/table',
type: 'areas', collection: @areas, columns: {
'name' => ->(resource) do
link_to resource.name, product_area_workflow_user_index_path(params[:id], resource)
end, 'users_count' => nil
}
%>
| <h3><%= params[:id] == 'no-name' ? 'No Name' : @product.name %></h3>
<%= render 'shared/collection/table',
type: 'areas', collection: @areas, columns: {
'name' => ->(resource) do
link_to resource.name, product_area_workflow_user_index_path(params[:id], resource)
end, 'users_count' => nil
}, options:... | Hide new area link here. | Hide new area link here.
| HTML+ERB | mit | volontariat/voluntary,volontariat/voluntary,jasnow/voluntary,volontariat/voluntary,volontariat/voluntary,jasnow/voluntary,jasnow/voluntary,jasnow/voluntary |
2b325b1b0cdfc6e977340a408b02c404c680ecc1 | app/views/listings/show.html.erb | app/views/listings/show.html.erb | <%= render 'listings/tab_navigation' %>
<div class="tabs-content">
<div class="content active" id="listings-item">
<div class="row">
<div class="large-4 columns">
<img src="http://placehold.it/400x300&text=[img]">
</div>
<div class="large-8 columns">
<h... | <%= render 'listings/tab_navigation' %>
<div class="tabs-content">
<div class="content active" id="listings-item">
<div class="row">
<div class="large-4 columns">
<img src="http://placehold.it/400x300&text=[img]">
</div>
<div class="large-8 columns">
<h... | Add comment to designate end of Watch button section | Add comment to designate end of Watch button section
| HTML+ERB | mit | erikcaineolson/HARE,femmestem/HARE,HumanAssistanceResourceExchange/SHARE,femmestem/HARE,HumanAssistanceResourceExchange/SHARE,femmestem/HARE,erikcaineolson/HARE,HumanAssistanceResourceExchange/SHARE,erikcaineolson/HARE |
20709093b39993d5a6913020a6416b6dc3dddb4a | puppet/modules/role/templates/wikimediamessages/conf.php.erb | puppet/modules/role/templates/wikimediamessages/conf.php.erb | include_once "$IP/extensions/WikimediaMessages/WikimediaLicenseTexts.php"; | include_once "$IP/extensions/WikimediaMessages/WikimediaLicenseTexts.php";
// This is the default in InitialiseSettings.php and triggers special
// behavior in WikimediaMessagesHooks::onSkinCopyrightFooter.
$wgRightsUrl = '//creativecommons.org/licenses/by-sa/3.0/';
// These are also defaults in InitialiseSettings.ph... | Set wgRightsUrl and wgRightsText in WikimediaMessages | Set wgRightsUrl and wgRightsText in WikimediaMessages
This affects some of its behavior (SkinCopyrightFooter).
Bug: T97371
Change-Id: I4624cbceacb42faa862165ee57ceb3d0022fd6ca
| HTML+ERB | mit | wikimedia/mediawiki-vagrant,stuartbman/mediawiki-vagrant,wikimedia/mediawiki-vagrant,HarriAlasi/wiki3dviewer,wikimedia/mediawiki-vagrant,HarriAlasi/wiki3dviewer,stuartbman/mediawiki-vagrant,HarriAlasi/wiki3dviewer,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,stuartbman/mediawiki-vagrant,HarriAlasi/wiki3dview... |
fcd995f1d3bad79c04218a3bcf1148e605d52f68 | app/views/admin/portfolio/_list.html.erb | app/views/admin/portfolio/_list.html.erb | <%
branch = if list === @portfolio_entries.first
"branch_start"
elsif list === @portfolio_entries.last or (list.parent and list === list.parent.children.last)
"branch_end"
end
-%>
<li class='clearfix record<%= " #{branch}" %>' id="<%= dom_id(list) -%>">
<div class='clearfix'>
<span class='actions'>
... | <%
branch = if list === @portfolio_entries.first
"branch_start"
elsif list === @portfolio_entries.last or (list.parent and list === list.parent.children.last)
"branch_end"
end
-%>
<li class='clearfix record<%= " #{branch}" %>' id="<%= dom_id(list) -%>">
<div class='clearfix'>
<span class='actions'>
... | Use :confirm and :method link_to methods. | Use :confirm and :method link_to methods.
| HTML+ERB | mit | koa/refinerycms-portfolio,stakes/refinerycms-portfolio,DynamoMTL/refinerycms-portfolio,DynamoMTL/refinerycms-portfolio,stakes/refinerycms-portfolio,koa/refinerycms-portfolio |
7023f35862354e1a4d74c7c38a1c1322baf1296e | app/views/layouts/_account_menu.html.erb | app/views/layouts/_account_menu.html.erb | <li class="dropdown">
<a href="#" class="dropdown-toggle account-dropdown" data-toggle="dropdown">Account <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li><%= link_to "My Page", user_path(current_user) %></li>
<li><%= link_to "My Settings", edit_user_registration_path(current_user)... | <li class="dropdown">
<a href="#" class="dropdown-toggle account-dropdown" data-toggle="dropdown">Account <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li><%= link_to "My Page", user_path(current_user) %></li>
<li><%= link_to "My Settings", edit_user_registration_path(current_user)... | Add articles option to menu for admins | Add articles option to menu for admins
| HTML+ERB | mit | ramillim/heatseeknyc,ramillim/heatseeknyc,heatseeknyc/heatseeknyc,ramillim/heatseeknyc,heatseeknyc/heatseeknyc,heatseeknyc/heatseeknyc |
06c7b7487ba2ef47a509791ae1d1545973365095 | app/views/outpost/resource/edit.html.erb | app/views/outpost/resource/edit.html.erb | <% add_to_page_title "Editing: #{@record.to_title}" %>
<%= simple_form_for [:outpost, @record], html: { class: "form-horizontal" } do |f| %>
<%= render 'errors', f: f %>
<%= render 'form_fields', record: @record, f: f %>
<%= render 'extra_fields', f: f %>
<%= render "/outpost/shared/submit_row", record: @recor... | <% add_to_page_title "Editing: #{@record.to_title}" %>
<%= simple_form_for [:outpost, @record], html: { class: "form-horizontal" } do |f| %>
<%= render 'errors', f: f %>
<%= render 'form_fields', record: @record, f: f %>
<%= render 'extra_fields', f: f %>
<%= render "/outpost/shared/submit_row", record: @recor... | Add Preview to edit page | Add Preview to edit page
| HTML+ERB | mit | bricker/outpost,SCPR/outpost,SCPR/outpost,bricker/outpost,Ravenstine/outpost,Ravenstine/outpost,Ravenstine/outpost,SCPR/outpost |
f6d6805d0d9a7d29a6bf49dc210dd1e92dcef671 | lib/zendesk_apps_support/assets/src.js.erb | lib/zendesk_apps_support/assets/src.js.erb | (function() {
with( require('apps/framework/app_scope') ) {
var source = <%= source %>;
ZendeskApps[<%= name.to_json %>] = ZendeskApps.defineApp(source)
.reopenClass({ location: <%= location.to_json %> })
.reopen({
assetUrlPrefix: <%= asset_url_p... | (function() {
with( ZendeskApps.AppScope.create() ) {
require.modules = {
<% modules.each do |path, content| %>
'<%= path %>': function(exports, require, module) {
<%= content %>
},
<% end %>
eom: undefined
};
var source = <%= source %>;
var app = Zend... | Load modules, ZAF app scope instance, indentation | Load modules, ZAF app scope instance, indentation
| HTML+ERB | apache-2.0 | zendesk/zendesk_apps_support,zendesk/zendesk_apps_support,zendesk/zendesk_apps_support |
a63766c09ccd96d6c4634d0521a794d16fb0b953 | app/views/devise/registrations/new.html.erb | app/views/devise/registrations/new.html.erb | <h2>Sign up</h2>
<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
<%= devise_error_messages! %>
<div class="field">
<%= f.label :name %> <br>
<%= f.text_field :name %>
</div>
<br>
<div class="field">
<%= f.label :pfs_number %> <br>
... | <h2>Sign up</h2>
<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
<%= devise_error_messages! %>
<div class="field">
<%= f.label :name %> <br>
<%= f.text_field :name %>
</div>
<br>
<div class="field">
<%= f.label :pfs_number %> <br>
... | Update verbiage around email and password. | Update verbiage around email and password.
| HTML+ERB | mit | Acerak2/registration,10000-Lakes-Gaming/registration,Acerak2/registration,Acerak2/registration,Acerak2/registration,10000-Lakes-Gaming/registration,10000-Lakes-Gaming/registration,10000-Lakes-Gaming/registration |
e5166df5f1d2b4ce11b52b601a19b7b036df562e | app/views/scroll/figure_components/_figure_component.html.erb | app/views/scroll/figure_components/_figure_component.html.erb | <figure id="<%= dom_id(component) %>"
class="FigureComponent <%= component.renderable.style %>"
data-selectable="Selected"
style="<%= "width: #{figure_component.width}px;" if figure_component.width.present? && !figure_component.width.zero? %>"
data-commands="#<%= dom_id(component) %>_com... | <figure id="<%= dom_id(component) %>"
class="FigureComponent <%= component.renderable.style %>"
data-selectable="Selected"
data-commands="#<%= dom_id(component) %>_commands"
data-reload="<%= scroll.component_path(component) %>">
<% if figure_component.width.present? && !figure_compone... | Set image width instead of wrapper | Set image width instead of wrapper
| HTML+ERB | mit | robinclart/scroll,robinclart/scroll |
81f88dd4175781fc7444bb7a9deb6fe7f96f8ae2 | config/templates/package-scripts/preinst.erb | config/templates/package-scripts/preinst.erb | #!/bin/sh
# GitLab pre-install script
DEST_DIR=<%= install_dir %>
skip_migrations_file=/etc/gitlab/skip-auto-migrations
main() {
if [ -e "${skip_migrations_file}" ] ; then
# The user wants us to do nothing
return
fi
notify "Backing up GitLab SQL database (excluding Git repositories, uploads)"
if ! $... | #!/bin/sh
# GitLab pre-install script
DEST_DIR=<%= install_dir %>
skip_migrations_file=/etc/gitlab/skip-auto-migrations
main() {
if [ -e "${skip_migrations_file}" ] ; then
# The user wants us to do nothing
return
fi
notify "Backing up GitLab SQL database (excluding Git repositories, uploads)"
if [ -... | Check if unicorn dir exists as a sign which service is installed. | Check if unicorn dir exists as a sign which service is installed.
| HTML+ERB | apache-2.0 | aleksandrs-ledovskis/omnibus-gitlab,felixbuenemann/omnibus-gitlab,gitlabhq/omnibus-gitlab,gitlabhq/omnibus-gitlab,felixbuenemann/omnibus-gitlab,gitlabhq/omnibus-gitlab,copystudy/omnibus-gitlab,aleksandrs-ledovskis/omnibus-gitlab,aleksandrs-ledovskis/omnibus-gitlab,gitlabhq/omnibus-gitlab,felixbuenemann/omnibus-gitlab,c... |
8a94d1b7d20117559660cd9984acca25abd4c4be | cookbooks/networking/templates/default/resolved.conf.erb | cookbooks/networking/templates/default/resolved.conf.erb | [Resolve]
DNS=<%= node[:networking][:nameservers].join(" ") %>
Domains=<%= node[:networking][:search].join(" ") %>
| [Resolve]
DNS=<%= node[:networking][:nameservers].join(" ") %>
Domains=<%= node[:networking][:search].join(" ") %>
DNSSEC=allow-downgrade
| Enable DNSSEC in allow-dowgrade mode | Enable DNSSEC in allow-dowgrade mode
| HTML+ERB | apache-2.0 | Firefishy/chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,openstreetmap/chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,Firefishy/chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,openstreetmap/c... |
100217d866d229910ba5f4385aeecc8cb77b1bd7 | app/views/schools/alert_reports/_table.html.erb | app/views/schools/alert_reports/_table.html.erb | <table class="table table-sm">
<thead>
<tr>
<th>Fuel Type</th>
<th>Alert Type</th>
<th>Displayable?</th>
<th>Rating</th>
<th>Valid?</th>
<th>Enough data?</th>
<th>Relevant?</th>
<th>Alert Date</th>
<th>Created At</th>
<th>Emails sent</th>
<th>SMS s... | <table class="table table-sm">
<thead>
<tr>
<th>Fuel Type</th>
<th>Alert Type</th>
<th>Displayable?</th>
<th>Rating</th>
<th>Valid?</th>
<th>Enough data?</th>
<th>Relevant?</th>
<th>Alert Date</th>
<th>Created At</th>
</tr>
</thead>
<tbody>
<% aler... | Remove alert subscriptions from alert reports | Remove alert subscriptions from alert reports
| HTML+ERB | mit | BathHacked/energy-sparks,BathHacked/energy-sparks,BathHacked/energy-sparks,BathHacked/energy-sparks |
4af806db58fd5d809d480eefe3268f08cf8610ac | styleguide/_styleguide_block.erb | styleguide/_styleguide_block.erb | <div class="styleguide-example">
<h3><a class="js-jump-scroll" href="#<%= @link %>" id="<%= @link %>"><%= @section.section %></a> <em><%= @section.filename %></em></h3>
<div class="styleguide-example-content">
<div class="styleguide-description">
<p><%= @description %></p>
<% if @section.modifiers.... | <div class="styleguide-example">
<h3><a class="js-jump-scroll" href="#<%= @link %>" id="<%= @link %>"><%= @section.section %></a> <em><%= @section.filename %></em></h3>
<div class="styleguide-example-content">
<div class="styleguide-description">
<%= @description %>
<% if @section.modifiers.any? %>
... | Remove extra paragraph wrapper around markdown description. | Remove extra paragraph wrapper around markdown description.
| HTML+ERB | mit | DoSomething/neue,DoSomething/forge,sbsmith86/neue |
bb4e655d7f6dfb8844aa65a4416d1823f6e60a12 | app/views/phenotypes/_facet_item.html.erb | app/views/phenotypes/_facet_item.html.erb | <div class='facet_item <%= "active" if item.has_key?('children') %>'>
<%= tabs(level) %>
<% if item.has_key?('id') %>
<%= link_to_facet display_filter_term(item['id']), term_type, item['id'] %>
<% else %>
<%= link_to_facet "Any #{term_type.to_s.titleize.downcase}", term_type %>
<% end %>
<span class='... | <div class='facet_item <%= "active" if item.has_key?('children') %>'>
<%= tabs(level) %>
<% if item.has_key?('id') %>
<%= link_to_facet display_filter_term(item['id']), term_type, item['id'] %>
<% else %>
<%= link_to_facet "Any #{term_type.to_s.titleize.downcase}", term_type %>
<% item['count'] = 'none' ... | Change count to None when there are no sub-categories in facet. | Change count to None when there are no sub-categories in facet.
| HTML+ERB | mit | phenoscape/PhenoscapeWeb,phenoscape/PhenoscapeWeb,phenoscape/PhenoscapeWeb |
6176f3c05679038c27942ef527581023c56430f9 | modules/localrepo/templates/base_pkgs.erb | modules/localrepo/templates/base_pkgs.erb | alsa-lib
apr
apr-util
bluez-libs
bluez-utils
cpp
dmidecode
emacs
emacs-nox
emacs-common
fuse
fuse-libs
gcc
giflib
glibc
glibc-common
glibc-devel
glibc-headers
gmp
httpd
mod_ssl
java-1.6.0-openjdk
jpackage-utils
kernel-headers
libXtst
libart_lgpl
libgcc
libgomp
libxslt
rhino
mysql
mysql-server
neon
nscd
ntp
openssh
open... | alsa-lib
apr
apr-util
bluez-libs
bluez-utils
cpp
dmidecode
emacs
emacs-nox
emacs-common
fuse
fuse-libs
gcc
giflib
glibc
glibc-common
glibc-devel
glibc-headers
gmp
httpd
mod_ssl
java-1.6.0-openjdk
jpackage-utils
kernel-headers
libXtst
libart_lgpl
libgcc
libgomp
libxslt
rhino
mysql
mysql-server
neon
nscd
ntp
openssh
open... | Add netcat to local package repo for troubleshooting | Add netcat to local package repo for troubleshooting
| HTML+ERB | apache-2.0 | joshsamuelson/puppetlabs-training-bootstrap,petems/puppetlabs-training-bootstrap,marrero984/education-builds,puppetlabs/puppetlabs-training-bootstrap,petems/puppetlabs-training-bootstrap,kjhenner/puppetlabs-training-bootstrap,kjhenner/puppetlabs-training-bootstrap,johnduarte/puppetlabs-training-bootstrap,johnduarte/pup... |
7e887be3541c2ec7025553c8a92eeaca8ee56474 | deployment/puppet/docker/templates/systemd/template.service.erb | deployment/puppet/docker/templates/systemd/template.service.erb | [Unit]
Name=<%= @title %> container
Requires=docker.service
After=docker.service <% if @depends[@title] -%>docker-<%= @depends[@title] -%>.service<% end %>
[Service]
Restart=on-failure
RestartSec=10
StartLimitBurst=5
StartLimitInterval=60
ExecStartPre=/usr/bin/dockerctl create <%= @title %>
ExecStart=/usr/bin/docker s... | [Unit]
Name=<%= @title %> container
Requires=docker.service
After=docker.service <% if @depends[@title] -%>docker-<%= @depends[@title] -%>.service<% end %>
[Service]
Restart=on-failure
RestartSec=10
StartLimitBurst=5
StartLimitInterval=60
ExecStartPre=/usr/bin/dockerctl create <%= @title %>
ExecStartPre=/usr/bin/docke... | Check container state after start | Check container state after start
ExecStartPre steps:
1) Create container if not exists.
2) Start it.
3) Make necessary checks with dockerctl.
ExecStart - attach to container for sure that
container isn't go to failed state.
Change-Id: I8fc495513c7d7c8e07c0d0eff4a671b924a9cb50
Related-Bug: #1526787
| HTML+ERB | apache-2.0 | stackforge/fuel-library,stackforge/fuel-library,stackforge/fuel-library,xarses/fuel-library,xarses/fuel-library,xarses/fuel-library,xarses/fuel-library,stackforge/fuel-library |
168798d46b0fb9c98d8fb251e6647c57cfd242f9 | app/views/entries/_content_info.html.erb | app/views/entries/_content_info.html.erb | <% present entry do |entry_presenter| %>
<% if content.present? %>
<% if content_info.present? && !entry_presenter.feed_domain_matches?(content_info.domain) %>
<div class="original-content-info entry-callout">
<%= favicon_with_host(content_info.domain) %>
<% if content_info.title.pr... | <% present entry do |entry_presenter| %>
<% if content.present? %>
<% if content_info.present? && !entry_presenter.feed_domain_matches?(content_info.domain) %>
<div class="original-content-info entry-callout">
<%= favicon_with_host(content_info.domain) %>
<% if content_info.title.pr... | Fix "View in Feedbin" when using full content view. | Fix "View in Feedbin" when using full content view.
| HTML+ERB | mit | feedbin/feedbin,brendanlong/feedbin,feedbin/feedbin,feedbin/feedbin,feedbin/feedbin,brendanlong/feedbin,brendanlong/feedbin |
8941bddabd56f798810d9403113fcf5855ba806f | app/views/layouts/_package_list.html.erb | app/views/layouts/_package_list.html.erb | <% offset = ( params[:page] || '1' ).to_i - 1 %>
<% offset *= WillPaginate.per_page %>
<% packages.each_with_index do |package, index| %>
<% offset_index = offset + index %>
<% unless offset_index.zero? %>
<div class="list-group-separator"></div>
<% end %>
<div class='list-group-item col-sm-10'>
... | <% offset = ( params[:page] || '1' ).to_i - 1 %>
<% offset *= WillPaginate.per_page %>
<% packages.each_with_index do |package, index| %>
<% offset_index = offset + index %>
<% unless offset_index.zero? %>
<div class="list-group-separator"></div>
<% end %>
<div class='list-group-item col-sm-10'>
... | Fix unescaped back-tick in package description bug | Fix unescaped back-tick in package description bug | HTML+ERB | mit | djsegal/julia_observer,djsegal/julia_observer,djsegal/julia_observer |
1d0bcd82005e3162754d1f832a6e78cc75ca6430 | app/views/people/_current_roles.html.erb | app/views/people/_current_roles.html.erb | <% if person.currently_in_a_role? %>
<section id="current-roles" dir="<%= page_text_direction %>" lang="<%= person.locale %>">
<% person.current_roles.each do |role| %>
<section class="role_appointment role govuk-!-padding-bottom-8">
<%= render "govuk_publishing_components/components/heading", {
... | <% if person.currently_in_a_role? %>
<section id="current-roles" dir="<%= page_text_direction %>" lang="<%= person.locale %>">
<% person.current_roles.each do |role| %>
<section class="role_appointment role govuk-!-padding-bottom-8">
<%= render "govuk_publishing_components/components/heading", {
... | Use translation for 'More about this role' | Use translation for 'More about this role'
| HTML+ERB | mit | alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections |
4c35b6da2faa540969d182e603c15d6e51815145 | app/views/styleguide/javascript.html.erb | app/views/styleguide/javascript.html.erb | <h1>JavaScript Styleguide</h1>
| <h1>JavaScript Styleguide</h1>
<p>We are following the Airbnb <a href="https://github.com/moneyadviceservice/javascript">
JavaScript Style Guide</a></p>
<p>To help automate that task you can configure your editor to automatically
lint your code and warn you of any problems. If you are using IntelliJ / RubyMine / ... | Add style guide and jshintrc link to JS page | Add style guide and jshintrc link to JS page
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
b049eeae1c7f33f7fe15d89e623e7c9f46a4e4c2 | app/views/criteria/_new_criterion.html.erb | app/views/criteria/_new_criterion.html.erb | <li id='new_criterion'>
<%= form_tag assignment_criteria_path(assignment_id: assignment.id),
method: :post,
remote: true do %>
<div id='new_criterion_error' style='display:none;' class='error'></div>
<%= label_tag 'new_criterion_prompt',
t('criteria.name') %><br>
... | <li id='new_criterion'>
<%= form_tag assignment_criteria_path(assignment_id: assignment.id),
method: :post,
remote: true do %>
<div id='new_criterion_error' style='display:none;' class='error'></div>
<%= label_tag 'new_criterion_prompt',
t('criteria.name') %><br>
... | Fix labels for different criteria types @GitGeminiano | Fix labels for different criteria types @GitGeminiano
| HTML+ERB | mit | arkon/Markus,ealonas/Markus,benjaminvialle/Markus,benjaminvialle/Markus,MarkUsProject/Markus,reidka/Markus,arkon/Markus,benjaminvialle/Markus,MarkUsProject/Markus,reidka/Markus,arkon/Markus,MarkUsProject/Markus,ealonas/Markus,MarkUsProject/Markus,benjaminvialle/Markus,reidka/Markus,benjaminvialle/Markus,arkon/Markus,ea... |
cf14e7fbc0550881425b1f9f071c5257b3e16e9f | app/views/alchemy/admin/pages/sort.js.erb | app/views/alchemy/admin/pages/sort.js.erb | $('#sitemap').replaceWith('<%= j render('sitemap', page_partial: 'page', full: true) %>');
$('#sort_panel').show();
$('#sitemap_heading').css({'padding-top': 102});
Alchemy.pleaseWaitOverlay(false);
| $('#sitemap-wrapper').replaceWith('<%= j render('sitemap', page_partial: 'page', full: true) %>');
$('#sort_panel').show();
$('#sitemap_heading').css({'padding-top': 102});
Alchemy.pleaseWaitOverlay(false);
| Fix replacing of sitemap while sorting | Fix replacing of sitemap while sorting
| HTML+ERB | bsd-3-clause | mamhoff/alchemy_cms,mamhoff/alchemy_cms,nielspetersen/alchemy_cms,mtomov/alchemy_cms,mtomov/alchemy_cms,robinboening/alchemy_cms,nielspetersen/alchemy_cms,nielspetersen/alchemy_cms,IngoAlbers/alchemy_cms,chalmagean/alchemy_cms,mixandgo/alchemy_cms,chalmagean/alchemy_cms,IngoAlbers/alchemy_cms,mixandgo/alchemy_cms,mamho... |
975dbb5838afebbd914f893d1729ec4e6e8edfd8 | app/views/dashboard/_new_version.html.erb | app/views/dashboard/_new_version.html.erb | <% project = version.project %>
<% if project.latest_release_number.present? %>
<div class="notification">
<div class="pull-right mute">
<% if subscription = current_user.subscribed_to?(project) %>
<%= link_to subscription_path(subscription), method: :delete, class: 'tip', title: "Unsubscribe from #... | <% project = version.project %>
<% if project.latest_release_number.present? %>
<div class="notification">
<div class="pull-right mute">
<% if subscription = current_user.subscribed_to?(project) %>
<%= link_to subscription_path(subscription), method: :delete, class: 'tip', title: "Unsubscribe from #... | Remove dependent repo list for the homepage to cut down on timeouts | Remove dependent repo list for the homepage to cut down on timeouts
| HTML+ERB | agpl-3.0 | librariesio/libraries.io,librariesio/libraries.io,librariesio/libraries.io,librariesio/libraries.io |
a20fc3f9bebfb691408b079a5469efa214877465 | cookbooks/tilecache/templates/default/nginx_tile_ssl.conf.erb | cookbooks/tilecache/templates/default/nginx_tile_ssl.conf.erb | upstream tile_cache_backend {
server 127.0.0.1;
<% @caches.each do |cache| -%>
#Server <%= cache[:hostname] %>
<% cache.ipaddresses(:family => :inet, :role => :external).sort.each do |address| -%>
server <%= address %> backup;
<% end -%>
<% end -%>
keepalive 32;
}
server {
listen ... | upstream tile_cache_backend {
server 127.0.0.1;
<% @caches.each do |cache| -%>
<% if cache[:hostname] != node[:hostname] -%>
#Server <%= cache[:hostname] %>
<% cache.ipaddresses(:family => :inet, :role => :external).sort.each do |address| -%>
server <%= address %> backup;
<% end -%>
<% e... | Exclude self from nginx backup links | Exclude self from nginx backup links
| HTML+ERB | apache-2.0 | tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,gravitystorm/chef,Firefishy/chef,openstreetmap/chef,gravitystorm/chef,Firefishy/chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,gravitystorm/chef,gravitystorm/chef,gravitystorm/chef,tomhughes/openstreetmap-chef,zere... |
d2d52c18ef61f240f5a1d9ce70073979dcbf3c27 | templates/uwsgi_app.ini.erb | templates/uwsgi_app.ini.erb | #
# This file is managed by puppet class 'uwsgi::app'
#
# uwsgi app config for '<%= @name %>'
#
[uwsgi]
uid = <%= @uid %>
gid = <%= @gid %>
<% if @application_options %>
<% @application_options.each do |key, value| %>
<% if value.is_a? Array -%>
<% value.each do |v| -%>
<%= key %> = <%= v%>
<% end %>
... | #
# This file is managed by puppet class 'uwsgi::app'
#
# uwsgi app config for '<%= @name %>'
#
[uwsgi]
<%- if @application_options -%>
<%- @application_options.each do |key, value| -%>
<%- if value.is_a? Array -%>
<%- value.each do |v| -%>
<%= key %> = <%= v %>
<%- end -%>
<%- else -%>
<%= key %>... | Remove a lot of unused stuff and empty lines | Remove a lot of unused stuff and empty lines
| HTML+ERB | apache-2.0 | cwood/puppet-uwsgi,cwood/puppet-uwsgi,cwood/puppet-uwsgi |
1d8ca5ab598812329bc05c7e399d243f6c7dc3ce | app/views/connectors/topic_header/tag.html.erb | app/views/connectors/topic_header/tag.html.erb | <%- if @topic_view.topic.tags.present? %>
<div class='tags'>
<%= t 'js.tagging.tags' %>:
<%- @topic_view.topic.tags.each do |t| %>
<%= t %>
<%- end %>
</div>
<% end %>
| Add tags to crawler version of page if supported | Add tags to crawler version of page if supported
| HTML+ERB | mit | tgxworld/discourse-tagging,jpoiron/location-tagging,discourse/discourse-tagging,awesomerobot/discourse-tagging,discourse/discourse-tagging,awesomerobot/discourse-tagging,discourse/discourse-tagging,iujlaki/discourse-tagging,jpoiron/location-tagging,jpoiron/location-tagging,jorgtron/discourse-tagging,wwwsaluzicom/saluzi... | |
1d3ff4ee83f3171eb5a7a018c255f645596acb97 | www/source/docs/using-habitat.html.md.erb | www/source/docs/using-habitat.html.md.erb | ---
title: Habitat Docs - Using Habitat
description: Documentation and tutorials for Habitat including getting started; creating, building, and running Habitat packages; and dynamic configuration updates.
---
<%= partial "/partials/docs/using-hab-overview"%>
---
<%= partial "/partials/docs/using-hab-packages"%>
---
<%... | ---
title: Habitat Docs - Using Habitat
description: Documentation and tutorials for Habitat including getting started; creating, building, and running Habitat packages; and dynamic configuration updates.
---
<%= partial "/partials/docs/using-hab-overview"%>
---
<%= partial "/partials/docs/using-hab-packages"%>
---
<%... | Add remote command and contol docs | Add remote command and contol docs
Fixes #5207.
Signed-off-by: Christian Nunciato <711c73f64afdce07b7e38039a96d2224209e9a6c@nunciato.org>
| HTML+ERB | apache-2.0 | rsertelon/habitat,rsertelon/habitat,habitat-sh/habitat,habitat-sh/habitat,habitat-sh/habitat,rsertelon/habitat,habitat-sh/habitat,habitat-sh/habitat,rsertelon/habitat,rsertelon/habitat,rsertelon/habitat,habitat-sh/habitat,rsertelon/habitat,habitat-sh/habitat,habitat-sh/habitat |
ca9552a06c6769029777e34b3aeb3cecdcf7eb58 | su-template/default/layout/html/layout.erb | su-template/default/layout/html/layout.erb | <!DOCTYPE html>
<html>
<head>
<%= erb(:headers) %>
<link rel="shortcut icon" type="image/vnd.microsoft.icon"
href="https://help.sketchup.com/sites/all/themes/sketch_help/favicon.ico">
<link rel='stylesheet' type='text/css'
href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic'>
<s... | <!DOCTYPE html>
<html>
<head>
<%= erb(:headers) %>
<link rel="shortcut icon" type="image/vnd.microsoft.icon"
href="https://help.sketchup.com/sites/all/themes/sketch_help/favicon.ico">
<link rel='stylesheet' type='text/css'
href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic'>
<scr... | Remove obsolete iframe. Not sure why that was ever there... | Remove obsolete iframe. Not sure why that was ever there...
In yard 0.9.5 it didn't appear, but with 0.9.8 it would show up in the generated docs. | HTML+ERB | mit | SketchUp/sketchup-yard-template,SketchUp/sketchup-yard-template,SketchUp/sketchup-yard-template |
2cb873a10c02ea115f994765cba56666ca0ae7a3 | app/views/projects/index.html.erb | app/views/projects/index.html.erb | <h2>Projects</h2>
<div>
<h3>Filter projects:</h3>
<%= form_tag("/projects", method: "get") do %>
<%= select_tag "genre", options_from_collection_for_select(Genre.all, "id", "name"), include_blank: true, class: "custom-select" %>
<%= submit_tag "Filter", class: "btn btn-primary" %>
<% end %>
</div>
<di... | <h2>Projects</h2>
<div>
<h3>Filter projects:</h3>
<%= form_tag("/projects", method: "get") do %>
<%= select_tag "genre", options_from_collection_for_select(@genres, "id", "name", params[:genre]), include_blank: true, class: "custom-select" %>
<%= select_tag "sort", options_for_select([['Newest First', 'ne... | Add sorting dropdown and refactor | Add sorting dropdown and refactor
| HTML+ERB | mit | Cecily2/writing-project-tracker,Cecily2/writing-project-tracker,Cecily2/writing-project-tracker |
1441c9f7e7d9df2f31ec76772d223ac66eb5363b | app/views/search/results.html.erb | app/views/search/results.html.erb | <% page_title "Search" %>
<div class="g3f">
<section class="page_header search">
<h1 class="page_title title">Found <%= pluralize(@results.length, "result") %> for "<%= @search_term %>"</h1>
<p>
Showing results from INSIDE GOVERNMENT.
<%= citizen_search_link(%{Search for "#{@search_term}" in othe... | <% page_title "Search" %>
<div class="g3f">
<section class="page_header search">
<h1 class="page_title title">Found <%= pluralize(@results.length, "result") %> for "<%= @search_term %>"</h1>
<p>
Showing results from INSIDE GOVERNMENT.
<%= citizen_search_link(%{Search for "#{@search_term}" in othe... | Fix test failures due to search results page. | Fix test failures due to search results page.
| HTML+ERB | mit | alphagov/whitehall,YOTOV-LIMITED/whitehall,ggoral/whitehall,alphagov/whitehall,robinwhittleton/whitehall,hotvulcan/whitehall,askl56/whitehall,askl56/whitehall,askl56/whitehall,alphagov/whitehall,hotvulcan/whitehall,ggoral/whitehall,ggoral/whitehall,robinwhittleton/whitehall,ggoral/whitehall,alphagov/whitehall,robinwhit... |
07a2530c92c187592761387898470adc088aed3a | app/views/public_activity/account/_auth_charge_failed.html.erb | app/views/public_activity/account/_auth_charge_failed.html.erb | <% card = BillingCard.with_deleted.find(activity.parameters[:card]) %>
Authorize charge failed on Card ID: <%= card.id %> (Last 4: <%= card.last4 %>) for <%= Invoice.pretty_total(activity.parameters[:amount] * Invoice::CENTS_IN_DOLLAR) %>. Reason: <%= activity.parameters[:reason] %> | <% card = BillingCard.with_deleted.find(activity.parameters[:card]) %>
Authorize charge failed on Card ID: <%= card.id %> (Last 4: <%= card.last4 %>) for <%= Invoice.pretty_total(activity.parameters[:amount] * Invoice::CENTS_IN_DOLLAR) rescue nil %>. Reason: <%= activity.parameters[:reason][0..100] %> | Fix for stripe invalid integer breaking activities page | Fix for stripe invalid integer breaking activities page | HTML+ERB | apache-2.0 | OnApp/cloudnet,OnApp/cloudnet,OnApp/cloudnet,OnApp/cloudnet |
73c1b2879d3e33a507a8d06e8d9ccff9f5395bd5 | app/views/alchemy/search/_result.html.erb | app/views/alchemy/search/_result.html.erb | <li class="search_result">
<h3>
<%= t('search_result_page.result_page') %>:
<%= link_to page.name, show_alchemy_page_path(page) %>
</h3>
<%- result.each do |highlight| -%>
<p><%= sanitize highlight %></p>
<%- end -%>
</li>
| <li class="search_result">
<h3>
<%= t('search_result_page.result_page') %>:
<%= link_to page.name, show_alchemy_page_path(page) %>
</h3>
<%- result.each do |highlight| -%>
<p><%= sanitize highlight.force_encoding('UTF-8') %></p>
<%- end -%>
</li>
| Enforce utf8 encoding in search result output. | Enforce utf8 encoding in search result output.
| HTML+ERB | bsd-3-clause | mixandgo/alchemy_cms,watg/alchemy_cms,nielspetersen/alchemy_cms,thomasjachmann/alchemy_cms,chalmagean/alchemy_cms,IngoAlbers/alchemy_cms,thomasjachmann/alchemy_cms,Domenoth/alchemy_cms,akra/alchemy_cms,cygnus6/alchemy_cms,kinsomicrote/alchemy_cms,paperculture/alchemy_cms,akra/alchemy_cms,mixandgo/alchemy_cms,cygnus6/al... |
d1f36568146c87b47216f1ad909275453241f04f | app/views/layouts/_flash_message.html.erb | app/views/layouts/_flash_message.html.erb | <div class="flashMessageContainer alert flash-message">
<%if flash.present? %>
<% flash.each do |name, msg| %>
<% if msg.is_a?(String) %>
<%= content_tag(:div, msg, class: "alert alert_#{name} flash_#{name}") %>
<% end %>
<%end%>
<% end %>
</div>
| <%if flash.present? %>
<div class="flashMessageContainer alert flash-message">
<% flash.each do |name, msg| %>
<% if msg.is_a?(String) %>
<%= content_tag(:div, msg, class: "alert alert_#{name} flash_#{name}") %>
<% end %>
<%end%>
</div>
<% end %>
| Move if block around div container. | Move if block around div container.
| HTML+ERB | mit | downeyd27/personal_website,downeyd27/personal_website,downeyd27/personal_website |
121cd58d5bf1edf1bff9f5ddecb4d9321817f3bc | jumpbox.html.md.erb | jumpbox.html.md.erb | ---
title: Jumpbox
---
It's recommended:
- to maintain a separate jumpbox VM for your environment
- do not SSH to the Director
- use `bosh ssh` to access VMs in your deployments and use jumpbox VM as your SSH gateway
To obtain SSH access specifically to the Director VM when necessary you can opt into `jumpbox-user.y... | ---
title: Jumpbox
---
It's recommended:
- to maintain a separate jumpbox VM for your environment
- do not SSH to the Director
- use `bosh ssh` to access VMs in your deployments and use jumpbox VM as your SSH gateway
To obtain SSH access specifically to the Director VM when necessary you can opt into `jumpbox-user.y... | Fix markup on the Jumpbox page | Fix markup on the Jumpbox page | HTML+ERB | apache-2.0 | cloudfoundry/docs-bosh |
984548cf14cf5645f9dd1efc8e0607ddace8ed7f | app/views/devise/sessions/new.html.erb | app/views/devise/sessions/new.html.erb | <h2>Sign in</h2>
<%= form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => { :class => 'formtastic' }) do |f| %>
<div><%= f.label :email %><br />
<%= f.email_field :email %></div>
<div><%= f.label :password, "Passphrase" %><br />
<%= f.password_field :password %></div>
<% i... | Change password label to Passphrase | Change password label to Passphrase
| HTML+ERB | mit | alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2 | |
417d3fb8a34f3cc0a30eeec0119425ac4f35592d | app/views/devise/sessions/new.html.erb | app/views/devise/sessions/new.html.erb | <h2>Sign In</h2>
<%= simple_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
<div class="form-inputs">
<%= f.input :email, required: false, autofocus: true %>
<%= f.input :password, required: false %>
<%= f.input :remember_me, as: :boolean if devise_mapping.rememberable? ... | <div class="medium-offset-3 medium-6">
<h2>Sign In</h2>
</div>
<%= simple_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
<div class="form-inputs">
<%= f.input :email, required: false, autofocus: true %>
<%= f.input :password, required: false %>
<%= f.input :remember_me,... | Fix the sign in view to line up buttons and entry fields. | Fix the sign in view to line up buttons and entry fields.
| HTML+ERB | mit | rubyforgood/diaper,rubyforgood/diaper,rubyforgood/diaper,rubyforgood/diaper |
88f36a181a41705d6689c7eeeea20bcc86459237 | source/_header.html.erb | source/_header.html.erb | <header id="header">
<nav class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
... | <header id="header">
<nav class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
... | Add back to dialog link | Add back to dialog link
| HTML+ERB | mit | dialoganalytics/dialog-docs,dialoganalytics/dialog-docs,dialoganalytics/dialog-docs |
368a409e3e1cd5be8e54980a2f31a43667feed94 | views/_utils.erb | views/_utils.erb | <div class="utils">
<% unless @meta.layers.first.nil? %>
<% @layers = '' %>
<% @meta.layers.each do |layer| %>
<% @layers = @layers + layer + ',' %>
<% end %>
<span class="kml-link">
<%= link_to(kml_url(@layers.chop), 'Google Earth') %>
</span>
<% end %>
<% unless @meta.catalog_link.nil? %>
<... | <div class="utils">
<% unless @meta.layers.first.nil? %>
<% @layers = @meta.layers.to_a.join(',')%>
<span class="kml-link">
<%= link_to(kml_url(@layers), 'Google Earth') %>
</span>
<% end %>
<% unless @meta.catalog_link.nil? %>
<span class="catalog-link">
<%= link_to(cat_url(@meta.catal... | Refactor layer selector to use Ruby constructs | Refactor layer selector to use Ruby constructs
| HTML+ERB | apache-2.0 | scholarslab/geoportal,scholarslab/geoportal,scholarslab/geoportal |
c715782ea735d146f8b5d545625906164ed1cfb1 | templates/default/delayed_job.monitrc.erb | templates/default/delayed_job.monitrc.erb | <% @delayed_job[:pool].each do |key, config| %>
<% identifier = "#{@application}-#{key}" %>
check process delayed_job.<%= identifier %>
with pidfile <%= @deploy[:deploy_to] %>/shared/pids/delayed_job.<%= identifier %>.pid
start program = "/bin/su - <%= @deploy[:user] %> -c 'cd <%= @deploy[:current_path] %> && RAILS... | <% @delayed_job[:pool].each do |key, config| %>
<% identifier = "#{@application}-#{key}" %>
check process delayed_job.<%= identifier %>
with pidfile <%= @deploy[:deploy_to] %>/shared/pids/delayed_job.<%= identifier %>.pid
start program = "/bin/su - <%= @deploy[:user] %> -c 'cd <%= @deploy[:current_path] %> && RAILS... | Change location of delayed_job script from script/ to bin/ | Change location of delayed_job script from script/ to bin/
| HTML+ERB | mit | otelic/opsworks_delayed_job,otelic/opsworks_delayed_job,joeyAghion/opsworks_delayed_job,joeyAghion/opsworks_delayed_job |
f5150a82b8f97a689827172e7ed6f0cf9259f4f9 | lib/mako/layouts/_feed_container.html.erb | lib/mako/layouts/_feed_container.html.erb | <section id="feed-container">
<% @feeds.each do |feed| %>
<% if feed.articles.size > 0 %>
<section>
<header class="article-header">
<h1><a href="<%= feed.url %>"><%= h(feed.title) %></a></h1>
</header>
<% feed.articles.each do |article| %>
<article>
<... | Add default feed container to be rendered in all views | Add default feed container to be rendered in all views
| HTML+ERB | mit | jonathanpike/mako,jonathanpike/mako | |
2c48b56845fbbe009a7cf01161a340c5903493e7 | app/views/pages/privacy.html.erb | app/views/pages/privacy.html.erb | <p>
<h1>Trailmix Privacy Policy</h1>
</p>
<h3>Your entries are private.</h3>
<p>
Your entries are not publicly-accessible. They can only be viewed by logging
into your account or when sent to you via email.
</p>
<p>
They are not searchable by Google.
</p>
<h3>Your entries are deletable.</h3>
<p>
If you n... | <p>
<h1>Trailmix Privacy Policy</h1>
</p>
<h3>Your entries are private.</h3>
<p>
Your entries are not publicly-accessible. They can only be viewed by logging
into your account or when sent to you via email.
</p>
<p>
We will never view your entries unless absolutely necessary for technical
reasons, such as ... | Clarify that we won't view entries | Clarify that we won't view entries
| HTML+ERB | mit | codecation/trailmix,codecation/trailmix,codecation/trailmix,codecation/trailmix |
d1ec782e2586a4b82e6e305ae019b45384e4dffb | app/views/shares/_share.html.erb | app/views/shares/_share.html.erb | <!-- Simple panel -->
<div class="panel panel-flat border-top-lg border-top-<%= share.color %>">
<div class="panel-heading">
<h5 class="panel-title"><%= share.title %> <span class="text-muted mt-5">‹ <%= share.category %>::Category</span></h5>
<div class="heading-elements">
<ul class="icons-list"... | Create partial for a share's details | Create partial for a share's details
| HTML+ERB | mit | theresaboard/theres-a-board,theresaboard/theres-a-board,theresaboard/theres-a-board | |
b9d0d9cb60f848107e3f0f7e80e9c0ff23a51ae8 | app/views/admin/attachments/index.html.erb | app/views/admin/attachments/index.html.erb | <% page_title "Attachments for: #{@attachable.title}" %>
<% page_class "attachments index" %>
<div class="span8">
<section>
<h1>Attachments for <%= @attachable.type.underscore.humanize.downcase %></h1>
<%= attachable_editing_tabs(@attachable) do %>
<ul class="actions">
<li>
<%= link_... | <% page_title "Attachments for: #{@attachable.title}" %>
<% page_class "attachments index" %>
<div class="span8">
<section>
<h1>Attachments for <%= @attachable.type.underscore.humanize.downcase %></h1>
<%= attachable_editing_tabs(@attachable) do %>
<ul class="actions">
<li>
<%= link_... | Update 'Upload from Zip file' copy | Update 'Upload from Zip file' copy
https://www.pivotaltracker.com/story/show/54359834
| HTML+ERB | mit | alphagov/whitehall,YOTOV-LIMITED/whitehall,YOTOV-LIMITED/whitehall,hotvulcan/whitehall,ggoral/whitehall,ggoral/whitehall,YOTOV-LIMITED/whitehall,askl56/whitehall,alphagov/whitehall,robinwhittleton/whitehall,hotvulcan/whitehall,hotvulcan/whitehall,alphagov/whitehall,alphagov/whitehall,askl56/whitehall,robinwhittleton/wh... |
7d0ba1d01bfc90cd6e6859abfb8139e205c793cb | app/views/charities/map_locations.html.erb | app/views/charities/map_locations.html.erb | <% content_for :javascripts do %>
<%= javascript_include_tag "https://maps.googleapis.com/maps/api/js" %>
<script type="text/javascript">
loadFullMap();
</script>
<% end %>
<%= stylesheet_link_tag "map.css" %>
<div id="full-map-canvas"></div>
| <% content_for :javascripts do %>
<%= javascript_include_tag "https://maps.googleapis.com/maps/api/js" %>
<script type="text/javascript">
loadFullMap();
</script>
<% end %>
<%= stylesheet_link_tag "map.css" %>
<div class="ui vertical stripe segment">
<div class="ui middle aligned stackable grid container">... | Add update for styling on all charities show page for map | Add update for styling on all charities show page for map
| HTML+ERB | mit | shawndav/donation-cat,peterhinners/donation-cat,peterhinners/donation-cat,shawndav/donation-cat,peterhinners/donation-cat,shawndav/donation-cat |
a77ce8445ee967aeb6f8214a71ede0bbb6e38324 | app/views/partials/_intro_section.html.erb | app/views/partials/_intro_section.html.erb | <section class="debug intro-section container col-md-12">
<header>
<h1>Welcome to my Personal Web Page!</h1>
</header>
<div class=" debug col-md-12">
<figure class="debug row">
<%= image_tag("wedding-pic.jpg", alt: "Dillon Downey\'s", class: "image-responsive") %>
<figcaption>
<p>R... | <section class="debug intro-section container col-md-12">
<header>
<h1>Welcome to my Personal Web Page!</h1>
</header>
<div class=" debug col-md-12">
<figure class="debug row">
<%= image_tag("wedding-pic.jpg", alt: "Dillon Downey\'s", class: "image-responsive") %>
<figcaption>
<p>R... | Remove social media to turn into partial | Remove social media to turn into partial
| HTML+ERB | mit | downeyd27/personal_website,downeyd27/personal_website,downeyd27/personal_website |
252afe96f8fbcbf57374f4213a50c7b5f8cba595 | 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) %>
<div class="l-main editorial">
<main role="main">
<h1><%= title news_article.title %></h1>
<p class="smallprint"><%= news_article.... | <% set_meta_tags(description: news_article.description,
canonical: news_article.canonical_url,
alternate: news_article.alternate_options) %>
<div class="l-main editorial">
<main role="main">
<h1><%= title news_article.title %></h1>
<p class="smallprint"><%= news_article.... | Add left nav to news article view | Add left nav to news article view
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
126915e80784a84ac1acf56660788757c7eafa70 | app/views/question/_show.erb | app/views/question/_show.erb | <div class = "qustion">
<h1><%= question.title %></h1>
<p><%= question.text %></p>
<p><a href='/questions/<%= question.id %>/edit'>Edit this question</a></p>
<p><a href='/answers/new/question/<%= question.id %>'>Answer this question</a></p>
<p><a href='/comments/new/question/<%= question.id %>'>Comment on this question... | <div class = "question">
<h1><%= question.title %></h1>
<p><%= question.text %></p>
<p><a href='/questions/<%= question.id %>/edit'>Edit this question</a></p>
<p><a href='/answers/new/question/<%= question.id %>'>Answer this question</a></p>
<p><a href='/comments/new/question/<%= question.id %>'>Comment on th... | Fix question spelling on question show page | Fix question spelling on question show page
| HTML+ERB | mit | sf-island-foxes-2016/Strontium-Overflow,sf-island-foxes-2016/Strontium-Overflow,sf-island-foxes-2016/Strontium-Overflow |
49ed0b75f23cb60591ad9286c6bb6bcf833f8a48 | app/views/controlroom/models/show.html.erb | app/views/controlroom/models/show.html.erb | <h1><%= @model.name %></h1>
<h3>Columns:</h3>
<table class="table table-bordered table-striped">
<thead>
<td>Column Name</td>
<td>Type</td>
</thead>
<tbody>
<% @columns.each do |col| %>
<tr>
<td><%= col.name %></td>
<td><%= col.type %></td>
</tr>
<% end %>
</tbody>
</... | <h1><%= @model.name %></h1>
<h3>Columns:</h3>
<table class="table table-bordered table-striped">
<thead>
<td>Column Name</td>
<td>Type</td>
</thead>
<tbody>
<% @columns.each do |col| %>
<tr>
<td><%= col.name %></td>
<td><%= col.type %></td>
</tr>
<% end %>
</tbody>
</... | Add rows display - last 20 rows | Add rows display - last 20 rows
| HTML+ERB | mit | ehalferty/controlroom,ehalferty/controlroom,ehalferty/controlroom |
fb52820a5f48e0c9213184b84fbec7fd4d37fa64 | app/views/playlists/_edit_buttons.html.erb | app/views/playlists/_edit_buttons.html.erb | <!-- EDIT BUTTONS -->
<% if user_signed_in? %>
<!-- Add to Winnitron dropdown -->
<div class="edit-buttons dropdown">
<% if current_user.builder? && !current_user.arcade_machines.empty? %>
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspop... | <!-- EDIT BUTTONS -->
<% if user_signed_in? %>
<!-- Add to Winnitron dropdown -->
<div class="edit-buttons dropdown">
<% if current_user.builder? && !current_user.arcade_machines.empty? %>
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspop... | Add checkmark to subscription dropdown. | Add checkmark to subscription dropdown.
| HTML+ERB | mit | winnitron/winnitron_reborn,winnitron/winnitron_reborn,winnitron/winnitron_reborn |
1658723c1ca052ebc19786d1398a5a99cb0423ec | BHCDatabase/app/views/meetings/new.html.erb | BHCDatabase/app/views/meetings/new.html.erb | <% provide(:title, 'New Session') %>
<div id="initiative">
<div class="stdcontainer">
<div class="container-fluid">
<div class="row">
<div class="col-md-6">
<h2 id="show-title">New Meeting</h2>
</div>
</div>
<div class="row">
<p>This is where new meetings can be... | <% provide(:title, 'New Session') %>
<div id="initiative">
<div class="stdcontainer">
<div class="container-fluid">
<div class="row">
<div class="col-md-6">
<h2 id="show-title">New Meeting</h2>
</div>
</div>
<div class="row">
<p>
This is where new meet... | Reword the new meeting page to help a user understand how the '1 week after the most recent meeting works.' | Reword the new meeting page to help a user understand how the '1 week after the most recent meeting works.'
| HTML+ERB | mit | DaBrown95/BHCDatabase,DaBrown95/BHCDatabase,DaBrown95/BHCDatabase |
2085236c8863d5e3351e2584c3870e779171cbcf | app/views/newsfeed/_events_education.html.erb | app/views/newsfeed/_events_education.html.erb | <section class="Section" data-anchor="education">
<div class="Section-header">
<h1 class="Section-title">Aprender algo novo</h1>
<span class="Section-description"></span>
</div>
<div class="Grid Grid--withGutter">
<%= render 'alert_none_events' %>
<% if current_or_guest_user.guest? %>
<%... | <section class="Section" data-anchor="learn">
<div class="Section-header">
<h1 class="Section-title">Aprender algo novo</h1>
<span class="Section-description"></span>
</div>
<div class="Grid Grid--withGutter">
<%= render 'alert_none_events' %>
<% if current_or_guest_user.guest? %>
<%= re... | Fix on sidebar left links | Fix on sidebar left links
| HTML+ERB | agpl-3.0 | makerability/villeme,makerability/villeme,jonatassalgado/villeme,makerability/villeme,jonatassalgado/villeme,jonatassalgado/villeme |
ce2b0377b8120903e35637496a758f546af1862b | app/views/noisy_workflow/skip_review.text.erb | app/views/noisy_workflow/skip_review.text.erb | Hello,
Review has been skipped for "<%= @edition.title %>" (<%= @edition.format %>).
You can view it here:
<%= edition_url(@edition.id) %>
Regards,
Winston (the GOV.UK Publisher)
| Hello,
Review has been skipped for "<%= @edition.title %>" (<%= @edition.format %>).
You can view it here:
<%= edition_url(@edition.id) %>
Sent by the GOV.UK Publisher application
| Remove mention of Winston from skip review emails | Remove mention of Winston from skip review emails
Changing who the email is signed off from from Winston to the
GOV.UK publisher app to be more clear about where the email has come
from.
| HTML+ERB | mit | alphagov/publisher,alphagov/publisher,alphagov/publisher |
e8b2ed0b09aabb7e7ffd1eaf7c7c681fea427a97 | app/views/all_surveys.erb | app/views/all_surveys.erb | <% @surveys.each do |survey| %>
<p><a href="/surveys/<%="#{survey.id}"%>"><%=survey.title%></a><p>
<% end %> | <ol>
<% @surveys.each do |survey| %>
<li>
<a href="/surveys/<%="#{survey.id}"%>"><%=survey.title%></a>
<a href="/users/<%="#{survey.user_id}"%>"><%=survey.user.name%></a>
</li>
<% end %>
</ol>
| Restructure survey all display to include owner name as a link | Restructure survey all display to include owner name as a link
| HTML+ERB | mit | nyc-rock-doves-2015/survey-werewolf,nyc-rock-doves-2015/survey-werewolf,nyc-rock-doves-2015/survey-werewolf |
10eb71f0483c022b08c8571123d85c8ca404dacd | cookbooks/dns/templates/default/geo.js.erb | cookbooks/dns/templates/default/geo.js.erb | var GEO_NS_RECORDS = [
<% @geoservers.each do |server| -%>
NS("geo", QUALIFY("<%= server.split(".").first %>")),
<% end -%>
];
| var GEO_NS_RECORDS = [
<% @geoservers.each do |server| -%>
NS("geo", "<%= server %>."),
<% end -%>
];
| Use fully qualified names for geodns delegation | Use fully qualified names for geodns delegation
| HTML+ERB | apache-2.0 | openstreetmap/chef,openstreetmap/chef,openstreetmap/chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,openstreetmap/chef,openstreetmap/chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap... |
f75b5af58d5395482f78a8902248e4438a615735 | custom/views/_login_form.erb | custom/views/_login_form.erb | <%# coding: UTF-8 -%>
<form method="post" action="<%= @form_action || "login" %>" id="login-form"
onsubmit="submitbutton = document.getElementById('login-submit'); submitbutton.value='<%= _("Please wait...") %>'; submitbutton.disabled=true; return true;">
<div id="form-layout">
<div id="fields-container">
... | <%# coding: UTF-8 -%>
<form method="post" action="<%= @form_action || "login" %>" id="login-form"
onsubmit="submitbutton = document.getElementById('login-submit'); submitbutton.value='<%= _("Please wait...") %>'; submitbutton.disabled=true; return true;">
<div id="form-layout">
<div id="fields-container">
... | Allow browsers to save passwords | Allow browsers to save passwords
refs #366
| HTML+ERB | mit | infoman/rubycas-server,infoman/rubycas-server,infoman/rubycas-server |
69cc2773ed4f3df1d598fcef56fdf866bba82a9d | source/layouts/layout_with_sidebar.erb | source/layouts/layout_with_sidebar.erb | <% wrap_layout :header_footer_only do %>
<div id="toc-heading" class="toc-show fixedsticky">
<a href="#toc" class="toc-show__label js-toc-show" aria-controls="toc">
Table of contents <span class="toc-show__icon"></span>
</a>
</div>
<div class="app-pane__body">
<div class="app-pane__toc">
... | <% wrap_layout :header_footer_only do %>
<div id="toc-heading" class="toc-show fixedsticky">
<a href="#toc" class="toc-show__label js-toc-show" aria-controls="toc">
Table of contents <span class="toc-show__icon"></span>
</a>
</div>
<div class="app-pane__body">
<div class="app-pane__toc">
... | Add link from the review warning | Add link from the review warning
| HTML+ERB | mit | alphagov/govuk-developer-docs,alphagov/govuk-developer-docs,alphagov/govuk-developer-docs,alphagov/govuk-developer-docs |
3b2adf8e0fbd770e2da86962b1b31676383593ff | lib/domgen/ejb/templates/service.java.erb | lib/domgen/ejb/templates/service.java.erb | /* DO NOT EDIT: File is auto-generated */
package <%= service.data_module.ejb.service_package %>;
<%= description_javadoc_for(service, "") %>@javax.annotation.Generated( "Domgen" )
@SuppressWarnings( { "UnusedDeclaration", "JavaDoc" } )
@javax.ejb.Local
public interface <%= service.ejb.service_name %>
{
String EJB_N... | /* DO NOT EDIT: File is auto-generated */
package <%= service.data_module.ejb.service_package %>;
<%= description_javadoc_for(service, "") %>@javax.annotation.Generated( "Domgen" )
@SuppressWarnings( { "UnusedDeclaration", "JavaDoc" } )
@javax.ejb.Local
public interface <%= service.ejb.service_name %>
{
String EJB_N... | Use the classname of EJB_NAME ... seems to be a a more common convention | Use the classname of EJB_NAME ... seems to be a a more common convention
| HTML+ERB | apache-2.0 | realityforge/domgen,realityforge/domgen,icaughley/domgen,william-ml-leslie/domgen,icaughley/domgen |
fb8d691c0dbe5bdb7ceb1ddfa9b93a8aa0254de4 | lib/views/public_body/_more_info.html.erb | lib/views/public_body/_more_info.html.erb | <h2><%= _('More about this authority')%></h2>
<% if !public_body.calculated_home_page.nil? %>
<%= link_to _('Home page of authority'),
public_body.calculated_home_page,
:target => '_blank' %><br>
<% end %>
<% if !public_body.publication_scheme.empty? %>
<%= link_to _('Publication s... | <h2><%= _('More about this authority')%></h2>
<% unless public_body.calculated_home_page.nil? %>
<%= link_to _('Home page of authority'),
public_body.calculated_home_page,
:target => '_blank' %><br>
<% end %>
<% unless public_body.publication_scheme.blank? %>
<%= link_to _('Publica... | Fix public body show action | Fix public body show action
Fixes `undefined method 'empty?' for nil:NilClass`. When running under
0.38.1.0.
| HTML+ERB | mit | mysociety/askyourgovug-theme,mysociety/askyourgovug-theme |
5d16b28abf5e8f62f245111687914cffe6c13049 | vendor/assets/javascripts/set_ace_paths.js.erb | vendor/assets/javascripts/set_ace_paths.js.erb | ace.config.set('basePath', '/assets/ace');
<% Dir[File.dirname(__FILE__) + '/ace/worker-*.js'].each do |file| %>
<% worker = File.basename(file, '.js').sub(/^worker-/, '') %>
ace.config.setModuleUrl("ace/mode/<%= worker %>_worker", "<%= asset_path "ace/worker-#{worker}.js" %>");
<% end %>
<% Dir[File.dirname(__FILE__) ... | ace.config.set('basePath', '/assets/ace');
<% Dir[File.dirname(__FILE__) + '/ace/worker-*.js'].sort { |file1, file2| file1 <=> file2 }.each do |file| %>
<% worker = File.basename(file, '.js').sub(/^worker-/, '') %>
ace.config.setModuleUrl("ace/mode/<%= worker %>_worker", "<%= asset_path "ace/worker-#{worker}.js" %>");
... | Sort the Ace files so that the order is always the same | Sort the Ace files so that the order is always the same
| HTML+ERB | mit | codykrieger/ace-rails-ap,codykrieger/ace-rails-ap |
dd3cbe08e17be1e904d0925f3c4dd4b239eb3567 | app/views/contact_groups/_contact_group.html.erb | app/views/contact_groups/_contact_group.html.erb | <li class="department">
<h2 id="<%= contact_group.slug %>">
<%= link_to contact_group, "##{contact_group.slug}", 'data-expand' => "#{contact_group.slug}-elements" %>
</h2>
<p>
<%= contact_group.description %>
</p>
<%= link_to 'view all', "##{contact_group.slug}", class: "view-all", 'data-expand' => "#... | <% if contact_group.offices.any? %>
<li class="department">
<h2 id="<%= contact_group.slug %>">
<%= link_to contact_group, "##{contact_group.slug}", 'data-expand' => "#{contact_group.slug}-elements" %>
</h2>
<p>
<%= contact_group.description %>
</p>
<%= link_to 'view all', "##{contact_... | Hide contact groups that have no contacts on the contact group page. | Hide contact groups that have no contacts on the contact group page.
| HTML+ERB | mit | alphagov/contacts-admin,alphagov/contacts-admin,alphagov/contacts-admin |
60595b99d10cdea2232e74c26b7c470c6c997282 | app/views/mail_conversations/show.html.erb | app/views/mail_conversations/show.html.erb | <%= render 'sidebar' %>
<div id="messageContainer">
<div id="mailTitle">
<h2><%= @mailbox_conversation.subject %></h2>
</div>
<br>
<br>
<% @mailbox_conversation.receipts_for(current_user).each do |receipt| %>
<div id="senderPhoto">
<img src="<%= receipt.message.sender.photo %>" />
</div>
... | <%= render 'sidebar' %>
<div id="messageContainer">
<div id="mailTitle">
<h2><%= @mailbox_conversation.subject %></h2>
</div>
<br>
<br>
<% @mailbox_conversation.receipts_for(current_user).each do |receipt| %>
<div id="senderPhoto">
<img src="<%= receipt.message.sender.photo %>" />
</div>
... | Add date and time to every message on show page. | Add date and time to every message on show page.
| HTML+ERB | mit | erinc35/GuideMe,erinc35/GuideMe,erinc35/GuideMe |
22ba4f275a9d39ae186e6b55aedf03e19816a6fa | app/views/submitted_content/_main.html.erb | app/views/submitted_content/_main.html.erb | <% if participant.get_hyperlinks.length > 0 %>
<%= render :partial => 'submitted_content/hyperlink', :locals => {:participant => participant} %>
<% end %>
<% if stage != "Complete" and controller.controller_name == 'submitted_content' %>
<%= form_tag :action=>'submit_hyperlink', :id => participant.id do %>
<b>Sub... | <% if participant.get_hyperlinks.try(:length) || 0 > 0 %>
<%= render :partial => 'submitted_content/hyperlink', :locals => {:participant => participant} %>
<% end %>
<% if stage != "Complete" and controller.controller_name == 'submitted_content' %>
<%= form_tag :action=>'submit_hyperlink', :id => participant.id do %... | Allow for empty scores in view_my_scores | Allow for empty scores in view_my_scores
| HTML+ERB | mit | sid5788/expertiza,kira0992/expertiza,sid5788/expertiza,kira0992/expertiza,rmmaily/expertiza,akshayjain114/expertiza,redsock88/expertiza,expertiza/expertiza,akshayjain114/expertiza,kira0992/expertiza,ApertureScienceInnovators/expertiza,joshio1/expertiza,akshayjain114/expertiza,kira0992/expertiza,sid5788/expertiza,michae... |
b8f66db53989b17de9f83d67dc01252f75492f4d | jobs/splunk-forwarder/templates/ctl.sh.erb | jobs/splunk-forwarder/templates/ctl.sh.erb | #!/bin/bash
RUN_DIR=/var/vcap/sys/run/splunk-forwarder
LOG_DIR=/var/vcap/sys/log/splunk-forwarder
JOB_DIR=/var/vcap/jobs/splunk-forwarder
PACKAGE_DIR=/var/vcap/packages/splunk
PIDFILE=${RUN_DIR}/pid
case $1 in
start)
mkdir -p ${RUN_DIR} ${LOG_DIR}
mkdir -p ${PACKAGE_DIR}/etc/system/local
mkdir -p ${PAC... | #!/bin/bash
RUN_DIR=/var/vcap/sys/run/splunk-forwarder
LOG_DIR=/var/vcap/sys/log/splunk-forwarder
JOB_DIR=/var/vcap/jobs/splunk-forwarder
PACKAGE_DIR=/var/vcap/packages/splunk
PIDFILE=${RUN_DIR}/pid
case $1 in
start)
mkdir -p ${RUN_DIR} ${LOG_DIR}
mkdir -p ${PACKAGE_DIR}/etc/system/local
mkdir -p ${PAC... | Add restart command to ctl script | Add restart command to ctl script
| HTML+ERB | apache-2.0 | ntdt/splunk-firehose-nozzle-release,ntdt/splunk-firehose-nozzle-release |
b1c8cebc8e8d856d260e4d820af2e3de7c882dfe | files/gitlab-cookbooks/gitlab/templates/default/sv-sidekiq-run.erb | files/gitlab-cookbooks/gitlab/templates/default/sv-sidekiq-run.erb | #!/bin/sh
cd <%= node['gitlab'][@options[:rails_app]]['dir'] %>/working
exec 2>&1
<%= render("mount_point_check.erb") %>
exec chpst -e /opt/gitlab/etc/<%= @options[:rails_app] %>/env -P \
-U <%= @options[:user] %> -u <%= @options[:user] %> \
/opt/gitlab/embedded/bin/bundle exec sidekiq \
-q post_receive \
... | #!/bin/sh
cd <%= node['gitlab'][@options[:rails_app]]['dir'] %>/working
exec 2>&1
<%= render("mount_point_check.erb") %>
exec chpst -e /opt/gitlab/etc/<%= @options[:rails_app] %>/env -P \
-U <%= @options[:user] %> -u <%= @options[:user] %> \
/opt/gitlab/embedded/bin/bundle exec sidekiq \
-C /opt/gitlab/embedd... | Use a configuration file for Sidekiq | Use a configuration file for Sidekiq
This removes the need for specifying all the queues manually. This
depends on https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7006.
| HTML+ERB | apache-2.0 | gitlabhq/omnibus-gitlab,gitlabhq/omnibus-gitlab,gitlabhq/omnibus-gitlab,gitlabhq/omnibus-gitlab |
0297ed754859805187fe27ec11411f61c4ca293b | views/section.erb | views/section.erb | <section id="content" role="main" class="group ancillary section-page">
<header>
<h1>Browse GOV.UK — <%= @section.name %></h1>
</header>
<div class="browse-sections">
<%= include @section.slug %>
<% if @popular && @popular.size > 0 %>
<div class="popular results">
<h2>Popula... | <section id="content" role="main" class="group ancillary section-page">
<header>
<h1>Browse GOV.UK — <%= @section.name %></h1>
</header>
<div class="browse-sections">
<%= include @section.slug %>
<% if @popular && @popular.size > 0 %>
<div class="popular results">
<h2>Popula... | Fix case of heading on browse page. | Fix case of heading on browse page.
| HTML+ERB | mit | theodi/rummager,alphagov/rummager,alphagov/rummager,theodi/rummager |
f54d5c844217cf0f7f8474d7966db34a4af66edb | puppet/templates/wikidata-shared.php.erb | puppet/templates/wikidata-shared.php.erb | // Define custom namespaces. Use these exact constant names.
$wgNamespaceAliases['Item'] = NS_MAIN;
$wgNamespaceAliases['Item_talk'] = NS_TALK;
// Tell Wikibase which namespace to use for which kind of entity
$wgWBRepoSettings['entityNamespaces'][CONTENT_MODEL_WIKIBASE_ITEM] = NS_MAIN;
define( 'WB_NS_PROPERTY', 122 );... | // Define custom namespaces. Use these exact constant names.
$wgNamespaceAliases['Item'] = NS_MAIN;
$wgNamespaceAliases['Item_talk'] = NS_TALK;
// Tell Wikibase which namespace to use for which kind of entity
$wgWBRepoSettings['entityNamespaces']['wikibase-item'] = NS_MAIN;
define( 'WB_NS_PROPERTY', 122 );
define( 'WB... | Fix undefined values for wikidata config | Fix undefined values for wikidata config
CONTENT_MODEL_WIKIBASE_ITEM and CONTENT_MODEL_WIKIBASE_PROPERTY are not
necessarily defined at the point that the LocalSettings.php scripts are
being run.
Change-Id: I9e6ee6f15062920b9089fad68a34b2791c6ffbb5
| HTML+ERB | mit | HarriAlasi/wiki3dviewer,wikimedia/mediawiki-vagrant,ankita-kumari/mediawiki-vagrant,HarriAlasi/wiki3dviewer,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,stuartbman/mediawiki-vagrant,HarriAlasi/wiki3dviewer,wikimedia/mediawiki-vagrant,HarriAlasi/wiki3dviewer,HarriAlasi/wiki3dviewer,ankita-kumari/mediawiki-vag... |
12443713118579261ea345adba6220a9dd474101 | app/views/common_documents/_filter.html.erb | app/views/common_documents/_filter.html.erb | <div class="row btn-toolbar">
<div class="pull-right">
<input type="text" class="input-medium inline-block ontop" placeholder="filter" name="filter">
</div>
</div> | <div class="row btn-toolbar">
<div class="pull-right">
<input type="text" class="input-medium inline-block ontop" placeholder="filter" name="filter">
<div class="btn-group">
<%= link_to( '+'+t('options.add'), documents_path, :class => 'btn', :alt => t('options.add'), :title => t('options.add')) %>
... | Add +add button to repo files | Add +add button to repo files
| HTML+ERB | agpl-3.0 | ging/vish_orange,rogervaas/vish,agordillo/vish,ging/vish,suec78/vish_storyrobin,rogervaas/vish,ging/vish_orange,agordillo/vish,suec78/vish_storyrobin,agordillo/vish,suec78/vish_storyrobin,suec78/vish_storyrobin,ging/vish,ging/vish,nathanV38/vishTst,ging/vish_orange,ging/vish,rogervaas/vish,agordillo/vish,rogervaas/vish... |
24e0b29bac2593d0e11a0aafd5532fcfafe98e85 | generators/theme/templates/layout.html.erb | generators/theme/templates/layout.html.erb | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title></title>
<%%= theme_stylesheet_link_tag '<%= file_name %>' %>
</head>
<body>
<%%= @content_for_layout %>
</body>
</html> | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title></title>
<%%= theme_stylesheet_link_tag '<%= file_name %>' %>
</head>
<body>
<%= yield %>
</body>
</html> | Switch the sample layout to use yield rather than the old way | Switch the sample layout to use yield rather than the old way
| HTML+ERB | mit | jystewart/theme_support |
77064736698423105cb12dba6368dd39a51a9b60 | app/views/users/mailer/reset_password_instructions.html.erb | app/views/users/mailer/reset_password_instructions.html.erb | <p>Hello <%= @resource.email %>!</p>
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
<p><%= link_to 'Change my password', edit_password_url(@resource, :reset_password_token => @resource.reset_password_token) %></p>
<p>If you didn't request this, please ignore ... | <p>Hello <%= @resource.email %>!</p>
<p>Someone has requested a link to change your password, and you can do this through the link below.</p>
<p><%= link_to 'Change my password', edit_password_url(@resource, :reset_password_token => @token) %></p>
<p>If you didn't request this, please ignore this email.</p>
<p>Your ... | Fix password reset token to actually allow password resets. | Fix password reset token to actually allow password resets.
| HTML+ERB | apache-2.0 | mitre-cyber-academy/registration-app,mitre-cyber-academy/ctf-scoreboard,mitre-cyber-academy/ctf-scoreboard,mitre-cyber-academy/registration-app,mitre-cyber-academy/registration-app,mitre-cyber-academy/ctf-scoreboard,mitre-cyber-academy/ctf-scoreboard |
e0b596d3f0ebd6af0c672095b573b12b7f60fab5 | app/views/readings/index.html.erb | app/views/readings/index.html.erb | <p id="notice"><%= notice %></p>
<h1>Listing Readings</h1>
<table>
<thead>
<tr>
<th>Temperature</th>
<th>Humidity</th>
<th colspan="3"></th>
</tr>
</thead>
<tbody>
<% @readings.each do |reading| %>
<tr>
<td><%= reading.temperature %></td>
<td><%= reading.humi... | <p id="notice"><%= notice %></p>
<h1>Listing Readings</h1>
<table>
<thead>
<tr>
<th>Temperature</th>
<th>Humidity</th>
<th>Created</th>
<th colspan="3"></th>
</tr>
</thead>
<tbody>
<% @readings.each do |reading| %>
<tr>
<td><%= reading.temperature %></td>
... | Add date to Readings index | Add date to Readings index
| HTML+ERB | mit | chuckmitchell/basement-weather-server,chuckmitchell/basement-weather-server,chuckmitchell/basement-weather-server |
bbb8157970bf9591bd564629808fa4d3977b2b01 | app/views/contact_requests/create.html.erb | app/views/contact_requests/create.html.erb | <h1>Thanks</h1>
<p class="lead">
Thanks for getting in touch. We'll give you a call soon to discuss how we can work together.
</p> | <h1>Thank you</h1>
<p class="lead">
Thanks for getting in touch. We'll give you a call soon to discuss how we can work together.
</p> | Change 'thanks' to 'thank you' on confirmation pages | Change 'thanks' to 'thank you' on confirmation pages
Fixes #34
| HTML+ERB | mit | theodi/member-directory,theodi/member-directory,theodi/member-directory |
0df0c89563d450dc993bc6ddd4a991faa27fdf10 | app/views/shared/_issue_positions.html.erb | app/views/shared/_issue_positions.html.erb | <div class="row-fluid">
<% [:for, :for_and_against, :against].each do |key| %>
<div class="span4">
<h4 class="lead"><%= t "app.#{key}" %></h4>
<ul class="issue-list">
<% Array(issue_groups[key]).each do |issue| %>
<li>
<%= link_to issue do %>
<span class="is... | <div class="row-fluid">
<% [:for, :for_and_against, :against].each do |key| %>
<div class="span4">
<h4 class="lead"><%= t "app.#{key}" %></h4>
<ul class="issue-list">
<% Array(issue_groups[key]).each do |issue| %>
<li>
<%= link_to issue do %>
<span class="is... | Remove published state from issue_positions | Remove published state from issue_positions
| HTML+ERB | bsd-3-clause | holderdeord/hdo-site,holderdeord/hdo-site,holderdeord/hdo-site,holderdeord/hdo-site |
e71da8ad10f4b5cb805b4985bdc4384a691da7e2 | modules/govuk_jenkins/templates/jobs/smokey_deploy.yaml.erb | modules/govuk_jenkins/templates/jobs/smokey_deploy.yaml.erb | ---
- scm:
name: smokey_Smokey_Deploy
scm:
- git:
url: git@github.com:alphagov/smokey.git
branches:
- master
- job:
name: Smokey_Deploy
display-name: Smokey_Deploy
project-type: freestyle
properties:
- github:
url: https://github... | ---
- scm:
name: smokey_Smokey_Deploy
scm:
- git:
url: git@github.com:alphagov/smokey.git
branches:
- master
- job:
name: Smokey_Deploy
display-name: Smokey_Deploy
project-type: freestyle
properties:
- github:
url: https://github... | Remove suffix from monitoring-1 in Smokey deploy | Remove suffix from monitoring-1 in Smokey deploy
The hostname of this machine is longer than this, so let's just
call it `monitoring-1`.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
f38edfe9be3b45597efe1e37c84dae5c847f11be | app/views/applications/_form.html.erb | app/views/applications/_form.html.erb | <%= semantic_form_for @application do |f| %>
<%= f.semantic_errors %>
<%= f.inputs do %>
<%= f.input :name, label: "Name", input_html: { class: "input-xxlarge" } %>
<%= f.input :repo, label: "Repository", hint: "The location of the git repository",
input_html: { class: "input-xxlarge... | <%= semantic_form_for @application do |f| %>
<%= f.semantic_errors %>
<%= f.inputs do %>
<%= f.input :name, label: "Name", input_html: { class: "input-xxlarge" } %>
<%= f.input :repo, label: "GitHub Repository path", hint: "e.g. alphagov/publisher",
input_html: { class: "input-xxlarg... | Make Application edit form clearer | Make Application edit form clearer
| HTML+ERB | mit | alphagov/release,alphagov/release,alphagov/release |
5f7dec11b406571b77164769c5ff5abf21558481 | app/views/shared/_search_box.html.erb | app/views/shared/_search_box.html.erb | <div class="l-constrained">
<form class="search-box" action="<%= main_app.search_results_path %>" method="get" role="search">
<label class="visually-hidden"><%= t('search_box.label') %></label>
<input class="search-box__input" type="text" name="query" value="<%= params[:query] %>" placeholder="<%= t('search_box... | <div class="l-constrained">
<form class="search-box" action="<%= main_app.search_results_path %>" method="get" role="search">
<label class="visually-hidden"><%= t('search_box.label') %></label>
<input class="search-box__input" type="text" name="query" value="<%= params[:query] %>" placeholder="<%= t('search_b... | Add fix for fixed-width bug | Add fix for fixed-width bug
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
617981ba74614d65579ea21ffc76c69d61facd8b | config/templates.yml.erb | config/templates.yml.erb | aws:
name: <%= name %>----{{user `role`}}
type: amazon-ebs
access_key: <%= cloud.key %>
secret_key: <%= cloud.secret %>
region: <%= cloud.entry_point %>
instance_type: c3.large
ami_name: {{user `pattern_name`}}-{{user `image_name`}}-<%= os %>-{{uuid}}
ssh_username: <%= ssh_username %>
source_ami: <%= ... | aws:
name: <%= name %>----{{user `role`}}
type: amazon-ebs
access_key: <%= cloud.key %>
secret_key: <%= cloud.secret %>
region: <%= cloud.entry_point %>
instance_type: c3.large
ami_name: '{{user `pattern_name`}}-{{user `image_name`}}-<%= os %>-{{uuid}}'
ssh_username: <%= ssh_username %>
source_ami: <%... | Fix YAML to avoid parse error | Fix YAML to avoid parse error
| HTML+ERB | apache-2.0 | cloudconductor/cloud_conductor,cloudconductor/cloud_conductor,cloudconductor/cloud_conductor |
02ed0a72dc8fceef4e709766af7883a3275862fc | vendor/extensions/theme_default/app/views/shared/_products.html.erb | vendor/extensions/theme_default/app/views/shared/_products.html.erb | <%
paginated_products = Spree::Config.searcher.products if params.key?(:keywords)
paginated_products ||= products
%>
<% if products.empty? %>
<%= t(:no_products_found) %>
<% end %>
<% if products.any? %>
<ul class="product-listing">
<% products.each do |product| %>
<% if Spree::Config[:show_zero_stock_pr... | <%
paginated_products = Spree::Config.searcher.products if params.key?(:keywords)
paginated_products ||= products
%>
<% if products.empty? %>
<%= t(:no_products_found) %>
<% end %>
<% if products.any? %>
<ul class="product-listing">
<% products.each do |product| %>
<% if Spree::Config[:show_zero_stock_pr... | Use :total_pages for duck typing instead :paginate. | Use :total_pages for duck typing instead :paginate.
[#1142 state:resolved]
[#921 state:resolved]
| HTML+ERB | bsd-3-clause | sfcgeorge/spree,miyazawatomoka/spree,lzcabrera/spree-1-3-stable,kitwalker12/spree,firman/spree,FadliKun/spree,bonobos/solidus,Hawaiideveloper/shoppingcart,hoanghiep90/spree,bjornlinder/Spree,Arpsara/solidus,mleglise/spree,rbngzlv/spree,ahmetabdi/spree,vinayvinsol/spree,athal7/solidus,alejandromangione/spree,pjmj777/spr... |
95f0ef6fcbbf47fa764ea63c5b34f9fd61414943 | files/gitlab-cookbooks/gitlab/templates/default/smtp_settings.rb.erb | files/gitlab-cookbooks/gitlab/templates/default/smtp_settings.rb.erb | # This file is managed by gitlab-ctl. Manual changes will be
# erased! To change the contents below, edit /etc/gitlab/gitlab.rb
# and run `sudo gitlab-ctl reconfigure`.
if Rails.env.production?
Gitlab::Application.config.action_mailer.delivery_method = :smtp
ActionMailer::Base.smtp_settings = {
<% unless @smt... | # This file is managed by gitlab-ctl. Manual changes will be
# erased! To change the contents below, edit /etc/gitlab/gitlab.rb
# and run `sudo gitlab-ctl reconfigure`.
if Rails.env.production?
Gitlab::Application.config.action_mailer.delivery_method = :smtp
ActionMailer::Base.delivery_method = :smtp
ActionMail... | Set ActionMailer::Base.delivery_method to SMTP to make mail work | Set ActionMailer::Base.delivery_method to SMTP to make mail work
Mail was not being sent in 8.9 RC5
| HTML+ERB | apache-2.0 | gitlabhq/omnibus-gitlab,gitlabhq/omnibus-gitlab,gitlabhq/omnibus-gitlab,gitlabhq/omnibus-gitlab |
abb2bb74a78a8648cb40d46def24d7c2c0b9a0a3 | app/views/browse/_relation_member.html.erb | app/views/browse/_relation_member.html.erb | <tr>
<td><%
linked_name = link_to h(printable_name(relation_member.member)), { :action => relation_member.member_type.downcase, :id => relation_member.member_id.to_s }, :title => link_title(relation_member.member)
type_str = t'browse.relation_member.type.' + relation_member.member_type.downcase
%>
<s... | <%
member_class = link_class(relation_member.member_type.downcase, relation_member.member)
linked_name = link_to h(printable_name(relation_member.member)), { :action => relation_member.member_type.downcase, :id => relation_member.member_id.to_s }, :title => link_title(relation_member.member)
type_str = t'browse.r... | Tidy up addition of icons to relation members | Tidy up addition of icons to relation members
| HTML+ERB | agpl-3.0 | tillmo/do-roam,tillmo/do-roam,tillmo/do-roam,tillmo/do-roam,tillmo/do-roam,tillmo/do-roam |
ac5c809d20b8e2825e92235b23a1546b131d26a4 | app/views/team_zip_exports/report.html.erb | app/views/team_zip_exports/report.html.erb | <html>
<head>
<meta charset="utf-8">
<style type="text/css">
<%= Rails.application.assets_manifest.find_sources('application.css').first.to_s.html_safe %>
</style>
<title><%= title %></title>
</head>
<body class='print-report-body'>
<div class='print-report'>
<%= content.html_safe %>... | <html>
<head>
<meta charset="utf-8">
<style type="text/css">
<%= Rails.application
.assets_manifest
.find_sources('application.css')
.first
.to_s
.force_encoding(Encoding::UTF_8)
.html_safe %>
</style>
<tit... | Add force_encoding to export all report view template | Add force_encoding to export all report view template
| HTML+ERB | mpl-2.0 | Ducz0r/scinote-web,mlorb/scinote-web,Ducz0r/scinote-web,mlorb/scinote-web,Ducz0r/scinote-web,mlorb/scinote-web |
1e35760e8673870e7871f5e746799ecb7f828677 | app/views/finders/_finder_meta.html.erb | app/views/finders/_finder_meta.html.erb | <% if finder.description %>
<meta name="description" content="<%= finder.description %>">
<% end %>
| <% if finder.description %>
<meta name="description" content="<%= finder.description %>">
<% end %>
<link rel="alternate" type="application/json" href="/api/content<%= finder.slug %>">
| Add link rel="alternate" tags to finders | Add link rel="alternate" tags to finders
Pointing at the public content-store endpoint.
| HTML+ERB | mit | alphagov/finder-frontend,alphagov/finder-frontend,alphagov/finder-frontend,alphagov/finder-frontend |
732de8e5106b62dd765bc6c537537507615c6391 | lib/domgen/imit/templates/graph_enum.java.erb | lib/domgen/imit/templates/graph_enum.java.erb | /* DO NOT EDIT: File is auto-generated */
package <%= repository.imit.entity_package %>;
@javax.annotation.Generated( "Domgen" )
public enum <%= repository.imit.graph_enum_name %>
{
<%= repository.imit.graphs.collect {|g| Domgen::Naming.uppercase_constantize(g.name) } .join(",\n ") %>
}
| /* DO NOT EDIT: File is auto-generated */
package <%= repository.imit.entity_package %>;
@javax.annotation.Generated( "Domgen" )
public enum <%= repository.imit.graph_enum_name %>
{
<%= repository.imit.graphs.collect do |g|
elements = g.instance_root? ? g.reachable_entities.sort : g.type_roots
data = <<-DATA... | Document the set of entities in each replication graph | Document the set of entities in each replication graph
| HTML+ERB | apache-2.0 | realityforge/domgen,icaughley/domgen,icaughley/domgen,realityforge/domgen |
bcbd8b94f4758158b8f6b613de92dd76994acb6f | app/views/favorite_enterprises/index.html.erb | app/views/favorite_enterprises/index.html.erb | <div id="manage_favorite_enterprises">
<h1><%= _("%s's favorite enterprises") % profile.name %></h1>
<ul class="profile-list">
<% @favorite_enterprises.each do |enterprise| %>
<li>
<%= link_to_profile profile_image(enterprise) + '<br/>'.html_safe + enterprise.name,
enterprise.identifier,... | <div id="manage_favorite_enterprises">
<h1><%= _("%s's favorite enterprises") % profile.name %></h1>
<ul class="profile-list">
<% @favorite_enterprises.each do |enterprise| %>
<li>
<%= link_to_profile profile_image(enterprise) + '<br/>'.html_safe + enterprise.name,
enterprise.identifier,... | Remove label from 'remove' icon | favorite_enterprises: Remove label from 'remove' icon
| HTML+ERB | agpl-3.0 | AlessandroCaetano/noosfero,marcosronaldo/noosfero,blogoosfero/noosfero,LuisBelo/tccnoosfero,evandrojr/noosfero,abner/noosfero,alexandreab/noosfero,abner/noosfero,alexandreab/noosfero,samasti/noosfero,coletivoEITA/noosfero,tallysmartins/noosfero,evandrojr/noosfero,samasti/noosfero,blogoosfero/noosfero,evandrojr/noosfero... |
df7f7d8cab8bc3e360931311cbfd302a26495f88 | app/views/reject_mailer/reject_email.html.erb | app/views/reject_mailer/reject_email.html.erb | <h1>Hello <%= @invite.name %></h1>
<p>Unfortunately, <%= @invite.user.username %> has rejected your request to join their game at <%= @invite.game.arena.name %>.</p>
<p>Look for other games maybe?</p>
<a href="http://<%= ENV["SITE_URL"] %>/games" style="background-color:#EB7035;border:1px solid #EB7035;border-radius... | <h1>Hello <%= @invite.name %></h1>
<p>Unfortunately, <%= @invite.user.username %> has rejected your request to join their game.</p>
<p>Look for other games maybe?</p>
<a href="http://<%= ENV["SITE_URL"] %>/games" style="background-color:#EB7035;border:1px solid #EB7035;border-radius:3px;color:#ffffff;display:inline-... | Fix content in reject email | Fix content in reject email
| HTML+ERB | apache-2.0 | FarazPatankar/turfsurf,FarazPatankar/turfsurf,FarazPatankar/turfsurf |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.