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 |
|---|---|---|---|---|---|---|---|---|---|
1d4ce1c499269cc53d0e880df21ce0eda7d96e6a | plugins/people_block/views/blocks/members.html.erb | plugins/people_block/views/blocks/members.html.erb | <%= link_to c_('View all'), {:profile => profile.identifier, :controller => 'profile', :action => 'members'}, :class => 'view-all' %>
<% if show_join_leave_button %>
<%= render :partial => 'blocks/profile_info_actions/join_leave_community' %>
<% end %>
| <%= link_to c_('View all'), {:profile => profile.identifier, :controller => 'people_block_plugin_profile', :action => 'members', :role_key => role_key}, :class => 'view-all' %>
<% if show_join_leave_button %>
<%= render :partial => 'blocks/profile_info_actions/join_leave_community' %>
<% end %>
| Revert "people_block: do not use buggy view" | Revert "people_block: do not use buggy view"
This reverts commit 251caccbc384b1c89176233e0820b8db542f9184.
| HTML+ERB | agpl-3.0 | CIRANDAS/noosfero-ecosol,CIRANDAS/noosfero-ecosol,samasti/noosfero,blogoosfero/noosfero,samasti/noosfero,coletivoEITA/noosfero-ecosol,EcoAlternative/noosfero-ecosol,EcoAlternative/noosfero-ecosol,coletivoEITA/noosfero-ecosol,blogoosfero/noosfero,EcoAlternative/noosfero-ecosol,CIRANDAS/noosfero-ecosol,coletivoEITA/noosf... |
4d668accfd6a4e2730e417d54201449f799e541c | app/views/defence_requests/solicitors_search.js.erb | app/views/defence_requests/solicitors_search.js.erb | <% @solicitors.each do |solicitor| %>
$('.solicitor_results_list').append("<a href='#' class='list-group-item solicitor_result'>\
<h4 class='list-group-item-heading'><%= solicitor['name'] %></h4>\
<p class='list-group-item-text'><strong>Firm</strong> <%= solicitor['firm']['name'] %></p>\
<p class='l... | Append all the solicitor search results to a solicitor list | Append all the solicitor search results to a solicitor list
- For now, clicking on a result will just clear the list,
when linked up with the defence request form, we will populate
form fields based on the chosen solicitor.
| HTML+ERB | mit | ministryofjustice/defence-request-service,ministryofjustice/defence-request-service,ministryofjustice/defence-request-service,ministryofjustice/defence-request-service | |
f5bd9ea0d83c515a466f1b518863ed735dcff0c9 | app/views/rails_admin/main/_dragonfly_file.html.erb | app/views/rails_admin/main/_dragonfly_file.html.erb | <%= label_tag("#{field.abstract_model.to_param}_#{field.name}", field.label) %>
<div class="input">
<% if field.bindings[:object].send(field.name) %>
<div class="row">
<% if field.bindings[:object].send(field.name).mime_type.include? 'image' %>
<%= image_tag(field.bindings[:object].send(field.name).... | Add field partial which supports dragonfly file attachments | Add field partial which supports dragonfly file attachments
| HTML+ERB | mit | garytaylor/rails_admin,wkirschbaum/rails_admin,memaker/rails_admin,zapnap/rails_admin,FeipingHunag/admin,aravindgd/rails_admin,msobocin/rails_admin,DonCuponesInternet/rails_admin,Vinagility/rails_admin_old,sumitag/rails_admin,Furi/rails_admin,mshibuya/rails_admin,ombulabs/rails_admin,vincentwoo/rails_admin,viewthespace... | |
ddc8c361cfcb0713fd7113eba9b5507ccebf9403 | cookbooks/mongod/templates/default/mongodb.list.erb | cookbooks/mongod/templates/default/mongodb.list.erb | deb http://downloads.mongodb.org/distros/<%= node[:platform] %> <%= node[:platform_version].gsub(/\.0*/, '.') %> 10gen
| deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen
| Update mongo apt install to use upstart | Update mongo apt install to use upstart
| HTML+ERB | apache-2.0 | rgeyer/cookbooks_linux |
9e342fd7e000c3fe70c24916cc953b33163e4d56 | app/views/lists/new.html.erb | app/views/lists/new.html.erb | <h1>Make a new list</h1>
<%= form_for :list do |f| %>
List Name: <%= f.text_field :name %>
<%= f.submit %>
<% end %>
| <h1>Make a new list</h1>
<%= form_for @list do |f| %>
List Name: <%= f.text_field :name %>
<%= f.submit %>
<% end %>
| Use new @list in form | Use new @list in form
| HTML+ERB | mit | withtwoemms/stuff-i-buy,withtwoemms/stuff-i-buy,withtwoemms/stuff-i-buy |
c4d1923219fdf18aca0fea61e79426672f9a7268 | app/views/forem/subscription_mailer/new_topic.text.erb | app/views/forem/subscription_mailer/new_topic.text.erb | Hello, <%= @user %>!<br/>
New topic posted in the forum for <%= @course.title %>:
<br/>
<%= @topic.subject %> by <%= @topic.user %>
<br/>
<%=raw Forem.formatter.format(@post.text) %>
<%= link_to 'Click here', main_app.course_forum_topic_url(@course, @forum, @topic) %> to view.
Best Regards, <br/>
The Coursemology Te... | Hello, <%= @user %>!<br/>
New topic posted in the forum for <%= @course.title %>:
<br/>
<%= @topic.subject %> by <%= @topic.user %>
<br/>
<%=raw Forem.formatter.format(@post.text) %>
<br/>
<%= link_to 'Click here', main_app.course_forum_topic_url(@course, @forum, @topic) %> to view.
<br/>
Best Regards,
<br/>
The Co... | Fix layout in new post email | Fix layout in new post email
| HTML+ERB | mit | nnamon/coursemology.org,Coursemology/coursemology.org,allenwq/coursemology.org,nnamon/coursemology.org,nusedutech/coursemology.org,nnamon/coursemology.org,Coursemology/coursemology.org,dariusf/coursemology.org,Coursemology/coursemology.org,nusedutech/coursemology.org,dariusf/coursemology.org,Coursemology/coursemology.o... |
5c5e5679b33e481c5b81f838afe23fc446712361 | gitconfig.erb | gitconfig.erb | [color]
branch = auto
diff = auto
status = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[user]
name = Cri... | [color]
branch = auto
diff = auto
status = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[user]
name = Cri... | Add git alias to prune tags | Add git alias to prune tags
| HTML+ERB | mit | cristianstu/dotfiles,cristianstu/dotfiles,cristianstu/dotfiles |
647894eb98fb7c43054723543a061cd897b88843 | app/views/layouts/_footer.html.erb | app/views/layouts/_footer.html.erb | <footer class="footer">
<small>
Harrow Community Network
provided by <a href="http://www.voluntaryactionharrow.org.uk/">Voluntary Action Harrow <%= image_tag("VAHC-Small-Logo.png", :size =>"30x30", alt:"Voluntary Action Harrow") %></a>
</small>
</footer>
| <footer class="footer">
<small>
Harrow Community Network
provided by <a href="http://www.voluntaryactionharrow.org.uk/">Voluntary Action Harrow Co-operative <%= image_tag("VAHC-Small-Logo.png", :size =>"30x30", alt:"Voluntary Action Harrow Co-operative") %></a>
</small>
</footer>
| Change name of provider to include new Co-operative branding | Change name of provider to include new Co-operative branding
| HTML+ERB | mit | Aleks4ndr/LocalSupport,intfrr/LocalSupport,curlygirly/LocalSupport,tansaku/LocalSupport,curlygirly/LocalSupport,curlygirly/LocalSupport,curlygirly/LocalSupport,SergiosLen/LocalSupport,SergiosLen/LocalSupport,ZmagoD/LocalSupport,intfrr/LocalSupport,tansaku/LocalSupport,ZmagoD/LocalSupport,dsbabbar/LocalSupport,ZmagoD/Lo... |
1660733d81c565c0b472a6e1182da85ab6b35eb4 | cookbooks/ubuntu/templates/default/sources.list.erb | cookbooks/ubuntu/templates/default/sources.list.erb | #
# Ubuntu <%= @code_name %> - Generated by Chef
#
deb <% if @architectures -%><%= @architectures %><% end -%><%= @archive_url %> <%= @code_name %> main restricted universe multiverse
<% if @include_source_packages -%>deb-src <%= @archive_url%> <%= @code_name %> main restricted universe multiverse<% end -%>
deb <% if... | #
# Ubuntu <%= @code_name %> - Generated by Chef
#
deb <% if @architectures -%><%= @architectures.join(" ") %> <% end -%><%= @archive_url %> <%= @code_name %> main restricted universe multiverse
<% if @include_source_packages -%>deb-src <%= @archive_url%> <%= @code_name %> main restricted universe multiverse<% end -%>... | Fix spacing and use a join to support multiple platforms | Fix spacing and use a join to support multiple platforms
| HTML+ERB | apache-2.0 | scottymarshall/rundeck,scottymarshall/rundeck,scottymarshall/rundeck |
f49a632ff80839a98ef727e6f2942db0680ff68c | app/views/module_proposal_mailer/confirmation.html.erb | app/views/module_proposal_mailer/confirmation.html.erb | <h1>We received your module proposal!</h1>
<p>
Hello <%= @proposal.first_name %>,
</p>
<p>
Thanks for submitting a module proposal. The College STAR team will next meet on September 9th to discuss module production for Fall 2016 and Spring 2017. We will reach out if your topic is selected. Thank you for all of your ha... | <h1>We received your module proposal!</h1>
<p>
Hello <%= @proposal.first_name %>,
</p>
<p>
Thanks for submitting a module proposal. The College STAR team will next meet on December 2nd to discuss module production for Spring and Summer 2017. We will reach out if your topic is selected. Thank you for all of your hard w... | Update text on module proposal confirmation email | Update text on module proposal confirmation email
| HTML+ERB | mit | CollegeSTAR/collegestar_org,CollegeSTAR/collegestar_org,CollegeSTAR/collegestar_org |
cc49e6d08bca268a79e94508b103dfa3315c636e | app/views/detour/flags/index.html.erb | app/views/detour/flags/index.html.erb | <h1><%= params[:flaggable_type].classify %> Flags</h1>
<table class="table table-striped">
<thead>
<tr>
<th>Feature</th>
</tr>
</thead>
<tbody>
<% @features.each do |feature| %>
<tr>
<td><%= feature %></td>
</tr>
<% end %>
</body>
</table>
| <h1><%= params[:flaggable_type].classify %> Flags</h1>
<table class="table table-striped">
<thead>
<tr>
<th>Feature</th>
</tr>
</thead>
<tbody>
<% @features.each do |feature| %>
<tr>
<td><%= feature %></td>
</tr>
<% end %>
</tbody>
</table>
| Fix DOM typo in flags/index | Fix DOM typo in flags/index
| HTML+ERB | mit | jclem/detour,jclem/detour |
b3d285573ce4720f888d60a2893c390421779cf0 | app/views/links/_link_fields.html.erb | app/views/links/_link_fields.html.erb | <div id="<%= dom_id(f.object) %>">
<div class="small-12 column">
<%= f.text_field :label, placeholder: t("links.link_fields.label_placeholder") %>
<%= f.text_field :url, placeholder: t("links.link_fields.url_placeholder") %>
</div>
<div class="small-6 column">
<%= f.check_box :open_in_new_tab, label... | <div id="<%= dom_id(f.object) %>" class="nested-fields">
<div class="small-12 column attachment-actions">
<%= f.text_field :label, placeholder: t("links.link_fields.label_placeholder") %>
<%= f.text_field :url, placeholder: t("links.link_fields.url_placeholder") %>
<div class="action-remove text-right">... | Fix cancel action on link fields form | Fix cancel action on link fields form
| HTML+ERB | agpl-3.0 | usabi/consul_san_borondon,AyuntamientoPuertoReal/decidePuertoReal,usabi/consul_san_borondon,consul/consul,consul/consul,consul/consul,AyuntamientoPuertoReal/decidePuertoReal,usabi/consul_san_borondon,usabi/consul_san_borondon,consul/consul,consul/consul,AyuntamientoPuertoReal/decidePuertoReal |
739b7204bae2d295a0fce42edcd45eaf30b8e85f | cookbooks/nagios/templates/default/hosts.cfg.erb | cookbooks/nagios/templates/default/hosts.cfg.erb | # Generated by Chef
# host definitions
define host {
use server
address <%= node['ipaddress'] %>
host_name <%= node['hostname'] %>
hostgroups <%= node['nagios']['server_role'] %>
}
<% @nodes.each do |n| -%>
<% unless n.name == node.name -%>
define host {
use server
address <%= n['ipaddress'] %>
host_nam... | # Generated by Chef
# host definitions
define host {
use server
address <%= node['ipaddress'] %>
host_name <%= node['hostname'] %>
hostgroups <%= node['nagios']['server_role'] %>
}
<% @nodes.each do |n| -%>
<% unless n.name == node.name -%>
define host {
use server
address <%= n['ipaddress'] %>
host_nam... | Add the nodes to the host groups for their chef environment | Add the nodes to the host groups for their chef environment
Former-commit-id: bf99773e90094b43b6b9dbd88136e31a5bb12724 [formerly cc5169fca1b082a2c9abeb85a65501bb7beddf3e] [formerly a9692976509dc15f0363fae115ba1073fb18c395 [formerly 23740035bc192675a46b38ab2de23aa575785b15]]
Former-commit-id: cedfc4d0aa96984bc9f7e4bda... | HTML+ERB | apache-2.0 | ARentz07/rundeck,marthag8/rundeck,ARentz07/rundeck,ronabop/rundeck,edwlarkey/rundeck,marthag8/rundeck,tas50/rundeck,edwlarkey/rundeck,marthag8/rundeck,tas50/rundeck,ARentz07/rundeck,ronabop/rundeck,edwlarkey/rundeck,ronabop/rundeck,tas50/rundeck |
7e8a58ef01e312203357bb69bb862c0938d620b4 | app/views/calculators/adjustable_income/_form.html.erb | app/views/calculators/adjustable_income/_form.html.erb | <%
form = local_assigns[:form]
errors = form&.errors
%>
<h2 id="calculator">Estimate how much you could get</h2>
<%= render 'calculators/error_summary', messages: errors&.messages if form&.invalid? %>
<form action="/adjustable-income/estimate#form" method="get">
<%= render 'calculators/form_input_currency',
... | <%
form = local_assigns[:form]
errors = form&.errors
%>
<h2 id="calculator">Estimate how much you could get</h2>
<%= render 'calculators/error_summary', messages: errors&.messages if form&.invalid? %>
<form action="/adjustable-income/estimate#form" method="get">
<%= render 'calculators/form_input_currency',
... | Update adjustable income calculator copy | Update adjustable income calculator copy
Removed retire after guider feedback. Changed to '...take your money?' | HTML+ERB | mit | guidance-guarantee-programme/pension_guidance,guidance-guarantee-programme/pension_guidance,guidance-guarantee-programme/pension_guidance |
4e1c2ef3c2cde7f24ac7afb3dfc6d69d78a795c7 | app/views/votes/_previous_vote_results.html.erb | app/views/votes/_previous_vote_results.html.erb | <div id="previous-vote" class="pure-u-1-6">
<div class="previous-winner">
<div class="score">
<%= @prev_winner.name %>
<%= @prev_winner_score %>
</div>
</div>
<div class="previous-loser">
<div class="score">
<%= @prev_loser.name %>
<%= @prev_loser_score %>
</div>
</div>
<... | Make partial for previous vote results | Make partial for previous vote results
| HTML+ERB | mit | pdynowski/best-thing-ever,pdynowski/best-thing-ever,pdynowski/best-thing-ever | |
bf8554e60cb856bb9e9c21b90997f84ca4902f8a | app/views/layouts/application/_form_errors.html.erb | app/views/layouts/application/_form_errors.html.erb | <% if object.errors.any? %>
<div>
<h3>
<%= pluralize(object.errors.count, 'error') %> was found
</h3>
<ul>
<% object.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
<% end %>
</ul>
</div>
<% end %>
| <% if object.errors.any? %>
<div class="error_explanation">
<h3>
<%= pluralize(object.errors.count, 'error') %> were found
</h3>
<ul>
<% object.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
<% end %>
</ul>
</div>
<% end %>
| Replace strong tag with an h3 | Replace strong tag with an h3
| HTML+ERB | mit | Dom-Mc/fetch_it,Dom-Mc/fetch_it,Dom-Mc/fetch_it |
75635cceec15c21334ef4af5103cf477a2aeca4a | app/views/votes/_vote.erb | app/views/votes/_vote.erb | <div class="vote-form votebar" id='vote-form'>
<form class='button-form' method="post" action='/<%= voteable.class.name.downcase %>s/<%= voteable.id %>/upvote' class="inline">
<button class="upvote" type="submit" name="upvote" class="vote-button" id="upvote-button"></button>
</form>
<p>
<span class='vot... | <div class="vote-form votebar" id='vote-form'>
<form class='button-form' method="post" action='/<%= voteable.class.name.downcase %>s/<%= voteable.id %>/upvote' class="inline">
<button class="upvote" type="submit" name="upvote" class="vote-button" id="upvote-button"></button>
</form>
<p>
<span class='vot... | Use Voteable module get_score method instead of helper method | Use Voteable module get_score method instead of helper method
| HTML+ERB | mit | katekourbatova/helium-overflow,katekourbatova/helium-overflow,katekourbatova/helium-overflow |
2b6896222e1038c9571d51e364c4787016891ae9 | app/views/media_objects/_dropbox_details.html.erb | app/views/media_objects/_dropbox_details.html.erb | <%#
Copyright 2011-2013, The Trustees of Indiana University and Northwestern
University. Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless requ... | <%#
Copyright 2011-2013, The Trustees of Indiana University and Northwestern
University. Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless requ... | Remove binding and change file join to URI join | Remove binding and change file join to URI join
| HTML+ERB | apache-2.0 | tessafallon/dhf,tessafallon/dhf,tessafallon/dhf |
af91357fb287d3fd69c87d0b63a958e7093d10e3 | jobs/bits-service/templates/dns_health_check.erb | jobs/bits-service/templates/dns_health_check.erb | #!/bin/bash
nc -z 127.0.0.1 <%= p('bits-service.tls.port') %>
# http://www.consul.io/docs/agent/checks.html
if [ $? -ne 0 ]; then
exit 2 # Exit higher than 1 to ensure service is registered as 'critical'
fi
| #!/bin/bash
openssl s_client -connect localhost:<%= p('bits-service.tls.port') %>
# http://www.consul.io/docs/agent/checks.html
if [ $? -ne 0 ]; then
exit 2 # Exit higher than 1 to ensure service is registered as 'critical'
fi
| Use openssl instead of nc for health check | Use openssl instead of nc for health check
This should kill the ugly handshake errors that we currently see in the log files.
[#158140121]
| HTML+ERB | apache-2.0 | cloudfoundry-incubator/bits-service-release,cloudfoundry-incubator/bits-service-release,cloudfoundry-incubator/bits-service-release,cloudfoundry-incubator/bits-service-release |
d409c5ed9f2fe8df01cf68af880f6ab0635232ae | app/views/spree/admin/translations/page.html.erb | app/views/spree/admin/translations/page.html.erb | <% content_for :page_title do %>
<%= Spree.t(:editing_page) %> <span class="green">"<%= @page.title %>"</span>
<% end %>
<% content_for :page_actions do %>
<%= button_link_to Spree.t(:back_to_page_list), spree.admin_pages_path, :icon => 'icon-arrow-left' %>
<% end %>
<%= render :partial => 'spree/shared/error_mes... | <% content_for :page_title do %>
<%= Spree.t(:editing_page) %> <span class="green">"<%= @page.title %>"</span>
<% end %>
<% content_for :page_actions do %>
<%= button_link_to Spree.t(:back_to_page_list), spree.admin_pages_path, :icon => 'arrow-left' %>
<% end %>
<%= render :partial => 'spree/shared/error_messages... | Fix icon button on translations page | Fix icon button on translations page
| HTML+ERB | bsd-3-clause | spree-contrib/spree_static_content,spree-contrib/spree_static_content,spree-contrib/spree_static_content |
3361e1ca61273d7872a5a96a2f86a3115af2a173 | app/views/car_campaigns/show.cy.html.erb | app/views/car_campaigns/show.cy.html.erb | <%
meta_tags = {
canonical: campaigns_revealed_the_true_cost_of_buying_a_car_url(locale: :en),
alternate: {
en: campaigns_revealed_the_true_cost_of_buying_a_car_url(locale: :en),
cy: campaigns_edrychwch_cost_gwirioneddol_prynu_car_url(locale: :cy)
}
}.merge(t('.meta_tags'))
set_me... | <%
meta_tags = {
canonical: campaigns_revealed_the_true_cost_of_buying_a_car_url(locale: :en),
alternate: {
en: campaigns_revealed_the_true_cost_of_buying_a_car_url(locale: :en),
cy: campaigns_edrychwch_cost_gwirioneddol_prynu_car_url(locale: :cy)
}
}.merge(t('.meta_tags'))
set_me... | Correct alternative link for English Car campaign | Correct alternative link for English Car campaign | HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
0a87bc89839000c3aa7a3fc4d46766a681b450d7 | templates/default/teamcity-server.monitrc.erb | templates/default/teamcity-server.monitrc.erb | check process teamcity-server with pidfile <%= @pid_file %>
start program = "/etc/init.d/teamcity-server start"
stop program = "/etc/init.d/teamcity-server stop"
if failed host <%= @host %> port <%= @port %> protocol http
with timeout 60 seconds
for 10 cycles
then restart
group teamcity
| check process teamcity-server with pidfile <%= @pid_file %>
start program = "/etc/init.d/teamcity-server start"
stop program = "/etc/init.d/teamcity-server stop"
if failed host <%= @host %> port <%= @port %> protocol http
with timeout 60 seconds
for 20 cycles
then restart
group teamcity
| Increase cycles count for server | Increase cycles count for server
| HTML+ERB | apache-2.0 | andreychernih/chef-teamcity,RelateIQ-chef/chef-teamcity,RelateIQ-chef/chef-teamcity,andreychernih/chef-teamcity,RelateIQ-chef/chef-teamcity |
e086e308a517e95addaa6ee829ad00ec33f0380c | app/views/csv_export_mailer/csv_download.html.erb | app/views/csv_export_mailer/csv_download.html.erb | <p>Your Quill report has arrived!</p>
<h3><a href="<%=@download_url%>" download="Quill_CSV">Link To CSV</a></h3>
<p>If your report does not automatically download upon clicking the above link, please follow these directions:</p>
<ol>
<li>Vist the link at the bottom of these instructions.</li>
<li>Select "File" -> "... | <p>Your Quill report has arrived!</p>
<p>Please follow these directions to view the data:</p>
<ol>
<li>Vist the link at the bottom of these instructions.</li>
<li>Select "File" -> "Save As” or “Save Page As" to download.</li>
<li>Open the CSV file in Excel or Google Sheets.</li>
</ol>
<h3><%= link_to 'Link To CSV... | Revert "improvements to CSV download" | Revert "improvements to CSV download"
This reverts commit d662140b68f598834dcb05d4bcf349a7b366370f. | HTML+ERB | agpl-3.0 | empirical-org/Empirical-Core,empirical-org/Empirical-Core,empirical-org/Empirical-Core,empirical-org/Empirical-Core,empirical-org/Empirical-Core,empirical-org/Empirical-Core,empirical-org/Empirical-Core |
8bcf52b62ff30b8023e90116d28533d3b1d0be94 | app/views/management/dataset_steps/metadata.html.erb | app/views/management/dataset_steps/metadata.html.erb | <%= javascript_pack_tag 'application' %>
<div class="c-extended-header">
<div class="wrapper">
<div class="description">
<h1>Metadata</h1>
<p />
</div>
</div>
</div>
<%= render partial: 'shared/navigation_header', locals: {form_steps: wizard_steps, id: @dataset.id, current_step: step, step_nam... | <%= javascript_pack_tag 'application' %>
<div class="c-extended-header">
<div class="wrapper">
<div class="description">
<h1>Metadata</h1>
<p />
</div>
</div>
</div>
<%= render partial: 'shared/navigation_header', locals: {form_steps: wizard_steps, id: @dataset.id, current_step: step, step_nam... | Remove continue button on the metadata section | Remove continue button on the metadata section
| HTML+ERB | mit | Vizzuality/forest-atlas-landscape-cms,Vizzuality/forest-atlas-landscape-cms,Vizzuality/forest-atlas-landscape-cms,Vizzuality/forest-atlas-landscape-cms |
f2365de426e331b59980640f90deaeef8bf46f86 | app/views/profile/_profile_scrap_reply_form.html.erb | app/views/profile/_profile_scrap_reply_form.html.erb | <div id='profile-wall-reply-<%= scrap.id%>' style='display:none'>
<div id='profile-wall-reply-form-<%= scrap.id%>' style='display:none'>
<p class='profile-wall-reply'>
<%= form_remote_tag :url => {:controller => 'profile', :action => 'leave_scrap'}, :update => "profile_activities", :html => { :class => 'pro... | <div id='profile-wall-reply-<%= scrap.id%>' style='display:none'>
<div id='profile-wall-reply-form-<%= scrap.id%>' style='display:none'>
<p class='profile-wall-reply'>
<%= form_remote_tag :url => {:controller => 'profile', :action => 'leave_scrap'}, :update => "profile_activities", :html => { :class => 'pro... | Update profile activities when leave scraps | Update profile activities when leave scraps
| HTML+ERB | agpl-3.0 | evandrojr/noosferogov,evandrojr/noosferogov,evandrojr/noosferogov,evandrojr/noosferogov,evandrojr/noosferogov,evandrojr/noosferogov,evandrojr/noosferogov |
4049a15f41ecc2448e81023bc8f974c50801c701 | app/views/visitor/partials/index/sign_in/_form.html.erb | app/views/visitor/partials/index/sign_in/_form.html.erb | <%= form_tag sessions_path, class: "index-sign-in-form" do %>
<% if flash[:error] %>
<%= render partial: 'visitor/partials/index/sign_in/flash_error' %>
<% end %>
<div class="form-group">
<%= label_tag :username %>
<%= text_field_tag :username, '', class: "form-control index-sign-in-form-input" %>
</div>
... | <%= form_tag sessions_path, class: "index-sign-in-form" do %>
<% if flash[:error] %>
<%= render partial: 'visitor/partials/index/sign_in/flash_error' %>
<% end %>
<div class="form-group">
<%= label_tag :username %>
<%= text_field_tag :username, '', class: "form-control index-sign-in-form-input" %>
</div>
... | Change sign in form password field to password type | Change sign in form password field to password type
| HTML+ERB | mit | lair001/samuel-lair-portfolio,lair001/samuel-lair-portfolio,lair001/samuel-lair-portfolio |
aaa1385c781578442d74f55653f4ed523fba4813 | lib/generators/webpack_support_rails/templates/initializer.erb | lib/generators/webpack_support_rails/templates/initializer.erb | # Forces the webpack manifest to be updated on every page request.
# Set to true for development
# Set to false in production to increase response speed
# Default: true
WebpackSupportRails.update_webpack_manifest_every_request = true
# When set to true, all js bundles will be loaded externally instead of inlined.
# De... | # Forces the webpack manifest to be updated on every page request.
# Set to true for development
# Set to false in production to increase response speed
# Default: !Rails.env.production?
WebpackSupportRails.update_webpack_manifest_every_request = !Rails.env.production?
# When set to true, all js bundles will be loaded... | Set default config to sensible values | Set default config to sensible values
| HTML+ERB | mit | SYPartners/webpack_support_rails,SYPartners/webpack_support_rails,SYPartners/webpack_support_rails |
f1bb793185ab6554d2b7db81497a26e2b0dc1275 | templates/.kitchen.yml.erb | templates/.kitchen.yml.erb | ---
driver_plugin: vagrant
driver_config:
require_chef_omnibus: true
platforms:
- name: ubuntu-14.04
suites:
- name: <%= cookbook_name %>-default
run_list:
- recipe[<%= cookbook_name %>]
| ---
driver_plugin: vagrant
driver_config:
require_chef_omnibus: true
platforms:
- name: ubuntu-14.04
suites:
- name: default
run_list:
- recipe[<%= cookbook_name %>]
| Rollback default kitchen suite's name | Rollback default kitchen suite's name
My last change cause a mismatch between the suite's name in kitchen
configuration file and the created directory `test/integration/default`
There was no reason to rename this suite's name, I think it's preferable
to rollback it instead of dynamically create suite's directory.
| HTML+ERB | apache-2.0 | Numergy/knife-skeleton,Numergy/knife-skeleton |
24d442b696e61253c1d59965b406b391a948e55c | src/json/russian.json.erb | src/json/russian.json.erb | {
"title": "For Russian",
"rules": [
{
"description": "Change grave accent (`) to ё in Russian layout",
"manipulators": [
{
"conditions": [
{
"type": "input_source_if",
... | Add Russian rule: remap ` to ё | Add Russian rule: remap ` to ё
See https://github.com/tekezo/Karabiner-Elements/issues/100
| HTML+ERB | unlicense | pqrs-org/KE-complex_modifications,kamykaze/KE-complex_modifications,pqrs-org/KE-complex_modifications,pqrs-org/KE-complex_modifications,pqrs-org/KE-complex_modifications,kamykaze/KE-complex_modifications,pqrs-org/KE-complex_modifications,kamykaze/KE-complex_modifications,kamykaze/KE-complex_modifications,pqrs-org/KE-co... | |
8def935c63f1dca1e7391d4bab503fdab4865519 | vendor/plugins/refinery/app/views/shared/_menu_branch.html.erb | vendor/plugins/refinery/app/views/shared/_menu_branch.html.erb | <%
css = []
css << "selected" if selected_page?(menu_branch) or descendant_page_selected?(menu_branch)
css << "first" if menu_branch_counter == 0
css << "last" if menu_branch_counter == (sibling_count ||= menu_branch.shown_siblings.size)
domid = "item_#{menu_branch_counter}" unless menu_branch.parent_id.prese... | <%
css = []
css << "selected" if selected_page?(menu_branch) or descendant_page_selected?(menu_branch)
css << "first" if menu_branch_counter == 0
css << "last" if menu_branch_counter == (sibling_count ||= menu_branch.shown_siblings.size)
domid = "item_#{menu_branch_counter}" unless menu_branch.parent_id.prese... | Fix bug that was introduced that threw out page ordering in the menu | Fix bug that was introduced that threw out page ordering in the menu
| HTML+ERB | mit | kappiah/refinerycms,LytayTOUCH/refinerycms,chrise86/refinerycms,louim/refinerycms,bryanmtl/g-refinerycms,mlinfoot/refinerycms,hoopla-software/refinerycms,mobilityhouse/refinerycms,KingLemuel/refinerycms,Retimont/refinerycms,anitagraham/refinerycms,refinery/refinerycms,mkaplan9/refinerycms,LytayTOUCH/refinerycms,mojarra... |
dddcbd051718a29f3621eed1a2683431865048d0 | app/views/admin/administrators/_table.html.erb | app/views/admin/administrators/_table.html.erb | <table class="index-table">
<thead>
<tr>
<%= index_th :id %>
<%= index_th :title %>
<%= index_th :email %>
<%= actions_th %>
</tr>
</thead>
<tbody>
<% @resources.each do |resource| %>
<tr>
<%= index_td resource, :id %>
<%= index_td resource, :name %>
... | <table class="index-table">
<thead>
<tr>
<%= index_th :id %>
<%= index_th :title %>
<%= index_th :organization %>
<%= index_th :email %>
<%= actions_th %>
</tr>
</thead>
<tbody>
<% @resources.each do |resource| %>
<tr>
<%= index_td resource, :id %>
<... | Add org name to admin table columns | Add org name to admin table columns
| HTML+ERB | mit | Threespot/tolaria,Threespot/tolaria,Threespot/tolaria |
1ce4e4aad53bac35055ea47aed71a2341a3cc66e | app/views/smart_answers/custom_result.html.erb | app/views/smart_answers/custom_result.html.erb | <% # this custom result template is currently tested on the next-steps-for-your-business flow %>
<% outcome = @presenter.current_node %>
<% content_for :outcome_title do %>
<% if outcome.title.present? %><%= outcome.title %><% else %>Outcome<% end %>
<% end %>
<% content_for :head do %>
<meta name="robots" content=... | <% # this custom result template is currently tested on the next-steps-for-your-business flow %>
<% outcome = @presenter.current_node %>
<% content_for :outcome_title do %>
<% if outcome.title.present? %><%= outcome.title %><% else %>Outcome<% end %>
<% end %>
<% content_for :head do %>
<meta name="robots" content=... | Add change answer link to custom result page | Add change answer link to custom result page
| HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
73aa3f14dd7f31bdd5cb51953930ca0b8d154f9a | app/views/guides/show/_guide_controllers.html.erb | app/views/guides/show/_guide_controllers.html.erb | <div class="guide-controls">
<% if @guide.owned_by?(current_user) %>
<%= link_to(icon('edit') + " Edit Guide", {:action => 'edit'}, :class=>'button tiny secondary edit-link') %>
<%= link_to(icon('trash') + t('.delete_guide'), guide_path(@guide), :method => 'delete', :class=>'button tiny secondary edit-link') %>
<... | <div class="guide-controls">
<% if @guide.owned_by?(current_user) %>
<%= link_to(icon('edit') + " Edit Guide", {:action => 'edit'}, :class=>'button tiny secondary edit-link') %>
<%= link_to(icon('trash') + t('.delete_guide'), guide_path(@guide), method: 'delete', class: 'button tiny secondary edit-link', data: {con... | Add delete confirm on show page | Add delete confirm on show page
| HTML+ERB | mit | roryaronson/OpenFarm,tomazin/OpenFarm,openfarmcc/OpenFarm,CloCkWeRX/OpenFarm,CloCkWeRX/OpenFarm,RickCarlino/OpenFarm,roryaronson/OpenFarm,simonv3/OpenFarm,slacker87/OpenFarm,slacker87/OpenFarm,RickCarlino/OpenFarm,simonv3/OpenFarm,openfarmcc/OpenFarm,openfarmcc/OpenFarm,tomazin/OpenFarm,slacker87/OpenFarm,CloCkWeRX/Ope... |
28e507ceac24d1288e9d09557411ec9f0607001a | templates/site-config.erb | templates/site-config.erb | %% This file is managed by Puppet
%%
%% Parameters in this file will override those in sitename/config
%% "<%= scope.lookupvar('zotonic::listen_port').class %>" "<%= @port.class %>"
[
<% if scope.lookupvar('zotonic::listen_port') != @port -%>
{hostname, "<%= @hostname %>:<%= @port %>"},
<% else -%>
{hostname, "<%... | %% This file is managed by Puppet
%%
%% Parameters in this file will override those in sitename/config
%% "<%= scope.lookupvar('zotonic::listen_port').class %>" "<%= @port.class %>"
[
<% if scope.lookupvar('zotonic::listen_port') != @port -%>
{hostname, "<%= @hostname %>:<%= @port %>"},
<% else -%>
{hostname, "<%... | Fix hostalias config key name | Fix hostalias config key name
| HTML+ERB | mit | driebit/puppet-zotonic,driebit/puppet-zotonic |
2379311b1dfe82e2070f9f721fd96c716699a5c3 | sambao21_workstation/templates/default/dotgitconfig.erb | sambao21_workstation/templates/default/dotgitconfig.erb | [merge]
tool = vimdiff
[user]
name = Sam Bao
email = sambao21@gmail.com
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[mergetool "sourcetree"]
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitC... | [merge]
tool = vimdiff
[user]
name = Sam Bao
email = sambao21@gmail.com
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[mergetool "sourcetree"]
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitC... | Add osxkeychain credential helper to gitconfig | Add osxkeychain credential helper to gitconfig
| HTML+ERB | mit | sambao21/sambao21-sprout-wrap |
63721f91fbbc7bd3c87880107ac9e9a7b0d4116b | backend/app/views/spree/admin/shared/_locale_selection.html.erb | backend/app/views/spree/admin/shared/_locale_selection.html.erb | <div class="admin-locale-selection">
<% available_locales = Spree.i18n_available_locales %>
<% if available_locales.size > 1 %>
<select class="js-locale-selection custom-select fullwidth">
<%=
options_for_select(
available_locales.map do |locale|
[I18n.t('spree.i18n.this_file... | <% available_locales = Spree.i18n_available_locales %>
<% if available_locales.size > 1 %>
<div class="admin-locale-selection">
<select class="js-locale-selection custom-select fullwidth">
<%=
options_for_select(
available_locales.map do |locale|
[I18n.t('spree.i18n.this_file_l... | Move locale selection div inside if statement | Move locale selection div inside if statement
| HTML+ERB | bsd-3-clause | pervino/solidus,pervino/solidus,pervino/solidus,pervino/solidus |
5e30076eab7dbecfd247305cb8b4acc5e99207a6 | lib/views/general/_popup_banner.html.erb | lib/views/general/_popup_banner.html.erb | <% if Date.today < Date.parse('2017-03-21') %>
We're seeking more volunteers to help us run this site. <a href="https://www.mysociety.org/2017/02/23/could-you-join-the-whatdotheyknow-team?utm_source=whatdotheyknow.com&utm_medium=banner&utm_campaign=volunteers_feb_2017&utm_content=banner+join+volunteer">See our blog pos... | Add banner promoting call for volunteers | Add banner promoting call for volunteers
Deadline for applications is 20th March 2017, hence the date
conditional.
| HTML+ERB | mit | mysociety/whatdotheyknow-theme,mysociety/whatdotheyknow-theme,mysociety/whatdotheyknow-theme | |
ccf9563416b85c75090157d656d7674e7a3d8b2a | 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(" ") %>
DNSSEC=allow-downgrade
| [Resolve]
DNS=<%= node[:networking][:nameservers].join(" ") %>
FallbackDNS=1.1.1.1 9.9.9.10 8.8.8.8 2606:4700:4700::1111 2620:fe::10 2001:4860:4860::8888
Domains=<%= node[:networking][:search].join(" ") %>
DNSSEC=allow-downgrade
| Add a systemd-resolved FallbackDNS list | Add a systemd-resolved FallbackDNS list
The default in systemd for ubuntu in 18.04 is an empty fallback
list.
Use a reasonable list:
* Cloudflare (https://1.1.1.1/)
* Quad9 without filtering (https://www.quad9.net/)
* Google (https://developers.google.com/speed/public-dns/)
1.1.1.1
9.9.9.10
8.8.8.8
2606:4700:4700::1... | HTML+ERB | apache-2.0 | zerebubuth/openstreetmap-chef,openstreetmap/chef,Firefishy/chef,tomhughes/openstreetmap-chef,Firefishy/chef,Firefishy/chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,Firefishy/chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,Firefishy/chef,Firefishy/chef,openstreetmap/chef,tomhughes/opens... |
033e6994af4ce4cd58fe4744332c23501996cd5c | app/views/frontend_toolkit/_google_analytics.html.erb | app/views/frontend_toolkit/_google_analytics.html.erb | <% if BiolaFrontendToolkit.config.ga_enabled %>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window... | <% if BiolaFrontendToolkit.config.ga_enabled %>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window... | Add linker to ga script | Add linker to ga script
| HTML+ERB | mit | biola/biola-frontend-toolkit,biola/biola-frontend-toolkit,biola/biola-frontend-toolkit |
b8870dd95ad0f43d7d6c332927b70b4cff1c2005 | app/components/layout/locale_switcher_component.html.erb | app/components/layout/locale_switcher_component.html.erb | <div class="locale">
<form class="locale-form">
<label class="inline-block" for="locale-switcher">
<%= t("layouts.header.locale") %>
</label>
<select class="js-location-changer locale-switcher inline-block" name="locale-switcher" id="locale-switcher">
<% locales.map do |loc| %>
<option... | <div class="locale">
<form class="locale-form">
<label class="inline-block" for="locale-switcher">
<%= t("layouts.header.locale") %>
</label>
<select class="js-location-changer locale-switcher inline-block" name="locale-switcher" id="locale-switcher">
<% locales.map do |loc| %>
<option... | Add a `lang` attribute to language options | Add a `lang` attribute to language options
I'm not sure screen readers recognize this attribute inside `<option>`
tags, but if they do, it'll probably be helpful. And if they don't, no
harm will be done.
| HTML+ERB | agpl-3.0 | consul/consul,consul/consul,consul/consul,consul/consul,consul/consul |
c315ece8353c72a68ea7d8f06159d0fd406e5f1e | app/views/import_mailer/votes_today_email.html.erb | app/views/import_mailer/votes_today_email.html.erb | <h2>Saker med nye avstemninger for <%= l 1.day.ago, format: :text %></h2>
<ul>
<% @parliament_issues.each do |pi| %>
<li><%= link_to pi.summary, pi %></li>
<% end %>
</ul>
| <h2>Saker med nye avstemninger for <%= l 1.day.ago, format: :text %></h2>
<ul>
<% @parliament_issues.each do |pi| %>
<li><%= link_to pi.summary, parliament_issue_url(pi) %></li>
<% end %>
</ul>
| Fix links in import email: use url and not relative path. | Fix links in import email: use url and not relative path.
| HTML+ERB | bsd-3-clause | holderdeord/hdo-site,holderdeord/hdo-site,holderdeord/hdo-site,holderdeord/hdo-site |
908eb4dcb9d56bdef5404cef5ea56b3f6f43a7cd | app/views/layouts/obs_factory/application.html.erb | app/views/layouts/obs_factory/application.html.erb | <% @pagetitle = 'Factory Staging Dashboard'
@layouttype = 'custom'
%>
<% content_for :content_for_head do -%>
<%= stylesheet_link_tag 'obs_factory/application', media: 'all' %>
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
<% end -%>
<%= render :template... | <% @pagetitle = "#{@distribution.name} Staging Dashboard"
@layouttype = 'custom'
%>
<% content_for :content_for_head do -%>
<%= stylesheet_link_tag 'obs_factory/application', media: 'all' %>
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
<% end -%>
<%= re... | Replace Factory with distribution name in the page title | Replace Factory with distribution name in the page title
| HTML+ERB | mit | k0da/obs_factory,k0da/obs_factory,k0da/obs_factory |
7a94fbc1378102262bf95645bbea06383f4cd3f0 | app/views/coronavirus_landing_page/components/shared/_meta_tags.html.erb | app/views/coronavirus_landing_page/components/shared/_meta_tags.html.erb | <%
corona_opengraph_images ||= false
%>
<% content_for :is_full_width_header, true %>
<% content_for :title, @content_item["title"] %>
<% content_for :meta_tags do %>
<% page_url = File.join(request.base_url, request.path) %>
<meta property="og:type" content="website" />
<meta property="og:site_name" content="... | <%
corona_opengraph_images ||= false
%>
<% content_for :is_full_width_header, true %>
<% content_for :title, @content_item["title"] %>
<% content_for :meta_tags do %>
<% page_url = File.join(request.base_url, request.path) %>
<meta property="og:type" content="website" />
<meta property="og:site_name" content="... | Set landing page og image to default | Set landing page og image to default
| HTML+ERB | mit | alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections |
6e606e8370526d138b7a7c66191de63ae85ffeb3 | source/partials/_head.erb | source/partials/_head.erb | <meta charset="utf-8" />
<meta http-equiv='X-UA-Compatible' content='IE=edge;chrome=1' />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/png" href="images/favicon.png" />
<%= stylesheet_link_tag "site" %>
<%= javascript_include_tag "all" %>
<title>Nathan & Katelin Da... | <meta charset="utf-8" />
<meta http-equiv='X-UA-Compatible' content='IE=edge;chrome=1' />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/png" href="images/favicon.png" />
<%= stylesheet_link_tag "site" %>
<%# <%= javascript_include_tag "all", async: true %>
<title>Na... | Comment out javascript include tag for now | Comment out javascript include tag for now
| HTML+ERB | mit | speedy1812/daysinukraine.com,speedy1812/daysinukraine.com,speedy1812/daysinukraine.com,speedy1812/daysinukraine.com |
598a86b5f630cca37f7c002a5c94e4222cfbecff | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Helpful</title>
<%= stylesheet_link_tag "application", media: "all" %>
<%= stylesheet_link_tag "//fonts.googleapis.com/css?family=Montserrat:700|Lato:300,400,400italic,700" %>
<%= javascript_include_tag "application" %>
<%= javascript_include_tag "//js.pusher.com/2.1/pushe... | <!DOCTYPE html>
<html>
<head>
<title>Helpful</title>
<%= stylesheet_link_tag "application", media: "all" %>
<%= stylesheet_link_tag "//fonts.googleapis.com/css?family=Montserrat:700|Lato:300,400,400italic,700" %>
<%= javascript_include_tag "application" %>
<%= javascript_include_tag "//d3dy5gmtp8yhk7.cloudfro... | Use cloudfront pusher script over https | Use cloudfront pusher script over https
| HTML+ERB | agpl-3.0 | asm-helpful/helpful-web,nikhilmat/helpful-web,asm-helpful/helpful-web,nikhilmat/helpful-web,asm-helpful/helpful-web,nikhilmat/helpful-web,asm-helpful/helpful-web |
bc26a19bb8bc03921cad9edd425f62ae17036480 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<link rel="shortcut icon" href="/favicon.ico" />
<title><%= "Badi2010 - " + (content_for?(:title) ? content_for(:title) : controller.action_name) %></title>
<%= stylesheet_link_tag 'application', media: :all %>
... | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<link rel="shortcut icon" href="/favicon.ico" />
<title><%= "Badi2010 - " + (content_for?(:title) ? content_for(:title) : controller.action_name) %></title>
... | Add a hint for IE to use modern rendering | Add a hint for IE to use modern rendering
| HTML+ERB | bsd-3-clause | kreba/badifraubrunnen,kreba/badifraubrunnen,kreba/badifraubrunnen |
4bb5992cb51f0719298a1c9d28a78a4c34196028 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Secure DICOM Nodelist for OsiriX | OsiriX Nodes</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<nav class="... | <!DOCTYPE html>
<html>
<head>
<title>Secure DICOM Nodelist for OsiriX | OsiriX Nodes</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<nav class="... | Remove sign up link from toolbar | Remove sign up link from toolbar
| HTML+ERB | mit | bjoernalbers/osirixnodes,bjoernalbers/osirixnodes,bjoernalbers/osirixnodes |
54cb40c010a21af5c7eb10611f559888d8a24f4e | app/views/taxons/_page_header.html.erb | app/views/taxons/_page_header.html.erb | <div class="grid-row">
<div class="column-two-thirds">
<div class="page-header">
<h1>
<% if parent_taxon.present? %>
<span class="sub-heading">
<%= link_to parent_taxon.title, parent_taxon.base_path %>
</span>
<% end %>
<%= taxon.title %>
</h1>
... | <div class="grid-row">
<div class="column-two-thirds">
<div class="page-header">
<h1>
<span class="sub-heading">
<% if parent_taxon.present? %>
<%= link_to parent_taxon.title, parent_taxon.base_path %>
<% else %>
<%= link_to 'Home', Plek.find('www') %>
... | Add link to Home when no parent taxon exists | Add link to Home when no parent taxon exists
| HTML+ERB | mit | alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections |
20a1412879cd2215a62f79b6f42135965b657c77 | app/views/shared/_default_client_settings.html.erb | app/views/shared/_default_client_settings.html.erb | <script type="text/javascript">
window.DEFAULT_SETTINGS = {
apiUrl: '<%= application_base_url %>',
csrfToken: '<%= form_authenticity_token %>',
jwt: '<%= jwt_token %>'
};
</script>
| <%-
settings = {
apiUrl: application_base_url,
csrfToken: form_authenticity_token
}
if signed_in?
settings[:userId] = current_user.id
settings[:email] = current_user.email
settings[:displayName] = current_user.display_name
settings[:jwt] = jwt_token
end
%>
<script type="text/javascript">... | Use json for default settings. | Use json for default settings.
| HTML+ERB | mit | atomicjolt/adhesion,atomicjolt/lti_starter_app,atomicjolt/react_rails_starter_app,atomicjolt/react_rails_starter_app,atomicjolt/adhesion,atomicjolt/lti_starter_app,atomicjolt/react_rails_starter_app,atomicjolt/lti_starter_app,atomicjolt/react_rails_starter_app,atomicjolt/react_starter_app,atomicjolt/react_starter_app,a... |
c2675da6d7098160e064dacac1834ca0b570ab3c | app/views/shared/visualizations/_google_maps.html.erb | app/views/shared/visualizations/_google_maps.html.erb | <% if google_maps_qs.present? %>
<script type='text/javascript' src="//maps.google.com/maps/api/js?<%= google_maps_qs %>&v=3.26"></script>
<% end %>
| <% if google_maps_qs.present? %>
<script type='text/javascript' src="//maps.google.com/maps/api/js?<%= google_maps_qs %>&v=3.27"></script>
<% end %>
| Use Google Maps Javascript API v3.27 (stable) | Use Google Maps Javascript API v3.27 (stable)
| HTML+ERB | bsd-3-clause | CartoDB/cartodb,splashblot/dronedb,splashblot/dronedb,splashblot/dronedb,splashblot/dronedb,CartoDB/cartodb,CartoDB/cartodb,CartoDB/cartodb,splashblot/dronedb,CartoDB/cartodb |
29bc7574be76c643eab758f848e116b6c56e9d99 | app/views/backend/_tags.html.erb | app/views/backend/_tags.html.erb | <% stylesheet 'backend/tagit/tagit-autocomplete' %>
<% stylesheet 'backend/tagit/tagit' %>
<% javascript 'backend/tagit.min' %>
<% javascript 'backend/plugins/tagbox' %>
<% javascript 'backend/tags' %>
<% hide_label ||= true %>
<% locale ||= params[:translation_locale] ? params[:translation_locale] : nil %>
<fieldset... | <% stylesheet 'backend/tagit/tagit-autocomplete' %>
<% stylesheet 'backend/tagit/tagit' %>
<% javascript 'backend/tagit.min' %>
<% javascript 'backend/plugins/tagbox' %>
<% javascript 'backend/tags' %>
<% hide_label = local_assigns.has_key?(:hide_label) ? local_assigns[:hide_label] : true %>
<% locale = local_assigns.... | Use the correct way to check for local assigns. | Use the correct way to check for local assigns.
| HTML+ERB | mit | udongo/udongo,udongo/udongo,udongo/udongo |
60e144781b6959b2b04b337af0544fd48dc69cbb | app/views/comments/create.js.erb | app/views/comments/create.js.erb |
<% if @comment.errors.any? %>
sweetAlert("Oops...", "<%= @comment.errors.full_messages.to_sentence %>", "error");
<% else %>
$("#comment_comment").val("");
$("#<%= dom_id(@repo) %>").find(".commentList").prepend("<%=escape_javascript(render("repos/comment", :comment => @comment))%>");
$("#<%= dom_id(@c... |
<% if @comment.errors.any? %>
sweetAlert("Oops...", "<%= @comment.errors.full_messages.to_sentence %>", "error");
<% else %>
$("#comment-input").val("");
$("#<%= dom_id(@repo) %>").find(".commentList").prepend("<%=escape_javascript(render("repos/comment", :comment => @comment))%>");
$("#<%= dom_id(@com... | Fix clearing comment form after comment sent | Fix clearing comment form after comment sent
| HTML+ERB | apache-2.0 | beydogan/gitcussion,beydogan/gitcussion,beydogan/gitcussion |
7d3deeab7fa52d14b94eadecb9fbba9bf9866636 | app/views/tattoos/index.html.erb | app/views/tattoos/index.html.erb | <div class="row">
<div class="large-4 columns"></div>
<div class="small-12 large-8 columns">
<!-- <ul class="clearing-thumbs" data-clearing>
<% @tattoos.each do |tat| %>
<li><a class="th" href=<%= tat.image.url %>>
<img data-caption=<%= tat.why %>
src=<%= tat.image.url(:small) %>>
</... | <div class="row">
<div class="large-4 columns"></div>
<div class="small-12 large-8 columns">
<!-- <ul class="clearing-thumbs" data-clearing>
<% @tattoos.each do |tat| %>
<li><a class="th" href=<%= tat.image.url %>>
<img data-caption=<%= tat.why %>
src=<%= tat.image.url(:small) %>>
</... | Add block grid to organize pricing tables. | Add block grid to organize pricing tables.
| HTML+ERB | mit | CharlesMilam/tatalog,CharlesMilam/tatalog,CharlesMilam/tatalog |
0f270037ae63533799e25d943b16b14dfc919eaa | spec/dummy/app/views/layouts/application.html.erb | spec/dummy/app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<title><%= t("site.title", default: "Default Title") %></title>
<meta http-equiv="description" content="<%= t("site.meta_description", default: "") %>" />
<meta http-equiv="keywords" content="<%= t("site... | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<title><%= t("site.title", default: "Default Title") %></title>
<meta http-equiv="description" content="<%= t("site.meta_description", default: "") %>" />
<meta http-equiv="keywords" content="<%= t("site... | Fix dummy app navigation integration | Fix dummy app navigation integration
| HTML+ERB | mit | katalyst/koi,katalyst/koi,katalyst/koi |
f7ae813980ff1350feb4d55717605cb4e521502d | cookbooks/nagios/templates/default/hosts.cfg.erb | cookbooks/nagios/templates/default/hosts.cfg.erb | # Generated by Chef
# host definitions
define host {
use server
address <%= node['ipaddress'] %>
host_name <%= node['hostname'] %>
hostgroups <%= node['nagios']['server_role'] %>
}
<% @nodes.each do |n| -%>
<% unless n.name == node.name -%>
define host {
use server
address <%= n['ipaddress'] %>
host_nam... | # Generated by Chef
# host definitions
define host {
use server
address <%= node['ipaddress'] %>
host_name <%= node['hostname'] %>
hostgroups <%= node['nagios']['server_role'] %>
}
<% @nodes.each do |n| -%>
<% unless n.name == node.name -%>
define host {
use server
address <%= n['ipaddress'] %>
host_name ... | Fix formatting so the ERB writes out correctly | Fix formatting so the ERB writes out correctly
Former-commit-id: a358d315b6eb27c916c12839cc12d17f8d5d68b4 [formerly 9b5c7dac31254afa9a497616162f6fa4622e87fd] [formerly c2c12c072c85a3d42ad11b3b9f1865f9a0e19571 [formerly 6a0453a7558815ed8a59c8b10c5b60d2e4c58906]]
Former-commit-id: 6f8c8e9f0841c58384bb911fd7eefff1b94193... | HTML+ERB | apache-2.0 | tas50/rundeck,ARentz07/rundeck,edwlarkey/rundeck,edwlarkey/rundeck,marthag8/rundeck,edwlarkey/rundeck,marthag8/rundeck,marthag8/rundeck,ARentz07/rundeck,ronabop/rundeck,ARentz07/rundeck,ronabop/rundeck,tas50/rundeck,tas50/rundeck,ronabop/rundeck |
859d58bf580ea98258a32593e3d8b4be048ce756 | delivery/rails_app/app/views/dashboard/month.html.erb | delivery/rails_app/app/views/dashboard/month.html.erb | <div class="row">
<div class="span4">
<table id=categories class="table table-striped">
<% @categories.each do |category| %>
<tr>
<td class='category'><%= category[:category] %></td>
<td class='budget'><%= category[:budget] %></td>
<td class='spent'><%= category[:spent]... | <div class="row">
<div class="span4">
<table id=categories class="table table-striped">
<% @categories.each do |category| %>
<tr>
<td class='category'><%= category[:category] %></td>
<td class='budget'><%= category[:budget] %></td>
<td class='spent'><%= category[:spent]... | Tweak totals row on month dashboard | Tweak totals row on month dashboard
| HTML+ERB | mit | stevenjackson/finances,stevenjackson/finances |
2433b85e640979658130e55ce5c2e6fb98260564 | app/views/blocks/_show.html.erb | app/views/blocks/_show.html.erb | <% begin %>
<% classes = [] %>
<% classes << block.model_name.singular.dasherize %>
<% classes << 'block' %>
<% classes << (block.first? ? 'block--first' : '') %>
<% classes << (block.last? ? 'block--last' : '') %>
<% classes << "block-category--#{block.class.kind.category.to_s.parameterize}" %>
<% classe... | <% begin %>
<% classes = [] %>
<% classes << block.model_name.singular.dasherize %>
<% classes << 'block' %>
<% classes << (block.first? ? 'block--first' : '') %>
<% classes << (block.last? ? 'block--last' : '') %>
<% classes << "block-category--#{block.class.kind.category.to_s.parameterize}" %>
<% classe... | Add block record type class to blocks partial | Add block record type class to blocks partial
| HTML+ERB | mit | dylanfisher/forest,dylanfisher/forest,dylanfisher/forest |
4e6125e1869e90685a95fbecd68e4cd067ccc18c | app/views/notes/_notes.html.erb | app/views/notes/_notes.html.erb | <hr>
<h3>Notes</h3>
<% @page.notes.each do |note| %>
<p>
<%= note.body %>
<%= link_to "edit", edit_note_path(note) if note.user == current_user %>
<%= link_to "delete", note, :method => :delete, :confirm => "Are you sure?" if note.user == current_user %>
<br>
<i>by: <%= link_to(note.user.display_n... | <hr>
<h3>Notes</h3>
<% @page.notes.each do |note| %>
<p>
<%= note.body %>
<%= link_to "edit", edit_note_path(note) if note.user == current_user %>
<%= link_to "delete", note, :method => :delete, :confirm => "Are you sure?" if note.user == current_user %>
<br>
<i>
by: <%= link_to(note.user.dis... | Add relative time to comments on pages | Add relative time to comments on pages
| HTML+ERB | agpl-3.0 | benwbrum/fromthepage,benwbrum/fromthepage,benwbrum/fromthepage,benwbrum/fromthepage |
a19959c0a70512a9e8b5870322439a7e48f7faa9 | lib/views/public_body/_list_sidebar_extra.html.erb | lib/views/public_body/_list_sidebar_extra.html.erb | <p>
We aim to cover Federal and ACT public authorities with more State and local authorities coming soon.
</p>
<p>
<%= raw(_('<a href="%s">Are we missing a public authority?</a>') % [help_requesting_path + '#missing_body']) %>
</p>
<p>
<%= link_to _('List of all authorities (CSV)'), all_public_bodies_csv_url() %>... | <p>
We aim to cover Federal, ACT and NT public authorities with more State and local authorities coming soon.
</p>
<p>
<%= raw(_('<a href="%s">Are we missing a public authority?</a>') % [help_requesting_path + '#missing_body']) %>
</p>
<p>
<%= link_to _('List of all authorities (CSV)'), all_public_bodies_csv_url(... | Update Sidebar to include NT | Update Sidebar to include NT
| HTML+ERB | mit | openaustralia/righttoknow,openaustralia/righttoknow,openaustralia/righttoknow |
51a6c9832a7e10911d6d52a428d5848dca6ff5bd | app/views/simple_smart_answers/_current_question.html.erb | app/views/simple_smart_answers/_current_question.html.erb | <div class="step current">
<div class="current-question">
<h2><span class="question-number"><%= @flow_state.current_question_number %></span> <%= question.title %></h2>
<%= form_tag smart_answer_path_for_responses(@flow_state.completed_questions, :edition => nil), :method => :get do %>
<%= hidden_field... | <div class="step current">
<div class="current-question">
<h2><span class="question-number"><%= @flow_state.current_question_number %></span> <%= question.title %></h2>
<%= form_tag smart_answer_path_for_responses(@flow_state.completed_questions, :edition => nil), :method => :get do %>
<%= hidden_field... | Use preferred radio button style in simple smartansers | Use preferred radio button style in simple smartansers
As per http://govuk-elements.herokuapp.com/#guide-forms use radio buttons
with a large hit area indicated by a grey square. These are easier to select
with a mouse or touch devices.
| HTML+ERB | mit | alphagov/frontend,alphagov/frontend,alphagov/frontend,alphagov/frontend |
feab2e3c6fd5dbe495e6749ed5e19bd317d46cac | app/views/spree/return_requests_mailer/submitted.text.erb | app/views/spree/return_requests_mailer/submitted.text.erb | Thank you for submitting your return request.
Your request will be processed promptly.
| Thank you for submitting your return request.
Please allow a few days for processing.
Upon approval, you will receive an Return Authorization Number
and instructions for shipping.
| Add additional content to 'return request submitted' email | Add additional content to 'return request submitted' email
| HTML+ERB | bsd-3-clause | nicedawg/spree-return-requests,nicedawg/spree-return-requests,nicedawg/spree-return-requests |
2a82c9db44afd961e18f6a9f0c25d6e2a6124637 | lib/views/backend/spree/admin/shared/_navigation_footer.html.erb | lib/views/backend/spree/admin/shared/_navigation_footer.html.erb | <% if spree_current_user %>
<ul id="login-nav" class="inline-menu">
<li data-hook="user-logged-in-as"><%= Spree.t(:logged_in_as) %>: <%= spree_current_user.email %></li>
<li data-hook="user-account-link" class='fa fa-user'><%= link_to Spree.t(:account), spree.edit_user_path(spree_current_user) %></li>
<li... | <% if spree_current_user %>
<li data-hook="user-logged-in-as"><%= Spree.t(:logged_in_as) %>: <%= spree_current_user.email %></li>
<li data-hook="user-account-link" class='fa fa-user'><%= link_to Spree.t(:account), spree.edit_user_path(spree_current_user) %></li>
<li data-hook="user-logout-link" class='fa fa... | Swap .inline-menu for specific hook | Swap .inline-menu for specific hook
.inline-menu has some unfortunate baggage, we'll just add a class
to style this guy directly.
| HTML+ERB | bsd-3-clause | AngelChaos26/mandrill,mayankdedhia/solidus_auth_devise,mayankdedhia/solidus_auth_devise,solidusio/solidus_auth_devise,mayankdedhia/solidus_auth_devise,solidusio/solidus_auth_devise,solidusio/solidus_auth_devise,AngelChaos26/mandrill,AngelChaos26/mandrill |
c73a2e7e3d0a6af4c10c7509bd24a797f25cb67c | lib/omnibus/generator_files/config/projects/project.rb.erb | lib/omnibus/generator_files/config/projects/project.rb.erb | #
# Copyright <%= Time.now.year %> YOUR NAME
#
# All Rights Reserved.
#
name "<%= config[:name] %>"
maintainer "CHANGE ME"
homepage "https://CHANGE-ME.com"
install_dir "<%= config[:install_dir] %>"
build_version Omnibus::BuildVersion.semver
build_iteration 1
# creates required build directories
dependency "preparati... | #
# Copyright <%= Time.now.year %> YOUR NAME
#
# All Rights Reserved.
#
name "<%= config[:name] %>"
maintainer "CHANGE ME"
homepage "https://CHANGE-ME.com"
install_dir "<%= config[:install_dir] %>"
build_version Omnibus::BuildVersion.semver
build_iteration 1
# creates required build directories
dependency "preparati... | Fix the default exclude pattern in software to prefix ** | Fix the default exclude pattern in software to prefix **
| HTML+ERB | apache-2.0 | rapid7/omnibus,DataDog/omnibus-ruby,intfrr/omnibus,DataDog/omnibus-ruby,rhass/omnibus,chef/omnibus,pskrz/omnibus,jamesn/omnibus,strangelittlemonkey/omnibus,ashhher3/omnibus,higanworks/omnibus,rhass/omnibus,mattray/omnibus,hugosato/omnibus,pskrz/omnibus,lvfeng1130/omnibus,sh9189/omnibus,szechyjs/omnibus,mattray/omnibus,... |
aa554c003ec8b8a881ab0b785787db57798d46d0 | templates/default/sv-mq-worker-reviewtypo3org-run.erb | templates/default/sv-mq-worker-reviewtypo3org-run.erb | #!/bin/bash
exec 2>&1
echo 'mq-worker-gerrittypo3org starting.'
cd "<%= @options[:deploy_base] %>/current/"
exec chpst -ugerrit:gerrit \
bundle exec bin/worker
| #!/bin/bash
exec 2>&1
echo 'mq-worker-gerrittypo3org starting.'
cd "<%= @options[:deploy_base] %>/current/"
exec chpst -ugerrit:gerrit \
bundle exec bin/worker
| Remove indentation in runsv run file | Remove indentation in runsv run file
that costed me an hour.. idiot.
| HTML+ERB | apache-2.0 | TYPO3-cookbooks/site-reviewtypo3org,TYPO3-cookbooks/site-reviewtypo3org,TYPO3-cookbooks/site-reviewtypo3org,TYPO3-cookbooks/site-reviewtypo3org |
9c832d55c89bde7d2d3bb39afb064df5d87b30d9 | core/app/views/spree/admin/adjustments/index.html.erb | core/app/views/spree/admin/adjustments/index.html.erb | <%= render :partial => 'spree/admin/shared/order_tabs', :locals => { :current => 'Adjustments' } %>
<% content_for :page_title do %>
<i class="icon-arrow-right"></i> <%= t(:adjustment) %>
<% end %>
<% content_for :page_actions do %>
<li><%= button_link_to t(:new_adjustment), new_admin_order_adjustment_url(@ord... | <%= render :partial => 'spree/admin/shared/order_tabs', :locals => { :current => 'Adjustments' } %>
<% content_for :page_title do %>
<i class="icon-arrow-right"></i> <%= t(:adjustments) %>
<% end %>
<% content_for :page_actions do %>
<li><%= button_link_to t(:new_adjustment), new_admin_order_adjustment_url(@or... | Fix page title in adjustments/index | Fix page title in adjustments/index
| HTML+ERB | bsd-3-clause | jaspreet21anand/spree,SadTreeFriends/spree,TrialGuides/spree,archSeer/spree,Ropeney/spree,joanblake/spree,Hawaiideveloper/shoppingcart,wolfieorama/spree,rbngzlv/spree,Antdesk/karpal-spree,alvinjean/spree,berkes/spree,shaywood2/spree,TimurTarasenko/spree,caiqinghua/spree,ckk-scratch/solidus,kewaunited/spree,moneyspyder/... |
d6e902f51d5b0422fb47855d6435324481cfe9a1 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Guardian</title>
<%= csrf_meta_tags %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
<%= javascript_include_tag 'applicatio... | <!DOCTYPE html>
<html>
<head>
<title>Guardian</title>
<%= csrf_meta_tags %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
<%= javascript_include_tag 'applicatio... | Remove nav buttons from layout | Remove nav buttons from layout
| HTML+ERB | mit | ShawnTe/guardian,ShawnTe/guardian,ShawnTe/guardian |
45bb9b2f7a56d3ae4596901ff1b1b96eec8d19bf | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>DudeOverflow</title>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
<%= csrf_meta_tags %>
</head>
<body>
<% if flash[:notice] %>
<%= flash[:notice] %>
<% end %>
<%= yield %>
</body>
</html>
| <!DOCTYPE html>
<html>
<head>
<title>DudeOverflow</title>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
<%= csrf_meta_tags %>
</head>
<body>
<% if flash[:notice] %>
<%= flash[:notice] %>
<% end %>
<% if logged_in? %>
<p> Logged in as: <%= lin... | Add logout link if user is logged in | Add logout link if user is logged in
| HTML+ERB | mit | nyc-dragonflies-2015/DudeOverflow,nyc-dragonflies-2015/DudeOverflow,nyc-dragonflies-2015/DudeOverflow |
e4d04e9294f6516ffe08a5ef74216312eb9d67fd | app/views/manage/skills/_form.html.erb | app/views/manage/skills/_form.html.erb | <%= form_for ([:manage, @skill_category, @skill]), :html => { :class => 'form-horizontal' } do |f| %>
<div class="form-group">
<%= f.label :name, :class => 'control-label col-sm-2' %>
<div class="col-sm-10">
<%= f.text_field :name, :class => 'text_field form-control' %>
</div>
</div>
<div class=... | <%= form_for ([:manage, @skill_category, @skill]) do |f| %>
<div class="form-group">
<%= f.label :name, :class => 'control-label' %>
<%= f.text_field :name, :class => 'text_field form-control' %>
</div>
<div class="form-group">
<%= f.label :skill_category_id, :class => 'control-label' %>
<%= f.col... | Make skills form partial use vertical orientation, not horizontal | Make skills form partial use vertical orientation, not horizontal
Signed-off-by: Max Fierke <0706025b2bbcec1ed8d64822f4eccd96314938d0@maxfierke.com>
| HTML+ERB | apache-2.0 | maxfierke/resumis,maxfierke/resumis,maxfierke/resumis,maxfierke/resumis |
fca42cd13331c71fcfc959ee89f76197a6ce2cad | jobs/cf-mysql-broker/templates/quota-enforcer_ctl.erb | jobs/cf-mysql-broker/templates/quota-enforcer_ctl.erb | #!/bin/bash -e
set -e
job_dir=/var/vcap/jobs/cf-mysql-broker
run_dir=/var/vcap/sys/run/quota-enforcer
log_dir=/var/vcap/sys/log/quota-enforcer
package_dir=/var/vcap/packages/quota-enforcer
pidfile=$run_dir/quota-enforcer.pid
source /var/vcap/packages/common/utils.sh
case $1 in
start)
pid_guard $pidfile "quot... | #!/bin/bash -e
set -e
job_dir=/var/vcap/jobs/cf-mysql-broker
run_dir=/var/vcap/sys/run/quota-enforcer
log_dir=/var/vcap/sys/log/quota-enforcer
package_dir=/var/vcap/packages/quota-enforcer
pidfile=$run_dir/quota-enforcer.pid
source /var/vcap/packages/common/utils.sh
case $1 in
start)
pid_guard $pidfile "quot... | Write PID of quota-enforcer process rather than wrapper script. | Write PID of quota-enforcer process rather than wrapper script.
- Quota-enforcer process now writes own pid to pidfile
- Allows monit to kill and restart the enforcer process rather than the
wrapper
[Fixes #99640614]
Signed-off-by: Frank Kotsianas <46dc4204864162cbc55f90455292577144d430e9@pivotal.io>
| HTML+ERB | apache-2.0 | cloudfoundry/cf-mysql-release,cloudfoundry/cf-mysql-release,cloudfoundry/cf-mysql-release,cloudfoundry/cf-mysql-release |
4d510ef7c84ca3d4355eec1f1f27ba4862b82441 | views/new.erb | views/new.erb | <h2>Add new post</h2>
<p>
We will add new post here
</p> | <h2>Add new post</h2>
<p>
<form>
<textarea class="form-control" rows="6"></textarea>
<br />
<button type="submit" class="btn btn-primary">Submit</button>
</form>
</p> | Add text area and button | Add text area and button
| HTML+ERB | mit | muurastr/LepraLesson,muurastr/LepraLesson |
b19be9a85dae46baa5f0f0d81ff991ca81d58e45 | spec/integration/launcher/data/happy_path.yaml.erb | spec/integration/launcher/data/happy_path.yaml.erb | ---
vapps:
- name: <%= vapp_name %>
vdc_name: <%= vdc_name %>
catalog: <%= catalog %>
catalog_item: <%= vapp_template %>
vm:
hardware_config:
memory: 4096
cpu: 2
metadata:
is_integer: -999
is_string: Hello World
is_datetime: <%= date_metadata %>
... | ---
vapps:
- name: <%= vapp_name %>
vdc_name: <%= vdc_name %>
catalog: <%= catalog %>
catalog_item: <%= vapp_template %>
vm:
hardware_config:
memory: 4096
cpu: 2
metadata:
is_integer: -999
is_string: Hello World
is_datetime: <%= date_metadata %>
... | Remove href from example input | Remove href from example input
| HTML+ERB | mit | gds-operations/vcloud-tools,webdev1001/vcloud-tools,gds-operations/vcloud-tools,webdev1001/vcloud-tools |
d4a9251f62771b14783745c7f9b85fc7f56e5772 | app/views/alchemy/admin/resources/_filter_bar.html.erb | app/views/alchemy/admin/resources/_filter_bar.html.erb | <div id="filter_bar">
<label>
<h3><%= Alchemy.t('Filter') %></h3>
<%= select_tag(
'resource_filter',
options_for_select(
resource_filter_select, search_filter_params[:filter]
),
include_blank: Alchemy.t(:all, scope: ['resources', resource_name, 'filters']),
data: { remote... | <div id="filter_bar">
<label>
<h3><%= local_assigns[:label] || Alchemy.t('Filter') %></h3>
<%= select_tag(
'resource_filter',
options_for_select(
resource_filter_select, search_filter_params[:filter]
),
include_blank: Alchemy.t(:all, scope: ['resources', resource_name, 'filters... | Allow to pass a label into filter bar partial | Allow to pass a label into filter bar partial
| HTML+ERB | bsd-3-clause | robinboening/alchemy_cms,robinboening/alchemy_cms,robinboening/alchemy_cms,AlchemyCMS/alchemy_cms,AlchemyCMS/alchemy_cms,AlchemyCMS/alchemy_cms |
db3ddf9fd9e9028b4c151efba2b3f9e5bfb0504e | cookbooks/mailman/templates/default/backup.cron.erb | cookbooks/mailman/templates/default/backup.cron.erb | #!/bin/sh
# DO NOT EDIT - This file is being maintained by Chef
T=$(mktemp -d -t -p /var/tmp lists.XXXXXXXXXX)
D=$(date +%Y-%m-%d)
B=lists-$D.tar.gz
mkdir $T/lists-$D
ln -s /var/lib/mailman $T/lists-$D/mailman
export RSYNC_RSH="ssh -ax"
nice tar --create --dereference --directory=$T lists-$D | nice gzip --rsyncabl... | #!/bin/sh
# DO NOT EDIT - This file is being maintained by Chef
T=$(mktemp -d -t -p /var/tmp lists.XXXXXXXXXX)
D=$(date +%Y-%m-%d)
B=lists-$D.tar.gz
mkdir $T/lists-$D
ln -s /var/lib/mailman $T/lists-$D/mailman
export RSYNC_RSH="ssh -ax"
nice tar --create --dereference --warning=no-file-changed --directory=$T lists... | Disable file changed warnings for mailman backup | Disable file changed warnings for mailman backup
| HTML+ERB | apache-2.0 | zerebubuth/openstreetmap-chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,tomhugh... |
49115988a87bc8b654ee93785919af2eec0e63cb | app/views/excursions/_suggestion.html.erb | app/views/excursions/_suggestion.html.erb | <%= div_for suggestion, :class => 'excursion-home' do %>
<div class="excursion-item">
<ul class="thumbnails">
<li id="img-excursion">
<%= link_to excursion_thumb_for(suggestion, 130), suggestion, :class => "container" %>
<div class='number_pages'>
<%= excursion.slide_count %>
... | <%= div_for suggestion, :class => 'excursion-home' do %>
<div class="excursion-item">
<ul class="thumbnails">
<li id="img-excursion">
<%= link_to excursion_thumb_for(suggestion, 130), suggestion, :class => "container" %>
<div class='number_pages'>
<%= suggestion.slide_count %>
... | Fix excursion sugestions. Heads up @juanka0087 for variable names | Fix excursion sugestions. Heads up @juanka0087 for variable names
| HTML+ERB | agpl-3.0 | ging/vish,ging/vish_orange,nathanV38/vishTst,agordillo/vish,suec78/vish_storyrobin,ging/vish,nathanV38/vishTst,agordillo/vish,ging/vish,rogervaas/vish,agordillo/vish,ging/vish,rogervaas/vish,suec78/vish_storyrobin,suec78/vish_storyrobin,ging/vish_orange,ging/vish_orange,ging/vish_orange,suec78/vish_storyrobin,ging/vish... |
2833fbe6f30b9362768d69d22200c498827c5ec9 | views/index.erb | views/index.erb | <!doctype html>
<title>Brushing Example</title>
<link rel="stylesheet" type="text/css" href="/stylesheets/d3.parcoords.css">
<link rel="stylesheet" type="text/css" href="/stylesheets/style.css">
<script src="/javascripts/d3.min.js"></script>
<h1> A zip code's share (%) of businesses of each type</h1>
<p><button id="bt... | <!doctype html>
<title>Brushing Example</title>
<link rel="stylesheet" type="text/css" href="/stylesheets/d3.parcoords.css">
<link rel="stylesheet" type="text/css" href="/stylesheets/style.css">
<script src="/javascripts/d3.min.js"></script>
<h1> A count of businesses by Miami zip code</h1>
<p><button id="btnReset">Re... | Make title text match graph | Make title text match graph
| HTML+ERB | mit | statwonk/miami_data_app,statwonk/miami_data_app |
cfd5e584221eb11844156b0b9f173bf55a053fa0 | views/table.erb | views/table.erb | <table>
<thead>
<tr>
<% @table.columns.each do |column| %>
<th><%= column %></th>
<% end %>
</tr>
</thead>
<tbody>
<% @records.each do |record| %>
<tr>
<% record.each do |key, value| %>
<% type = @schema[key][:db_type] %>
<% if type == 'text' %>
... | <table>
<thead>
<tr>
<% @table.columns.each do |column| %>
<th><%= column %></th>
<% end %>
</tr>
</thead>
<tbody>
<% @records.each do |record| %>
<tr>
<% record.each do |key, value| %>
<% type = @schema[key][:db_type] %>
<% if type.match /text|hs... | Use textareas for `hstore` columns | Use textareas for `hstore` columns
| HTML+ERB | mit | rafBM/deebee |
f8969be846d4d6f4b302417c6039e8916e0d9d40 | app/views/jmd/performances/_draggable_performance.html.erb | app/views/jmd/performances/_draggable_performance.html.erb | <%
# One minute corresponds to 3 pixels => 1 pixel is 20 seconds
height = (performance.duration.to_f / 20).round
margin = ((performance.rounded_duration - performance.duration).to_f / 20).round
if performance.stage_time
top = (performance.stage_time.hour - 9) * 180 + performance.stage_time.min * 3
else
... | <%
# One minute corresponds to 3 pixels => 1 pixel is 20 seconds
height = (performance.duration.to_f / 20).round
margin = ((performance.rounded_duration - performance.duration).to_f / 20).round
if performance.stage_time
top = (performance.stage_time.hour - 9) * 180 + performance.stage_time.min * 3
else
... | Add country flags to scheduler performances | Add country flags to scheduler performances
| HTML+ERB | mit | richeterre/jumubase-rails,richeterre/jumubase-rails,richeterre/jumubase-rails |
89e2db6088a721889be6599581222188f4b53702 | app/views/questions/_grid_dropdown_columns.html.erb | app/views/questions/_grid_dropdown_columns.html.erb | <%= c.hidden_field :id %>
<%= c.hidden_field :question_group_id %>
<div class="column-box">
<h3>Column #<%= 1 + c.index %> heading</h3>
<%= c.input :text, as: :string, label: false, placeholder: "column #{1+c.index}" %><br/>
<h3>Column #<%=1 + c.index %> choices</h3>
<%= c.input :answers_textbox, :as => :te... | <%= c.hidden_field :id %>
<%= c.hidden_field :question_group_id %>
<div class="column-box">
<h3>Column #<%= 1 + c.index %> heading</h3>
<%= c.input :text, as: :string, label: false, placeholder: "column #{1+c.index}" %><br/>
<h3>Column #<%=1 + c.index %> choices</h3><br/>
<%= c.input :answers_textbox, :as =... | Fix issue in grid dropdown forms. | Fix issue in grid dropdown forms.
Not sure how this snuck in. Missing br.
| HTML+ERB | mit | bricesanchez/surveyor_gui,bricesanchez/surveyor_gui,kjayma/surveyor_gui,kjayma/surveyor_gui,weedySeaDragon/surveyor_gui,weedySeaDragon/surveyor_gui,bricesanchez/surveyor_gui,wested/surveyor_gui,weedySeaDragon/surveyor_gui,wested/surveyor_gui,kjayma/surveyor_gui,wested/surveyor_gui,GirishBhagavath/survey_gui,GirishBhaga... |
2c0094163a23fec8c25c82bbc2b78ff4ebdfe91d | source/_top_bar.html.erb | source/_top_bar.html.erb | <div class="container-outer fill">
<div class="container-inner top-bar">
<div class="content">
<a href="/" class="brand">Flynn</a>
<nav class="content nav-h pull-right">
<ul>
<li class="<%= active_nav_class("/") %>">
<a href="/">Hello</a>
</li>
... | <div class="container-outer fill">
<div class="container-inner top-bar">
<div class="content">
<a href="/" class="brand">Flynn</a>
<nav class="content nav-h pull-right">
<ul>
<li class="<%= active_nav_class("/") %>">
<a href="/">Hello</a>
</li>
... | Add nav links (Architecture, Roadmap, Contributing) | website: Add nav links (Architecture, Roadmap, Contributing)
| HTML+ERB | bsd-3-clause | TribeMedia/flynn,rikur/flynn,ozum/flynn,whouses/flynn,rikur/flynn,pkdevbox/flynn,Brandywine2161/flynn,felixrieseberg/flynn,lmars/flynn,benbjohnson/flynn,philiplb/flynn,TribeMedia/flynn,josephglanville/flynn,kgrz/flynn,clifff/flynn,schatt/flynn,tonicbupt/flynn,tonicbupt/flynn,Brandywine2161/flynn,benbjohnson/flynn,josep... |
b0406dedc2a259f8a8b27d47948b467046d17217 | app/views/stash_datacite/licenses/_review_license.html.erb | app/views/stash_datacite/licenses/_review_license.html.erb | <h2 class="review_headers">License</h2>
<% if @resource.current_state.blank? || @resource.rights.empty? %>
<p>
This work will be licensed under a
<% lic = StashEngine::License.by_id(current_tenant.default_license) %>
<%= link_to lic['name'], lic['uri'] %> license.
</p>
<% elsif @resource.current_state.... | <h2 class="review_headers">License</h2>
<% if @resource.current_state.blank? || @resource.rights.empty? %>
<%= render partial: "licenses/#{current_tenant.default_license}_review" %>
<% elsif @resource.current_state.resource_state == 'in_progress' %>
<% @resource.rights.each do |r|
l_id = StashEngine::Licen... | Use a different partial for displaying of license in review rather than the same as in landing page because they are different text and layout. | Use a different partial for displaying of license in review rather than the same as in landing page because they are different text and layout.
| HTML+ERB | mit | CDLUC3/stash_datacite,CDLUC3/stash_datacite,CDLUC3/stash_datacite,CDLUC3/stash,CDLUC3/stash,CDLUC3/stash,CDLUC3/stash |
68eef342704adf24c3d2947570305de01dcf0edf | app/assets/javascripts/i18n_viz/settings.js.coffee.erb | app/assets/javascripts/i18n_viz/settings.js.coffee.erb | window.I18nViz = {
regex: new RegExp(/--([a-z0-9_\.]+)--/i),
global_regex: new RegExp(/--([a-z0-9_\.]+)--/gi),
external_tool_url: '<%= I18nViz.external_tool_url %>'
}
| <%# encoding: utf-8 %>
window.I18nViz = {
regex: new RegExp(/--([a-z0-9_\.]+)--/i),
global_regex: new RegExp(/--([a-z0-9_\.]+)--/gi),
external_tool_url: '<%= I18nViz.external_tool_url %>'
}
| Fix encoding issue (raised by ERB) happening when providing URLs containing UTF-8 characters. | Fix encoding issue (raised by ERB) happening when providing URLs containing UTF-8 characters.
This commit fix #2
| HTML+ERB | mit | railslove/i18n_viz,jhilden/i18n_viz,railslove/i18n_viz,railslove/i18n_viz,jhilden/i18n_viz,jhilden/i18n_viz |
f7e72d97e0a12696dbfeab8f7fccdcaeb642c93b | modules/govuk_jenkins/templates/google_api/credentials.json.erb | modules/govuk_jenkins/templates/google_api/credentials.json.erb | {
"type": "service_account",
"project_id": "<%= @project_id -%>",
"private_key_id": "<%= @private_key_id -%>",
"private_key": "<%= @private_key -%>",
"client_email": "<%= @client_email -%>",
"client_id": "<%= @client_id -%>",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https:/... | <%= require "json"; JSON.pretty_generate({
type: "service_account",
project_id: @project_id,
private_key_id: @private_key_id,
private_key: @private_key,
client_email: @client_email,
client_id: @client_id,
auth_uri: "https://accounts.google.com/o/oauth2/auth",
token_uri: "https://accounts.google.com/o/oa... | Use JSON module to generate valid JSON | Use JSON module to generate valid JSON
Currently we use erb to expand variables into strings in the JSON
for Google API credentials. This can sometimes end up generating
malformed JSON (specifically in the case where the private key
contains newline characters because JSON doesn't support multiline
strings). Instead o... | HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
2d834d8019779146786db9758ed7d8a489fa363d | app/views/notes/create.js.erb | app/views/notes/create.js.erb | $("<%= escape_javascript(render(:partial=>'each_note',:locals=>{:note=>@note})) %>").prependTo("#all-notes").hide().fadeIn(1000);
$("#tags").html("<%= escape_javascript(render(:partial=>'tags',:locals=>{:tags=>@tags})) %>");
var all_notes = document.querySelector('#all-notes');
var first_note = all_notes.children[0];
l... | $("<%= escape_javascript(render(:partial=>'each_note',:locals=>{:note=>@note})) %>").prependTo("#all-notes").hide().fadeIn(1000);
$("#tags").html("<%= escape_javascript(render(:partial=>'tags',:locals=>{:tags=>@tags})) %>");
var all_notes = document.querySelector('#all-notes');
var first_note = all_notes.children[0];
l... | Fix Empty the textbox after note creation | Fix Empty the textbox after note creation
| HTML+ERB | mit | PezCoder/notely-rails,PezCoder/notely-rails,PezCoder/notely-rails |
482c3b5bacfffe9d683d60e528d555ec5aeb136b | BHCDatabase/app/views/layouts/_login_header.html.erb | BHCDatabase/app/views/layouts/_login_header.html.erb | <div class="row">
<div class="col-md-6 col-md-offset-3">
<%= image_tag("BHC Strapline.jpg", alt: "BHC Strapline", id: "strapline") %>
</div>
</div> | <div class="row">
<%= image_tag("BHC Strapline.jpg", alt: "BHC Strapline", id: "strapline", class: "img-responsive center-block") %>
</div> | Change logic to centre login image | Change logic to centre login image
| HTML+ERB | mit | DaBrown95/BHCDatabase,DaBrown95/BHCDatabase,DaBrown95/BHCDatabase |
25060acf284ac24ee3b4d9fdfcfb81e8391d9355 | templates/logrotate/containers_logrotate.conf.erb | templates/logrotate/containers_logrotate.conf.erb | /var/log/containers/*/*log /var/log/containers/*/*/*log {
<%= @rotation %>
rotate <%= @rotate %>
maxage <%= @purge_after_days %>
# minsize 1 is required for GDPR compliance, all files in
# /var/log/containers not managed with logrotate will be purged!
minsize 1
# Do not use size as it's not compatible wit... | /var/log/containers/*/*log /var/log/containers/*/*/*log {
<%= @rotation %>
rotate <%= @rotate %>
maxage <%= @purge_after_days %>
# minsize 1 is required for GDPR compliance, all files in
# /var/log/containers not managed with logrotate will be purged!
minsize 1
# Do not use size as it's not compatible wit... | Fix postrotate filter and httpd reloading signal | Fix postrotate filter and httpd reloading signal
The change I5029a4b9c76268455812696290aaf82f1a0c2c23 had caused a
regression so that the filter is stopped working and matches nothing.
The postscript command is executed inside of the logrotate-crond
container, like this way:
()[root@5c78303fb8c2 /]# /sbin/lsof -nPs ... | HTML+ERB | apache-2.0 | openstack/puppet-tripleo,openstack/puppet-tripleo,openstack/puppet-tripleo |
953e699f475aa9dfc5ee3fc8f1278e1b1e8bcf46 | app/views/layouts/_javascripts.html.erb | app/views/layouts/_javascripts.html.erb | <%= javascript_include_tag "application" %>
| <%= javascript_include_tag "application" %>
<% if Dir.exists? "lib/registration_engine/app/assets" %>
<%= javascript_include_tag "registration_engine/application" %>
<% end %>
| Include registration JS if exists | Include registration JS if exists
| HTML+ERB | mit | scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails |
137c53b11f4457f0774e13ba4b4d75c399cc73b0 | BHCDatabase/app/views/service_users_homepage/index.html.erb | BHCDatabase/app/views/service_users_homepage/index.html.erb | <% provide(:title, @user.name) %>
<h1>Home</h1>
<div class="stdcontainer">
<%= @user.feedback_due %>
<% if @user.feedback_due <= Date.today %>
Your feedback was due <%= (Date.today - @user.feedback_due).to_i %> day(s) ago <br>
<%= link_to 'Leave feedback', new_feedback_path %>
<% else %>
Your... | <% provide(:title, @user.name) %>
<h1>Home</h1>
<div class="stdcontainer">
<% if @user.feedback_due <= Date.today %>
Your feedback was due <%= (Date.today - @user.feedback_due).to_i %> day(s) ago <br>
<%= link_to 'Leave feedback', new_feedback_path, class: 'btn btn-success' %>
<% else %>
Your f... | Add styling to feedback button(s). | Add styling to feedback button(s).
| HTML+ERB | mit | DaBrown95/BHCDatabase,DaBrown95/BHCDatabase,DaBrown95/BHCDatabase |
ef047e8015789e0fc2a2b77d7929217769496126 | backend/app/views/kaminari/solidus_admin/_paginator.html.erb | backend/app/views/kaminari/solidus_admin/_paginator.html.erb | <%= paginator.render do %>
<nav class="text-xs-center">
<ul class="pagination">
<%= first_page_tag unless current_page.first? %>
<%= prev_page_tag unless current_page.first? %>
<% each_page do |page| %>
<% if page.left_outer? || page.right_outer? || page.inside_window? %>
<%= p... | <%= paginator.render do %>
<nav>
<ul class="pagination justify-content-center">
<%= first_page_tag unless current_page.first? %>
<%= prev_page_tag unless current_page.first? %>
<% each_page do |page| %>
<% if page.left_outer? || page.right_outer? || page.inside_window? %>
<%= p... | Fix centering of pagination under bootstrap alpha6 | Fix centering of pagination under bootstrap alpha6
Previously our pagination was centered, but this was broken in the
upgrade to bootstrap 4.0.0.alpha6 because text-xs-center was removed.
| HTML+ERB | bsd-3-clause | pervino/solidus,pervino/solidus,pervino/solidus,pervino/solidus |
ee7ba4a6183b05d923a3fd3982c9188479e0f8f1 | app/views/shared/incomplete_assignments/_write_to_other.erb | app/views/shared/incomplete_assignments/_write_to_other.erb | <div class='assignment'>
<%= link_to(t(:write_first_time, :name => assignment.data[:name]), new_campaign_outgoing_message_path(@campaign, :assignment_id => assignment.id)) %>
</div>
| Add 'write-to-other' as an incomplete assignment. | Add 'write-to-other' as an incomplete assignment.
| HTML+ERB | agpl-3.0 | mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport | |
e74020cb20be848405020cbd391cf1a0043d1c00 | views/layout.erb | views/layout.erb | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>No Frills Sleep Tracker</title>
<script type="text/j... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<title>N... | Enable Chrome on Android to run in fullscreen | Enable Chrome on Android to run in fullscreen
| HTML+ERB | bsd-2-clause | francois/nofrills-sleep-tracker,francois/nofrills-sleep-tracker,francois/nofrills-sleep-tracker |
2c38efd86c36977d10f6737b9ef2820c0396aef2 | backend/app/views/spree/admin/stock_locations/edit.html.erb | backend/app/views/spree/admin/stock_locations/edit.html.erb | <%= render 'spree/admin/shared/shipping_tabs' %>
<% admin_breadcrumb(t('spree.settings')) %>
<% admin_breadcrumb(t('spree.admin.tab.shipping')) %>
<% admin_breadcrumb(link_to plural_resource_name(Spree::StockLocation), spree.admin_stock_locations_path) %>
<% admin_breadcrumb(@stock_location.name) %>
<% content_for :... | <%= render 'spree/admin/shared/shipping_tabs' %>
<% admin_breadcrumb(t('spree.settings')) %>
<% admin_breadcrumb(t('spree.admin.tab.shipping')) %>
<% admin_breadcrumb(link_to plural_resource_name(Spree::StockLocation), spree.admin_stock_locations_path) %>
<% admin_breadcrumb(@stock_location.name) %>
<% content_for :... | Add stock movements link into stock location edit page | Add stock movements link into stock location edit page
| HTML+ERB | bsd-3-clause | pervino/solidus,pervino/solidus,pervino/solidus,pervino/solidus |
2d25852c0f2e73d055c3c88440f6467c5437b62f | backend/app/views/spree/admin/shared/_shipping_tabs.html.erb | backend/app/views/spree/admin/shared/_shipping_tabs.html.erb | <% content_for :tabs do %>
<nav>
<ul class="tabs" data-hook="admin_settings_shipping_tabs">
<% if can?(:display, Spree::ShippingMethod) %>
<%= settings_tab_item Spree::ShippingMethod.model_name.human(count: :other), admin_shipping_methods_path %>
<% end %>
<% if can?(:display, Spree::Sh... | Add a shipping tabs sub section partial | Add a shipping tabs sub section partial
This partial will be responsible for configuration menu settings related
to shipping.
| HTML+ERB | bsd-3-clause | pervino/solidus,Arpsara/solidus,pervino/solidus,Arpsara/solidus,pervino/solidus,jordan-brough/solidus,jordan-brough/solidus,jordan-brough/solidus,Arpsara/solidus,Arpsara/solidus,jordan-brough/solidus,pervino/solidus | |
3b5a4b3cd973d097bbc9c6933944ce71ffd29b48 | templates/passenger-apache.conf.erb | templates/passenger-apache.conf.erb | <IfModule passenger_module>
PassengerRoot <%= @gempath %>/passenger-<%= @version %>
<% if @version >= "4.0.1" %>
PassengerDefaultRuby <%= @rvm_prefix %>rvm/wrappers/<%= @ruby_version %>/ruby
<% else %>
PassengerRuby <%= @rvm_prefix %>rvm/wrappers/<%= @ruby_version %>/ruby
<% end %>
PassengerMaxPoolSize <%= @max... | <IfModule passenger_module>
PassengerRoot <%= @gempath %>/passenger-<%= @version %>
<% if @version >= "4.0.1" %>
PassengerDefaultRuby <%= @rvm_prefix %>rvm/wrappers/<%= @ruby_version %>/ruby
<% else %>
PassengerRuby <%= @rvm_prefix %>rvm/wrappers/<%= @ruby_version %>/ruby
<% end %>
PassengerMaxPoolSize <%= @max... | Resolve errors and warnings from linter | Resolve errors and warnings from linter
| HTML+ERB | bsd-3-clause | kronn/puppet-rvm,kronn/puppet-rvm |
219386b0b273baee25b26009ab855e1c511df22e | site-cookbooks/dna/templates/default/_ss_environment.php.erb | site-cookbooks/dna/templates/default/_ss_environment.php.erb | <?php
define('SS_ENVIRONMENT_TYPE', 'dev');
/* Database connection */
define('SS_DATABASE_SERVER', 'localhost');
define('SS_DATABASE_USERNAME', 'root');
define('SS_DATABASE_PASSWORD', '<%= @node["mysql_root_password"] %>');
/* Configure a default username and password to access the CMS on all sites in this environme... | <?php
define('SS_ENVIRONMENT_TYPE', 'dev');
/* Database connection */
define('SS_DATABASE_SERVER', 'localhost');
define('SS_DATABASE_USERNAME', 'root');
define('SS_DATABASE_PASSWORD', '<%= @node["mysql_root_password"] %>');
/* Configure a default username and password to access the CMS on all sites in this environme... | Fix default SS email address | Fix default SS email address
| HTML+ERB | unlicense | dnadesign/sprout-wrap,dnadesign/sprout-wrap,dnadesign/sprout-wrap,dnadesign/sprout-wrap |
47ee721d888a865871c254d04b85d2f3a7cf9d8f | jobs/port_forwarding/templates/bin/forward_ports.sh.erb | jobs/port_forwarding/templates/bin/forward_ports.sh.erb | #!/bin/bash
CHAIN="portforwarding-release"
function forward_exists {
set -e
chain=$1
iptables -t nat -C ${chain} -j ${CHAIN} 2>/dev/null
}
if ! iptables -t nat -L ${CHAIN} >/dev/null 2>&1; then
iptables -t nat -N ${CHAIN}
fi
# if rule doesnt exists in prerouting, add it
if forward_exists PREROUTING; then
iptab... | #!/bin/bash
CHAIN="portforwarding-release"
function forward_exists {
set -e
chain=$1
iptables -t nat -C ${chain} -j ${CHAIN} 2>/dev/null
}
if ! iptables -t nat -L ${CHAIN} >/dev/null 2>&1; then
iptables -t nat -N ${CHAIN}
fi
# if rule doesnt exists in prerouting, add it
if ! forward_exists PREROUTING; then
ipt... | Fix conditionals that check for the PREROUTING and OUTPUT chain jumps | Fix conditionals that check for the PREROUTING and OUTPUT chain jumps
| HTML+ERB | mit | cloudfoundry-community/port-forwarding-boshrelease,cloudfoundry-community/port-forwarding-boshrelease |
7a8f5562b719a5e13b92eec91c2849c330b241fc | modules/govuk/templates/node/s_jenkins/jenkins.conf.erb | modules/govuk/templates/node/s_jenkins/jenkins.conf.erb | server {
server_name deploy.*;
listen 80;
return 301 https://$host/;
}
server {
listen 443 ssl;
server_name deploy.*;
ssl_certificate /etc/nginx/ssl/jenkins.crt;
ssl_certificate_key /etc/nginx/ssl/jenkins.key;
location / {
proxy_pass http://localhost:8080;
add_header "Strict-Transport-Se... | server {
listen 443 ssl;
server_name deploy.*;
ssl_certificate /etc/nginx/ssl/jenkins.crt;
ssl_certificate_key /etc/nginx/ssl/jenkins.key;
location / {
proxy_pass http://localhost:8080;
add_header "Strict-Transport-Security" "max-age=31536000";
location /api/json {
proxy_pass http://... | Remove HTTP virtual host from Jenkins | Remove HTTP virtual host from Jenkins
Remove the redundant HTTP (non-SSL) virtual host from Jenkins.
We firewalled access to port 80 on Jenkins in this commit:
https://github.gds/gds/govuk-provisioning/commit/60fecd1e45559e7a19229bd43ac841a961a1a25a
See the discussion here for an explanation of why:
https://github.g... | HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
687307d7c8499e217780bb349f7355f82c937ffe | vcloud/box/common/bootstrap.erb | vcloud/box/common/bootstrap.erb | #!/bin/bash
if [ $1 = "postcustomization" ]; then
echo 'ubuntu:<%= vars[:pass_hash] %>' | chpasswd -e
dpkg-reconfigure openssh-server
set -e
exec >/var/log/userdata.log 2>&1
export DEBIAN_FRONTEND=noninteractive
E="/etc/environment"
echo "LC_ALL=en_GB.UTF-8" > $E
R="/etc/resolv.conf"
echo "nam... | #!/bin/bash
if [ $1 = "postcustomization" ]; then
echo 'ubuntu:<%= vars[:pass_hash] %>' | chpasswd -e
dpkg-reconfigure openssh-server
set -e
exec >/var/log/userdata.log 2>&1
export DEBIAN_FRONTEND=noninteractive
E="/etc/environment"
echo "LC_ALL=en_GB.UTF-8" > $E
R="/etc/resolv.conf"
echo "nam... | Remove unused DISKS partitioning line | Remove unused DISKS partitioning line
The line being removed from the bootstrap script listed all block-list devices
in /dev/ beginning sd*. Since we no longer do disk partitioning here, we no
longer need this.
| HTML+ERB | mit | alphagov/govuk_offsitebackups-puppet,alphagov/govuk_offsitebackups-puppet |
7c140e892019d94d0c4af1eda3b0a2abdedc9ded | app/views/public_activity/study/_document_added.html.erb | app/views/public_activity/study/_document_added.html.erb | <% content_for :extra_classes, flush: true do %>timeline__item--affirmative<% end %>
<% content_for :title, flush: true do %>
<%= a.related_content.document_type.name %> added
<%= " by #{a.owner.name}" unless a.owner.blank? %>
<% end %>
<% content_for :description, flush: true do %>
<a href="<%= a.related_c... | <% content_for :extra_classes, flush: true do %>timeline__item--affirmative<% end %>
<% content_for :title, flush: true do %>
<%= a.related_content.document_type.name %> added
<%= " by #{a.owner.name}" unless a.owner.blank? %>
<% end %>
<% content_for :description, flush: true do %>
<a href="<%= document_pa... | Use document_path for docs in study timelines | Use document_path for docs in study timelines
| HTML+ERB | agpl-3.0 | mysociety/remit,mysociety/remit,mysociety/remit,mysociety/remit |
1ee2a7eedd2d48e2e63291e3edbbef8a52328368 | admin/views/interviews.erb | admin/views/interviews.erb | <?xml version="1.0" encoding="utf-8" ?>
<feed xmlns="http://www.w3.org/2005/Atom">
<id>usesthis.admin.interviews</id>
<updated><%= @interviews[0].published_on.strftime('%FT%TZ') %></updated>
<author><name>Daniel Bogan</name></author>
<% for interview in @interviews %>
<entry>
<id>http://<%= interview.slug %>.use... | <?xml version="1.0" encoding="utf-8" ?>
<feed xmlns="http://www.w3.org/2005/Atom">
<id>usesthis.admin.interviews</id>
<updated><%= (@interviews[0].published_on ? @interviews[0].published_on : @interviews[0].date_create).strftime('%FT%TZ') %></updated>
<author><name>Daniel Bogan</name></author>
<% for interview in @... | Use the date_create value if we don't have a published date. | Use the date_create value if we don't have a published date.
| HTML+ERB | mit | waferbaby/usesthis,MjAbuz/usesthis,waferbaby/usesthis,holman/usesthis,MjAbuz/usesthis,MjAbuz/usesthis,orta/usesthis,ivuk/usesthis,ivuk/usesthis,holman/usesthis,orta/usesthis |
8e91dd384d3b8906796649b7aada7975ac6333ac | app/views/piwik_analytics/piwik_tracking_tag.html.erb | app/views/piwik_analytics/piwik_tracking_tag.html.erb | <!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://<%= url %>/" : "http://<%= url %>/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
try {
... | <!-- Piwik -->
<script type="text/javascript">
var _paq = _paq || [];
_paq.push(["trackPageView"]);
_paq.push(["enableLinkTracking"]);
(function() {
var u = (("https:" == document.location.protocol) ? "https://<%= url %>/" : "http://<%= url %>/");
_paq.push(["setTrackerUrl", u+"piwik.php"]);
_paq.p... | Update piwik's javascript tracking code to the latest version. | Update piwik's javascript tracking code to the latest version. | HTML+ERB | mit | halfdan/piwik-ruby-tracking,halfdan/piwik-ruby-tracking |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.