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 |
|---|---|---|---|---|---|---|---|---|---|
7ad6b259a413225b0911196731e62b04d653d231 | templates/oracleasm.erb | templates/oracleasm.erb | #
# This is a configuration file for automatic loading of the Oracle
# Automatic Storage Management library kernel driver. It is generated
# By running /etc/init.d/oracleasm configure. Please use that method
# to modify this file
#
# ORACLEASM_ENABLED: 'true' means to load the driver on boot.
ORACLEASM_ENABLED=true
... | #
# This is a configuration file for automatic loading of the Oracle
# Automatic Storage Management library kernel driver. It is generated
# By running /etc/init.d/oracleasm configure. Please use that method
# to modify this file
#
# ORACLEASM_ENABLED: 'true' means to load the driver on boot.
ORACLEASM_ENABLED=true
... | Fix asm uasage with multipath | Fix asm uasage with multipath
| HTML+ERB | mit | enterprisemodules/ora_rac,enterprisemodules/ora_rac |
a54b0ad8de2232a2fa0c11a83961899e02fd11e3 | templates/stub.erb | templates/stub.erb | stub-zone:
name: "<%= @name %>"
<% if @address.is_a? Array -%>
<% @address.each do |addr| -%>
stub-addr: <%= addr %>
<% end -%>
<% elsif @address != '' -%>
stub-addr: <%= @address -%>
<% end -%>
| stub-zone:
name: "<%= @name %>"
<% Array(@address).each do |addr| -%>
stub-addr: <%= addr %>
<% end -%>
| Clean up some newline issues | Clean up some newline issues
Not having the newline was preventing my unbound server from reading the
configuration correctly. This ammends the previos epic PR to include
newlines. While I was at it, I devided to squash the logic to avoid
checking for an array.
| HTML+ERB | apache-2.0 | xaque208/puppet-unbound,rswarts/puppet-unbound,rswarts/puppet-unbound,icann-dns/puppet-unbound,xaque208/puppet-unbound,mmickan/puppet-unbound,twc-openstack/puppet-unbound,icann-dns/puppet-unbound,icann-dns/puppet-unbound,mmickan/puppet-unbound,xaque208/puppet-unbound,twc-openstack/puppet-unbound |
66677875e8b3b48f2ccf423644a393f2095cb1d5 | app/views/articles/_comment_count.html.erb | app/views/articles/_comment_count.html.erb | <%= content_tag :span, title: tco(:comment) do %>
<a href="#comment-list-title"><%= image_tag "comment.png" %><%= article.comments.size %></a>
<% end %>
| <%= content_tag :span, title: tco(:comment) do %>
<%= link_to "#{image_tag('comment.png')}#{article.comments.size}".html_safe, "#{article_path(article.id)}#comment-list-title" %>
<% end %>
| Enable to transition article comment from list. | Enable to transition article comment from list.
| HTML+ERB | mit | fzawa/sup-lodge,j138/lodge-docker,koyashy/lodge,tanaka-yoshi10/lodge,lodge/lodge,tanaka-yoshi10/lodge,j138/lodge-docker,fzawa/sup-lodge,lodge/lodge,fzawa/sup-lodge,fzawa/sup-lodge,lodge/lodge,j138/lodge-docker,tanaka-yoshi10/lodge,lodge/lodge,koyashy/lodge,koyashy/lodge,koyashy/lodge,j138/lodge-docker,tanaka-yoshi10/lo... |
7ece2c32f5f292981825a5ac56b760966c0ddd33 | app/views/manuals/_manual_updates.html.erb | app/views/manuals/_manual_updates.html.erb | <div class='manual-body' id="content">
<article aria-labelledby="section-title">
<%= render "govuk_publishing_components/components/heading", {
font_size: "l",
heading_level: 1,
id: "section-title",
text: "Updates: #{presented_manual.title}",
} %>
<% presented_manual.change_notes.b... | <div class='manual-body' id="content">
<article aria-labelledby="section-title">
<%= render "govuk_publishing_components/components/heading", {
font_size: "l",
heading_level: 1,
id: "section-title",
margin_bottom: 4,
text: "Updates: #{presented_manual.title}",
} %>
<% present... | Increase header spacing on updates page | Increase header spacing on updates page
| HTML+ERB | mit | alphagov/manuals-frontend,alphagov/manuals-frontend,alphagov/manuals-frontend,alphagov/manuals-frontend |
659a0cbfccc73e09c2767d4ba3ae566400c03035 | app/views/information_pages/_form.html.erb | app/views/information_pages/_form.html.erb | <%= render 'menu_form' %>
<%= simple_form_for(@information_page, :html => { :class => "yform full"}) do |f| %>
<%= f.error_notification %>
<div class="form-inputs">
<%= f.input :information_category_id,
as: :select,
input_html: { class: "span6" },
collection: In... | <%= render 'menu_form' %>
<%= simple_form_for(@information_page) do |f| %>
<%= f.error_notification %>
<div class="form-inputs">
<%= f.input :information_category_id,
as: :select,
input_html: { class: "span6" },
collection: InformationCategory.all.to_select_titl... | Remove superflous classes from information pages | Remove superflous classes from information pages
| HTML+ERB | mit | isfit/isfit-participant,isfit/isfit-participant,isfit/isfit-participant,isfit/isfit-participant,isfit/isfit-participant |
db29fd44e7be4807a7b94fc4e1f7b3e4b35b6805 | app/views/hyrax/file_sets/show.html.erb | app/views/hyrax/file_sets/show.html.erb | <%= render 'shared/citations' %>
<div class="container-fluid">
<div class="row">
<div class="col-xs-12 col-sm-4">
<%= media_display @presenter %>
<%= render 'show_actions', presenter: @presenter %>
<%= render 'single_use_links', presenter: @presenter if @presenter.editor? %>
</div>
<div... | <div class="container-fluid">
<div class="row">
<div class="col-xs-12 col-sm-4">
<%= media_display @presenter %>
<%= render 'show_actions', presenter: @presenter %>
<%= render 'single_use_links', presenter: @presenter if @presenter.editor? %>
</div>
<div itemscope itemtype="<%= @presente... | Remove embedded metadata from FileSet show view | Remove embedded metadata from FileSet show view
| HTML+ERB | apache-2.0 | samvera/hyrax,samvera/hyrax,samvera/hyrax,samvera/hyrax |
95db3cb227c52d77bfc7a3844f86605022b4dcb0 | app/views/layouts/_header_frontpage.erb | app/views/layouts/_header_frontpage.erb | <% unless params[:controller].eql? 'devise/sessions' and params[:action].eql? 'new' %>
<div class="login">
<%= form_for User.new, :as => :user, :url => user_session_path do |f| -%>
<div class="login">
<%= f.email_field :email, :id => "username" %>
<%= f.password_field :password, :id => "password" %>
... | <% unless params[:controller].eql? 'devise/sessions' and params[:action].eql? 'new' %>
<div class="login">
<%= form_for User.new, :as => :user, :url => user_session_path do |f| -%>
<div class="login">
<%= f.email_field :email, :id => "username" %>
<%= f.password_field :password, :id => "password" %>
... | Use user.email instead of username in sign in form | Use user.email instead of username in sign in form
| HTML+ERB | agpl-3.0 | nathanV38/vishTst,rogervaas/vish,nathanV38/vishTst,agordillo/vish,ging/vish_orange,agordillo/vish,agordillo/vish,rogervaas/vish,ging/vish,rogervaas/vish,ging/vish_orange,suec78/vish_storyrobin,ging/vish,ging/vish_orange,rogervaas/vish,suec78/vish_storyrobin,ging/vish_orange,ging/vish,ging/vish,agordillo/vish,suec78/vis... |
176a8053edfc1d00f5caea75c1ce4e789a942949 | app/views/mappings/_add_button.html.erb | app/views/mappings/_add_button.html.erb | <%= link_to new_site_mapping_path(@site), class: 'btn btn-default' do %>
<i class="glyphicon glyphicon-plus"></i> Add mapping
<% end %>
| <%= link_to new_site_mapping_path(@site), class: 'btn btn-default' do %>
<i class="glyphicon glyphicon-plus"></i> Add mappings
<% end %>
| Update add mapping copy to be plural | Update add mapping copy to be plural
| HTML+ERB | mit | alphagov/transition,alphagov/transition,alphagov/transition |
6458001dd9dbb3a2048945dbf5ff9f8f91c32901 | app/views/cms/_drag_and_drop_note.html.erb | app/views/cms/_drag_and_drop_note.html.erb | <p>
<em>
<%= _('Drag images to add them to the text.') %>
<%= _('Click on file names to add links to the text.') %>
</em>
</p>
| <p>
<em>
<%= _('Drag images to add them to the text or click on file names to add links to the text.') %>
</em>
</p>
| Join the note about drag and drop for clarity | SAC466: Join the note about drag and drop for clarity | HTML+ERB | agpl-3.0 | blogoosfero/noosfero,CIRANDAS/noosfero-ecosol,blogoosfero/noosfero,coletivoEITA/noosfero-ecosol,samasti/noosfero,CIRANDAS/noosfero-ecosol,coletivoEITA/noosfero-ecosol,CIRANDAS/noosfero-ecosol,EcoAlternative/noosfero-ecosol,blogoosfero/noosfero,EcoAlternative/noosfero-ecosol,EcoAlternative/noosfero-ecosol,samasti/noosfe... |
5ef18ee7c7eb3842581a98b314179cbd16942f5a | app/views/advancements/show.html.erb | app/views/advancements/show.html.erb | <div class="container">
<p id="notice"><%= notice %></p>
<div class="row">
<div class="col-xs-3">
<%= @advancement.user.name %>'s Advancements
</div>
</div>
<div class="row">
<div class="col-xs-3">
<%= link_to 'Edit', edit_advancement_path(@advancement) %> |
<%= link_to 'Back', ad... | <div class="container">
<div class="row">
<p id="notice"><%= notice %></p>
</div>
<div class="row">
<div class="col-xs-12 text-center">
<h3><%= @advancement.user.name %>'s Advancements</h3>
</div>
</div>
<hr>
<div class="row">
<div class="col-xs-12 col-sm-10 col-sm-offset-1 col-md-8 co... | Update advancement show with ranks | Update advancement show with ranks
| HTML+ERB | mit | dnguyensr/advancements,dnguyensr/advancements,dnguyensr/advancements |
16aafed902420ca9444eba549dc3072bd2e2075f | app/views/answers/_featured.html.erb | app/views/answers/_featured.html.erb | <div class="answered-question">
<div class="emph">
<div class="avatar">
<% if featured.question.person.image? %>
<%= cdn_image_tag(featured.question.person.image, size: "80x80", alt: "") %>
<% end %>
</div>
<div class="answered-question-text">
<%= link_to "Answered Question!", q... | <div class="answered-question">
<div class="emph">
<div class="avatar">
<% if featured.question.person.image? %>
<%= cdn_image_tag(featured.question.person.image, size: "80x80", alt: "") %>
<% end %>
</div>
<div class="answered-question-text">
<%= link_to "Answered Question!", q... | Handle when no political_position_title for person | Handle when no political_position_title for person
Supports opengovernment/askthem-admin#101
| HTML+ERB | agpl-3.0 | opengovernment/askthem,opengovernment/askthem,mapineda/askthem,opengovernment/askthem,mapineda/askthem,opengovernment/askthem,mapineda/askthem,mapineda/askthem |
7061ed34916b8f0211f7e54308f3403bb2b7ea35 | app/views/users/certificates.html.erb | app/views/users/certificates.html.erb | <%= content_for :breadcrumbs do %>
<%= breadcrumbs_for_my_account %>
<% end %>
<%= render partial: 'layouts/user_menu' %>
<div class="mu-user-header">
<h1><%= t(:certificates) %></h1>
</div>
<% if @certificates.empty? %>
<div class="mu-tab-body">
<%= t :certificates_will_be_here %>
</div>
<% else %>
<di... | <%= content_for :breadcrumbs do %>
<%= breadcrumbs_for_my_account %>
<% end %>
<%= render partial: 'layouts/user_menu' %>
<div class="col-md-9 mu-tab-body">
<div class="mu-user-header">
<h1><%= t(:certificates) %></h1>
</div>
<% if @certificates.empty? %>
<div class="mu-tab-body">
<%= t :certifi... | Align certificates header and content with other user views | Align certificates header and content with other user views
| HTML+ERB | agpl-3.0 | mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory |
37f54524f288b84ddbb2a5aaede9b2efe326f53c | app/views/landing/show.html.erb | app/views/landing/show.html.erb | <% content_for :header do %>
<h1>Sign up</h1>
<p class="lead">Getting started is easy.</p>
<% end %>
<%= render 'subscriptions/payment_form' %>
| <% content_for :header do %>
<h1>Welcome to Trailmix.</h1>
<p class="lead">Private journaling about your life.</p>
<% end %>
<%= render "subscriptions/payment_form" %>
| Make landing page friendlier than 'Sign up' | Make landing page friendlier than 'Sign up'
| HTML+ERB | mit | codecation/trailmix,codecation/trailmix,codecation/trailmix,codecation/trailmix |
d9d4cf68d64d5bffc41ac8bfe90adb3901279646 | app/views/projects/index.js.erb | app/views/projects/index.js.erb | $("#content").html($("<%= escape_javascript(render 'index') %>"))
projectPageCall();
history.pushState({isAjax: true}, null, clickedLink);
| $("#content").html($("<%= escape_javascript(render 'index') %>"))
projectPageCall();
history.pushState({isAjax: true}, null, clickedLink);
$('meta[name="csrf-token"]').attr('content','<%= form_authenticity_token %>');
| Add csrf token to reloaded tabs | Add csrf token to reloaded tabs
With the new ajaxified project tabs we lost the csrf token after
switching tabs. As a result certain actions, like joining a project,
would fail because of using the old token from the initial page load.
Re-setting it when rendering the tab content via ajax fixes this.
| HTML+ERB | mit | SUSE/hackweek,hennevogel/hackweek,SUSE/hackweek,SUSE/hackweek,srinidhibs/hackweek,hennevogel/hackweek,srinidhibs/hackweek,srinidhibs/hackweek,hennevogel/hackweek,srinidhibs/hackweek |
22b1f34e4fd880f0d6a533b399ce5f261186e4c5 | app/views/skills/index.html.erb | app/views/skills/index.html.erb | <h1><%= User.first.name %></h1>
<div class="skills">
<% User.first.skills.each do |skill| %>
<%= skill.title + " - " + "Current streak: " + skill.current_streak.to_s + " - "%>
<% if skill.time_remaining? %>
Time remaining:
<%= content_tag(:span, :"data-countdown" => skill.expiration_date) {} %>
... | <% if user_signed_in? %>
<h1><%= current_user.name %></h1>
<p><%= link_to "Sign out", destroy_user_session_path, method: :delete %></p>
<div class="skills">
<% current_user.skills.each do |skill| %>
<%= skill.title + " - " + "Current streak: " + skill.current_streak.to_s + " - "%>
<% if skill.ti... | Add conditional to check for current_user | Add conditional to check for current_user
| HTML+ERB | mit | costolo/chain,costolo/chain,costolo/chain |
e89331dcb7db66912ca7cffdc9723f90196510db | app/views/dashboards/show.html.erb | app/views/dashboards/show.html.erb | <div class="col-md-6 col-md-offset-1">
<% if @dashboard.tag %>
<%= follow_tag_button_for(@tag) %>
<div class="heading-container">
<small class="heading-prefix">Tagged in</small>
<h3 class="heading-title"><%= @tag.name.titleize %></h3>
</div>
<% end %>
<% if user_signed_in? %>
<%= rend... | <div class="col-md-6 col-md-offset-1">
<% if @dashboard.tag %>
<%= follow_tag_button_for(@tag) %>
<div class="heading-container">
<small class="heading-prefix">Tagged in</small>
<h3 class="heading-title"><%= @tag.name.titleize %></h3>
</div>
<% end %>
<% if user_signed_in? && !@dashboard.... | Change conditional for displaying form on dashboard | Change conditional for displaying form on dashboard
| HTML+ERB | mit | dev-warner/Revinyl-Product,aamin005/Firdowsspace,dev-warner/Revinyl-Product,aamin005/Firdowsspace,kenny-hibino/stories,dev-warner/Revinyl-Product,kenny-hibino/stories,kenny-hibino/stories,aamin005/Firdowsspace |
ad5a7d482520da2c31df47da58a70c7af7cc9657 | app/views/layouts/_navbar.html.erb | app/views/layouts/_navbar.html.erb | <div class="container">
<nav class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-na... | <div class="container">
<nav class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-na... | Rename Forms tab to Locations | Rename Forms tab to Locations
It's a bit clearer, I think. It's a list of housing locations you can apply
to.
| HTML+ERB | mit | codefordc/districthousing,meiao/districthousing,uncompiled/districthousing,adelevie/districthousing,jrunningen/districthousing,dmjurg/districthousing,dclegalhackers/districthousing,jrunningen/districthousing,lankyfrenchman/dchousing-apps,dclegalhackers/districthousing,uncompiled/districthousing,dmjurg/districthousing,l... |
095b636719af759ab448dfc5391e6da84766579e | templates/README.md.erb | templates/README.md.erb | # <%= app_name.humanize %>
### Getting Started
## Setting Up Postgresql
`psql`
`CREATE ROLE <%= app_name.parameterize.underscore %>_admin`
`ALTER ROLE <%= app_name.parameterize.underscore %>_admin WITH LOGIN CREATEDB REPLICATION SUPERUSER;`
`\q`
`rake db:migrate`
`rake db:setup`
## Setting Up The Server
... | # <%= app_name.humanize %>
## Getting Started
### Setting Up Postgresql
`psql`
`CREATE ROLE <%= app_name.parameterize.underscore %>_admin;`
`ALTER ROLE <%= app_name.parameterize.underscore %>_admin WITH LOGIN CREATEDB REPLICATION SUPERUSER;`
`\q`
### Installing Dependencies
To run this code, you must have R... | Update README to better clarify postgres setup and API setup | Update README to better clarify postgres setup and API setup
| HTML+ERB | mit | dannyyu92/barebones,dannyyu92/barebones |
efd10d8dcd39b49a51def898dbed12a8d471d884 | app/views/cms/media_upload.js.erb | app/views/cms/media_upload.js.erb | <% if @file.valid? %>
<% klass = @file.class.name.split('::').last.to_css_class %>
jQuery("#published-media .items .<%= klass.pluralize %>").append("<%= j render :partial => "cms/media_panel/#{klass}" %>");
jQuery("#published-media .items .<%= klass.pluralize %>").show();
<% else %>
alert("Failed to upload file... | <% if @file.valid? %>
<% klass = @file.class.name.split('::').last.to_css_class %>
jQuery("#published-media .items .<%= klass.pluralize %> h3").after("<%= j render :partial => "cms/media_panel/#{klass}" %>");
jQuery("#published-media .items .<%= klass.pluralize %>").show();
<% else %>
alert("Failed to upload fi... | Insert uploaded media before the others | [media-panel-improvements] Insert uploaded media before the others
| HTML+ERB | agpl-3.0 | arthurmde/noosfero,alexandreab/noosfero,arthurmde/noosfero,LuisBelo/tccnoosfero,macartur/noosfero,macartur/noosfero,coletivoEITA/noosfero,abner/noosfero,samasti/noosfero,samasti/noosfero,coletivoEITA/noosfero,evandrojr/noosfero,coletivoEITA/noosfero-ecosol,blogoosfero/noosfero,marcosronaldo/noosfero,EcoAlternative/noos... |
12fb15fed5b44d7faf7f78ab3320d606d3485dd2 | app/views/locations/show.html.erb | app/views/locations/show.html.erb | <div class="container-fluid">
<div class="row-fluid">
<div class="span12">
<h1>Location Detail</h1>
<h2><%= @location.name %></h2>
<% if @location.beacon.present? %>
<h3>Beacon</h3>
<p class="sub"><%= link_to(@location.beacon.name, [@location.beacon]) %></p>
<% end %>
... | <div class="container-fluid">
<div class="row-fluid">
<div class="span12">
<h1>Location Detail</h1>
<h2><%= @location.name %></h2>
<% if @location.beacons.present? %>
<h3>Beacons</h3>
<ul>
<% @location.beacons.each do |b| %>
<li><p class="sub"><%= link_to(... | Enable Show multiple beacons on location | Enable Show multiple beacons on location
| HTML+ERB | mit | CMP-Studio/cmoa-app-cms,CMP-Studio/cmoa-app-cms,CMP-Studio/cmoa-app-cms |
ad044ddf8c6d16adddc1392cb0a96e002bd30c98 | app/views/projects/index.html.erb | app/views/projects/index.html.erb |
<div>
<% if @projects.any? %>
<% @projects.each do |project| %>
<div>
<%= project.owner_name %>
<%= project.repo_url %>
<%= project.live_preview %>
<%= project.total_number_of_votes %>
<%= button_to lesson_project_votes_path(project.lesson.id, project.id),
... |
<div>
<% if @projects.any? %>
<% @projects.each do |project| %>
<div>
<%= project.owner_name %>
<%= project.repo_url %>
<%= project.live_preview %>
<%= project.total_number_of_votes %>
<%= button_to lesson_project_votes_path(project.lesson.id, project.id),
... | Use lesson id from projects to find votes | Use lesson id from projects to find votes
| HTML+ERB | mit | TheOdinProject/theodinproject,TheOdinProject/theodinproject,TheOdinProject/theodinproject,TheOdinProject/theodinproject |
f615cdb4750081fd8eebfecc755ce31fa6b4838d | app/views/shared/_navbar.html.erb | app/views/shared/_navbar.html.erb | <script src="http://localhost:5000/embed.js"></script>
<div class="navbar">
<%= avatar(current_user, 64) %>
<%= link_to 'Inbox', conversations_path(@account) %>
<% if current_user.primary_owned_account -%>
<a href="<%= edit_account_path %>">Settings</a>
<% end -%>
<a href="#" data-helpful="helpful">Help... | <div class="navbar">
<%= avatar(current_user, 64) %>
<%= link_to 'Inbox', conversations_path(@account) %>
<% if current_user.primary_owned_account -%>
<a href="<%= edit_account_path %>">Settings</a>
<% end -%>
<a href="mailto:helpful@helpful.io">Help!</a>
<%= link_to 'Logout', destroy_user_session_path... | Change Helpful contact point to the email endpoint. | Change Helpful contact point to the email endpoint.
| HTML+ERB | agpl-3.0 | asm-helpful/helpful-web,asm-helpful/helpful-web,nikhilmat/helpful-web,nikhilmat/helpful-web,asm-helpful/helpful-web,nikhilmat/helpful-web,asm-helpful/helpful-web |
4a661206fa7905846b36ae2a5efe3fe1262521e9 | app/views/sponsors/index.html.erb | app/views/sponsors/index.html.erb | <table class="sponsor-list">
<%= link_to t('.new_sponsor'), new_sponsor_path, class: "button tiny" %>
<% @sponsors.each do |sponsor| %>
<tr>
<td><h3><%= sponsor.name %></h3></td>
<td><%= image_tag sponsor.image %></td>
<td>
<%= link_to edit_sponsor_path(sponsor) do %>
<button... | <%= content_for :title, Sponsor.model_name.human(count:2) %>
<%= link_to t('.new_sponsor'), new_sponsor_path, class: "button tiny" %>
<table class="sponsor-list">
<% @sponsors.each do |sponsor| %>
<tr>
<td><h3><%= sponsor.name %></h3></td>
<td><%= image_tag sponsor.image %></td>
<td>
<%=... | Add Sponsors to top of index for sponsors | Add Sponsors to top of index for sponsors
| HTML+ERB | mit | cthit/chalmersit-rails,cthit/chalmersit-rails,cthit/chalmersit-rails,cthit/chalmersit-rails |
65460c04b6340da8016417a84f5acea531939108 | data/ore/templates/yard/_gemfile.erb | data/ore/templates/yard/_gemfile.erb | <%- case @markup
when :markdown -%>
platforms :jruby do
gem 'maruku'
end
platforms :ruby do
gem 'bluecloth', '>= 2.0.0'
end
<%- when :textile -%>
gem 'RedCloth'
<%- end -%>
gem 'yard', '<%= @yard_dependency %>'
| <%- case @markup
when :markdown -%>
platforms :jruby do
gem 'BlueCloth'
end
platforms :ruby do
gem 'bluecloth', '>= 2.0.0'
end
<%- when :textile -%>
gem 'RedCloth'
<%- end -%>
gem 'yard', '<%= @yard_dependency %>'
| Switch to using BlueCloth for rendering markdown under jruby. | Switch to using BlueCloth for rendering markdown under jruby.
| HTML+ERB | mit | dldinternet/ore,ruby-ore/ore,philoserf/ore,ruby-ore/ore,philoserf/ore,dldinternet/ore |
a01b0ee8c3d15e5518acc16f4127e5fad3c10ecf | views/new.erb | views/new.erb | <h4>Add new post<h4>
<p>
<form role="form">
<textarea class="form-control" rows="6"></textarea>
<br/>
<button type="submit" class="btn btn-primary">Yarrr</button>
</form>
</p> | <h4>Add new post<h4>
<p>
<form action="/new" method="POST" role="form">
<textarea class="form-control" rows="6"></textarea>
<br/>
<button type="submit" class="btn btn-primary">Yarrr</button>
</form>
</p> | Add method,action attr to form | Add method,action attr to form
| HTML+ERB | mit | corvusnigra/Leprosorium |
84f3adc8b33fc1b3fc134bed8cdfd73608f8e029 | app/views/onboarding/inset_days/_form.html.erb | app/views/onboarding/inset_days/_form.html.erb | <div class="form-group">
<%= form.label :start_date, 'Date' %>
<div class="input-group date" id="calendar_event_holder" data-target-input="nearest">
<%= form.text_field :start_date, class: 'form-control datetimepicker-input', data: {target: '#calendar_event_holder'} %>
<div class="input-group-append" data-t... | <%= form.input :start_date, as: :tempus_dominus_date %>
<%= form.input :calendar_event_type_id, collection: calendar_event_types, label_method: :display_title, label: 'Type', include_blank: false %>
<%= form.input :title, label: 'Description', as: :string %>
| Use tempus dominus helper on inset days form | Use tempus dominus helper on inset days form
| HTML+ERB | mit | BathHacked/energy-sparks,BathHacked/energy-sparks,BathHacked/energy-sparks,BathHacked/energy-sparks |
fb95c0a7177196dd6dbc2e1a4cdcb2991a71c129 | app/views/blocks/blog_archives.html.erb | app/views/blocks/blog_archives.html.erb | <% if block.blog %>
<%= block_title(block.title, block.subtitle) %>
<ul class='blog-archives'>
<% block.blog.total_number_of_posts(:by_year).each do |year, count| %>
<%= content_tag('li', content_tag('strong', "#{year.to_i} (#{count})")) %>
<ul class='<%= year.to_i %>-archive'>
<% block.blo... | <% if block.blog %>
<%= block_title(block.title, block.subtitle) %>
<ul class='blog-archives'>
<% block.blog.total_number_of_posts(:by_year).each do |year, count| %>
<%= content_tag('li', content_tag('strong', "#{year.to_i} (#{count})")) %>
<ul class='<%= year.to_i %>-archive'>
<% block.blo... | Check specifically on the feed | blog_archives: Check specifically on the feed
| HTML+ERB | agpl-3.0 | CIRANDAS/noosfero-ecosol,samasti/noosfero,samasti/noosfero,coletivoEITA/noosfero-ecosol,samasti/noosfero,coletivoEITA/noosfero-ecosol,samasti/noosfero,CIRANDAS/noosfero-ecosol,samasti/noosfero,CIRANDAS/noosfero-ecosol,samasti/noosfero,CIRANDAS/noosfero-ecosol,coletivoEITA/noosfero-ecosol,coletivoEITA/noosfero-ecosol,co... |
7632d751e1ab2124967e38657fe3793d426af9f3 | app/views/personal_detail/edit.html.erb | app/views/personal_detail/edit.html.erb | <% content_for :header_title, "Personal Details" %>
<div class="form-card">
<header class="form-card__header">
<div class="form-card__title">
First, tell us more about yourself.
</div>
</header>
<div class="form-card__content">
<%= form_for @step, as: :step, builder: MbFormBuilder, url: curren... | <% content_for :header_title, "Personal Details" %>
<div class="form-card">
<header class="form-card__header">
<div class="form-card__title">
First, tell us more about yourself.
</div>
</header>
<div class="form-card__content">
<%= form_for @step, as: :step, builder: MbFormBuilder, url: curren... | Change "Never married" option to "Never Married" | Change "Never married" option to "Never Married"
This small capitalization is necessary to match the options provided
in the Michigan Bridges application. | HTML+ERB | mit | codeforamerica/michigan-benefits,codeforamerica/michigan-benefits,codeforamerica/michigan-benefits,codeforamerica/michigan-benefits |
ac83022b37221af78f5ac2b9f9052e5a7791ee90 | cookbooks/chef/templates/default/client.rb.erb | cookbooks/chef/templates/default/client.rb.erb | # DO NOT EDIT - This file is being maintained by Chef
# Configuration File For Chef (chef-client)
#
# The chef-client program will connect the local system to the specified
# server URLs through a RESTful API to retrieve its configuration.
# Force the default external encoding to UTF-8
Encoding.default_external = En... | # DO NOT EDIT - This file is being maintained by Chef
# Configuration File For Chef (chef-client)
#
# The chef-client program will connect the local system to the specified
# server URLs through a RESTful API to retrieve its configuration.
# Force the default external encoding to UTF-8
Encoding.default_external = En... | Delete any existing report handler before installing a new one | Delete any existing report handler before installing a new one
| HTML+ERB | apache-2.0 | zerebubuth/openstreetmap-chef,Firefishy/chef,Firefishy/chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,tomhughes/openst... |
ad296bda34d7d0c6ad9d8e48356fb6ad76d72a3e | cloud/aws/notes.erb | cloud/aws/notes.erb | <%= @event[:notes] %>
Your <%= @event[:course_name] %> classroom has been started.
You can access the classroom master using:
* Address: <%= @event[:address] %>
* Dashboard: <%= @event[:dashboard] %>
* Zoom URL: <%= @event[:session_url] %>
<% if @event[:passwords] and @event[:passwords].size > 0 -%>
Please di... | <%= @event[:notes] %>
Your <%= @event[:course_name] %> classroom has been started.
You can access the classroom master using:
* Address: <%= @event[:address] %>
* Dashboard: <%= @event[:dashboard] %>
* Zoom URL: <%= @event[:session_url] %>
<% if @event[:instance_data] -%>
Please distribute the Windows Adminis... | Use correct hash key to retrieve data | Use correct hash key to retrieve data
| HTML+ERB | apache-2.0 | puppetlabs/puppetlabs-training-bootstrap,marrero984/education-builds,puppetlabs/puppetlabs-training-bootstrap,marrero984/education-builds,marrero984/education-builds,puppetlabs/puppetlabs-training-bootstrap |
c8814e377481efbfafd61e8cfea4b1b51c36daf3 | app/views/layouts/_search.html.erb | app/views/layouts/_search.html.erb | <%= form_tag(search_pictures_path, method: :get, enforce_utf8: false, class: 'search') do %>
<div class="input-group">
<%= search_field_tag :q, params[:q], placeholder: 'Search pictures...', class: 'form-control', 'aria-label' => 'Query' %>
<span class="input-group-btn">
<button class="btn btn-secondary... | <%= form_tag(search_pictures_path, method: :get, enforce_utf8: false, class: 'search') do %>
<div class="input-group">
<%= search_field_tag :q, params[:q], placeholder: 'Search pictures...', class: 'form-control', 'aria-label' => 'Query' %>
<span class="input-group-btn">
<button class="btn btn-secondary... | Change cursor on search button | Change cursor on search button
| HTML+ERB | mit | vinc/pi.ctu.re,vinc/pi.ctu.re,vinc/pi.ctu.re |
7f144d1545a5547cdd7901bf61347a5ce4cff7d3 | app/views/shared/_sidebar.html.erb | app/views/shared/_sidebar.html.erb | <% if current_subdomain %>
<div id="sidebar">
<div id="sidebar-glow"></div>
<div id="header">
<div id="title">
<div class="top"></div>
<div class="content">
<h1><%= link_to current_subdomain.name, dashboard_path %></h1>
<span class="tagline">Mine Gems™</span>
</div>... | <% if defined?(:current_subdomain) && current_subdomain %>
<div id="sidebar">
<div id="sidebar-glow"></div>
<div id="header">
<div id="title">
<div class="top"></div>
<div class="content">
<h1><%= link_to current_subdomain.name, dashboard_path %></h1>
<span class="tagline">Mine... | Fix error undefined local variable or method `current_subdomain' | Fix error undefined local variable or method `current_subdomain'
This is a temporary fix, I suggest the product layout to be different than the promotional site layout. | HTML+ERB | mit | jodosha/minegems,jodosha/minegems |
9e3952cf325e59042558951fcb4e363d6b32a26f | app/views/products/_social_buttons.html.erb | app/views/products/_social_buttons.html.erb | <% url = product_url(@product) %>
<div class="hack-social-buttons">
<ul class="nav nav-horizontal">
<li class="nav-item">
<a data-href="<%= url %>" data-layout="button_count" class="fb-like" style="margin-top:-6px">
Like
</a>
</li>
<li class="nav-item">
<a
href="https://... | <% url = product_url(@product) %>
<ul class="list-inline">
<li>
<a data-href="<%= url %>" data-layout="button_count" class="fb-like" style="margin-top:-6px">
Like
</a>
</li>
<li>
<a
href="https://twitter.com/share"
data-lang="en"
data-dnt="true"
data-count="none"
d... | Update social buttons to use Bootstrap. | Update social buttons to use Bootstrap.
| HTML+ERB | agpl-3.0 | assemblymade/meta,lachlanjc/meta,assemblymade/meta,lachlanjc/meta,lachlanjc/meta,assemblymade/meta,lachlanjc/meta,assemblymade/meta |
61ebea0f2b3f4559d399d9bbfdf4ad2422699d8b | lib/domgen/ejb/templates/glassfish_ejb.xml.erb | lib/domgen/ejb/templates/glassfish_ejb.xml.erb | <!DOCTYPE glassfish-ejb-jar PUBLIC "-//GlassFish.org// DTD GlassFish Application Server 3.1 EJB 3.1//EN" "http://glassfish.org/dtds/glassfish-ejb-jar_3_1-1.dtd">
<!-- DO NOT EDIT: File is auto-generated -->
<glassfish-ejb-jar>
<enterprise-beans>
<%
repository.data_modules.each do |data_module|
data_module.servi... | <!-- DO NOT EDIT: File is auto-generated -->
<glassfish-ejb-jar>
<enterprise-beans>
<%
repository.data_modules.each do |data_module|
data_module.services.select{|s| s.ejb? && s.jws?}.each do |service|
-%>
<ejb>
<ejb-name><%= service.jws.boundary_ejb_name %></ejb-name>
<webservice-endpoint>
... | Remove DOCTYPE as it results in a lookup across the internet during a deploy | Remove DOCTYPE as it results in a lookup across the internet during a deploy
| HTML+ERB | apache-2.0 | realityforge/domgen,icaughley/domgen,icaughley/domgen,realityforge/domgen |
8521718bbeb28ac041b27e78a971a37e1a17550c | example-product/migration_templates/example_credhub_credential_migration.js.erb | example-product/migration_templates/example_credhub_credential_migration.js.erb | exports.migrate = function(input) {
// To view JavaScript console logs in the Rails debug log, be sure to make them single value and to only pass them
// strings. JSON.stringify is an easy way to dump a structure.
console.log('the properties passed to migrate are: ');
console.log(JSON.stringify(input));
inpu... | exports.migrate = function(input) {
// To view JavaScript console logs in the Rails debug log, be sure to make them single value and to only pass them
// strings. JSON.stringify is an easy way to dump a structure.
console.log('the properties passed to migrate are: ');
console.log(JSON.stringify(input));
//mi... | Add a migration to migrate an rsa pkey credential | Add a migration to migrate an rsa pkey credential
[#143464505]
Signed-off-by: Tom Dunlap <329c7d75de881b58d3d971dc02fa4530c06ae3cb@pivotal.io>
| HTML+ERB | apache-2.0 | pivotal-cf-experimental/ops-manager-example,pivotal-cf-experimental/ops-manager-example,pivotal-cf-experimental/ops-manager-example,pivotal-cf-experimental/ops-manager-example |
731462b5559bf0ec97a14d66e1dd38a530adbc3e | app/views/progress_updates/show.html.erb | app/views/progress_updates/show.html.erb | <div class="box">
<%= render partial: "progress_updates/progress_update_content", locals: {progress_update: @update} %>
<hr><br>
<ul class="list-unstyled"><%= render @update.comments %></ul>
<% if can? :create, Comment %>
<h3>Add New Comment</h3>
<%= form_for [@update.project, @upda... | <div class="box">
<%= render partial: "progress_updates/progress_update_content", locals: {progress_update: @update} %>
<hr><br>
<ul class="list-unstyled"><%= render @update.comments %></ul>
<% if can? :create, Comment %>
<h3>Add New Comment</h3>
<%= form_for [@update.project, @upda... | Remove unused id field from comment button | Remove unused id field from comment button
| HTML+ERB | mit | Cecily2/writing-project-tracker,Cecily2/writing-project-tracker,Cecily2/writing-project-tracker |
ff439c652c1cb945055c5496beb9117c966d89a1 | promo/app/views/spree/admin/promotion_actions/create.js.erb | promo/app/views/spree/admin/promotion_actions/create.js.erb | $('#actions').append('<%= escape_javascript( render(:partial => 'spree/admin/promotions/promotion_action', :object => @promotion_action) ) %>');
$('#actions .no-objects-found').hide();
$(document).ready(function(){
$(".variant_autocomplete").variantAutocomplete();
});
initProductActions();
//enable select2 functions... | $('#actions').append('<%= escape_javascript( render(:partial => 'spree/admin/promotions/promotion_action', :object => @promotion_action) ) %>');
$('#actions .no-objects-found').hide();
$(document).ready(function(){
$(".variant_autocomplete").variantAutocomplete();
//enable select2 functions for recently added box
... | Enable select2 box for latest promo action upon create | [promo] Enable select2 box for latest promo action upon create
| HTML+ERB | bsd-3-clause | lzcabrera/spree-1-3-stable,lzcabrera/spree-1-3-stable,lzcabrera/spree-1-3-stable |
d5c7e9eae591216dd92d28cf5202a6e3da832946 | app/views/capsule_signup_mailer/confirmation.html.erb | app/views/capsule_signup_mailer/confirmation.html.erb | <p>Dear <%= @member.email %>,</p>
<p>We are delighted to have you join us at the Open Data Institute.</p>
<p>We run a free to attend lecture series every Friday highlighting some of the awe inspiring work going on using Open Data - everything from data as art, through to the CTO of the World Bank giving a 'fireside c... | <p>Dear <%= @member.email %>,</p>
<p>We are delighted to have you join us at the Open Data Institute.</p>
<p>We run a free to attend lecture series every Friday highlighting some of the awe inspiring work going on using Open Data - everything from data as art, through to the CTO of the World Bank giving a 'fireside c... | Remove 'drop me a line' for higher-level members - they already know. | Remove 'drop me a line' for higher-level members - they already know.
| HTML+ERB | mit | theodi/member-directory,theodi/member-directory,theodi/member-directory |
93420a5ec73b65bf279729a9431d315203369e2e | app/views/georgia/posts/fields/_extra-fields.html.erb | app/views/georgia/posts/fields/_extra-fields.html.erb | <%= content_for :ujs do %>
<%= javascript_include_tag "kennedy/application" %>
<% end %>
<fieldset>
<legend>Published Date</legend>
<%= f.text_field :published_at, class: "js-datepicker" %>
</fieldset> | Add extra-fields partial for custom editing of published_at | Add extra-fields partial for custom editing of published_at
| HTML+ERB | mit | georgia-cms/georgia_blog,georgia-cms/georgia_blog | |
f0c9586a06267b80669fa23d3a8355aad0bb62b9 | backend/app/views/spree/admin/promotions/new.html.erb | backend/app/views/spree/admin/promotions/new.html.erb | <% admin_breadcrumb(link_to plural_resource_name(Spree::Promotion), spree.admin_promotions_path) %>
<% admin_breadcrumb(Spree.t(:new_promotion)) %>
<%= form_for :promotion, :url => collection_url do |f| %>
<fieldset class="no-border-top">
<%= render :partial => 'form', :locals => { :f => f } %>
<%= render :... | <% admin_breadcrumb(link_to plural_resource_name(Spree::Promotion), spree.admin_promotions_path) %>
<% admin_breadcrumb(Spree.t(:new_promotion)) %>
<%= form_for @promotion, :url => collection_url do |f| %>
<fieldset class="no-border-top">
<%= render :partial => 'form', :locals => { :f => f } %>
<%= render :... | Replace :symbol with instance var in form_for | Replace :symbol with instance var in form_for
Current form_for is not compatible with `hints` because the helper does
not have access to the object. This commit replaces the :promotion
symbol with the @promotion instance variable.
Only difference between the old form_tag and the new form_tag is that
the new form_tag ... | HTML+ERB | bsd-3-clause | Arpsara/solidus,Arpsara/solidus,pervino/solidus,pervino/solidus,Arpsara/solidus,Arpsara/solidus,pervino/solidus,pervino/solidus |
b0b7c14f3cb5aaadc3ddd9f02f10666c5efda105 | views/_utils.erb | views/_utils.erb | <div class="utils">
<% unless @meta.layers.first.nil? %>
<% @layers = @meta.layers.to_a.join(',') %>
<span class="kml-link">
<%= link_to(kml_url(@layers.chomp), 'Google Earth') %>
</span>
<% end %>
<% unless @meta.catalog_link.nil? %>
<span class="catalog-link">
<%= link_to(cat_url(@met... | <div class="utils">
<% unless @meta.layers.first.nil? %>
<% @layers = @meta.layers.map{|node|node.text} %>
<span class="kml-link">
<%= link_to(kml_url(@layers.join(',').chomp ), 'Google Earth') %>
</span>
<% end %>
<% unless @meta.catalog_link.nil? %>
<span class="catalog-link">
<%= lin... | Fix issue with improper mapping of node elements | Fix issue with improper mapping of node elements
| HTML+ERB | apache-2.0 | scholarslab/geoportal,scholarslab/geoportal,scholarslab/geoportal |
2f0fb95e5e4605b7be2fdba1e6112090c1b18761 | app/views/projects/confirm_delete.html.erb | app/views/projects/confirm_delete.html.erb | <h1>Please confirm deletion of <%= h(@project.title) -%></h1>
<p class="important_message">
Once you press this button the project will be deleted
<% form_for @project, :html => {:method => :delete} do |f| -%>
<%= f.submit("YES I am sure I want to delete this project permanently") -%>
<% end -%>
</p>
<% ... | <h1>Please confirm deletion of <%= h(@project.title) -%></h1>
<p class="important_message">
Once you press this button the project will be deleted
<% form_for @project, :html => {:method => :delete} do |f| -%>
<%= f.submit("YES I am sure I want to delete this project permanently") -%>
<% end -%>
</p>
<% ... | Remove ending parenthesis after 'Edit project' | Remove ending parenthesis after 'Edit project'
Signed-off-by: David A. Cuadrado <9e86d6d2f3901859480d56aec66da07500c6a5df@gmail.com>
| HTML+ERB | agpl-3.0 | Gitorious-backup/samgranieris-clone,Gitorious-backup/samgranieris-clone,njall/wel-gitorious,ericbutters/eric-gitorious,Gitorious-backup/yousource,almonteb/scoot,Gitorious-backup/base_uri-fixes,cynipe/gitorious,gitorious/mainline,gitorious/mainline,Gitorious-backup/yousource,Gitorious-backup/yousource,spencerwp/mainline... |
ebe895ca6e9def2a3901209c3b5dbd15b32c60cc | app/views/layouts/_topic.html.erb | app/views/layouts/_topic.html.erb | <% ref_name = topic.name.tr('#', '').downcase.split(' ').join('-') %>
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">
<a data-toggle="collapse" data-parent="#accordion" href="#<%= ref_name %>">
<%= topic.name %>
</a>
</h4>
</div>
<div id="<%= ref... | <% ref_name = topic.name.tr('#', '').tr('?', '').downcase.split(' ').join('-') %>
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">
<a data-toggle="collapse" data-parent="#accordion" href="#<%= ref_name %>">
<%= topic.name %>
</a>
</h4>
</div>
<div... | Remove ? from div ids in FAQs | Remove ? from div ids in FAQs
| HTML+ERB | mit | sethfri/VPAC,sethfri/VPAC |
3b25b3bb2637e4a3a7769fd367f4455a8a88eee4 | app/views/orders/_order_table.erb | app/views/orders/_order_table.erb | <div class="row">
<div class="col-xs-12">
<table id="order-table" class="table table-hover table-striped">
<thead>
<tr>
<th>Category</th>
<th>Item</th>
<th>Requested</th>
<th>Available</th>
<th></th>
</tr>
</thead>
<tbody>
... | Create order table partial for use in select items and edit order views | Create order table partial for use in select items and edit order views
| HTML+ERB | mit | icodeclean/StockAid,icodeclean/StockAid,on-site/StockAid,icodeclean/StockAid,on-site/StockAid,on-site/StockAid | |
a87a5ff51312af66fe2d40075511842f6f6b89a6 | lib/assets/javascripts/cable.coffee.erb | lib/assets/javascripts/cable.coffee.erb | #= require_self
#= require cable/consumer
@Cable =
INTERNAL: <%= ActionCable::INTERNAL.to_json %>
createConsumer: (url = @getConfig("url")) ->
new Cable.Consumer @webSocketURL(url)
getConfig: (name) ->
element = document.head.querySelector("meta[name='action-cable-#{name}']")
element?.getAttribute(... | #= require_self
#= require cable/consumer
@Cable =
INTERNAL: <%= ActionCable::INTERNAL.to_json %>
createConsumer: (url = @getConfig("url")) ->
new Cable.Consumer @createWebSocketURL(url)
getConfig: (name) ->
element = document.head.querySelector("meta[name='action-cable-#{name}']")
element?.getAttr... | Rename helper and update comment | Rename helper and update comment
| HTML+ERB | mit | valencar/actioncable,valencar/actioncable |
6ec6bf96331cca24ce1eb8e5fc09650cebb7918a | kiwi/app/views/layouts/application.html.erb | kiwi/app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<link href='https://fonts.googleapis.com/css?family=Roboto:400,300,900' rel='stylesheet' type='text/css'>
<title>Kiwi Overflow</title>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
<%= csrf_meta_tags %>
</head>
<body>
<head... | <!DOCTYPE html>
<html>
<head>
<link href='https://fonts.googleapis.com/css?family=Roboto:400,300,900' rel='stylesheet' type='text/css'>
<title>Kiwi Overflow</title>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
<%= csrf_meta_tags %>
</head>
<body>
<head... | Move post question link to nabber | Move post question link to nabber
| HTML+ERB | mit | nyc-island-foxes-2016/kiwi-overflow,nyc-island-foxes-2016/kiwi-overflow,nyc-island-foxes-2016/kiwi-overflow |
1f3e7964b7db644e68de2db11503ca2cf6b9fac1 | app/views/content/form/_text_input.html.erb | app/views/content/form/_text_input.html.erb | <%
field_id = "#{f.object.class.name.downcase}_#{attribute}"
# TODO: Enable autocomplete when we can actually hide the dropdown if someone tabs out of a field.
# Not the easiest thing in the world to do, apparently.
%>
<div class="input-field content-field">
<%= f.label attribute, attribute.humanize.cap... | <%
field_id = "#{f.object.class.name.downcase}_#{attribute}"
class_name = f.object.class.name.downcase
# TODO: Enable autocomplete when we can actually hide the dropdown if someone tabs out of a field.
# Not the easiest thing in the world to do, apparently.
%>
<div class="input-field content-field">
<... | Add smarter placeholders to content forms | Add smarter placeholders to content forms
| HTML+ERB | mit | indentlabs/notebook,indentlabs/notebook,indentlabs/notebook |
c827b253d6d3a7b00c2894970157c1feb99c9b9d | app/views/requests/_single_request.html.erb | app/views/requests/_single_request.html.erb | <hr>
<div class="row">
<div class="col-md-12">
<h2><%= @request_type %> <small><%= @url %></small></h2>
<h4>Request Headers</h4>
<ul>
<% @request_data['headers'].each do |header_name, header_value| %>
<li>
<strong><%= header_name %>: </strong><%= header_value %>
</li>
... | <hr>
<div class="row">
<div class="col-md-12">
<h2><%= @request_type %> <small><%= @url %></small></h2>
<h4>Request Headers</h4>
<ul>
<% @request_data['headers'].each do |header_name, header_value| %>
<li>
<strong><%= header_name %>: </strong><%= header_value %>
</li>
... | Add better JSON format support in response body | Add better JSON format support in response body
| HTML+ERB | mit | rehttp/rehttp,rehttp/rehttp,rehttp/rehttp |
2a7d823fea923eed5011e3696f962ef100f5b127 | site-modules/profile/templates/swh/deploy/loader_opam/opam-manage-shared-state.sh.erb | site-modules/profile/templates/swh/deploy/loader_opam/opam-manage-shared-state.sh.erb | #!/usr/bin/env bash
# Managed by puppet class profile::swh::deploy::worker::loader_opam
# Changes will be overwritten
CMD=/usr/bin/opam
ROOT_DIR=<%= @opam_root %>
INSTANCE=$1
INSTANCE_URL=$2
if [ $INSTANCE = "opam" ]; then
# Opam instance is considered the main instance so we must initialize the repository
# if ... | #!/usr/bin/env bash
# Managed by puppet class profile::swh::deploy::worker::loader_opam
# Changes will be overwritten
CMD=/usr/bin/opam
ROOT_DIR=<%= @opam_root %>
DEFAULT_INSTANCE="opam.ocaml.org"
INSTANCE=$1
INSTANCE_URL=$2
if [ $INSTANCE = $DEFAULT_INSTANCE ]; then
# Opam instance is considered the main instance... | Rename properly the instances 2/2 | Rename properly the instances 2/2
Related to T3717
| HTML+ERB | apache-2.0 | SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site |
b5aa1b385f50a434f368a7e3a19328ef52d85f6b | lib/daimon_skycrawlers/generator/templates/new/README.md.erb | lib/daimon_skycrawlers/generator/templates/new/README.md.erb | # <%= name %>
TODO: Write description.
## Requirements
- Ruby
- RabbitMQ
- RDB
- PostgreSQL (default)
- MySQL
- SQLite3
## Usage
1. Install dependencies
```
$ bundle install
```
2. Create database
```
$ bundle exec rake db:create
$ bundle exec rake db:migrate
```
3. Open new terminal and run crawler/proc... | # <%= name %>
TODO: Write description.
## Requirements
- Ruby
- RabbitMQ
- RDB
- PostgreSQL (default)
- MySQL
- SQLite3
## Usage
1. Install dependencies
```
$ bundle install
```
2. Create database
```
$ bundle exec rake db:create
$ bundle exec rake db:migrate
```
3. Open new terminal and run crawler/proc... | Update generated README for docker-compose | wip: Update generated README for docker-compose
| HTML+ERB | mit | yucao24hours/daimon-skycrawlers,bm-sms/daimon_skycrawlers,bm-sms/daimon_skycrawlers,bm-sms/daimon_skycrawlers,bm-sms/daimon-skycrawlers,yucao24hours/daimon-skycrawlers,yucao24hours/daimon-skycrawlers,bm-sms/daimon-skycrawlers |
9a24a8efe2a349dd2d740937c18718194f499cde | app/components/admin/search_component.html.erb | app/components/admin/search_component.html.erb | <div class="small-12 medium-6">
<%= form_for(User.new, url: url, as: :user, method: :get) do |f| %>
<div class="input-group">
<%= text_field_tag :name_or_email, params[:name_or_email].to_s, placeholder: t("admin.shared.user_search.placeholder") %>
<div class="input-group-button">
<%= f.submi... | <div class="small-12 medium-6">
<%= form_tag(url, method: :get) do |f| %>
<div class="input-group">
<%= text_field_tag :name_or_email, params[:name_or_email].to_s, placeholder: t("admin.shared.user_search.placeholder") %>
<div class="input-group-button">
<%= submit_tag t("admin.shared.user_s... | Use form_tag in search form | Use form_tag in search form
This form does not depend on an object at all, so we can use a generic
tag which is model-independent.
| HTML+ERB | agpl-3.0 | consul/consul,consul/consul,consul/consul,consul/consul,consul/consul |
8e28f6d421af0b137cdb6044c7fc4273d6579db8 | app/views/admin/templates/_belongs_to.html.erb | app/views/admin/templates/_belongs_to.html.erb | <%
if @resource.typus_field_options_for(:read_only).include?(attribute.to_sym)
html_options.merge!(:disabled => 'disabled')
message = Typus::I18n.t("Read only")
end
%>
<li id="<%= attribute_id %>">
<%= form.label related_fk, "#{label_text} <small>#{message}</small>".html_safe %>
<% if values.any? %>
... | <%
if @resource.typus_field_options_for(:read_only).include?(attribute.to_sym)
html_options.merge!(:disabled => 'disabled')
message = Typus::I18n.t("Read only")
end
%>
<li id="<%= attribute_id %>">
<%= form.label attribute, "#{label_text} <small>#{message}</small>".html_safe %>
<% if values.any? %>
... | Use the attribute instead of the related_fk. | Use the attribute instead of the related_fk.
| HTML+ERB | mit | wollzelle/typus,thirdthing/typus,baban/typus,readyfor/typus,wollzelle/typus,readyfor/typus,typus/typus,thirdthing/typus,chiragshah/typus,burn-notice/typus,thirdthing/typus,brainsome-de/typus,wollzelle/typus,baban/typus,baban/typus,burn-notice/typus,burn-notice/typus,baban/typus,wollzelle/typus,burn-notice/typus,chirags... |
62d3921070d6ab5bb0cc66529403192c73a9af45 | templates/default/rhel/supervisor.init.erb | templates/default/rhel/supervisor.init.erb | #!/bin/bash
#
# /etc/rc.d/init.d/supervisor
#
# Manages the supervisor daemon
#
# chkconfig: 2345 90 10
# description: Supervisor is a process control utility
# processname: supervisord
# config: /etc/supervisord.conf
# pidfile: /var/run/supervisord.pid
source /etc/rc.d/init.d/functions
start() {
echo -n "Startin... | #!/bin/bash
#
# /etc/rc.d/init.d/supervisor
#
# Manages the supervisor daemon
#
# chkconfig: 2345 90 10
# description: Supervisor is a process control utility
# processname: supervisord
# config: /etc/supervisord.conf
# pidfile: /var/run/supervisord.pid
source /etc/rc.d/init.d/functions
start() {
echo -n "Startin... | Make sure start and stop commands end with a newline on failure. | Make sure start and stop commands end with a newline on failure.
| HTML+ERB | apache-2.0 | h4ck3rm1k3/supervisor,h4ck3rm1k3/supervisor,joeheung/supervisor,rstudio/supervisor,greenbits/supervisor,channelgrabber/supervisor,rstudio/supervisor,corbel-platform/supervisor,knowsis/supervisor,GannettDigital/chef-supervisor,corbel-platform/supervisor,poise/supervisor,h4ck3rm1k3/supervisor,GannettDigital/chef-supervis... |
35d28a0b041efb040eceaf02d125681d4c4971d1 | templates/Gemfile.erb | templates/Gemfile.erb | source "https://rubygems.org"
git_source(:github) do |repo_name|
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
"https://github.com/#{repo_name}.git"
end
ruby "<%= Suspenders::RUBY_VERSION %>"
gem "autoprefixer-rails"
gem "flutie"
gem "honeybadger"
gem "jquery-rails"
gem "pg", "~> 0.18"
g... | source "https://rubygems.org"
git_source(:github) do |repo_name|
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
"https://github.com/#{repo_name}.git"
end
ruby "<%= Suspenders::RUBY_VERSION %>"
gem "autoprefixer-rails"
gem "flutie"
gem "honeybadger"
gem "jquery-rails"
gem "pg", "~> 0.18"
g... | Move suspenders out of production | Move suspenders out of production
The suspenders gem brings in additional dependencies, not all of which
are needed in production. We only need suspenders during development --
it's a collection of Rake tasks for improving our dev speed, afterall --
so move it to the `:development` group.
Our tests need suspenders in... | HTML+ERB | mit | thoughtbot/suspenders,welaika/welaika-suspenders,thoughtbot/suspenders,mukkoo/welaika-suspenders,welaika/welaika-suspenders,toobulkeh/suspenders,thoughtbot/suspenders,mukkoo/welaika-suspenders,delphaber/suspenders,delphaber/suspenders,toobulkeh/suspenders,toobulkeh/suspenders,mukkoo/welaika-suspenders,delphaber/suspend... |
773140e73b02cfa54da2f62cfc6d858742d336c6 | lib/generators/datafix/templates/datafix_spec_template.rb.erb | lib/generators/datafix/templates/datafix_spec_template.rb.erb | require "spec_helper"
require Rails.root.join("db", "datafixes", "<%= "#{timestamp}_#{file_name}" %>")
describe Datafixes::<%= file_name.camelize %> do
describe ".up" do
pending "Needs tests"
end
describe ".down" do
pending "Needs tests"
end
end
| require "rails_helper"
require Rails.root.join("db", "datafixes", "<%= "#{timestamp}_#{file_name}" %>")
describe Datafixes::<%= file_name.camelize %> do
describe ".up" do
pending "Needs tests"
end
describe ".down" do
pending "Needs tests"
end
end
| Update datafix spec generator to use rails_helper | Update datafix spec generator to use rails_helper | HTML+ERB | mit | dimroc/datafix,dimroc/datafix |
887a9bf30a750ee9af366f791ffe29f3bd4fd85a | app/views/account/key.erb | app/views/account/key.erb | <div class="container">
<section class="page-header">
<h1>
API Key: <%= current_user.key %>
</h1>
</section>
<h2>Configuration</h2>
<p>To configure or reconfigure the exercism command-line client use the following command:</p>
<%= md("exercism configure --key=#{current_user.key}") %>
<hr />... | <div class="container">
<section class="page-header">
<h1>
API Key: <%= current_user.key %>
</h1>
</section>
<h2>Configuration</h2>
<p>To configure or reconfigure the exercism command-line client use the following command:</p>
<%= syntax("exercism configure --key=#{current_user.key}", "plain")... | Add syntax highlighting to config command in account | Add syntax highlighting to config command in account
| HTML+ERB | agpl-3.0 | k4rtik/exercism.io,bmulvihill/exercism.io,tejasbubane/exercism.io,treiff/exercism.io,Tonkpils/exercism.io,bmulvihill/exercism.io,nathanbwright/exercism.io,RaptorRCX/exercism.io,tejasbubane/exercism.io,copiousfreetime/exercism.io,Tonkpils/exercism.io,treiff/exercism.io,mhelmetag/exercism.io,tejasbubane/exercism.io,jtigg... |
351eef90c2c183a54398a2ecd1f7a5b58d7c89ef | LunchOverflow/app/views/posts/show.html.erb | LunchOverflow/app/views/posts/show.html.erb | <h2><%= @post.title %> - <%= @post.address %></h2>
<h4><%= @post.content %></h4>
<h3>Comments</h3>
<ul>
<% @post.comments.each do |comment| %>
<li><strong><%= comment.user.user_name %></strong> says <%= comment.content %></li>
<% end %>
</ul>
<%= link_to "Add Comment", new_post_comment_path %> | <h2><%= @post.title %> - <%= @post.address %></h2>
<h4><%= @post.content %></h4>
<h3>Comments</h3>
<ul>
<% @post.comments.each do |comment| %>
<li><strong><%= comment.user.user_name %></strong> says <%= comment.content %></li>
<% end %>
</ul>
<%= link_to "Add Comment", new_post_comment_path(@post) %> | Fix link of adding comment | Fix link of adding comment
| HTML+ERB | mit | rock-doves-2014/LunchOverflow,rock-doves-2014/LunchOverflow |
a9d72e65a08f2cdc1bc6ec4127dbe8a8bbb67614 | app/views/datasets/_datasets.html.erb | app/views/datasets/_datasets.html.erb | <ul>
<%= render partial: "dataset", collection: @datasets %>
</ul>
| <ul>
<%= render(partial: "dataset", collection: @datasets) || "<p class='text-center lead'>You currently have no datasets, why not #{link_to 'add one', new_dataset_path}?</p>".html_safe %>
</ul>
| Add message if user has no datasets | Add message if user has no datasets
| HTML+ERB | mit | theodi/git-data-publisher,theodi/git-data-publisher,theodi/git-data-publisher |
1db81db65ed160792141097ec3cfc744d4225587 | app/views/orders/_order_info.html.erb | app/views/orders/_order_info.html.erb | <p>
<strong>Order Date:</strong><br/>
<span id="date_received"><%= order.order_date.strftime("%B %d, %Y at %I:%M%p") %></span>
</p>
<p>
<strong>Status:</strong><br/>
<span id="status"><%= order.status.titleize %></span>
</p>
| <p>
<strong>Order Date:</strong><br/>
<span id="date_received"><%= order.order_date.strftime("%B %d, %Y at %I:%M%p") %></span>
</p>
<p>
<strong>Status:</strong><br/>
<span id="status"><%= order.status.titleize %></span>
</p>
<p>
<strong>Order Value:</strong><br/>
<span id="status">$<%= order.order_value %><... | Add order value to order info on header | Add order value to order info on header
| HTML+ERB | mit | on-site/StockAid,on-site/StockAid,icodeclean/StockAid,icodeclean/StockAid,icodeclean/StockAid,on-site/StockAid |
3ba07843a276d4af4813e18cd6b3ac3a9f4bda87 | app/views/dashboard/_motd_rss.html.erb | app/views/dashboard/_motd_rss.html.erb | <div>
<% @motd.content.items.each do |item| %>
<div>
<%= content_tag(:h4, item.pubDate.strftime("%m-%d-%Y")) if item.pubDate %>
<h3><a href="<%= item.link %>"><%= item.title %></a></h3>
<p><%= item.description.html_safe %></p>
<hr />
</div>
<% end %>
</div>
| <% if @motd.content %>
<div class="container">
<% @motd.content.items.each do |item| %>
<div>
<%= content_tag(:h4, item.pubDate.strftime("%m-%d-%Y")) if item.pubDate %>
<h3><a href="<%= item.link %>"><%= item.title %></a></h3>
<p><%= item.description.html_safe %></p>
<hr />
</div>
<%... | Check if contect exists before render | Check if contect exists before render
| HTML+ERB | mit | OSC/ood-dashboard,OSC/ood-dashboard,OSC/ood-dashboard |
460049dbb63c59130bc8cf938ef33980bd36c36d | app/views/tshop/taxons/_intro.html.erb | app/views/tshop/taxons/_intro.html.erb | <section id="category-intro" class="section-intro scrollme parallaxOffset">
<div class="cat-intro animateme" data-when="exit"
data-from="0"
data-to="1"
data-opacity="0"
data-translatey="-220"
data-rotatez="0"
data-crop="true">
<div class="cat-intro-text... | <section id="category-intro" class="section-intro scrollme parallaxOffset">
<div class="cat-intro animateme" data-when="exit"
data-from="0"
data-to="1"
data-opacity="0"
data-translatey="-220"
data-rotatez="0"
data-crop="true">
<div class="cat-intro-text... | Change taxon intro to use taxon image helper for banner | Change taxon intro to use taxon image helper for banner
| HTML+ERB | bsd-3-clause | ryan-hunter-pc/spree_tshop,ryan-hunter-pc/spree_tshop,ryan-hunter-pc/spree_tshop |
741b1acbcc4f135f0233e7a355e95050383c3cf2 | app/views/users/_plan_recipes.html.erb | app/views/users/_plan_recipes.html.erb | <div class="col-xs-4 plan-display">
<div class="btn-group">
<%= link_to("#{plan.plan_name}", plan_path(plan), { class: "btn btn-default", role: "button" }) %>
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span>
<span class="sr-only">Toggle Dropdow... | Add partial to display a plan's recipes in a dropdown menu | Add partial to display a plan's recipes in a dropdown menu
| HTML+ERB | mit | kevmcgovern/EZMeals,kevmcgovern/EZMeals,kevmcgovern/EZMeals | |
4110cb55474b4dd2c8f66672a999088ef78b4e4b | test/fixtures/long-running/jobs.yml.erb | test/fixtures/long-running/jobs.yml.erb | apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: jobs
spec:
replicas: 2
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 0
maxUnavailable: 50%
template:
metadata:
labels:
name: jobs
app: fixtures
spec:
containers:
- name: app
... | apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: jobs
spec:
replicas: 2
revisionHistoryLimit: 1
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 0
maxUnavailable: 50%
template:
metadata:
labels:
name: jobs
app: fixtures
spec:
contain... | Test long-running pods together with revisionHistoryLimit | Test long-running pods together with revisionHistoryLimit
| HTML+ERB | mit | Shopify/kubernetes-deploy,Shopify/kubernetes-deploy |
5bb4febd792e5332ecea700bc6d8a532acec1289 | app/views/tournaments/all_brackets.html.erb | app/views/tournaments/all_brackets.html.erb | <% cache ["#{@tournament.id}_all_brackets", @tournament] do %>
<div id="exportable">
<%= render :file => 'tournaments/team_scores' %>
<% @tournament.weights.sort_by{|w| w.max}.each do |weight| %>
<table class='pagebreak'>
<tr>
<% if @tournament.tournament_type == "Pool to brack... | <style>
.pagebreak {
page-break-after: always;
border: none;
margin: 0px;
padding: 0px;
width: 8in; /* width: 7in; */
height: 9.5in; /* or height: 9.5in; */
font-size: 8px;
position: relative;
left: 0in;
height: 1in;
}
</style>
<% cac... | Fix page break for all brackets | Fix page break for all brackets
| HTML+ERB | mit | jcwimer/wrestlingApp,jcwimer/wrestlingApp,jcwimer/wrestlingApp,jcwimer/wrestlingApp |
40301f49ec47fab3ce32a838cee02363373042cb | app/views/conductor/scaffolds/new.html.erb | app/views/conductor/scaffolds/new.html.erb | <h1>New scaffold</h1>
<% form_for(:scaffold, :url => conductor_scaffolds_path) do |form| %>
<p>
<%= form.label :name, "Name <small>(singular, ex: Post, Person, Product)</small>" %><br />
<%= form.text_field :name %>
</p>
<h1>Fields</h1>
<table>
<tr>
<th>Name</th>
<th>Type</th>
</t... | <h1>New scaffold</h1>
<p>
Scaffolds an entire resource, from model and migration to controller and
views, along with a full test suite. The resource is ready to use as a
starting point for your RESTful, resource-oriented application.
</p>
<% form_for(:scaffold, :url => conductor_scaffolds_path) do |form| %>
<... | Add a quick description to show inline help | Add a quick description to show inline help
| HTML+ERB | mit | rails/conductor,NewRosies/conductor,rails/conductor,NewRosies/conductor,rails/conductor |
28688875a68dd7dbeded3fdf31671ad58d1ec1f0 | app/views/taverna_player/runs/index.js.erb | app/views/taverna_player/runs/index.js.erb | var json = <%= runs_table(@runs).to_json.html_safe -%>;
$j('#workflow_runs_table').dataTable().fnClearTable();
$j('#workflow_runs_table').dataTable().fnAddData(json);
<% if logged_in? && @user_runs %>
var user_json = <%= runs_table(@user_runs).to_json.html_safe -%>;
$j('#workflow_user_runs_table').dataTable().fn... | var json = <%= runs_table(@runs).to_json.html_safe -%>;
$j('#workflow_runs_table').dataTable().fnClearTable();
$j('#workflow_runs_table').dataTable().fnAddData(json);
<% if logged_in? && @user_runs %>
var user_json = <%= runs_table(@user_runs).to_json.html_safe -%>;
$j('#workflow_user_runs_table').dataTable().fn... | Update button panel on sweep page when sweep completes. | Update button panel on sweep page when sweep completes.
| HTML+ERB | bsd-3-clause | stuzart/seek,HITS-SDBV/nmtrypi-seek,aina1205/nmtrypi-seek,Virtual-Liver-Network/seek,HITS-SDBV/nmtrypi-seek,SynthSys/seek,Virtual-Liver-Network/seek,aina1205/SysMO-DB-seek,kjgarza/frame_experiment,Virtual-Liver-Network/seek,aina1205/SysMO-DB-seek,Virtual-Liver-Network/seek,HITS-SDBV/seek,SynthSys/seek,HITS-SDBV/nmtrypi... |
8fb558343557b835c3775c0d53576217880ed4fc | app/views/glossary_terms/show_past_glossary_term.html.erb | app/views/glossary_terms/show_past_glossary_term.html.erb | <%
@title = :show_past_glossary_term_title.t(
num: @glossary_term.version,
name: @glossary_term.name
)
tabs = [
link_to(:show_glossary_term.t(glossary_term: @glossary_term.name),
glossary_term_path(@glossary_term.id))
]
@tabsets = { right: draw_tab_set(tabs) }
%>
<div class="row">
... | <%
@title = :show_past_glossary_term_title.t(
num: @glossary_term.version,
name: @glossary_term.name
)
tabs = [
link_to(:show_glossary_term.t(glossary_term: @glossary_term.name),
glossary_term_path(@glossary_term.id))
]
@tabsets = { right: draw_tab_set(tabs) }
%>
<div class="row">
... | Add spaces inside hash braces in view | Add spaces inside hash braces in view
For consistency with Layout/SpaceInsideHashLiteralBraces cop.
| HTML+ERB | mit | MushroomObserver/mushroom-observer,JoeCohen/mushroom-observer,JoeCohen/mushroom-observer,JoeCohen/mushroom-observer,MushroomObserver/mushroom-observer,JoeCohen/mushroom-observer,JoeCohen/mushroom-observer,MushroomObserver/mushroom-observer,MushroomObserver/mushroom-observer,MushroomObserver/mushroom-observer,JoeCohen/m... |
de2965fb65baef3a3d25eb111652ab809bba6f19 | templates/default/consul.conf.erb | templates/default/consul.conf.erb | description "Consul Service Discovery Platform"
emits consul-up
start on runlevel [2345]
stop on runlevel [!2345]
script
if [ -f <%= node['consul']['etc_config_dir'] %> ]; then
. <%= node['consul']['etc_config_dir'] %>
fi
export GOMAXPROCS=${GOMAXPROCS}
CMD="<%= @consul_binary %> agent -config-dir <%= @c... | description "Consul Service Discovery Platform"
emits consul-up
start on runlevel [2345]
stop on runlevel [!2345]
script
if [ -f <%= node['consul']['etc_config_dir'] %> ]; then
. <%= node['consul']['etc_config_dir'] %>
fi
export GOMAXPROCS=${GOMAXPROCS}
CMD="<%= @consul_binary %> agent -config-dir <%= @c... | Make upstart script respawn consul on crash | Make upstart script respawn consul on crash
| HTML+ERB | apache-2.0 | johnbellone/consul-cookbook,johnbellone/consul-cookbook,johnbellone/consul-cookbook |
35dbd3642d5d369d5338229eff2b1952d0a9738f | templates/default/secret.yaml.erb | templates/default/secret.yaml.erb | apiVersion: v1
kind: Secret
metadata:
name: <%= @name %>
labels:
<% @labels.each_pair do |k, v| %>
<%= k %>: <%= v %>
<%- end -%>
<% unless @annotations.empty? %>
annotations:
<%- @annotations.each do |annotation| %>
<%= annotation %>
<%- end -%>
<%- end -%>
data:
<% @data.each_pair do |k, v| %>
<%=... | apiVersion: v1
kind: Secret
metadata:
name: <%= @name %>
labels:
<% @labels.each_pair do |k, v| %>
<%= k %>: <%= v %>
<%- end -%>
<% if defined?(@annotations) %>
annotations:
<%- @annotations.each do |annotation| %>
<%= annotation %>
<%- end -%>
<%- end -%>
data:
<% @data.each_pair do |k, v| %>
<%= ... | Fix variable logic post 3.6 | Fix variable logic post 3.6
| HTML+ERB | mit | IshentRas/cookbook-openshift3,IshentRas/cookbook-openshift3,IshentRas/cookbook-openshift3 |
08365cefef9aaa9fac7a9ef69b346e5d72c46f08 | backend/app/views/spree/admin/variants/_autocomplete.js.erb | backend/app/views/spree/admin/variants/_autocomplete.js.erb | <script type='text/template' id='variant_autocomplete_template'>
<div class="variant-autocomplete-item media">
<div class="media-left">
{{#if variant.image }}
<img class="media-object" src='{{variant.image}}' />
{{ else }}
<img class="media-object" src='<%= image_path("noimage/mini.png... | <script type='text/template' id='variant_autocomplete_template'>
<div class="variant-autocomplete-item media">
<div class="media-left">
{{#if variant.image }}
<img class="media-object" src='{{variant.image}}' />
{{ else }}
<img class="media-object" src='<%= image_path("noimage/mini.png... | Fix missing div in autocomplete template | Fix missing div in autocomplete template
| HTML+ERB | bsd-3-clause | athal7/solidus,jsurdilla/solidus,xuewenfei/solidus,devilcoders/solidus,xuewenfei/solidus,lsirivong/solidus,lsirivong/solidus,xuewenfei/solidus,jordan-brough/solidus,grzlus/solidus,lsirivong/solidus,pervino/solidus,richardnuno/solidus,pervino/solidus,Arpsara/solidus,athal7/solidus,forkata/solidus,scottcrawford03/solidus... |
4ee49e7f732c2a780c8963d1e7e8a86daacc0d4a | app/views/shared/_exercise_name.html.erb | app/views/shared/_exercise_name.html.erb | <div id="exercise-name-box"></div>
<script>
'use strict';
$(() => {
const $exerciseNameBox = $('#exercise-name-box');
const manifest = cd.kata.manifest(cd.kata.id);
const exercise = manifest.exercise;
if (exercise != "") {
$exerciseNameBox.html(exercise);
}
else {
$exerciseNameBox.hide();
}
});... | <div id="exercise-name-box" style="display:none;"></div>
<script>
'use strict';
$(() => {
const manifest = cd.kata.manifest(cd.kata.id);
const exercise = manifest.exercise;
if (exercise != "") {
$('#exercise-name-box').show().html(exercise);
}
});
</script>
| Set default for exercise-name-box on app-bar to display:none | Set default for exercise-name-box on app-bar to display:none
| HTML+ERB | bsd-2-clause | cyber-dojo/web,cyber-dojo/web,cyber-dojo/web,cyber-dojo/web |
2edd866a046b66a631a9470f26a1da4c449573ba | templates/default/contacts.cfg.erb | templates/default/contacts.cfg.erb | # Contact definitions
#
# Autogenerated by Chef.
define contact {
contact_name root
alias Root
service_notification_period 24x7
host_notification_period 24x7
service_notification_options w,u,c,r
host_notification_options d,r
service_notific... | # Contact definitions
#
# Autogenerated by Chef.
define contact {
contact_name root
alias Root
service_notification_period 24x7
host_notification_period 24x7
service_notification_options w,u,c,r
host_notification_options d,r
service_notific... | Check to make sure that not just a['nagios']['email'] exists, but also that a['nagios'] exists | Check to make sure that not just a['nagios']['email'] exists, but also that a['nagios'] exists
The previous check only worked if the nagios block existed, but not the
e-mail value. If the entire nagios block was missing an error would
still be thrown. I've tested this under both scenarios.
| HTML+ERB | apache-2.0 | Piousbox-cookbooks/nagios,aaronkvanmeerten/nagios,bitmonk/chef-nagios,spudnic/nagios,Tealium/nagios,polamjag/nagios,earzur/nagios,ovaistariq/nagios,mrlamroger/nagios,spudnic/nagios,Piousbox-cookbooks/nagios,jtimberman/nagios,cookbooks/oc-nagios,bitmonk/chef-nagios,OpenGov/nagios,mconf-cookbooks/nagios,caleb/nagios,Cana... |
ef1c0ce03e0f39c7a7503440c91c2baf8c03fc98 | app/views/admin/visualizations/show.html.erb | app/views/admin/visualizations/show.html.erb | <% content_for(:page_title) do %>
<%= @visualization.name %> |
<% end %>
<% content_for(:css) do %>
<%= stylesheet_link_tag 'cdb/themes/css/cartodb.css' %>
<%= stylesheet_link_tag :common, :table, :map, :media => 'all' %>
<% end %>
<script>
var
vis_data = <%=raw @visualization.attr... | <% content_for(:page_title) do %>
<%= @visualization.name %> |
<% end %>
<% content_for(:css) do %>
<%= stylesheet_link_tag 'cdb/themes/css/cartodb.css' %>
<%= stylesheet_link_tag :common, :table, :map, :media => 'all' %>
<% end %>
<script>
var
vis_data = <%=raw @visualization.to_h... | Use Visualization::Presenter when rendering visualization show view | Use Visualization::Presenter when rendering visualization show view
| HTML+ERB | bsd-3-clause | raquel-ucl/cartodb,raquel-ucl/cartodb,future-analytics/cartodb,nuxcode/cartodb,raquel-ucl/cartodb,codeandtheory/cartodb,codeandtheory/cartodb,UCL-ShippingGroup/cartodb-1,future-analytics/cartodb,dbirchak/cartodb,splashblot/dronedb,codeandtheory/cartodb,thorncp/cartodb,nyimbi/cartodb,CartoDB/cartodb,nyimbi/cartodb,Digit... |
1a2cfcdd9baa173058fa0abf89aa465ffd821652 | app/views/koi/settings/_form_fields.html.erb | app/views/koi/settings/_form_fields.html.erb | <% klass = f.object.class %>
<%- klass.admin_attributes(:form).each do |attr| -%>
<% if attr == :value %>
<% f.object.derive_data_source(true) %>
<%= render "field_#{klass.crud.find(:fields, attr, :type)}", f: f, attr: attr, object: f.object, label: :value %>
<% else %>
<%=
assoc = klass.reflec... | <% klass = f.object.class %>
<%- klass.admin_attributes(:form).each do |attr| -%>
<% f.object.init_tags(true);
<% if attr == :value %>
<% f.object.derive_data_source(true) %>
<%= render "field_#{klass.crud.find(:fields, attr, :type)}", f: f, attr: attr, object: f.object, label: :value %>
<% else %>
<%... | Initialize tags to ensure a resources has acts-as-taggable-on enabled for it's associated tag settings | Initialize tags to ensure a resources has acts-as-taggable-on enabled for it's associated tag settings | HTML+ERB | mit | katalyst/koi,katalyst/koi,katalyst/koi |
60beb5db961ca174aae0cc3cb4c8def6bae9d6e3 | app/views/partials/_header_business.html.erb | app/views/partials/_header_business.html.erb | <header>
<div class="container">
<div class="logo col span_4">
<h1><a href="/">Dinner Winner</a></h1>
</div>
<ul class="right right-links">
<li><a class="create-mass-deal" href="#">Create New Mass Deal</a></li>
|
<li><a id="deals-link" class="my-deals-link" href="<%= current_busine... | <header>
<div class="container">
<div class="logo col span_4">
<h1><a href="/businesses/<%= current_business.id %>">Dinner Winner</a></h1>
</div>
<ul class="right right-links">
<li><a class="create-mass-deal" href="#">Create New Mass Deal</a></li>
|
<li><a id="deals-link" class="my... | Fix link of business logo | Fix link of business logo
| HTML+ERB | mit | codemecurtis/dinnerwinner,codemecurtis/dinnerwinner,codemecurtis/dinnerwinner |
0cdc3ba1bd46cc0906fdc13648d7d07a11fa3efc | app/views/taggings/_form_for_taxons.html.erb | app/views/taggings/_form_for_taxons.html.erb | <h3>Taxons</h3>
<%= f.input :taxons,
collection: linkables.taxons,
placeholder: "Choose one...",
input_html: { multiple: true, class: :select2 } %>
<p class="explain">
This taxonomy is currently being developed.
</p>
| <h3>Topic taxonomy tags</h3>
<%= f.input :taxons,
collection: linkables.taxons,
placeholder: "Choose one...",
input_html: { multiple: true, class: :select2 } %>
<p class="explain">
Tagging to the topic taxonomy supports search filtering and content management
</p>
| Use consistent language to describe Topic taxonomy tags when tagging | Use consistent language to describe Topic taxonomy tags when tagging
Clear consistent language in the publishing apps will help publishers tag
content better, and understand the implications of this. Better tagging will
make their content more findable.
The updates to Edit taxonomy flow are out of scope for this PR.
| HTML+ERB | mit | alphagov/content-tagger,alphagov/content-tagger,alphagov/content-tagger |
45cacb1e2f232b55f200301f49ff9e9c70118028 | cookbooks/planet/templates/default/replication.cron.erb | cookbooks/planet/templates/default/replication.cron.erb | # DO NOT EDIT - This file is being maintained by Chef
TZ=UTC
MAILTO=zerebubuth@gmail.com
0 7 * * * planet /usr/local/bin/users-agreed
0 17 * * * planet /usr/local/bin/users-deleted
* * * * * planet /usr/local/bin/replicate-changesets /etc/replication/changesets.conf
MAILTO=brett@bretth.com
LD_PRELOAD=/opt/flush/flu... | # DO NOT EDIT - This file is being maintained by Chef
TZ=UTC
MAILTO=zerebubuth@gmail.com
0 7 * * * planet /usr/local/bin/users-agreed
0 17 * * * planet /usr/local/bin/users-deleted
* * * * * planet /usr/local/bin/replicate-changesets /etc/replication/changesets.conf
MAILTO=brett@bretth.com
LD_PRELOAD=/opt/flush/flu... | Use osmosis 0.47.4 for hourly and daily replication | Use osmosis 0.47.4 for hourly and daily replication
| HTML+ERB | apache-2.0 | zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,openstreetmap/chef,openstreetmap/chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-che... |
9b9186824868ca53e7c54456a5cc37e4ae01f177 | app/views/products/show.html.erb | app/views/products/show.html.erb | <%= render 'shared/menu' %>
<div class='page_panel'>
<%= render 'products/productPagesMenu' %>
<div class='main_content'>
<p>
<strong>Title:</strong>
<%= @product.title %>
</p>
<p>
<strong>Status:</strong>
<%= @product.status %>
</p>
<p>
<strong>Featu... | <%= render 'shared/menu' %>
<div class='page_panel'>
<%= render 'products/productPagesMenu' %>
<div class='main_content'>
<h1>
<%= @product.title %>
</h1>
<p>
<strong>Status:</strong>
<%= @product.status %>
</p>
<p>
<strong>Features Supported:</strong>
... | Set product title as header | Set product title as header
| HTML+ERB | mit | msayson/productsDashboard,msayson/productsDashboard,msayson/productsDashboard |
88d0d9a72472250a723f8a60d6b1fcbd97423058 | app/views/recipe/pickup.html.erb | app/views/recipe/pickup.html.erb |
<div class="container-narrow">
<div class="masthead">
<ul class="nav nav-pills pull-right">
<li class="active"><%= link_to '買い物リスト', 'shopping_list'%></li>
</ul>
<h3 class="muted"><%= @menu['recipeTitle'] %></h3>
</div>
<hr>
<h1>
<img src="<%= @menu['foodImageUrl'] %>" width="600px" hei... |
<div class="container-narrow">
<div class="masthead">
<ul class="nav nav-pills pull-right">
<li class="active"><%= link_to '買い物リスト', 'shopping_list'%></li>
</ul>
<h3 class="muted"><%= @menu['recipeTitle'] %></h3>
</div>
<hr>
<h1>
<img src="<%= @menu['foodImageUrl'] %>" width="600px" hei... | Add amount to pickup view | Add amount to pickup view
| HTML+ERB | mit | terra-yucco/ruthenium,terra-yucco/ruthenium,terra-yucco/ruthenium |
57217040ab58240fd0a326d96f5bb2d1772a842d | app/views/ads/_no_results.html.erb | app/views/ads/_no_results.html.erb | <div class="no_results">
<h2><%= t('nlt.no_results.title') %></h2>
<h3><%= t('nlt.no_results.subtitle') %></h3>
<ul class="list-group">
<li class="list-group-item">
<%= t('nlt.no_results.first_to_publish_html',
publish: link_to(t('nlt.no_results.publish_ad'), new_ad_path)) %>
</li>
... | <div class="no_results">
<h2><%= t('nlt.no_results.title') %></h2>
<p><%= t('nlt.no_results.subtitle') %></p>
<ul class="list-group">
<li class="list-group-item">
<%= t('nlt.no_results.first_to_publish_html',
publish: link_to(t('nlt.no_results.publish_ad'), new_ad_path)) %>
</li>
... | Convert couple of sentences to regular paragraphs | Convert couple of sentences to regular paragraphs
| HTML+ERB | agpl-3.0 | alabs/nolotiro.org,alabs/nolotiro.org,alabs/nolotiro.org,alabs/nolotiro.org |
872e7ceb02678ced470bd2707d68ef5996fa22cc | app/views/budgets/_phases.html.erb | app/views/budgets/_phases.html.erb | <ul class="no-bullet budget-timeline">
<% @budget.phases.published.each do |phase| %>
<li class="phase <%= 'active' if phase == @budget.current_phase %>">
<h3><%= t("budgets.phase.#{phase.kind}") %></h3>
<span>
<% if phase.starts_at.to_date.present? %>
<%= format_date(phase.starts_at... | <ul class="no-bullet budget-timeline">
<% @budget.published_phases.each do |phase| %>
<li class="phase <%= 'active' if phase == @budget.current_phase %>">
<h3><%= t("budgets.phase.#{phase.kind}") %></h3>
<span>
<%= format_date(phase.starts_at) if phase.starts_at.present? %>
-
<... | Use budget published_phases's method to get them ordered, and decrease final date | Use budget published_phases's method to get them ordered, and decrease final date
| HTML+ERB | agpl-3.0 | AyuntamientoMadrid/participacion,AyuntamientoMadrid/participacion,usabi/consul_san_borondon,usabi/consul_san_borondon,CDJ11/CDJ,deivid-rodriguez/participacion,deivid-rodriguez/participacion,AyuntamientoMadrid/consul,AyuntamientoMadrid/consul,CDJ11/CDJ,AyuntamientoMadrid/consul,AyuntamientoMadrid/participacion,consul/co... |
ceee64513d18c2662edce8a2f5611b74216ab116 | app/views/layouts/_header.html.erb | app/views/layouts/_header.html.erb | <div id="header">
<div id="logo">
<h1>Appstyler</h1>
</div>
<ul class="menu adxm">
<li>
<%= link_to 'Homepage', '#' %>
</li>
<li>
<%= link_to 'Rails', 'http://www.rubyonrails.org' %>
<ul>
<li>
<%= link_to 'Rails Guides', 'http://guides.rubyonrails.org/' %>... | <div id="header">
<div id="logo">
<h1>Kia Ora</h1>
</div>
<ul class="menu adxm">
<li>
<%= link_to 'Homepage', '#' %>
</li>
<li>
</ul>
</div>
<%= render :partial => 'layouts/notification' %>
| Remove some items in menu. | Remove some items in menu. | HTML+ERB | mit | niyue/appstyler,niyue/appstyler |
0ab779cc54e87081bdbba06cfe731f82a521cc31 | app/views/packages/_dater.html.erb | app/views/packages/_dater.html.erb | <div class="row cs-dater-panels cs-no-margin">
<div class="col-sm-4">
<div class="panel panel-default cs-no-margin">
<div class="panel-heading">
<h4 class="cs-no-margin">
First Commit
</h4>
</div>
<div class="panel-body">
<p class="cs-no-margin cs-pull-rig... | <div class="row cs-dater-panels cs-no-margin">
<div class="col-sm-4">
<div class="panel panel-default cs-no-margin">
<div class="panel-heading">
<h4 class="cs-no-margin">
First Commit
</h4>
</div>
<div class="panel-body">
<p class="cs-no-margin cs-pull-rig... | Change how date information is related in _dater | Change how date information is related in _dater | HTML+ERB | mit | djsegal/julia_observer,djsegal/julia_observer,djsegal/julia_observer |
978c257e1a52c8e88a2e50c75f9d27150858f057 | app/views/questions/index.html.erb | app/views/questions/index.html.erb | <% @questions.each do |question| %>
<h3><%= link_to question.title, question_path(question) %></h3>
<% end %> |
<%= button_to "Add Question", new_question_path, method: "get", class: "btn btn-info" if session[:user_id] %>
<% @questions.each do |question| %>
<h3><%= link_to question.title, question_path(question) %></h3>
<% end %> | Change Add Question from a link to a more visible button | Change Add Question from a link to a more visible button
| HTML+ERB | mit | nyc-rock-doves-2015/deviltea-overflow,nyc-rock-doves-2015/deviltea-overflow,nyc-rock-doves-2015/deviltea-overflow |
5493af1dd2e3e381f668b49f8fb90e2329da52cf | app/views/resources/_form.html.erb | app/views/resources/_form.html.erb | <%= f.label "Title:" %>
<%= f.text_field :title %><br />
<%= f.label "URL:" %>
<%= f.text_field :url %><br />
<%= f.label :description %>:
<%= f.text_area :description %><br />
<%= f.label "Select programming language:" %>
<%= f.collection_select(:language_id, Language.all, :id, :name, {:include_blank => "Please select... | <%= f.label "Title:" %>
<%= f.text_field :title %><br />
<%= f.label "URL:" %>
<%= f.text_field :url %><br />
<%= f.label :description %>:
<%= f.text_area :description %><br />
<%= f.label "Select programming language:" %>
<%= f.collection_check_boxes :language_ids, Language.all, :id, :name%><br />
<!-- (:language_id... | Change langauges dropdown to checkbox. | Change langauges dropdown to checkbox.
| HTML+ERB | mit | abonner1/code_learning_resources_manager,abonner1/sorter,abonner1/code_learning_resources_manager,abonner1/code_learning_resources_manager,abonner1/sorter,abonner1/sorter |
5afc461b1b6998ae7007c42c708139ea467104f5 | app/views/alchemy/base/500.html.erb | app/views/alchemy/base/500.html.erb | <%= toolbar(
buttons: [
{
icon: 'back',
url: request.referer || "#{Alchemy::MountPoint.get}/admin/dashboard",
label: _t(:back),
title: _t(:back),
hotkey: 'alt+z',
dialog: false,
skip_permission_check: true
}
]
) %>
<%= render_message(:error) do %>
<h1><%= _t('An ... | <%= toolbar(
buttons: [
{
icon: 'back',
url: request.referer || "#{Alchemy::MountPoint.get}/admin/dashboard",
label: _t(:back),
title: _t(:back),
hotkey: 'alt+z',
dialog: false,
skip_permission_check: true
}
], search: false
) %>
<%= render_message(:error) do %>
... | Fix error in 500 error page | Fix error in 500 error page
| HTML+ERB | bsd-3-clause | chalmagean/alchemy_cms,clst/alchemy_cms,robinboening/alchemy_cms,clst/alchemy_cms,mtomov/alchemy_cms,mtomov/alchemy_cms,mixandgo/alchemy_cms,mixandgo/alchemy_cms,clst/alchemy_cms,kinsomicrote/alchemy_cms,IngoAlbers/alchemy_cms,jsqu99/alchemy_cms,mtomov/alchemy_cms,getkiwicom/alchemy_cms,heisam/alchemy_cms,robinboening/... |
5099ba7884a7b8bd84230847d51ef6a0ab685f3e | app/views/application/_nav.html.erb | app/views/application/_nav.html.erb | <nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
... | <nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
... | Add different login links in home page nav | Add different login links in home page nav
| HTML+ERB | agpl-3.0 | where2help/where2help,where2help/where2help,where2help/where2help |
376150cfb6c02e73c0eaa5eb02d31ca8fd35a89a | app/views/errors/500.html.erb | app/views/errors/500.html.erb | <div class="l-error-page">
<main>
<div class="error-page-message ">
<h1>Sorry!</h1>
<p class="intro">The page you were looking for was not found</p>
<a href="/" class="button button--primary">Homepage</a>
</div>
</main>
</div> | <div class="l-error-page">
<main>
<div class="error-page-message ">
<h1>Sorry!</h1>
<p class="intro">The page you were looking for was not found</p>
<a href="/" class="button button--primary">Homepage</a>
</div>
</main>
</div>
| Trim trailing white space on save | Trim trailing white space on save
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
0dd77dbaa6f8f60e6ebbadbbef027878a54cc181 | app/views/games/edit.html.erb | app/views/games/edit.html.erb | <%= form_for @game, url: location_sport_game_path(@location, @sport, @game) do |f| %>
<%= render partial:"edit_form", locals: {f: f, game: @game} %>
<% end %>
<%= render partial:"errors", locals: {game: @game} %>
| <%= render partial:"errors", locals: {game: @game} %>
<%= form_for @game, url: location_sport_game_path(@location, @sport, @game) do |f| %>
<%= render partial:"edit_form", locals: {f: f, game: @game} %>
<% end %> | Move error partial to top | Move error partial to top
| HTML+ERB | mit | Bastonis/HuddleUp,Bastonis/HuddleUp,Bastonis/SquareUp,Bastonis/SquareUp,Revolaution/HuddleUp,Revolaution/HuddleUp,Bastonis/SquareUp,Revolaution/HuddleUp,Bastonis/HuddleUp |
7c66d941c4eeb33bbe4617ecd77b06f3dd091646 | app/views/posts/help.html.erb | app/views/posts/help.html.erb | <h2>Help</h2>
<p> <a class="brand" href="<%= root_url%>"> grave.io </a> is just another
paste bin implementation aimed for inhouse use. </p>
<h3>How to use:</h3>
<ul>
<li>New snippet:</li>
Create a new snippet that needs to be published. Fill out title
and content and press to create. You will be redirected to y... | <h2>Help</h2>
<p> <a class="brand" href="<%= root_url%>"> grave.io </a> is just another
paste bin implementation aimed for inhouse use. </p>
<h3>How to use:</h3>
<ul>
<li>New snippet:</li>
Create a new snippet that needs to be published. Fill out title
and content and press to create. You will be redirected to y... | Add section about the bury config file in help | Add section about the bury config file in help
| HTML+ERB | bsd-2-clause | kmerz/graveio,kmerz/graveio |
ac97f893548aa2202f85528f30ca967f1cd0d26f | app/views/users/login_bar.erb | app/views/users/login_bar.erb | <div class="topbar">
<div class="js-topbar-dialog-corral">
<div class="header">
<h3><a href="/">Cul de Sac Overflow</a></h3>
<a href="" id="inbox-icon">Inbox</a>
<a href="" id="reputation_and_badges">Reputation and Badges</a>
</div>
<div class="topbar-lin... | Add html for top bar | Add html for top bar
| HTML+ERB | mit | emritcey/culdesac-overflow,emritcey/culdesac-overflow,emritcey/culdesac-overflow | |
c0f5fe6aa7655ec787a8748454d1a156931dc5af | app/views/users/show.html.erb | app/views/users/show.html.erb | <div class = "container">
<section class="stats">
<%= render 'users/stats' %>
</section>
<section class="stats">
<%= render 'follow_form' %>
</section>
<ul class="collapsible" data-collapsible="expandable">
<h5> Your Topics </h5>
<% @topics.each do |topic| %>
<li>
<div class="c... | <div class = "container">
<section class="stats">
<%= render 'users/stats' %>
</section>
<section class="stats">
<%= render 'follow_form' %>
</section>
<ul class="collapsible" data-collapsible="expandable">
<h5> Your Topics </h5>
<% @topics.each do |topic| %>
<% if current_user == @use... | Add if/else to topic show page | Add if/else to topic show page
| HTML+ERB | mit | chi-dragonflies-2015/FAQrator,chi-dragonflies-2015/FAQrator,chi-dragonflies-2015/FAQrator |
7d917ee6bde83d05369e8768433d80b3cfdcd1fc | templates/default/wordpress/restore_blog.sh.erb | templates/default/wordpress/restore_blog.sh.erb | #!/bin/sh
REPO=<%=node[:backup][:repo]%>
if [ -d "/tmp/backup" ]
then
cd /tmp/backup && git pull
else
git clone $REPO /tmp/backup
fi
rm -r /var/www/blog
cp -r /tmp/backup/blog/blog /var/www
mysql blog < /tmp/backup/blog/db.sql | #!/bin/sh
REPO=<%=node[:backup][:repo]%>
if [ -d "/tmp/backup" ]
then
cd /tmp/backup && git pull
else
git clone $REPO /tmp/backup
fi
rm -r /var/www/blog
cp -r /tmp/backup/blog/blog /var/www
mysql blog < /tmp/backup/blog/db.sql
echo "define('WP_HOME','<%= node[:blog_dns_name]%>');" >> /var/www/blog/wp-config.php... | Make fix Blog DNS name | Make fix Blog DNS name
| HTML+ERB | mit | jlebrijo/prun-cfg,jlebrijo/prun-cfg,jlebrijo/prun-cfg |
e675eb867d9136f06fda353e460886c0a4fa466f | app/views/devise/mailer/confirmation_instructions.html.erb | app/views/devise/mailer/confirmation_instructions.html.erb | <p>Bienvenue <%= @email %> !</p>
<p>Vous pouvez confirmer votre inscription en cliquant sur le lien ci-dessous :</p>
<p><%= link_to 'Confirmer mon inscription', confirmation_url(@resource, confirmation_token: @token) %></p>
| <h1>Bienvenue !</h1>
<p>Vous pouvez confirmer votre inscription en cliquant sur le lien ci-dessous :</p>
<p><%= link_to 'Confirmer mon inscription', confirmation_url(@resource, confirmation_token: @token) %></p> | Improve formatting of confirmation email | Improve formatting of confirmation email
| HTML+ERB | mit | francoisbruneau/kazimirski,francoisbruneau/kazimirski,francoisbruneau/kazimirski,francoisbruneau/kazimirski,francoisbruneau/kazimirski |
1829427b62755575c0b6781e44be4e9dfa221185 | lib/templates/javascript_notifier.erb | lib/templates/javascript_notifier.erb | <%= javascript_tag %Q{
(function(){
var notifierJsScheme = (("https:" == document.location.protocol) ? "https://" : "http://");
document.write(unescape("%3Cscript src='" + notifierJsScheme + "#{host}/javascripts/notifier.js' type='text/javascript'%3E%3C/script%3E"));
})();
}%>
<%= javascript_tag %Q{
try ... | <%= javascript_tag %Q{
(function(){
var notifierJsScheme = (("https:" == document.location.protocol) ? "https://" : "http://");
document.write(unescape("%3Cscript src='" + notifierJsScheme + "#{host}/javascripts/notifier.js' type='text/javascript'%3E%3C/script%3E"));
})();
}%>
<%= javascript_tag %Q{
try ... | Set a noop window.onerror in the event Airbrake is not available | Set a noop window.onerror in the event Airbrake is not available
| HTML+ERB | mit | nick-desteffen/airbrake,airbrake/airbrake,nick-desteffen/airbrake,airbrake/airbrake |
9182a903473ffe8f6a6827273c9968d447aa2f30 | cookbooks/wt_storm/templates/default/config.properties.erb | cookbooks/wt_storm/templates/default/config.properties.erb | datacenter=<%= @datacenter %>
pod=<%= @pod %>
topology=<%= @topology %>
kafka.host=<%= @streaming_data_mover %>
geo.host=<%= @netacuity %>
cd.url=<%= @config_distrib %>
sapi.host=<%= @sapi %>
debug=<%= @debug %>
cam.url=<%= @cam %>/cam/dcsid
dcsid.whitelist=<%= @dcsid_whitelist %>
hbase.pool.size=10
hbase.zookeeper.quo... | datacenter=<%= @datacenter %>
pod=<%= @pod %>
topology=<%= @topology %>
kafka.host=<%= @streaming_data_mover %>
geo.host=<%= @netacuity %>
cd.url=<%= @config_distrib %>
sapi.host=<%= @sapi %>
debug=<%= @debug %>
cam.url=<%= @cam %>/cam/dcsid
dcsid.whitelist=<%= @dcsid_whitelist %>
hbase.pool.size=10
hbase.zookeeper.quo... | Fix a bad template that preventing wt_storm from deploying | Fix a bad template that preventing wt_storm from deploying
| HTML+ERB | apache-2.0 | scottymarshall/rundeck,scottymarshall/rundeck,scottymarshall/rundeck |
d834ca4eb281e2146f6dea2f0138504c3ef48fc5 | app/views/help_pages/_edit.html.erb | app/views/help_pages/_edit.html.erb | <%= semantic_form_for @resource, :url => edition_path(@resource), :as => :edition, :html => { :id => 'edition-form' } do |f| %>
<%= f.inputs do %>
<%= render :partial => 'shared/title_etc', :locals => {:f => f} %>
<%= f.input :body, :as => :text, :input_html => { :class => 'col-md-12', :disabled => @resource.... | <%= semantic_form_for @resource, :url => edition_path(@resource), :as => :edition, :html => { :id => 'edition-form' } do |f| %>
<%= f.inputs do %>
<%= render :partial => 'shared/title_etc', :locals => {:f => f} %>
<%= f.input :body, :as => :text, :input_html => { :disabled => @resource.locked_for_edits? } %>
... | Remove bootstrap grid class from help page form | Remove bootstrap grid class from help page form
* Form elements expand to full width in bootstrap 3 by default
| HTML+ERB | mit | telekomatrix/publisher,leftees/publisher,alphagov/publisher,leftees/publisher,leftees/publisher,telekomatrix/publisher,alphagov/publisher,alphagov/publisher,telekomatrix/publisher,leftees/publisher,telekomatrix/publisher |
907662f1fe111aa2a26d05c1bb03fea53f5f0927 | app/views/land_parcel_records/_overview.html.erb | app/views/land_parcel_records/_overview.html.erb | <h3 class="land-parcel">
<% unless record.valid? %>
<img class="land-parcel-status" src="/noun_project_10280.svg"/>
<% else %>
<img class="land-parcel-status" src="/noun_project_10284.svg"/>
<% end %>
<%= @land_parcel_record.title_reference %>
</h3>
<% unless record.valid? %>
<% record.errors.each do... | <h3 class="land-parcel">
<% unless record.valid? %>
<img class="land-parcel-status" src="/noun_project_10280.svg"/>
<% else %>
<img class="land-parcel-status" src="/noun_project_10284.svg"/>
<% end %>
<%= @land_parcel_record.title_reference %>
</h3>
<% unless record.valid? %>
<% record.errors.each do... | Fix subheading for common plot sp parcel | Fix subheading for common plot sp parcel
| HTML+ERB | apache-2.0 | NSWPlanning/data-verification-tool,NSWPlanning/data-verification-tool,NSWPlanning/data-verification-tool |
4995fa60b93e882572c229ef05c2391862392815 | app/views/metric_configurations/_ranges.html.erb | app/views/metric_configurations/_ranges.html.erb | <tr>
<td style="color: #<%= mezuro_range.color %>"><%= mezuro_range.label %></td>
<td><%= mezuro_range.beginning %></td>
<td><%= mezuro_range.end %></td>
</tr> | <tr>
<td style="color: #<%= mezuro_range.color %>"><%= mezuro_range.label %></td>
<td><%= mezuro_range.beginning %></td>
<td><%= mezuro_range.end %></td>
<td>
<% if mezuro_configuration_owner? @metric_configuration.configuration_id %>
<%= link_to 'Destroy Range', mezuro_configuration_metric_configura... | Destroy range redircting to expected page properly | Destroy range redircting to expected page properly
| HTML+ERB | agpl-3.0 | MezuroUNB20151/prezento,mezuro/prezento,MezuroUNB20151/prezento,MezuroUNB20151/prezento,mezuro/prezento,mezuro/prezento |
ea9cc473b7305092c0d5df29b763ab8b986b29cb | app/views/admin/about_pages/show.html.erb | app/views/admin/about_pages/show.html.erb | <% page_title "Read more about #{@subject.name}" %>
<% content_for :current_tab do %>
<% if @page.present? %>
<table class="<%= model_name %> table">
<tr>
<th>Summary</th>
<td class="summary"><%= @page.summary %></td>
</tr>
<tr>
<th>Body</th>
<td class="body"><%=... | <% page_title "Read more about #{@subject.name}" %>
<% content_for :current_tab do %>
<% if @page.present? %>
<table class="<%= model_name %> table">
<tr>
<th>Name</th>
<td class="name"><%= @page.name %></td>
</tr>
<tr>
<th>Read more link text</th>
<td class="rea... | Add name of topical events About page to summary in admin UI | Add name of topical events About page to summary in admin UI
| HTML+ERB | mit | alphagov/whitehall,YOTOV-LIMITED/whitehall,alphagov/whitehall,robinwhittleton/whitehall,askl56/whitehall,askl56/whitehall,robinwhittleton/whitehall,alphagov/whitehall,hotvulcan/whitehall,ggoral/whitehall,ggoral/whitehall,alphagov/whitehall,hotvulcan/whitehall,askl56/whitehall,askl56/whitehall,robinwhittleton/whitehall,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.