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 |
|---|---|---|---|---|---|---|---|---|---|
292b944c0802e339390e607e1445b99ae7319460 | cookbooks/exim/templates/default/mta-sts.erb | cookbooks/exim/templates/default/mta-sts.erb | version: STSv1
mode: testing
mx: *.mx.<%= @domain %>
max_age: 31536000
| version: STSv1
mode: enforce
mx: *.mx.<%= @domain %>
max_age: 31536000
| Switch MTA-STS policy to enforce mode | Switch MTA-STS policy to enforce mode
| HTML+ERB | apache-2.0 | Firefishy/chef,Firefishy/chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,Firefishy/chef,zerebubuth/openstreetmap-chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,Firefishy/chef,openstreetmap/c... |
2cd0e3c0813365ab230649b27abd28e7b5708aad | cookbooks/meniscus/templates/default/uwsgi.ini.erb | cookbooks/meniscus/templates/default/uwsgi.ini.erb | [uwsgi]
socket = <%= node[:meniscus][:uwsgi_socket] %>
protocol = <%= node[:meniscus][:uwsgi_protocol] %>
processes = <%= node[:meniscus][:uwsgi_processes] %>
master = true
vacuum = true
no-default-app = true
memory-report = false
env = PYTHONPATH=<%= node[:meniscus][:pynopath] %>
env = CONFIG_FILE=<%= node[:menis... | [uwsgi]
socket = <%= node[:meniscus][:uwsgi_socket] %>
protocol = <%= node[:meniscus][:uwsgi_protocol] %>
processes = <%= node[:meniscus][:uwsgi_processes] %>
master = true
vacuum = true
no-default-app = true
memory-report = false
env = PYTHONPATH=<%= node[:meniscus][:pynopath] %>
env = CONFIG_FILE=<%= node[:menis... | Remove disk persisted cache-config to match source repo | Remove disk persisted cache-config to match source repo
| HTML+ERB | apache-2.0 | ProjectMeniscus/chef-cookbooks |
75371a15813978bddaad9945b3e47f6569bd1410 | app/views/reserves/_reserve_status.html.erb | app/views/reserves/_reserve_status.html.erb | <%# simple presentation of a single reserve statuses, editability %>
<% if params[:viewonly].to_s != "true" %>
<span class="visibility"><%= reserve.visibility == "R" ? "Not Visible" : "Visible" %></span>
<% end %>
<% cl = "status"
stat = reserve.display_status
if params[:viewonly].to_s == "true" && stat == "Reu... | <%# simple presentation of a single reserve statuses, editability %>
<% if params[:viewonly].to_s != "true" %>
<span class="visibility"><%= reserve.visibility == "R" ? "Not Visible" : "Visible" %></span>
<% end %>
<% cl = "status"
stat = reserve.display_status
if params[:viewonly].to_s == "true" && stat == "Reu... | Format lecture date to American norms | Format lecture date to American norms
| HTML+ERB | mit | harvard-library/lts-lti-reserves,harvard-library/lts-lti-reserves,harvard-library/lts-lti-reserves |
c77bb4f646792fcf1229b4107330555f1f7367e3 | app/views/shared/_homepage_feature.html.erb | app/views/shared/_homepage_feature.html.erb | <div class="home-feature">
<div class="l-constrained">
<div class="home-feature__content">
<h1 class="home-feature__strapline"><%= strapline %></h1>
<ul class="home-feature__list">
<% items.each do |items| %>
<li class="home-feature__list-item">
<a class="home-feature__h... | <div class="home-feature">
<div class="l-constrained">
<div class="home-feature__content">
<h1 class="home-feature__strapline"><%= strapline %></h1>
<ul class="home-feature__list">
<% items.each do |item| %>
<li class="home-feature__list-item">
<a class="home-feature__he... | Fix variable scope overlap in homepage_feature partial. | Fix variable scope overlap in homepage_feature partial.
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
744177aa20081e1a9c646d166bd278d9e5a3a113 | alert_templates/prod/diego-min-memory-too-low.json.erb | alert_templates/prod/diego-min-memory-too-low.json.erb | {
"created_at": 1498680462000,
"deleted": null,
"message": "The environment has less than 10% available of Diego Cell Memory Capacity\nPossible Causes: Increased usage of CF. Click on the link below to see the trend.\nPotential Solutions: If it is a sudden spike, escalate to Diego and BAM team.\nOtherwise, increa... | Add alert template for diego min memory too low monitor | Add alert template for diego min memory too low monitor
Signed-off-by: Renee Chu <dbb10253d556b7398455fa674afa4c4a5a96979a@pivotal.io>
| HTML+ERB | apache-2.0 | pivotal-cf-experimental/datadog-config-oss,pivotal-cf-experimental/datadog-config-oss | |
2eb4898598b531b9c34d8be39854e6eeeb532c92 | app/views/admin/taxon_relationships/_list.html.erb | app/views/admin/taxon_relationships/_list.html.erb | <thead>
<th>Taxon Concept</th>
<th width="20%">Relationship type</th>
<th>Related taxon concept</th>
<th width="10%">Actions</th>
</thead>
<tbody>
<% collection.each do |taxon_relationship| -%>
<tr>
<td>
<%= link_to taxon_relationship.taxon_concept.full_name, edit_admin_taxon_concept_path(ta... | <thead>
<th>Taxon Concept</th>
<th width="20%">Relationship type</th>
<th>Related taxon concept</th>
<th width="10%">Actions</th>
</thead>
<tbody>
<% collection.each do |taxon_relationship| -%>
<tr>
<td>
<%= link_to taxon_relationship.taxon_concept.full_name, admin_taxon_concept_taxon_relati... | Set links to taxon_relationships tab | Set links to taxon_relationships tab
| HTML+ERB | bsd-3-clause | unepwcmc/SAPI,unepwcmc/SAPI,unepwcmc/SAPI,unepwcmc/SAPI |
cb5862cf7d1a77dbfaf0b03579d97e259136cdac | app/views/smart_answers/inputs/_date_question.html.erb | app/views/smart_answers/inputs/_date_question.html.erb | <% form_contents = capture do %>
<% if question.body.present? %>
<%= question.body %>
<% end %>
<% if question.hint.present? %>
<p class="govuk-hint"><%= question.hint %></p>
<% end %>
<%= render "govuk_publishing_components/components/date_input", {
error_message: question.error,
items: [
... | <% form_contents = capture do %>
<% if question.body.present? %>
<%= question.body %>
<% end %>
<%= render "govuk_publishing_components/components/date_input", {
error_message: question.error,
hint: question.hint,
items: [
question.default_day ? nil : {
label: "Day",
name: "... | Use hint property for the date input component | Use hint property for the date input component
This re-uses the in-built hint property for the date component instead
of rendering a seperate component.
| HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
62963649371b6e0c4741928cea88a607f27a1855 | lib/views/outgoing_mailer/initial_request.text.erb | lib/views/outgoing_mailer/initial_request.text.erb | <%= raw @outgoing_message.body.strip %>
-------------------------------------------------------------------
<%= _('This is an FOI request done via the {{site_name}} website. This footer has been overriden by the sample Alaveteli theme.', :site_name => site_name) %>
<%= _('Please use this email address for all replie... | <%= raw @outgoing_message.body.strip %>
-------------------------------------------------------------------
<%= _('Please use this email address for all replies to this request:')%>
<%= @info_request.incoming_email %>
Solicitante:
<%-# !!!IF YOU CHANGE THE FORMAT OF THE BLOCK BELOW, ADD A NEW CENSOR RULE!!! -%>
====... | Add user details to the initial request email | Add user details to the initial request email
| HTML+ERB | mit | mysociety/panama-theme,mysociety/panama-theme,mysociety/panama-theme,mysociety/panama-theme |
618062c98016e6d6de42392fbe4b924b7d31d84f | jobs/routing-api/templates/routing-api.yml.erb | jobs/routing-api/templates/routing-api.yml.erb | ---
log_guid: "routing_api"
<% if_p("metron_endpoint.host", "metron_endpoint.dropsonde_port") do |host, port| %>
metron_config:
address: <%= host %>
port: <%= port %>
<% end %>
metrics_reporting_interval: <%= p("routing-api.metrics_reporting_interval") %>
statsd_endpoint: <%= p("routing-api.statsd_endpoint") %>
uaa... | ---
log_guid: "routing_api"
<% if_p("metron_endpoint.host", "metron_endpoint.dropsonde_port") do |host, port| %>
metron_config:
address: <%= host %>
port: <%= port %>
<% end %>
metrics_reporting_interval: <%= p("routing-api.metrics_reporting_interval") %>
statsd_endpoint: <%= p("routing-api.statsd_endpoint") %>
oau... | Change routing-Api config to have OAuth configuration | Change routing-Api config to have OAuth configuration
[#109654250]
| HTML+ERB | apache-2.0 | cloudfoundry-incubator/cf-routing-release,cloudfoundry-incubator/cf-routing-release,cloudfoundry-incubator/cf-routing-release |
fea91daefe3e7a378a88f6a49978b1061775034c | jobs/routing-api/templates/routing-api.yml.erb | jobs/routing-api/templates/routing-api.yml.erb | ---
log_guid: <%= name %>_<%= index %>
<% if p("routing-api.auth_disabled") == false %>
uaa_verification_key: |
<%= " " + properties.uaa.jwt.verification_key.gsub("\n", "\n ") %>
<% end %>
<% if_p("metron_endpoint.host", "metron_endpoint.dropsonde_port") do |host, port| %>
metron_config:
address: <%= host %>
port... | ---
log_guid: "routing-api"
<% if p("routing-api.auth_disabled") == false %>
uaa_verification_key: |
<%= " " + properties.uaa.jwt.verification_key.gsub("\n", "\n ") %>
<% end %>
<% if_p("metron_endpoint.host", "metron_endpoint.dropsonde_port") do |host, port| %>
metron_config:
address: <%= host %>
port: <%= port ... | Change routing-api log_guid to be "routing-api" | Change routing-api log_guid to be "routing-api"
The log guid is used to emit metrics through the firehose and as the
log guid for its route.
[#108127164]
Signed-off-by: Michael Smykowski <b9679d96d071f488bd14beedc1f1d4924bf5aa7a@pivotal.io>
| HTML+ERB | apache-2.0 | cloudfoundry-incubator/cf-routing-release,cloudfoundry-incubator/cf-routing-release,cloudfoundry-incubator/cf-routing-release |
99b38f5117fe45aa22d713e366cc23adb964cce3 | moduleroot/spec/spec_helper_acceptance.rb.erb | moduleroot/spec/spec_helper_acceptance.rb.erb | require 'voxpupuli/acceptance/spec_helper_acceptance'
configure_beaker
| # This file is completely managed via modulesync
require 'voxpupuli/acceptance/spec_helper_acceptance'
configure_beaker
Dir['./spec/support/acceptance/**/*.rb'].sort.each { |f| require f }
| Add helper to load custom files | spec_helper_acceptance: Add helper to load custom files
This allows us to keept the spec_helper_acceptance clean and managed by
modulesync, but it also provides enough flexibility for our module
developers to inject custom code into the test suite.
Also this alligns our setup with the one from the foreman people.
| HTML+ERB | apache-2.0 | dhoppe/modulesync_config,dhoppe/modulesync_config,voxpupuli/modulesync_config,voxpupuli/modulesync_config,puppet-community/modulesync_config,voxpupuli/modulesync_config,voxpupuli/modulesync_config,dhoppe/modulesync_config,dhoppe/modulesync_config |
43eadba18974b93cb3a89e6611237a4902c57592 | deployment/puppet/vmware/templates/nova-compute.conf.erb | deployment/puppet/vmware/templates/nova-compute.conf.erb | [DEFAULT]
compute_driver=vmwareapi.VMwareVCDriver
log_file=nova-compute-vmware-<%= @availability_zone_name %>-<%= @service_name %>.log
host=<%= @availability_zone_name %>-<%= @service_name %>
[vmware]
cache_prefix=$host
cluster_name=<%= @vc_cluster %>
host_ip=<%= @vc_host %>
host_username=<%= @vc_user %>
host_passwo... | [DEFAULT]
compute_driver=vmwareapi.VMwareVCDriver
log_file=nova-compute-vmware-<%= @availability_zone_name %>-<%= @service_name %>.log
host=<%= @availability_zone_name %>-<%= @service_name %>
reserved_host_memory_mb = 0
[vmware]
cache_prefix=$host
cluster_name=<%= @vc_cluster %>
host_ip=<%= @vc_host %>
host_username... | Set reserved host memory to 0MB for nova-compute with VCDriver | Set reserved host memory to 0MB for nova-compute with VCDriver
The reserved_host_memory_mb option value is 512 MB by default.
However, VMware recommends that you set this option to 0 MB
because the vCenter driver reports the effective memory
available to the virtual machines.
Link to review for openstack doc(VMware re... | HTML+ERB | apache-2.0 | stackforge/fuel-library,stackforge/fuel-library,stackforge/fuel-library,stackforge/fuel-library |
e8adbeec76a0f2cf9e62c38111b9ae254e25461f | BHCDatabase/app/views/enrolments/index.html.erb | BHCDatabase/app/views/enrolments/index.html.erb | <% provide(:title, 'User Enrolment') %>
<div id="indexcontainer">
<h1> User Enrolment </h1>
<div class="stdcontainer">
<%= link_to 'New Enrolment', new_enrolment_path, class: 'btn btn-default' %>
<%= datagrid_form_for @enrolments_grid, url: enrolments_path %>
<%= datagrid_table(@enrolments_grid) %>
... | <% provide(:title, 'User Enrolment') %>
<div id="indexcontainer">
<h1> User Enrolment </h1>
<div class="stdcontainer">
<%= datagrid_form_for @enrolments_grid, url: enrolments_path %>
<%= link_to "<i class='glyphicon glyphicon-plus'></i> New".html_safe, new_enrolment_path, class: 'btn btn-default new-btn' ... | Update new button for enrolment. | Update new button for enrolment.
| HTML+ERB | mit | DaBrown95/BHCDatabase,DaBrown95/BHCDatabase,DaBrown95/BHCDatabase |
06e75a267bdcd1ccec712b779e17d1ba72b8e9d1 | app/views/users/edit.erb | app/views/users/edit.erb | <% if auth_current_user %>
<div>
<form action="/profile/<%= auth_current_user.id %>" method="POST">
<input type="hidden" name="_method" value="PUT">
Username: <input type="text" name="user[username]" value="<%= auth_current_user.username %>" /><br>
Password: <input type="text" name="user[password]" /><br... | <% if auth_current_user %>
<div>
<form action="/profile/<%= auth_current_user.id %>" method="POST">
<input type="hidden" name="_method" value="PUT">
Username: <input type="text" name="user[username]" value="<%= auth_current_user.username %>" /><br>
Password: <input type="text" name="user[password]" /><br... | Add confirm password window for account deletion | Add confirm password window for account deletion
| HTML+ERB | mit | philipyoo/basic-rpg,philipyoo/basic-rpg,philipyoo/basic-rpg |
b7c01914f9507cc467e8a1681b75c0954d58ad45 | app/views/games/_edit_buttons.html.erb | app/views/games/_edit_buttons.html.erb | <!-- EDIT BUTTONS -->
<% show_stats ||= false %>
<% if user_signed_in? %>
<div class="edit-buttons">
<% if current_user.owns?(game) || current_user.admin? %>
<% if show_stats %>
<a href="<%= stats_game_path(game) %>" class="pull-right">
<button class="btn btn-light">
Stats
... | <!-- EDIT BUTTONS -->
<% show_stats ||= false %>
<% if user_signed_in? %>
<div class="edit-buttons">
<% if current_user.owns?(game) || current_user.admin? %>
<% if show_stats %>
<a href="<%= stats_game_path(game) %>" class="pull-right">
<button class="btn btn-light">
Stats
... | Fix link to scores page. | Fix link to scores page.
| HTML+ERB | mit | winnitron/winnitron_reborn,winnitron/winnitron_reborn,winnitron/winnitron_reborn |
57ef16f262bc6e78d7eef0e76b13ff5409eb895c | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title><%= content_for?(:page_title) ? yield(:page_title) : "Finance Finder" %> | GOV.UK</title>
<meta name="description" content="Find out which licences you might need for your activity or business.">
<%= stylesheet_link_tag "finance-finder" %>
<%= javascript_include_ta... | <!DOCTYPE html>
<html>
<head>
<title><%= content_for?(:page_title) ? yield(:page_title) : "Finance Finder" %> | GOV.UK</title>
<meta name="description" content="Find out which licences you might need for your activity or business.">
<%= stylesheet_link_tag "finance-finder" %>
<%= javascript_include_ta... | Add mainstream class to body tag | Add mainstream class to body tag
This is in preparation for deprecating the citizen class
| HTML+ERB | mit | alphagov/business-support-finder,alphagov/business-support-finder,alphagov/business-support-finder,alphagov/business-support-finder |
1f3d563293c1aef2778f0ee031b67d408b2d3ab3 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <% content_for :head do %>
<%= csrf_meta_tag %>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
<% end %>
<% content_for :navbar_items do %>
<% if current_user.resource_manager? %>
<%= active_link_to 'Manage guiders', users_path, wrap_tag: :li %>
<% end ... | <% content_for :head do %>
<%= csrf_meta_tag %>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
<% end %>
<% content_for :navbar_items do %>
<% if current_user.resource_manager? %>
<%= active_link_to 'Manage guiders', users_path, wrap_tag: :li %>
<%= a... | Add a link to /holidays in the nav | Add a link to /holidays in the nav
| HTML+ERB | mit | guidance-guarantee-programme/telephone_appointment_planner,guidance-guarantee-programme/telephone_appointment_planner,guidance-guarantee-programme/telephone_appointment_planner |
c8dfe68594fc6cf41dcc6d8665e92ed9f5f5b437 | app/views/site_settings/index.html.erb | app/views/site_settings/index.html.erb | <% content_for :title, "Site Settings" %>
<h3>Site Settings</h3>
<p>
The settings on this page control various aspects of the display or operation of the site. Change these
rarely and with care. Bear in mind that setting changes will generally not be retroactive - so if you change
the reputation values, they wil... | <% content_for :title, "Site Settings" %>
<h3>Site Settings</h3>
<p>
The settings on this page control various aspects of the display or operation of the site. Change these
rarely and with care. Bear in mind that setting changes will generally not be retroactive - so if you change
the reputation values, they wil... | Handle nils in view too | Handle nils in view too
| HTML+ERB | agpl-3.0 | ArtOfCode-/qpixel,ArtOfCode-/qpixel,ArtOfCode-/qpixel,ArtOfCode-/qpixel |
5f718aece5abe7dc8d729a41d11ca43629824bf2 | app/views/actionpark/dashboard/index.html.erb | app/views/actionpark/dashboard/index.html.erb | <%= form_tag("/dashboard", method: "get") do %>
<%= label_tag(:user_id, "User ID") %>
<%= text_field_tag(:user_id) %>
<%= submit_tag("Filter Actions") %>
<% end %>
<ul>
<% for request in @requests %>
<li><%= request.user_id %> loaded <%= request.action_name %> <%= request.controller_name %></li>
<% end %>... | <%= form_tag("/dashboard", method: "get") do %>
<%= label_tag(:user_id, "User ID") %>
<%= text_field_tag(:user_id) %>
<%= submit_tag("Filter Actions") %>
<% end %>
<table>
<tr>
<th>User ID</th>
<th>Action</th>
<th>Controller</th>
<th>When</th>
</tr>
<% for request in @requests %>
<tr>
... | Convert the list of requests into a table | Convert the list of requests into a table
| HTML+ERB | mit | bmulholland/actionpark,bmulholland/actionpark |
63f8ff7e4635289696433b18c3e28d4864aba9a2 | app/views/admin/document_collection_groups/delete.html.erb | app/views/admin/document_collection_groups/delete.html.erb | <% content_for :page_class, 'document-collection-groups delete' %>
<% page_title 'Delete group' %>
<div class="span8">
<section>
<h1>Delete group</h1>
<% if (@collection.groups.size == 1) || @group.documents.present? %>
<div class="alert alert-error">
<% if @collection.groups.size == 1 %>
... | <% content_for :page_class, 'document-collection-groups delete' %>
<% page_title 'Delete group' %>
<div class="span8">
<section>
<h1>Delete group</h1>
<% if (@collection.groups.size == 1) || @group.documents.present? %>
<div class="alert alert-error">
<% if @collection.groups.size == 1 %>
... | Copy change in DC group delete page. | [DC] Copy change in DC group delete page. | HTML+ERB | mit | ggoral/whitehall,hotvulcan/whitehall,ggoral/whitehall,robinwhittleton/whitehall,alphagov/whitehall,hotvulcan/whitehall,askl56/whitehall,alphagov/whitehall,YOTOV-LIMITED/whitehall,robinwhittleton/whitehall,askl56/whitehall,YOTOV-LIMITED/whitehall,alphagov/whitehall,robinwhittleton/whitehall,YOTOV-LIMITED/whitehall,alpha... |
e631730697d2053d581e78faf04ac7ff1dbc96ec | app/views/devise/mailer/confirmation_instructions.html.erb | app/views/devise/mailer/confirmation_instructions.html.erb | Hey <%= @resource.name.split(' ').first %>!
<br/><br/>
We love you for signing up for IfSimply.com! IfSimply is the easiest way to create your own premium membership club.
<br/><br/>
Your club is going to be awesome and we are going to make sure of it. We have a ton of great self-serve content for you
that will help yo... | Create Custom Confirmation Email Content | Create Custom Confirmation Email Content
Create a custom email to be sent when a User signs up for the first
time.
| HTML+ERB | mit | jekhokie/IfSimply,jekhokie/IfSimply,jekhokie/IfSimply | |
70d839b9a6a93503c334acd3d3cea5ae7d01cf21 | app/views/employers/showtabs/_elected_plans_table.html.erb | app/views/employers/showtabs/_elected_plans_table.html.erb | <table class="table table-condensed">
<thead>
<tr>
<th>Carrier</th>
<th>Carrier Group ID</th>
<th>Carrier Pol #</th>
<th>Plan</th>
<th>Coverage Type</th>
<th>Metal level</th>
<th>Effective date</th>
</tr>
</thead>
<tbody>
<%= table_empty_to_human if elected_pl... | <table class="table table-condensed">
<thead>
<tr>
<th>Carrier</th>
<th>Carrier Group ID</th>
<th>Carrier Pol #</th>
<th>Plan</th>
<th>Coverage Type</th>
<th>Metal level</th>
<th>Effective date</th>
</tr>
</thead>
<tbody>
<%= table_empty_to_human if elected_pl... | Fix plan link on employer show page. | Fix plan link on employer show page.
| HTML+ERB | mit | pbprograms/gluedb,blackeaglejs/gluedb,blackeaglejs/gluedb,pbprograms/gluedb,pbprograms/gluedb,blackeaglejs/gluedb,blackeaglejs/gluedb,pbprograms/gluedb |
f62516b84fc2943f8d73b67437b180948e20569d | app/views/ckeditor/attachment_files/index.html.erb | app/views/ckeditor/attachment_files/index.html.erb | <div id="fileupload" class="gal-holder">
<div class="gal-item">
<div class="fileupload-button gal-upload-holder">
<%= link_to I18n.t(:upload, :scope => [:ckeditor, :buttons]), 'javascript:void(0)', :class => "add" %>
</div>
</div>
<div class="fileupload-list">
<%= render :partial => 'ckeditor/shared... | <div id="fileupload" class="gal-holder">
<div class="gal-item">
<div class="fileupload-button gal-upload-holder">
<%= link_to I18n.t(:upload, :scope => [:ckeditor, :buttons]), 'javascript:void(0)', :class => "add" %>
</div>
</div>
<div class="fileupload-list">
<%= render :partial => 'ckeditor/shared... | Change removed 'scoped' to 'all' | Change removed 'scoped' to 'all' | HTML+ERB | mit | gambala/ckeditor,glebtv/ckeditor,myplaceonline/ckeditor,glebtv/ckeditor,209cameronism/ckeditor-npp,209cameronism/ckeditor-npp,galetahub/ckeditor,gambala/ckeditor,myplaceonline/ckeditor,galetahub/ckeditor,galetahub/ckeditor,glebtv/ckeditor,209cameronism/ckeditor-npp,myplaceonline/ckeditor,gambala/ckeditor |
d0822b37de25c5c938595cfacc0a26fcdca82082 | app/views/francis_cms/shared/_form_errors.html.erb | app/views/francis_cms/shared/_form_errors.html.erb | <%- klass = obj.class.name.demodulize.downcase -%>
<%- if obj.errors.any? -%>
<div class="form-errors" role="alert">
<h2><%= pluralize(obj.errors.count, 'error') %> prevented this <%= klass %> from being saved:</h2>
<ul>
<%- obj.errors.messages.each do |field, message| -%>
<li id="<%= field %>-errors"><%=... | <%- klass = obj.class.name.demodulize.downcase -%>
<%- if obj.errors.any? -%>
<div class="form-errors" role="alert">
<h2><%= pluralize(obj.errors.count, 'error') %> prevented this <%= klass %> from being saved:</h2>
<ul>
<%- obj.errors.messages.each do |field, message| -%>
<li id="<%= field %>-errors"><%=... | Use Array to_sentence method for displaying form errors. | Use Array to_sentence method for displaying form errors.
| HTML+ERB | mit | jgarber623/FrancisCMS,FrancisCMS/FrancisCMS,FrancisCMS/FrancisCMS,jgarber623/FrancisCMS,FrancisCMS/FrancisCMS |
0c7cd676d5bce67e97bcf3eb9f8bc306fb7850ab | app/assets/javascripts/date_picker.js.coffee.erb | app/assets/javascripts/date_picker.js.coffee.erb | $ ->
# this needs to be in a loop or else the pickers don't work well on the Important Dates page
$(".datepicker").each (_, el) =>
$(el).datetimepicker(
timepicker: false,
format: "Y/m/d",
defaultDate: '<%= EventConfiguration.singleton.start_date.try(:strftime, "%Y/%m/%d") %>'
)
$('.d... | $ ->
# this needs to be in a loop or else the pickers don't work well on the Important Dates page
$(".datepicker").each (_, el) =>
$(el).datetimepicker(
timepicker: false,
format: "Y/m/d",
scrollMonth: false,
scrollTime: false,
scrollInput: false,
defaultDate: '<%= EventConfi... | Disable scroll-wheel in datetimepicker. Avoid mistakes | Disable scroll-wheel in datetimepicker. Avoid mistakes
| HTML+ERB | mit | rdunlop/unicycling-registration,rdunlop/unicycling-registration,rdunlop/unicycling-registration,rdunlop/unicycling-registration |
5db2c779feef1252c61e761e47a0a4029d0538c1 | app/views/general/_stylesheet_includes.html.erb | app/views/general/_stylesheet_includes.html.erb | <%- if @render_to_file %>
<style>
<%= raw File.read(Rails.root.join('app', 'assets', 'stylesheets', 'main.css')) %>
<%= raw File.read(Rails.root.join('app', 'assets', 'stylesheets', 'print.css')) %>
</style>
<%- else %>
<%= stylesheet_link_tag 'main', :title => "Main", :rel => "stylesheet", :media => "all" %>... | <%- if @render_to_file %>
<style>
<%= Rails.application.assets["main.css"].to_s %>
<%= Rails.application.assets["print.css"].to_s %>
</style>
<%- else %>
<%= stylesheet_link_tag 'main', :title => "Main", :rel => "stylesheet", :media => "all" %>
<%= stylesheet_link_tag 'fonts', :rel => "stylesheet", :media =... | Fix the inclusion of CSS in output for zip file download | Fix the inclusion of CSS in output for zip file download
| HTML+ERB | agpl-3.0 | obshtestvo/alaveteli-bulgaria,4bic/alaveteli,andreicristianpetcu/alaveteli_old,andreicristianpetcu/alaveteli,obshtestvo/alaveteli-bulgaria,Br3nda/alaveteli,Br3nda/alaveteli,andreicristianpetcu/alaveteli_old,andreicristianpetcu/alaveteli,codeforcroatia/alaveteli,codeforcroatia/alaveteli,andreicristianpetcu/alaveteli_old... |
a621a74a2a7dc3741ec64c9ef127bf2cef9fe290 | app/views/shared/_common_nav_bar_menus.html.erb | app/views/shared/_common_nav_bar_menus.html.erb | <%= render 'shared/my_school_menu' if can?(:read, :my_school_menu) && current_user.school.visible? %>
<% if current_user && current_user.default_scoreboard %>
<li class="nav-item"><%= link_to "Scoreboard", scoreboard_path(current_user.default_scoreboard), class: 'nav-link' %></li>
<% end %>
<% if current_user && cu... | <%= render 'shared/my_school_menu' if can?(:read, :my_school_menu) && current_user.school.visible? %>
<% if current_user && current_user.default_scoreboard %>
<li class="nav-item"><%= link_to "Scoreboard", scoreboard_path(current_user.default_scoreboard), class: 'nav-link' %></li>
<% end %>
<% if current_user && cu... | Use safe navigation to tidy link render | Use safe navigation to tidy link render
| HTML+ERB | mit | BathHacked/energy-sparks,BathHacked/energy-sparks,BathHacked/energy-sparks,BathHacked/energy-sparks |
c57fe55fe881c55d32b9729ae9b615bc61f7a2fe | app/views/travels/partials/_travel_min.html.erb | app/views/travels/partials/_travel_min.html.erb | <div class="card my-1 w-100">
<%= link_to travel_path(travel.format_id) do %>
<%= image_tag travel.image_public_url, class: 'card-img-top' %>
<% end %>
<div class="card-body">
<h5 class="card-title">
<%= travel.title %>
</h5>
<p class="card-text">
<%= travel.description %>
</p>
... | <div class="card my-1 w-100">
<%= link_to travel_path(travel.format_id) do %>
<%= image_tag travel.image_public_url, class: 'card-img-top' %>
<% end %>
<div class="card-body">
<h5 class="card-title">
<%= travel.title %>
</h5>
<p class="card-text">
<%= travel.description %>
</p>
... | Fix favorite button in home | Fix favorite button in home | HTML+ERB | mit | apollo-utn-frd/apollo-core,apollo-utn-frd/apollo-core,apollo-utn-frd/apollo-core,apollo-utn-frd/apollo-core,apollo-utn-frd/apollo-core,apollo-utn-frd/apollo-core |
96c7ee0d5860b4ffc6b4a73bdefa45088454f416 | app/views/box_organizer/_highlights_block.html.erb | app/views/box_organizer/_highlights_block.html.erb | <%= javascript_include_tag "highlight_block" %>
<strong><%= _('Highlights') %></strong>
<table class="noborder"><tbody id="highlights-data-table">
<tr><th><%= _('Image') %></th><th><%= _('Address') %></th><th><%= _('Position') %></th></tr>
<% @block.images.each_with_index do |image, index| %>
<%= highlights_b... | <%= javascript_include_tag "highlight_block" %>
<strong><%= _('Highlights') %></strong>
<table class="noborder"><tbody id="highlights-data-table">
<tr><th><%= _('Image') %></th><th><%= _('Address') %></th><th><%= _('Position') %></th></tr>
<% @block.images.each_with_index do |image, index| %>
<%= highlights_b... | Make the new highlight button work... | Make the new highlight button work... | HTML+ERB | agpl-3.0 | coletivoEITA/noosfero-ecosol,EcoAlternative/noosfero-ecosol,CIRANDAS/noosfero-ecosol,EcoAlternative/noosfero-ecosol,EcoAlternative/noosfero-ecosol,blogoosfero/noosfero,coletivoEITA/noosfero-ecosol,samasti/noosfero,blogoosfero/noosfero,samasti/noosfero,EcoAlternative/noosfero-ecosol,coletivoEITA/noosfero-ecosol,coletivo... |
8c687278a7489cf2e8f222ee824aa414ea786561 | script/templates/question.erb | script/templates/question.erb | <% if attributes['title'].present? %>
<%% content_for :title do %>
<%= attributes['title'] %>
<%% end %>
<% end %>
<% if options_erb.present? %>
<%= options_erb %>
<% end %>
<% if attributes['hint'].present? %>
<%% content_for :hint do %>
<%= attributes['hint'] %>
<%% end %>
<% end %>
<% if attributes['label'].p... | <% if attributes['title'].present? %>
<%% content_for :title do %>
<%= attributes['title'].indent(2) %>
<%% end %>
<% end %>
<% if options_erb.present? %>
<%= options_erb %>
<% end %>
<% if attributes['hint'].present? %>
<%% content_for :hint do %>
<%= attributes['hint'].indent(2) %>
<%% end %>
<% end %>
<% if attri... | Fix indentation for multi-line strings | Fix indentation for multi-line strings
Previously only the first line was indented.
| HTML+ERB | mit | stwalsh/smart-answers,stwalsh/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers,aledelcueto/smart-answers,stwalsh/smart-answers,stwalsh/smart-answers |
c43bf1368ea4b5daca710654eb48099b8274f585 | cookbooks/gps-tile/templates/default/apache.erb | cookbooks/gps-tile/templates/default/apache.erb | # DO NOT EDIT - This file is being maintained by Chef
<% [80, 443].each do |port| -%>
<VirtualHost *:<%= port %>>
# Basic server configuration
ServerName <%= node[:fqdn] %>
ServerAlias gps-tile.openstreetmap.org
ServerAlias *.gps-tile.openstreetmap.org
ServerAdmin webmaster@openstreetmap.org
<% if port == 44... | # DO NOT EDIT - This file is being maintained by Chef
<% [80, 443].each do |port| -%>
<VirtualHost *:<%= port %>>
# Basic server configuration
ServerName <%= node[:fqdn] %>
ServerAlias gps.tile.openstreetmap.org
ServerAlias gps-*.tile.openstreetmap.org
ServerAlias gps-tile.openstreetmap.org
ServerAlias *.g... | Add gps-*.tile.openstreetmap.org as an alias for the GPS tile server | Add gps-*.tile.openstreetmap.org as an alias for the GPS tile server
| HTML+ERB | apache-2.0 | tomhughes/openstreetmap-chef,openstreetmap/chef,gravitystorm/chef,Firefishy/chef,gravitystorm/chef,gravitystorm/chef,Firefishy/chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,gravitystorm/chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,zere... |
f481b5a8050613cf0ddc253ff84f4c38267db695 | app/views/admin_mailer/petitions_report.html.erb | app/views/admin_mailer/petitions_report.html.erb | <p><%= pluralize(@petitions.count, "petition was", "petitions were") %> opened or signed in the last week on <%= link_to home_url, home_url %></p>
<table>
<tr>
<th>Petition Action</th>
<th>Signature Count</th>
</tr>
<% @petitions.each do |petition| %>
<tr>
<td>
<%= link_to petition.acti... | <p><%= pluralize(@petitions.count, "petition was", "petitions were") %> opened or signed in the last week on <%= link_to home_url, home_url %></p>
<table>
<tr>
<th style="text-align: left;">Petition Action</th>
<th style="text-align: right;">Signature Count</th>
</tr>
<% @petitions.each do |petition| %>
... | Add alignment to other table cells | Add alignment to other table cells | HTML+ERB | mit | StatesOfJersey/e-petitions,StatesOfJersey/e-petitions,StatesOfJersey/e-petitions,StatesOfJersey/e-petitions |
117301c490554334781757b23b9219f78ce1f5ac | app/views/find_local_council/_base_page.html.erb | app/views/find_local_council/_base_page.html.erb | <meta name="description"
content="Find your local authority in England, Wales, Scotland and Northern Ireland" />
<main id="content" role="main">
<header class="page-header">
<div>
<h1>
Find your local council
</h1>
</div>
</header>
<div class="article-container group">
<%= r... | <% content_for :title do %>Find your local council<% end %>
<% content_for :extra_headers do %>
<meta name="description"
content="Find your local authority in England, Wales, Scotland and Northern Ireland" />
<% end %>
<main id="content" role="main">
<header class="page-header">
<div>
<h1>
... | Set title and meta:description for find local council | Set title and meta:description for find local council
We weren't setting title because the default implementation relies on a
`@publication` which we don't have. We were rendering a meta:description it
wasn't in the `<head>` so would have been ignored. In both cases we use
`content_for` to pass the values back up to... | HTML+ERB | mit | alphagov/frontend,alphagov/frontend,alphagov/frontend,alphagov/frontend |
978276828f2be8b8240f4215b28f5705ee74f69e | app/views/applications/show.html.erb | app/views/applications/show.html.erb | <% content_for :page_title, @application.name %>
<h1><%= @application.name %></h1>
<dl>
<dt>Repo:</dt>
<dd><%= link_to @application.repo, "https://github.com/#{@application.repo}" %></dd>
</dl>
<h2>Recent activity</h2>
<table class="table">
<tbody>
<% @application.tasks.recent_first.each do |task| %>
... | <% content_for :page_title, @application.name %>
<h1><%= @application.name %></h1>
<dl>
<dt>Repo:</dt>
<dd><%= link_to @application.repo, "https://github.com/#{@application.repo}" %></dd>
</dl>
<div class="btn-group">
<%= link_to "Edit", { action: "edit", id: @application.id }, class: "btn" %>
</div>
<h2>Rece... | Move button so it looks like it refers to the app | Move button so it looks like it refers to the app
| HTML+ERB | mit | alphagov/release,alphagov/release,alphagov/release |
b944660b409804e949d0220d1f718038d98f4f4a | app/views/experiences/index.html.erb | app/views/experiences/index.html.erb | <%- unless @experiences.empty? -%>
<%- if flash[:notice] -%>
<p class="notice"><%= flash[:notice] -%></p>
<%- end -%>
<div class="search">
<%= form_tag(search_path, method: :get) do -%>
<%= text_field_tag(:query) -%>
<%= hidden_field_tag(:locale, I18n.locale) -%>
<%= submit_tag t('experi... | <%- unless @experiences.empty? -%>
<%- if flash[:notice] -%>
<p class="notice"><%= flash[:notice] -%></p>
<%- end -%>
<div class="search">
<%= form_tag(search_path, method: :get) do -%>
<%= text_field_tag(:query) -%>
<%= submit_tag t('experiences.search') -%>
<%- end -%>
</div>
<% @exp... | Remove locale hidden_field from form. | Remove locale hidden_field from form.
| HTML+ERB | mit | horacio/psychlopedia,horacio/psychlopedia,Psychlopedia/psychlopedia,Psychlopedia/psychlopedia,horacio/psychlopedia,horacio/psychlopedia |
ea2747ab46f403c710d6e14e4b3567023e860f95 | app/views/kata/_max_seconds.html.erb | app/views/kata/_max_seconds.html.erb | <input name="max_seconds" type="hidden" value="<%= @manifest['max_seconds'] %>">
| <input name="max_seconds" type="hidden" value="">
<script>
'use strict';
$(() => {
const $maxSeconds = $("input[name='max_seconds']");
const manifest = cd.kata.manifest(cd.kata.id);
const maxSeconds = manifest.max_seconds;
$maxSeconds.val(maxSeconds);
});
</script>
| Set max_seconds from manifest in JS. | Set max_seconds from manifest in JS.
| HTML+ERB | bsd-2-clause | cyber-dojo/web,cyber-dojo/web,cyber-dojo/web,cyber-dojo/web |
0cff0139e19376c270f5a7cba56555fd12f94437 | app/views/peek/views/_dalli.html.erb | app/views/peek/views/_dalli.html.erb | <strong>
<span id="peek-dalli-tooltip">
<span data-defer-to="<%= view.defer_key %>-duration">...</span> / <span data-defer-to="<%= view.defer_key %>-calls">...</span>
</span>
</strong> dalli
| <strong>
<span id="peek-dalli-tooltip">
<span data-defer-to="<%= view.defer_key %>-duration">...</span> / <span data-defer-to="<%= view.defer_key %>-calls">...</span>
</span>
</strong> memcache
| Rename label from dalli to memcache | Rename label from dalli to memcache
| HTML+ERB | mit | peek/peek-dalli,peek/peek-dalli,peek/peek-dalli |
9cf8990df7a1a90f41d4995836cfcd6d3110101f | app/views/static_pages/show.html.erb | app/views/static_pages/show.html.erb | <% set_meta_tags(description: static_page.description,
canonical: static_page.canonical_url,
alternate: static_page.alternate_options) %>
<div class="l-main">
<main role="main">
<h1><%= title static_page.title %></h1>
<% if static_page.intro.present? %>
<p class="... | <% set_meta_tags(description: static_page.description,
canonical: static_page.canonical_url,
alternate: static_page.alternate_options) %>
<div class="l-main editorial">
<main role="main">
<h1><%= title static_page.title %></h1>
<%= static_page.content %>
</main>
</div... | Add category navigation to static views | Add category navigation to static views
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
aa69ff3ad541e833573c4a658d038dcf1275e8e7 | app/views/users/_uneditable.html.erb | app/views/users/_uneditable.html.erb | <% users = uneditable %>
<!-- http://stackoverflow.com/questions/4566620/getting-the-current-item-number-or-index-when-using-will-paginate-in-rails-app -->
<% count = users.offset %>
<% users.each do |user| %>
<td><%= count += 1 %></td>
<!-- Show less info of NOBODY -->
<% if user.name == "NOBODY" %>
<%= ren... | <% users = uneditable %>
<!-- http://stackoverflow.com/questions/4566620/getting-the-current-item-number-or-index-when-using-will-paginate-in-rails-app -->
<% count = users.offset %>
<% users.each do |user| %>
<% count += 1 %>
<!-- Show less info of NOBODY -->
<% if user.name == "NOBODY" %>
<%= render partia... | Fix minor bugs in Users view | Fix minor bugs in Users view
| HTML+ERB | mit | GuanglinDu/IPAMS,goodmaoxixi/IPAMS,GuanglinDu/IPAMS,goodmaoxixi/IPAMS,goodmaoxixi/IPAMS,GuanglinDu/IPAMS |
f0da36972fec7976ab6502b061c8bbcbe9b355c4 | app/views/efforts/_efforts_mini_table.html.erb | app/views/efforts/_efforts_mini_table.html.erb | <table class="table table-condensed table-striped">
<thead>
<tr>
<th class="text-center">Bib</th>
<th>Name</th>
<th>Category</th>
</tr>
</thead>
<tbody>
<% @mini_table.effort_rows.each do |row| %>
<tr>
<td class="text-center"><%= row.bib_number %></td>
<td class="text-nowra... | <table class="table table-condensed table-striped">
<thead>
<tr>
<th class="text-center">Bib</th>
<th>Name</th>
<th>Category</th>
</tr>
</thead>
<tbody>
<% @mini_table.effort_rows.each do |row| %>
<tr>
<td class="text-center"><%= row.bib_number %></td>
<td class="text-nowra... | Fix bug in efforts_mini_table partial. | Fix bug in efforts_mini_table partial.
| HTML+ERB | mit | voltagead/OpenSplitTime,voltagead/OpenSplitTime,SplitTime/OpenSplitTime,SplitTime/OpenSplitTime,SplitTime/OpenSplitTime,voltagead/OpenSplitTime |
6f3ff7aafc9191500de876a8b524c8eb5a4af898 | app/views/questions/_question-summary.html.erb | app/views/questions/_question-summary.html.erb | <div id="question-<%= question.id %>" class="row">
<div class="mini-counts">
<div class="mini-count"><div class="num"><%= question.vote_count %></div><div>votes</div></div>
<div class="mini-count"><div class="num"><%= question.answers.count %></div><div>answers</div></div>
<div class="mini-count"><div cla... | <div id="question-<%= question.id %>" class="row">
<div class="mini-counts">
<div class="mini-count"><div class="num"><%= question.vote_count %></div><div><%= "vote".pluralize(question.vote_count) %></div></div>
<div class="mini-count"><div class="num"><%= question.answers.count %></div><div><%= "answer".plur... | Add correct pluralization to homepage mini-counts | Add correct pluralization to homepage mini-counts
| HTML+ERB | mit | thomas-mcdonald/qa,thomas-mcdonald/qa,thomas-mcdonald/qa,thomas-mcdonald/qa |
9d10d37c9f60df5393d1b13dd0bc0202f532dc43 | app/views/site/index/_active_projects.html.erb | app/views/site/index/_active_projects.html.erb | <%= cache_in_private([:site_index, :active_projects_recently], :expires_in => 1.hour) do -%>
<%= pull_box("Active projects", :class => "pull-box-510") do -%>
<ul class="with_icons">
<% @active_projects.each do |project| -%>
<li class="project">
<%= link_to h(project.title), project -%>
... | <%= cache_in_private([:site_index, :active_projects_recently], :expires_in => 1.hour) do %>
<%= pull_box("Active projects", :class => "pull-box-510") do %>
<table class="table">
<% @active_projects.each do |project| %>
<tr class="project">
<td>
<%= link_to h(project.title), pro... | Use new markup to render active projects | Use new markup to render active projects
| HTML+ERB | agpl-3.0 | rae/gitorious-mainline,spencerwp/mainline,rae/gitorious-mainline,Gitorious-backup/mainline,Gitorious-backup/mainline,SamuelMoraesF/Gitorious,spencerwp/mainline,SamuelMoraesF/Gitorious,rae/gitorious-mainline,gitorious/mainline,SamuelMoraesF/Gitorious,elcom/gitorious,gitorious/mainline,spencerwp/mainline,spencerwp/mainli... |
f725c1024707fba0e1eb349cb1220b57bd83a487 | app/views/search_results/_pagination.html.erb | app/views/search_results/_pagination.html.erb | <div class="pagination">
<% unless search_results.first_page? %>
<%= link_to search_results_path(query: params[:query], page: search_results.previous_page), class: 'button button--compact t-button--previous' do %>
<span class="icon icon--left-chevron"></span>
<span class="button--compact__text"><%= t(... | <div class="pagination">
<% unless search_results.first_page? %>
<%= link_to search_results_path(query: params[:query], page: search_results.previous_page), class: 'button button--compact t-button--previous' do %>
<span class="icon icon--left-chevron"></span>
<span class="button--compact__text"><%= t(... | Fix stacked pagination on first page | Fix stacked pagination on first page
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
ad1834e559bcfaeb77271dc298cc2549e1fd19f2 | doc-src/templates/default/layout/html/layout.erb | doc-src/templates/default/layout/html/layout.erb | <!DOCTYPE html>
<html>
<head>
<%= erb(:headers) %>
</head>
<body>
<div class="nav_wrap">
<iframe id="nav" src="<%= @nav_url %>"></iframe>
<div id="resizer"></div>
</div>
<div id="main" tabindex="-1">
<div id="header">
<%= erb(:breadcrumb) %>
<%= erb(:search) %>
... | <!DOCTYPE html>
<html>
<head>
<%= erb(:headers) %>
</head>
<body>
<div class="nav_wrap">
<iframe id="nav" src="<%= @nav_url %>"></iframe>
<div id="resizer"></div>
</div>
<div id="main" tabindex="-1">
<div id="header">
<%= erb(:breadcrumb) %>
<%= erb(:search) %>
... | Fix broken V3 -> V2 link | Fix broken V3 -> V2 link
| HTML+ERB | apache-2.0 | aws/aws-sdk-ruby,aws/aws-sdk-ruby,aws/aws-sdk-ruby |
2c517a9a5ba89f014ee30b9fc9a63161074d703a | app/views/admin/action_pages/_panel_social.html.erb | app/views/admin/action_pages/_panel_social.html.erb | <!-- BEGIN SOCIAL SETTINGS TAB -->
<div class="tab-pane" id="social-settings">
<div class="row">
<div class="col-md-9 col-md-offset-1">
<div class="form-group">
<%= f.label :share_message do -%>
Tweet text
<span>(URL is automatically added to the end)</span>
<% end %>
... | <!-- BEGIN SOCIAL SETTINGS TAB -->
<div class="tab-pane" id="social-settings">
<div class="row">
<div class="col-md-9 col-md-offset-1">
<div class="form-group">
<%= f.label :share_message do -%>
Tweet text
<span>(URL is automatically added to the end)</span>
<% end %>
... | Increase tweet character limit to 280 | Increase tweet character limit to 280
| HTML+ERB | agpl-3.0 | EFForg/action-center-platform,EFForg/action-center-platform,EFForg/action-center-platform,EFForg/action-center-platform |
59ab56a29bdffb483d0ee6e97b111064fef01686 | deployment/puppet/keystone/templates/mysql.erb | deployment/puppet/keystone/templates/mysql.erb | [<%= name %>]
connection = mysql://<%= "#{config['user']}:#{config['password']}@#{config['host']}/#{config['dbname']}" %>
idle_timeout = <%= config['idle_timeout'] %>
min_pool_size = <%= config['min_pool_size'] %>
max_pool_size = <%= config['max_pool_size'] %>
pool_timeout = <%= config['pool_timeout'] %>
|
[sql]
connection = mysql://<%= "#{config['user']}:#{config['password']}@#{config['host']}/#{config['dbname']}" %>
idle_timeout = <%= config['idle_timeout'] %>
min_pool_size = <%= config['min_pool_size'] %>
max_pool_size = <%= config['max_pool_size'] %>
pool_timeout = <%= config['pool_timeout'] %>
| Fix sql section name for keystone.conf template | Fix sql section name for keystone.conf template
It was printing mysql instead of sql causing keystone to fail.
This commit fixes the issue.
| HTML+ERB | apache-2.0 | slystopad/fuel-lib,ddepaoli3/fuel-library-dev,eayunstack/fuel-library,zhaochao/fuel-library,SmartInfrastructures/fuel-library-dev,SmartInfrastructures/fuel-library-dev,SmartInfrastructures/fuel-library-dev,xarses/fuel-library,xarses/fuel-library,huntxu/fuel-library,stackforge/fuel-library,xarses/fuel-library,ddepaoli3/... |
fc3bfdafa78e4d54be4ece4375869e60bc6888fb | app/views/_header.erb | app/views/_header.erb |
<!-- Create Partials for Nav Bar -->
<nav>
<div class="nav-wrapper">
<ul id="nav-mobile" class="left hide-on-med-and-down">
<li><a href="/">Home</a></li>
<% if auth_logged_in? === false %>
<li><a href="/login">Login</a></li>
<li><a href="/register">Register</a></li>
<% end %... |
<!-- Create Partials for Nav Bar -->
<nav>
<div class="nav-wrapper">
<ul id="nav-mobile" class="left hide-on-med-and-down">
<li><a href="/">Home</a></li>
<% if auth_logged_in? === false %>
<li><a href="/login">Login</a></li>
<li><a href="/register">Register</a></li>
<% end %... | Add profile link in navbar for user logged in | Add profile link in navbar for user logged in
| HTML+ERB | mit | philipyoo/basic-rpg,philipyoo/basic-rpg,philipyoo/basic-rpg |
ffb61ad4d047b379d3586fa5093b5dd18710f14a | app/views/thredded/messageboards/index.html.erb | app/views/thredded/messageboards/index.html.erb | <% content_for :thredded_page_title, 'Messageboards' %>
<% content_for :thredded_page_id, 'thredded--messageboards-index' %>
<% content_for :thredded_breadcrumbs, render('thredded/shared/breadcrumbs') %>
<%= thredded_page do %>
<section class="thredded--main-section thredded--messageboards">
<% @groups.each do |g... | <% content_for :thredded_page_title, 'Messageboards' %>
<% content_for :thredded_page_id, 'thredded--messageboards-index' %>
<% content_for :thredded_breadcrumbs, render('thredded/shared/breadcrumbs') %>
<%= thredded_page do %>
<section class="thredded--main-section thredded--messageboards">
<% @groups.each do |g... | Use i18n for the "Create a New Messageboard" link | Use i18n for the "Create a New Messageboard" link
| HTML+ERB | mit | jayroh/thredded,jvoss/thredded,thredded/thredded,thredded/thredded,jvoss/thredded,jayroh/thredded,jayroh/thredded,jvoss/thredded,jayroh/thredded,thredded/thredded,thredded/thredded,jvoss/thredded |
38ee8b36f339c34f3f7a42a88c7af921b6c4250c | templates/travis.yml.erb | templates/travis.yml.erb | language: ruby
rvm: <%= ruby_version_with_patch_level %>
cache: bundler
before_install:
- "echo 'gem: --no-document' > ~/.gemrc"
- "echo '--colour' > ~/.rspec"
before_script:
- cp .sample.env .env
- bundle exec rake db:create db:schema:load RAILS_ENV=test
notifications:
email: false
irc:
channels: '... | language: ruby
rvm: <%= ruby_version_with_patch_level %>
cache: bundler
before_install:
- "echo 'gem: --no-document' > ~/.gemrc"
- "echo '--colour' > ~/.rspec"
before_script:
- cp .sample.env .env
- bundle exec rake db:create db:schema:load RAILS_ENV=test
notifications:
email: false
| Remove IRC notifications from Travis config We've made Slack our default | Remove IRC notifications from Travis config
We've made Slack our default
| HTML+ERB | mit | craftsmen/roll,craftsmen/roll,craftsmen/roll |
eb41a2950da2e7bd2c4c1a4a4f788392d8865409 | templates/interviews.erb | templates/interviews.erb | ---
layout: default
title: Interviews
---
<% @items.each do |interview| %>
<article class="interviewee h-card vcard">
<%= render_template('shared.interview', interview: interview) %>
</article>
<% end %>
<% if @pagination && @pagination[:page_count] > 1 %>
<p id="paginator">
Page <strong><%= @pagination[:curren... | ---
layout: default
title: Interviews
---
<% if @category %>
<h3><%= @site.categories[@category].name %> interviews</h3>
<p>There's currently <strong><%= @items.count %></strong> to read through.</p>
<% else %>
<h3>Interviews</h3>
<p>What do people use to get the job done?</p>
<% end %>
<ul>
<% @items.each ... | Switch the article elements for an unordered list, and switch the paginator to a nav. | Switch the article elements for an unordered list, and switch the paginator to a nav.
| HTML+ERB | mit | waferbaby/usesthis,ivuk/usesthis,waferbaby/usesthis,ivuk/usesthis |
e498fe294bab1e4f502f33f3185a1658fc0c2616 | app/views/efforts/_efforts_list_summary.html.erb | app/views/efforts/_efforts_list_summary.html.erb | <% # Requires local parameter view_object %>
<table class="table table-tight">
<thead>
<tr>
<th>Rank</th>
<th>Name</th>
<th>Bib</th>
<th>Category</th>
<th>From</th>
<th>Status</th>
<th>Last Recorded</th>
<th>Time of Day</th>
<th>Elapsed Time</th>
</tr>
</thead>
<tbody>
<... | <% # Requires local parameter view_object %>
<table class="table table-tight">
<thead>
<tr>
<th>Rank</th>
<th>Name</th>
<th>Bib</th>
<th>Category</th>
<th>Status</th>
<th>Last Recorded</th>
<th>Time of Day</th>
<th>Elapsed Time</th>
</tr>
</thead>
<tbody>
<% view_object.rank... | Remove "From" column from events/summary view to optimize printing. | Remove "From" column from events/summary view to optimize printing.
| HTML+ERB | mit | SplitTime/OpenSplitTime,SplitTime/OpenSplitTime,SplitTime/OpenSplitTime |
cf492825fed1aa372fae842799caf7540d44b254 | alert_templates/prod/tls_backend_handshake_errors.json.erb | alert_templates/prod/tls_backend_handshake_errors.json.erb | {
"created_at": 1523056100000,
"deleted": null,
"message": "Gorouter backend TLS handshake failed! This really should not happen. Did you just deploy something bad?\nGet in touch with routing.\n\n\n @slack-cloudops-us-pws <%= cloudops_pagerduty %>",
"multi": false,
"name": "TLS Backend Handshake Errors",
"o... | {
"created_at": 1523056100000,
"deleted": null,
"message": "Gorouter backend TLS handshake failed! This really should not happen. Did you just deploy something bad?\nGet in touch with [#pcf-networking](https://pivotal.slack.com/messages/CFKJZ9B3J).\n\n@slack-cloudops-us-pws",
"multi": false,
"name": "TLS Back... | Remove pagerduty alert of backend_tls_handshake_failed | Remove pagerduty alert of backend_tls_handshake_failed
- And we adjusted the alert and warning thresholds after consulting with
the networking team in slack
[#164669754] Remove pagerduty alert for `TLS Backend Handshake Errors`
Signed-off-by: Aaron Hurley <6c541e38cb40b4360b80e64c308405691f38e38a@pivotal.io>
| HTML+ERB | apache-2.0 | pivotal-cf-experimental/datadog-config-oss,pivotal-cf-experimental/datadog-config-oss |
ecdecaa1691128adc099c5873524f19a6d19fbc3 | templates/default/com.opscode.chef-client.plist.erb | templates/default/com.opscode.chef-client.plist.erb | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.opscode.chef-client</string>
<%- if @launchd_mode == "interval" %>
<key>Program</key>
<string><%= @client_bin %... | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.opscode.chef-client</string>
<%- if @launchd_mode == "interval" %>
<key>Program</key>
<string><%= @client_bin %... | Add KeepAlive so that launchd will "daemonize" chef-client for us. | [COOK-4092] Add KeepAlive so that launchd will "daemonize" chef-client for us.
Signed-off-by: Sean OMeara <4025b808ec3cf11e3d5c9a1a3bd1e7c4003cb3a1@opscode.com>
| HTML+ERB | apache-2.0 | josephholsten/opscode-cookbooks-chef-client,fxlv/chef-client,juliandunn/chef-client,lamont/chef-client,mattray/chef-client,drrk/chef-client,GannettDigital/chef-client,burnzy/chef-client,chef-cookbooks/chef-client,juliandunn/chef-client,mateuszkwiatkowski/chef-client,burnzy/chef-client,michaelklishin/chef-client,scalp42... |
5f421f2f876b4479c19b5badf1120f24568a8ca9 | templates/default/module/attribute_details.html.erb | templates/default/module/attribute_details.html.erb | <% if attr_listing.size > 0 %>
<div id="attr_details">
<h2>Attribute Details</h2>
<% attr_listing.each_with_index do |meth, i| %>
<% rw = meth.namespace.attributes[meth.scope][meth.name] %>
<span id="<%= anchor_for(rw[:write]) %>"></span>
<span id="<%= anchor_for(rw[:read]) %>"></span>
... | <% if attr_listing.size > 0 %>
<div id="attr_details">
<h2>Attribute Details</h2>
<% attr_listing.each_with_index do |meth, i| %>
<% rw = meth.namespace.attributes[meth.scope][meth.name.to_s.gsub(/=$/, '').to_sym] %>
<span id="<%= anchor_for(rw[:write]) %>"></span>
<span id="<%= anchor_for(r... | Fix issue with writeonly attributes | Fix issue with writeonly attributes
| HTML+ERB | mit | herosky/yard,alexdowad/yard,lsegal/yard,jreinert/yard,jreinert/yard,herosky/yard,iankronquist/yard,travis-repos/yard,ohai/yard,alexdowad/yard,ohai/yard,thomthom/yard,thomthom/yard,amclain/yard,iankronquist/yard,jreinert/yard,iankronquist/yard,herosky/yard,thomthom/yard,lsegal/yard,alexdowad/yard,lsegal/yard,amclain/yar... |
2cd8d14593bf975e64de6fc004ecef12f7eb9898 | server/webapp/WEB-INF/rails/app/views/shared/_head.html.erb | server/webapp/WEB-INF/rails/app/views/shared/_head.html.erb | <title>
<%= @view_title %> - Go
</title>
<%= yield :before_stylesheets %>
<%= stylesheet_link_tag "application", {media: "all", debug: Rails.env.development? && params[:debug_assets]} %>
<%= stylesheet_link_tag "patterns/application", {media: "all", debug: Rails.env.development? && params[:debug_assets]} %>
<%= sty... | <title>
<%= @view_title %> - Go
</title>
<%= yield :before_stylesheets %>
<%= stylesheet_link_tag "application", {media: "all", debug: Rails.env.development? && params[:debug_assets]} %>
<%= stylesheet_link_tag "patterns/application", {media: "all", debug: Rails.env.development? && params[:debug_assets]} %>
<%= sty... | Fix notifications style on old rails pages | Fix notifications style on old rails pages
| HTML+ERB | apache-2.0 | kierarad/gocd,ibnc/gocd,naveenbhaskar/gocd,varshavaradarajan/gocd,varshavaradarajan/gocd,arvindsv/gocd,arvindsv/gocd,ketan/gocd,tomzo/gocd,kierarad/gocd,ketan/gocd,ibnc/gocd,arvindsv/gocd,ketan/gocd,Skarlso/gocd,arvindsv/gocd,GaneshSPatil/gocd,kierarad/gocd,bdpiparva/gocd,naveenbhaskar/gocd,jyotisingh/gocd,marques-work... |
4c27e40bc4f6a00aef3254875f04a7d73641b5e2 | app/views/shared/_social_sharing_buttons.html.erb | app/views/shared/_social_sharing_buttons.html.erb | <div class="social_sharing_buttons pull-left">
<%= link_to raw('<span class="fa fa-twitter-square"></span>'), "https://twitter.com/share?text=Check out this lesson: #{@lesson.title}", :data => {toggle: 'tooltip'}, title: "Tweet this lesson" %>
<%= link_to raw('<span class="fa fa-facebook-square"></span>'),
"... | <div class="social_sharing_buttons pull-left">
<%= link_to raw('<span class="fa fa-twitter-square"></span>'), "https://twitter.com/share?text=Check out this lesson: #{@lesson.title}", :data => {toggle: 'tooltip'}, title: "Tweet this lesson" %>
<%= link_to raw('<span class="fa fa-facebook-square"></span>'),
"... | Switch facebook app id to main app | Switch facebook app id to main app
| HTML+ERB | mit | wiserfirst/theodinproject,Powerade/theodinproject,matouk1114/theodinproject,kriox26/theodinproject,twinlamp/theodinproject,logoso321/theodinproject,Powerade/theodinproject,GemmaStiles/theodinproject,t-harps/theodinproject,willhayslett/theodinproject,PiotrEjsmont/theodinproject,Sw33tT00th/theodinproject,twinlamp/theodin... |
a44dbc6672a6d99bb1e8ca0bf3a6690dbc2b2266 | app/views/devise/registrations/_homeform.erb | app/views/devise/registrations/_homeform.erb |
<%= form_for('registrations', :as => resource_name, :url => registration_path(resource_name)) do |f| %>
<%= devise_error_messages! %>
<div>
<%= f.select :role, User.roles, :prompt => true %>
<p>This is your role withing the startup community.</p>
</div>
<div>
<%= f.text_field :fu... |
<%= form_for('registrations', :as => resource_name, :url => registration_path(resource_name)) do |f| %>
<%= devise_error_messages! %>
<div>
<%= f.select :role, User.roles, :prompt => true %>
<p>This is your role within the startup community.</p>
</div>
<div>
<%= f.text_field :ful... | Fix typo in the homeform registration partial | Fix typo in the homeform registration partial
| HTML+ERB | mit | SoPR/sopr-platform,SoPR/sopr-platform |
4a378be371f7821fee38b3cdce2a300de02e1fa7 | core/app/views/spree/admin/shared/_head.html.erb | core/app/views/spree/admin/shared/_head.html.erb | <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<%= csrf_meta_tags %>
<title><%= "Spree #{t('administration')}: " %>
<%= t(controller.controller_name, :default => controller.controller_name.titleize) %></title>
<%= javascript_tag do %>
ajax_urls = <%== {
:product_search_json => spree.... | <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<%= csrf_meta_tags %>
<title><%= "Spree #{t('administration')}: " %>
<%= t(controller.controller_name, :default => controller.controller_name.titleize) %></title>
<%= javascript_tag do %>
ajax_urls = <%== {
:product_search_json => spree.... | Remove call to spree.admin_users_path in spree/admin/shared/_head | Remove call to spree.admin_users_path in spree/admin/shared/_head
| HTML+ERB | bsd-3-clause | bjornlinder/Spree,rajeevriitm/spree,agient/agientstorefront,keatonrow/spree,JuandGirald/spree,siddharth28/spree,kewaunited/spree,sliaquat/spree,agient/agientstorefront,jordan-brough/spree,project-eutopia/spree,azclick/spree,lsirivong/solidus,rbngzlv/spree,JDutil/spree,welitonfreitas/spree,pjmj777/spree,Kagetsuki/spree,... |
7f12b13a91c3aaea4bf7aa38165b6d97328091f0 | lib/generators/install/templates/custom_hook.rb.erb | lib/generators/install/templates/custom_hook.rb.erb | class CustomHook < Pokey::Hook
def interval
5
end
def http_method
:post
end
def endpoint
"http://localhost:3000/api/endpoint"
end
def data
{}
end
end
| Add custom hook template for install generator. | Add custom hook template for install generator.
| HTML+ERB | mit | ccallebs/pokey_runner,ccallebs/pokey_runner,ccallebs/pokey_runner | |
e996d6c992e2816f8f9414d281091b57793e0c09 | lib/generators/statesman/templates/transition_model.rb.erb | lib/generators/statesman/templates/transition_model.rb.erb | class <%= klass %> < ActiveRecord::Base
attr_accessible :to_state, :metadata, :sort_key
belongs_to :<%= parent.underscore %>, inverse_of: :<%= table_name %>
serialize :metadata
end
| class <%= klass %> < ActiveRecord::Base
include Statesman::Adapters::ActiveRecordTransition
attr_accessible :to_state, :metadata, :sort_key
belongs_to :<%= parent.underscore %>, inverse_of: :<%= table_name %>
end
| Update generator to include transition mixin | Update generator to include transition mixin
| HTML+ERB | mit | pacso/statesman,timothyp/statesman,eljojo/statesman,div/statesman,pacso/statesman,mkcode/statesmin,div/statesman,image-tester/statesman,eljojo/statesman,gocardless/statesman,image-tester/statesman,gocardless/statesman,mmontalvo/statesman,timothyp/statesman,mmontalvo/statesman |
77487a96cb7b705cc55d8b39605bb86332367c51 | cookbooks/web/templates/default/logrotate.web.erb | cookbooks/web/templates/default/logrotate.web.erb | # DO NOT EDIT - This file is being maintained by Chef
<%= node[:web][:log_directory] %>/*.log {
daily
missingok
rotate 7
compress
delaycompress
notifempty
create 0660 rails rails
sharedscripts
postrotate
<% if File.directory?("#{node[:web][:base_directory]}/rails") -%>
/bin/sleep 30
PASSENGER... | # DO NOT EDIT - This file is being maintained by Chef
<%= node[:web][:log_directory] %>/*.log {
daily
missingok
rotate 7
compress
delaycompress
notifempty
create 0660 rails rails
sharedscripts
postrotate
<% if node[:recipes].include?("web::rails") -%>
/bin/sleep 30
PASSENGER_INSTANCE_REGISTRY... | Fix log rollover for frontends | Fix log rollover for frontends
| HTML+ERB | apache-2.0 | openstreetmap/chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,openstreetmap/chef,openstreetmap/chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,tom... |
802e7606eac3f2865c7f05741f41e6ba8086b29a | app/views/read/_start.html.erb | app/views/read/_start.html.erb | <div id="start-info">
<div class="row">
<div class="col-xs-2 col-md-offset-1">
<%= image_tag asset_path('feed128x128.png'), alt: 'feedbunch', class: 'application-main-icon' %>
</div>
<div class="col-xs-10 col-md-9">
<h1>
<%= t 'start.welcome' %>
<p>
<small ng-show="... | <div id="start-info">
<div class="row">
<div class="hidden-xs col-sm-2 col-md-offset-1">
<%= image_tag asset_path('feed128x128.png'), alt: 'feedbunch', class: 'application-main-icon' %>
</div>
<div class="col-xs-12 col-sm-10 col-md-9">
<h1>
<%= t 'start.welcome' %>
<p>
... | Hide the big feedbunch icon in the start page for viewports under the xs- breakpoint. | Hide the big feedbunch icon in the start page for viewports under the xs- breakpoint.
| HTML+ERB | mit | amatriain/feedbunch,jmwenda/feedbunch,jmwenda/feedbunch,amatriain/feedbunch,amatriain/feedbunch,jmwenda/feedbunch,amatriain/feedbunch |
9cbbeb4257201d8de367f5801aa5d1d9e4d6f384 | app/views/topics/edit.html.erb | app/views/topics/edit.html.erb | <%= tag_header @topic, 'Edit' %>
<%= form_for @topic, html: { class: 'topic' } do |f| %>
<%= f.text_field :slug, :disabled => true %>
<%= f.text_field :title %>
<%= f.text_field :description %>
<%= f.check_box :beta %>
<% if @topic.published? && @topic.dirty? %>
<div class="callout callout-warning">
... | <%= tag_header @topic, 'Edit' %>
<%= form_for @topic, html: { class: 'topic' } do |f| %>
<%= f.text_field :slug, :disabled => true %>
<%= f.text_field :title %>
<%= f.text_field :description %>
<%= f.check_box :beta %>
<%= f.submit 'Save', class: 'btn-submit' %>
<% end %>
| Remove warning about unpublished changes | Remove warning about unpublished changes
When tags are now saved, we send the currently published groups to the
content-store, not the current representation.
| HTML+ERB | mit | alphagov/collections-publisher,alphagov/collections-publisher,alphagov/collections-publisher |
8a18234daec80c3d7648f3aa0f9e60a0f7a79398 | app/views/layouts/devise.html.erb | app/views/layouts/devise.html.erb | <!DOCTYPE html>
<html>
<head>
<%= render "head" %>
</head>
<body>
<%= render "header" %>
<div class="container">
<div class="row">
<div class="col col-md-8 col-lg-6 center-block">
<%= yield %>
</div>
</div>
<%= render "footer" %>
</div>
... | <!DOCTYPE html>
<html>
<head>
<%= render "head" %>
</head>
<body>
<%= render "header" %>
<div class="container">
<div class="row">
<div class="col col-md-offset-2 col-md-8 col-lg-offset-3 col-lg-6">
<%= yield %>
</div>
</div>
<%= render "foote... | Move Devise forms to middle of page. | Move Devise forms to middle of page.
| HTML+ERB | mit | weenhanceit/autism-funding,weenhanceit/autism-funding,weenhanceit/autism-funding,weenhanceit/autism-funding |
40b2f755f68be7d4182809bf622b0694598d5e96 | app/views/passwords/edit.html.erb | app/views/passwords/edit.html.erb | <h2>Change your password</h2>
<p>
Your password has been reset. Choose a new password below.
</p>
<%= error_messages_for :user %>
<%= form_for(:user,
:url => user_password_path(@user, :token => @user.confirmation_token),
:html => { :method => :put }) do |form| %>
<div class="password_fiel... | <h2>Change your password</h2>
<p>
Your password has been reset. Choose a new password below.
</p>
<%= error_messages_for :user %>
<%= form_for(:user,
:url => user_password_path(@user.id, :token => @user.confirmation_token),
:html => { :method => :put }) do |form| %>
<div class="password_f... | Use ids in path helpers | Use ids in path helpers
| HTML+ERB | mit | crowdtap/clearance,crowdtap/clearance,crowdtap/clearance |
4dad795a503ce62aa506e87974675aa37c6fbf9d | app/views/questions/show.html.erb | app/views/questions/show.html.erb | <div class="question_show">
<section class="main-question">
<h2 class="question-title-tag"><%= @question.title %></h2>
<div class="question-body">
<p class="question-text"><%= @question.body %><p>
</div>
</section>
<div class = "question_edit_buttons">
<% if session[:user_id] == @question.u... | <div class="question_show">
<section class="main-question">
<h2 class="question-title-tag"><%= @question.title %></h2>
<div class="question-body">
<p class="question-text"><%= @question.body %><p>
</div>
<div class = "question_edit_buttons">
<% if session[:user_id] == @question.user_id %>
... | Move question buttons into question wrap. | Move question buttons into question wrap.
| HTML+ERB | mit | barreyro/stack-overflow-clone,barreyro/stack-overflow-clone,barreyro/stack-overflow-clone |
259b4a77c169ffe2289f5f2c2555757638bc43ff | plugins/solr/views/solr_plugin/search/facets_browse.html.erb | plugins/solr/views/solr_plugin/search/facets_browse.html.erb | <%= render 'solr_plugin/search/facet_results', facet: @facet, less_options_limit: 50 %>
| <%= render 'solr_plugin/search/facet_results', facet: @facet, less_options_limit: 200 %>
| Increase limit of facets to 200 | solr: Increase limit of facets to 200
| HTML+ERB | agpl-3.0 | blogoosfero/noosfero,samasti/noosfero,coletivoEITA/noosfero-ecosol,coletivoEITA/noosfero-ecosol,blogoosfero/noosfero,CIRANDAS/noosfero-ecosol,blogoosfero/noosfero,EcoAlternative/noosfero-ecosol,coletivoEITA/noosfero-ecosol,CIRANDAS/noosfero-ecosol,samasti/noosfero,EcoAlternative/noosfero-ecosol,EcoAlternative/noosfero-... |
17fc149749f3d89f6f86950d7d5d56e141c35045 | frontend/app/views/spree/checkout/_confirm.html.erb | frontend/app/views/spree/checkout/_confirm.html.erb | <fieldset id="order_details" data-hook>
<div class="clear"></div>
<legend align="center"><%= Spree.t(@order.state, :scope => :order_state).titleize %></legend>
<%= render :partial => 'spree/shared/order_details', :locals => { :order => @order } %>
</fieldset>
<br />
<div class="form-buttons" data-hook="buttons"... | <fieldset id="order_details" data-hook>
<div class="clear"></div>
<legend align="center"><%= Spree.t(:confirm) %></legend>
<%= render :partial => 'spree/shared/order_details', :locals => { :order => @order } %>
</fieldset>
<br />
<div class="form-buttons" data-hook="buttons">
<%= submit_tag Spree.t(:place_ord... | Change confirm step label to uniform it with other steps | Change confirm step label to uniform it with other steps
Fixes #4075
| HTML+ERB | bsd-3-clause | lyzxsc/spree,archSeer/spree,madetech/spree,ramkumar-kr/spree,berkes/spree,rakibulislam/spree,pervino/solidus,carlesjove/spree,kewaunited/spree,bonobos/solidus,rakibulislam/spree,mleglise/spree,reinaris/spree,devilcoders/solidus,pulkit21/spree,Migweld/spree,Machpowersystems/spree_mach,grzlus/solidus,vulk/spree,karlitxo/... |
f3b1282228c0e79d88cc9541631395d36ee05fed | app/views/root/_transaction_cross_domain_analytics.html.erb | app/views/root/_transaction_cross_domain_analytics.html.erb | <script id="transaction_cross_domain_analytics">
if (typeof GOVUK.analytics != "undefined") {
GOVUK.analytics.addLinkedTrackerDomain('<%= transaction.department_analytics_profile %>', 'transactionTracker', 'service.gov.uk');
}
</script>
| <script id="transaction_cross_domain_analytics">
if (typeof GOVUK.analytics != "undefined") {
GOVUK.analytics.addLinkedTrackerDomain('<%= transaction.department_analytics_profile %>', 'transactionTracker', '<%= URI.parse(transaction.link).host %>');
}
</script>
| Support cross-domain tracking for any destination | Support cross-domain tracking for any destination
| HTML+ERB | mit | alphagov/frontend,alphagov/frontend,alphagov/frontend,alphagov/frontend |
b040385782a613b049dd410d878b453c3c90a971 | app/views/students/_student.html.erb | app/views/students/_student.html.erb | <% connected = current_user.connected?(student) %>
<tr>
<td class="for-hire">
<% if student.for_hire? %>
<i class="icon-ok icon-large"></i>
<% end %>
</td>
<td class="name">
<%= render "student_link", locals: {connected: connected, student: student } %>
</td>
<td class="skills"><%= student.s... | <% connected = current_user.connected?(student) %>
<tr>
<td class="for-hire">
<% if student.for_hire? %>
<i class="icon-ok icon-large"></i>
<% end %>
</td>
<td class="name">
<%= name_cell student %>
</td>
<td class="skills"><%= student.skills %></td>
<td class="courses">
<ul>
<% ... | Use helper methods in views | Use helper methods in views
| HTML+ERB | mit | natsteinmetz/partner_dashboard,natsteinmetz/partner_dashboard |
2e723894abb5f28d2ef03bfdd58e9587c1dc34d0 | app/views/user_mailer/feedback_notification.html.erb | app/views/user_mailer/feedback_notification.html.erb | <% FastGettext.with_locale FastGettext.default_locale do %>
<%
recipient_name = @recipient.name(false)
requestor_name = @user.name(false)
plan_name = @plan.title
tool_name = Rails.configuration.branding[:application][:name]
%>
<p><%= _('Hello %{user_name},') % {user_name: recipient_name} %></p>... | <% FastGettext.with_locale FastGettext.default_locale do %>
<%
recipient_name = @recipient.name(false)
requestor_name = @user.name(false)
plan_name = @plan.title
tool_name = Rails.configuration.branding[:application][:name]
%>
<p><%= _('Hello %{user_name},') % {user_name: recipient_name} %></p>
... | Add Plan URL to feedback notification email. | Add Plan URL to feedback notification email.
Issue #1431
| HTML+ERB | mit | CDLUC3/roadmap,CDLUC3/roadmap,DigitalCurationCentre/roadmap,DMPRoadmap/roadmap,DigitalCurationCentre/roadmap,CDLUC3/roadmap,CDLUC3/dmptool,CDLUC3/dmptool,DMPRoadmap/roadmap,CDLUC3/dmptool,CDLUC3/dmptool,CDLUC3/roadmap,DigitalCurationCentre/roadmap,DMPRoadmap/roadmap |
34bb65a02ff9ac73fcfe9f4e51e5b63e53f0158b | modules/backup/templates/etc/automysqlbackup/postbackup.erb | modules/backup/templates/etc/automysqlbackup/postbackup.erb | if [ "$E" == "0" ]; then
NAGIOS_CODE=0
NAGIOS_MESSAGE="OK: automysqlbackup succeeded"
elif [ -n "$E" ]; then
NAGIOS_CODE=2
NAGIOS_MESSAGE="CRITICAL: automysqlbackup encountered errors"
else
NAGIOS_CODE=2
NAGIOS_MESSAGE="CRITICAL: unable to determine automysqlbackup status"
fi
printf "<%= @fqdn %>\t<%= @ser... | if [ "$E" == "0" ]; then
NAGIOS_CODE=0
NAGIOS_MESSAGE="OK: automysqlbackup succeeded"
elif [ -n "$E" ]; then
NAGIOS_CODE=2
NAGIOS_MESSAGE="CRITICAL: automysqlbackup encountered errors"
else
NAGIOS_CODE=2
NAGIOS_MESSAGE="CRITICAL: unable to determine automysqlbackup status"
fi
printf "<%= @ipaddress %>\t<%=... | Use IP address for MySQL backup passive check | Use IP address for MySQL backup passive check
This passive check was omitted from 6974c81c, where we changed all NSCA
passive checks to use IP addresses rather than FQDNs because our new
naming scheme produces FQDNs longer than the 64 bytes supported by NSCA.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
ea095dba76b92978f560a0228bb8cb5d5b611451 | pages/tutorials/yaml-pipeline-upgrade.md.erb | pages/tutorials/yaml-pipeline-upgrade.md.erb | # Migrating to the YAML pipeline editor
- migrating from the UI editor to the YAML editor
- the web-based step editor is deprecated, this guide will get your pipelines running with the new YAML editor
{:toc}
## What changes
- if you've been using the YAML steps editor beta, nothing changes for you
- instead of mana... | Add outline for YAML migration guide | Add outline for YAML migration guide
| HTML+ERB | mit | buildkite/docs,buildkite/docs,buildkite/docs,buildkite/docs | |
3878a7949b7e8a2ac1d87fafcb47b05862ee2e47 | app/views/tweets/show.erb | app/views/tweets/show.erb | <h1> This are all of your tweets </h1>
<ul>
<div class="container">
<a href="/followers/<%=@user.id%>">Followers</a> <a href="/followees/<%=@user.id%>">Following</a>
<center><form action="/users/<%=@user.id%>/tweets" method="post">
Post a New Tweet:
<input type="text" name="body" placeholder="Your Tweet here"><input ty... |
<% if @user.id == session[:user_id] %>
<h1> Welcome, <%=@user.username.upcase %>!</h1>
<% else %>
<h1> <%= @user.username.upcase%>'s Profile</h1>
<% end %>
<ul>
<div class="container">
<a href="/followers/<%=@user.id%>">Followers</a> <a href="/followees/<%=@user.id%>">Following</a><br><br>
<% if @user.id == session[:... | Add logic not allow user to edit/delete/post tweets on behalf of other users and edit welcome message | Add logic not allow user to edit/delete/post tweets on behalf of other users and edit welcome message
| HTML+ERB | mit | UmarFBajwa/rackup-twitter,UmarFBajwa/rackup-twitter,UmarFBajwa/rackup-twitter |
83b9cc3373f64b4af6d9e0da6d6f6e2ff50683cf | app/views/devise/passwords/new.html.erb | app/views/devise/passwords/new.html.erb | <h2>Forgot your password?</h2>
<%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :post }) do |f| %>
<%= devise_error_messages! %>
<div><%= f.label :email %><br />
<%= f.email_field :email, :autofocus => true %></div>
<div><%= f.submit "Send me reset pass... | <div class='container'>
<div class='row-fluid'>
<h2>Forgot your password?</h2>
<%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :post }) do |f| %>
<%= devise_error_messages! %>
<div>
<%= f.label :email %>
<%= f.email_field ... | Fix Password Reset form style to match other forms | Fix Password Reset form style to match other forms
| HTML+ERB | mit | SoPR/sopr-platform,SoPR/sopr-platform |
7a2febb7e1f6e31e1dcd8669b6bb4987b24aa504 | app/views/layouts/_utskottmenu.html.erb | app/views/layouts/_utskottmenu.html.erb | <%utskott = Council.all%>
<ul class="list-inline list-unstyled black-link" style="margin-top: 10px; text-align: left">
<% utskott.each do |u| %>
<li><%= link_to u.title, council_path u %></li>
<% end %>
<% if (current_user) && (current_user.moderator?(:utskott)) %>
<li><%= link_to (content_tag(:i, nil, ... | <%utskott = Council.all%>
<ul class="list-inline list-unstyled black-link" style="margin-top: 10px; text-align: left">
<% utskott.each do |u| %>
<li><%= link_to u.title, council_path(u) %></li>
<% end %>
<% if (current_user) && (current_user.moderator?(:utskott)) %>
<li><%= link_to (content_tag(:i, nil,... | Fix regression bug in utskott menu. | Fix regression bug in utskott menu.
| HTML+ERB | mit | fsek/web,fsek/web,fsek/web |
5469b455b18f34efce4da78df13498a4cbfaf747 | app/views/orga/seasons/_switch.html.erb | app/views/orga/seasons/_switch.html.erb | <br/>
<hr>
<h3> For development only: select season phase… </h3>
<p>… to adjusts all the date dependent settings for <i>current_season</i>.
<%= form_tag switch_phase_path, :method => :patch do %>
<%= radio_button_tag :option, "Proposals" %>
<%= label_tag :option_Proposals, "Proposals Phase" %>
<%= radio_bu... | <hr>
<h3>For development only: select season phase… </h3>
<p>… to adjust all the date-dependent settings for the current season.</p>
<%= form_tag switch_phase_path, :method => :patch do %>
<%= radio_button_tag :option, "Proposals" %>
<%= label_tag :option_Proposals, "Proposals Phase" %>
<%= radio_button_tag :opt... | Adjust formatting of the season switch | Adjust formatting of the season switch
| HTML+ERB | mit | TeamCheesy/rgsoc-teams,TeamCheesy/rgsoc-teams,michaelem/rgsoc-teams,michaelem/rgsoc-teams,rails-girls-summer-of-code/rgsoc-teams,TeamCheesy/rgsoc-teams,rails-girls-summer-of-code/rgsoc-teams,rails-girls-summer-of-code/rgsoc-teams,michaelem/rgsoc-teams |
f827c615c8680fe40aee9a1e2016ec1d7d1b2915 | app/views/signatures/thank_you.html.erb | app/views/signatures/thank_you.html.erb | <h1 class="page-title page-title-with-icon">
<span class="icon icon-email"></span>
One more step…
</h1>
<p>
We’ve sent you an email. Please click on the link in the email to confirm your address.
</p>
<%= render "notification", message: "Your signature will not be counted until you click the link in the email" ... | <h1 class="page-title page-title-with-icon">
<span class="icon icon-email"></span>
One more step…
</h1>
<p>
We’ve sent you an email. Please click on the link in the email to confirm your address.
</p>
<%= render "notification", message: "Your signature will not be counted until you click the link in the email" ... | Remove the committee email address from the email help | Remove the committee email address from the email help
Due to overloading the committee, we're keen to see if removing the email address and routing through the feedback from helps.
The committee will then contact the requester asking them to reply in order to validate the address.
It's a trial to see if that ch... | HTML+ERB | mit | unboxed/e-petitions,joelanman/e-petitions,oskarpearson/e-petitions,alphagov/e-petitions,joelanman/e-petitions,alphagov/e-petitions,oskarpearson/e-petitions,alphagov/e-petitions,unboxed/e-petitions,unboxed/e-petitions,alphagov/e-petitions,unboxed/e-petitions,oskarpearson/e-petitions,joelanman/e-petitions |
80ba369ee570b5861c222c44e5346075ad4d3190 | app/views/uploads/_upload_form.html.erb | app/views/uploads/_upload_form.html.erb | <div class="row-fluid">
<div class="span12">
<%= simple_form_for(@upload, :html => {:multipart => true, :class => 'form-horizontal' }) do |f| %>
<ul class="thumbnails">
<%= panel_tag('File', {:icon => 'fa fa-upload', :class => "span8 offset2"}) do %>
<%= f.input :file, :label => 'Select your inventory spr... | <div class="row-fluid">
<div class="span12">
<%= simple_form_for(@upload, :html => {:multipart => true, :class => 'form-horizontal' }) do |f| %>
<ul class="thumbnails">
<%= panel_tag('File', {:icon => 'fa fa-upload', :class => "span8 offset2"}) do %>
<%= f.input :file, :label => 'Select your inventory spr... | Fix bug in upload form | Fix bug in upload form
| HTML+ERB | mit | camsys/transam_core,camsys/transam_core,nycdot/transam_core,nycdot/transam_core,camsys/transam_core,camsys/transam_core,nycdot/transam_core |
0fe22de9bdb5dd8534eefa50783889bf611f7b75 | gitconfig.erb | gitconfig.erb | [user]
name = <%= print("Your Name: "); STDOUT.flush; STDIN.gets.chomp %>
email = <%= print("Your Email: "); STDOUT.flush; STDIN.gets.chomp %>
[color]
ui = auto
[core]
excludesfile = <%= ENV['HOME'] %>/.gitignore
editor = mvim -f
[apply]
whitespace = nowarn
[format]
; pretty = %C(yellow)%h%Cred%d %Creset%... | [user]
name = <%= print("Your Name: "); STDOUT.flush; STDIN.gets.chomp %>
email = <%= print("Your Email: "); STDOUT.flush; STDIN.gets.chomp %>
[color]
ui = auto
[core]
excludesfile = <%= ENV['HOME'] %>/.gitignore
editor = mvim -f
[apply]
whitespace = nowarn
[format]
; pretty = %C(yellow)%h%Cred%d %Creset%... | Change push default from tracking to upstream | Change push default from tracking to upstream
| HTML+ERB | mit | carlosantoniodasilva/dotfiles,carlosantoniodasilva/dotfiles |
af9ca5e5aef34f6e7e997bb34ea1664db3ad38b5 | app/views/notification_mailer/new_user.html.erb | app/views/notification_mailer/new_user.html.erb | <p>Bonjour,</p>
<br/>
<p>
Un nouvel utilisateur a souhaité s'authentifier sur l'application ApiApp.<br/>
Les informations présentes dans le compte utilisateur Apidae correspondant sont les suivantes :<br/>
<br/>
Nom : <%= @user.name %>
Email : <%= @user.email %>
Téléphone fixe : <%= @user.telephone || 'Non ... | <p>Bonjour,</p>
<p>
Un nouvel utilisateur a souhaité s'authentifier sur l'application ApiApp.<br/>
Les informations présentes dans le compte utilisateur Apidae correspondant sont les suivantes :<br/>
<br/>
Nom : <%= @user.name %><br/>
Email : <%= @user.email %><br/>
Téléphone fixe : <%= @user.telephone || '... | Send email on failed authentification - Test phase | Send email on failed authentification - Test phase
| HTML+ERB | mit | apidae-tourisme/api_app_bo,apidae-tourisme/api_app_bo,apidae-tourisme/api_app_bo |
b0535ab727830047b3e0a810412b1a85a9e1a652 | app/views/tariff_synchronizer/mailer/applied.html.erb | app/views/tariff_synchronizer/mailer/applied.html.erb | <p>Hello,</p>
<p>
Trade Tariff successfully applied <%= @count %> update(s) at <%= Time.now %>.
</p>
<p>Following updates were applied:</p>
<ul>
<% @update_names.each do |update_name| %>
<li><%= update_name %></li>
<% end %>
</ul>
<% if @conformance_errors.any? %>
<table>
<thead>
<tr>
... | <p>Hello,</p>
<p>
Trade Tariff successfully applied <%= @count %> update(s) at <%= Time.now %>.
</p>
<p>Following updates were applied:</p>
<ul>
<% @update_names.each do |update_name| %>
<li><%= update_name %></li>
<% end %>
</ul>
<% if @conformance_errors.any? %>
<table>
<thead>
<tr>
... | Remove one too many columns in update applied email | Remove one too many columns in update applied email
| HTML+ERB | mit | leftees/trade-tariff-backend,bitzesty/trade-tariff-backend,alphagov/trade-tariff-backend,alphagov/trade-tariff-backend,bitzesty/trade-tariff-backend,leftees/trade-tariff-backend,alphagov/trade-tariff-backend,leftees/trade-tariff-backend,bitzesty/trade-tariff-backend |
58854b879bd3cf94366315083b0a075c21ec33a3 | core/app/views/facts/partial/_indication.html.erb | core/app/views/facts/partial/_indication.html.erb | <div class="indicator">
<div class="icon believe" style="background-image: url(<%= root_url + 'images/simple_indicators.png'%>);width:32px; height:32px;"></div>
<div class="icon disbelieve" style="background-image: url(<%= root_url + 'images/simple_indicators.png'%>);width:32px; height:32px;background-position: ... | <div class="indicator">
<div class="believe" style="background-image: url(<%= root_url + 'images/simple_indicators.png'%>);width:32px; height:32px;"></div>
<div class="disbelieve" style="background-image: url(<%= root_url + 'images/simple_indicators.png'%>);width:32px; height:32px;background-position: -32px 0;">... | Revert "Styled the new indicator popup" | Revert "Styled the new indicator popup"
This reverts commit b7189bd3bf1976671e8e06f2deb4f4bf1a3312d9.
| HTML+ERB | mit | daukantas/factlink-core,daukantas/factlink-core,Factlink/factlink-core,daukantas/factlink-core,daukantas/factlink-core,Factlink/factlink-core,Factlink/factlink-core,Factlink/factlink-core |
c3ddc551d8553f8ed92f4b04b1d5e339ff82e489 | app/views/knowledge_base/sectionables/texts/_text.html.erb | app/views/knowledge_base/sectionables/texts/_text.html.erb | <h2 class="heading"><%= text.heading %></h2>
<div class="lead">
<%= simple_format text.lead %>
</div>
<div class="body">
<%= simple_format text.body %>
</div>
| <h2 class="heading"><%= text.heading %></h2>
<%= image_tag text.image %>
<div class="lead">
<%= simple_format text.lead %>
</div>
<div class="body">
<%= simple_format text.body %>
</div>
| Add image to text partial | Add image to text partial
| HTML+ERB | mit | hyperoslo/knowledge_base,hyperoslo/knowledge_base,hyperoslo/knowledge_base |
7e16d491edc96e4333f19eb82f201383ae0a7731 | app/views/places/index.html.erb | app/views/places/index.html.erb | <h1>Quiet Place</h1>
<p>A map shows quiet palces around.</p>
<ul>
<% @places.each do |place| %>
<li><%= place[:location] %></li>
<% end %>
</ul>
<%= link_to 'New Quiet Place', new_place_path(latitude: 40, longitude: 120) %>
| <h1>Quiet Place</h1>
<p>A map shows quiet palces around.</p>
<ul>
<% @places.each do |place| %>
<li><%= link_to place[:location], place_path(id: place[:id]) %></li>
<% end %>
</ul>
<%= link_to 'New Quiet Place', new_place_path(latitude: 40, longitude: 120) %>
| Add link to place detail page. | Add link to place detail page.
| HTML+ERB | mit | lidonghua/shizuka,lidonghua/shizuka,lidonghua/shizuka |
1657d40836f932e7d1bcbd4a25021365140b2a48 | app/views/doorkeeper/authorizations/new.html.erb | app/views/doorkeeper/authorizations/new.html.erb | <div class="span16">
<h2>Authorize <%= @authorization.client.name %> to use your account?</h2>
</div>
<div class="span16">
<p>This application <b>will able to</b>:</p>
<ul>
<li>Access your public data</li>
</ul>
<%= form_tag authorization_path do %>
<%= hidden_field_tag :client_id, @authorization.c... | <div class="span16">
<h2>Authorize <%= @authorization.client.name %> to use your account?</h2>
</div>
<div class="span16">
<%= form_tag authorization_path do %>
<%= hidden_field_tag :client_id, @authorization.client_id %>
<%= hidden_field_tag :redirect_uri, @authorization.redirect_uri %>
<%= hidden_fie... | Remove scopes text from authorization endpoint. | Remove scopes text from authorization endpoint. | HTML+ERB | mit | Tout/doorkeeper,EasterAndJay/doorkeeper,outstand/doorkeeper,stormz/doorkeeper,AdStage/doorkeeper,ValMilkevich/doorkeeper,daande/doorkeeper,jasl/doorkeeper,CloudTags/doorkeeper,kolorahl/doorkeeper,mavenlink/doorkeeper,stormz/doorkeeper,AICIDNN/doorkeeper,ngpestelos/doorkeeper,pmdeazeta/doorkeeper,daande/doorkeeper,Uysim... |
a7110c162f9fda82c42941f5e382cadeb8128ebc | app/views/user/account/partials/_header.html.erb | app/views/user/account/partials/_header.html.erb | <div class="bs-header account-header" id="content">
<div class="container">
<h1>Xerax</h1>
<p>Member Since 18/08/1994</p>
<ul>
<li><span class="label label-success">Developer</span></li>
<li><span class="label label-info">Halo 4</span></li>
<li><span class="label label-info">Halo Reach</span></li>
<l... | <div class="bs-header account-header" id="content">
<div class="container">
<h1>Xerax</h1>
<p>Member Since 18/08/1994</p>
<ul>
<li><span class="label label-success">Developer</span></li>
<li><span class="label label-info">Halo 4</span></li>
<li><span class="label label-info">Halo Reach</span></li>
<l... | Remove 'edit profile' button on settings pages | Remove 'edit profile' button on settings pages
| HTML+ERB | mit | TheTree/branch,TheTree/branch,TheTree/branch |
70699caf9b061489ad658569dee1b5e7dca829d1 | app/views/application/_analytical_javascript.html.erb | app/views/application/_analytical_javascript.html.erb | <script type="text/javascript">
var Analytical = {
identify: function(id, options) {
<%= raw(analytical.javascript_for.identify.gsub(/^/, " " * 4).strip) %>
},
event: function(name, options, callback) {
<%= raw(analytical.javascript_for.event.gsub(/^/, " " * 4).strip) %>
},
set: function(properties) {... | <script type="text/javascript">
var Analytical = {
identify: function(id, options) {
<%= raw(analytical.javascript_for.identify.gsub(/^/, " " * 4).strip) %>
},
track: function(page) {
<%= raw(analytical.javascript_for.track.gsub(/^/, " " * 4).strip) %>
},
event: function(name, options, callback) {
... | Enable track (page-view events) javascript | Enable track (page-view events) javascript
| HTML+ERB | mit | telmofcosta/analytical,Seedrs/analytical,Seedrs/analytical,telmofcosta/analytical |
ce6574ee07d7c3b5d771edcc3f570a7fef9a9175 | app/views/weekly_update_mailer/weekly_update.html.erb | app/views/weekly_update_mailer/weekly_update.html.erb | <!DOCTYPE html>
<head>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
<% @data.each do |school_hash| %>
<h2><%= school_hash[:name] %></h2>
<h3>Absences:</h3>
<table width="100%" style="border-collapse: collapse; border: 1px solid grey;">
<tr>... | <!DOCTYPE html>
<head>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
<% @data.each do |school_hash| %>
<h2><%= school_hash[:name] %></h2>
<h3>Absences:</h3>
<table width="100%" style="border-collapse: collapse; border: 1px solid grey;">
<tr>... | Add borders to table cells | Add borders to table cells
| HTML+ERB | mit | studentinsights/studentinsights,studentinsights/studentinsights,studentinsights/studentinsights,jhilde/studentinsights,studentinsights/studentinsights,jhilde/studentinsights,jhilde/studentinsights,jhilde/studentinsights |
627ec84e45c450b8b0a479d0af25b313e5147186 | puppet/modules/role/templates/wikidata/shared.php.erb | puppet/modules/role/templates/wikidata/shared.php.erb | if ( $wmgUseWikibaseRepo ) {
// Define custom namespaces. Use these exact constant names.
$wgNamespaceAliases['Item'] = NS_MAIN;
$wgNamespaceAliases['Item_talk'] = NS_TALK;
// Tell Wikibase which namespace to use for which kind of entity
$wgWBRepoSettings['entityNamespaces']['item'] = NS_MAIN;
define( 'WB_NS_PRO... | define( 'WB_NS_PROPERTY', 122 );
define( 'WB_NS_PROPERTY_TALK', 123 );
// Tell Wikibase which namespace to use for which kind of entity.
// WikibaseClient wikis also need to know how this is configured on
// WikibaseRepo wikis that it accesses, thus these are shared settings.
$wgWBEntityNamespaces = [
'item' => NS_MA... | Add entityNamespaces setting for WikibaseClient | Add entityNamespaces setting for WikibaseClient
This is needed in repo and client, and should be same in both.
Change-Id: I8453166d19f03154e9200d41c1a8a56e222273a1
| HTML+ERB | mit | wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant,wikimedia/mediawiki-vagrant |
20f8ef7e9dc5ef3f8bfbb28667f0c38affdced56 | rails_mongoid/templates/default/mongoid.yml.erb | rails_mongoid/templates/default/mongoid.yml.erb | <% (['development', 'production'] + [@environment]).uniq.each do |env| -%>
<%= env %>:
sessions:
default:
database: fortune_app_<%= env %>
hosts:
<% replicaset_instances.each do |rs| -%>
- <%= rs %>
<% end -%>
options:
safe: true
consistency: :eventual
... | <% (['development', 'production'] + [@environment]).uniq.each do |env| -%>
<%= env %>:
sessions:
default:
database: fortune_app_<%= env %>
hosts:
<% @replicaset_instances.each do |rs| -%>
- <%= rs %>
<% end -%>
options:
safe: true
consistency: :eventual
... | Make it an instance variable for | Make it an instance variable for
| HTML+ERB | mit | StrangeLightning/Chef-DB-Mongo-ReplicaSet,StrangeLightning/Chef-DB-Mongo-ReplicaSet,StrangeLightning/Chef-DB-Mongo-ReplicaSet,gani20/chef-mongodb,gani20/chef-mongodb,netinlet/chef-mongodb_replicaset,netinlet/chef-mongodb_replicaset,chamila1978/mongodb_replicaset,netinlet/chef-mongodb_replicaset,chamila1978/mongodb_repl... |
efdf95441f542150576ff2eb2417d1860b6bd0c9 | src/json/fn_plus_numbers_to_function_keys.json.erb | src/json/fn_plus_numbers_to_function_keys.json.erb | <% numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9]; %>
{
"title": "Map fn + number keys to function keys",
"rules": [
{
"description": "Map fn + number keys to their corresponding function keys",
"manipulators": [
<% numbers.each do |number| %>
{
... | <%
remap_source_keys = [
'1', '2', '3', '4', '5', '6', '7', '8', '9', '0', 'hyphen', 'equal_sign'
];
remap_dest_keys = [
'f1', 'f2', 'f3', 'f4', 'f5', 'f6', 'f7', 'f8', 'f9', 'f10', 'f11', 'f12'
];
manipulators = each_key(
source_keys_list: remap_source_keys,
dest_key... | Use each_key for fn+numbers to function keys | Use each_key for fn+numbers to function keys
| HTML+ERB | unlicense | kosukemori/KE-complex_modifications,pqrs-org/KE-complex_modifications,kosukemori/KE-complex_modifications,s-show/KE-complex_modifications,pqrs-org/KE-complex_modifications,kamykaze/KE-complex_modifications,pqrs-org/KE-complex_modifications,kamykaze/KE-complex_modifications,pqrs-org/KE-complex_modifications,kamykaze/KE-... |
ed4bbed5a09e001f1d3069afec5cbfaa575db013 | app/views/posts/_post.html.erb | app/views/posts/_post.html.erb | <% if post.title.present? %>
<h3><%= link_to post.title, post %></h3>
<% else %>
<span> </span>
<% end %>
<pre><code><%= post.content %></code></pre>
<% if post.author.present? %>
<small class="author">- <%= post.author %></small>
<% end %>
<% if post.comments.present? %>
<span class="comments_count">
... | <% if post.title.present? %>
<h3><%= link_to post.title, post %></h3>
<% else %>
<span> </span>
<% end %>
<pre><code><%= truncate(post.content,
:length => 800,
:omission => "\n\n...") %>
</code></pre>
<% if post.author.present? %>
<small class="author">- <%= po... | Truncate posts on the index page | Truncate posts on the index page
| HTML+ERB | bsd-2-clause | kmerz/graveio,kmerz/graveio |
66658663105e3e20337df571b1c65794d6babafa | app/views/talks/index.html.erb | app/views/talks/index.html.erb | <p id="notice"><%= notice %></p>
<h1>Listing Talks</h1>
<table>
<thead>
<tr>
<th>Title</th>
<th>Description</th>
<th colspan="3"></th>
</tr>
</thead>
<tbody>
<% @talks.each do |talk| %>
<tr>
<td><%= link_to talk.title, talk_url(talk) %></td>
<td><%= talk.spea... | <p id="notice"><%= notice %></p>
<h1>Listing Talks</h1>
<table>
<thead>
<tr>
<th>Title</th>
<th>Speaker</th>
<th>Description</th>
<th colspan="3"></th>
</tr>
</thead>
<tbody>
<% @talks.each do |talk| %>
<tr>
<td><%= link_to talk.title, talk_url(talk) %></td>
... | Include speaker conditionally so as not to raise error if none is specified | Include speaker conditionally so as not to raise error if none is specified
| HTML+ERB | unlicense | danascheider/testrubypdx,danascheider/testrubypdx,danascheider/testrubypdx |
7a6740c8355ed4cd2eda1ff8dd7f0fb0c0508412 | 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.contact_name || "member" %>,</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 g... | Address email to contact name, or "member" if not available. | Address email to contact name, or "member" if not available.
| HTML+ERB | mit | theodi/member-directory,theodi/member-directory,theodi/member-directory |
14bb2c17088b4ff192e6594cb98c0e234165937e | app/views/project_overview/_settings.html.erb | app/views/project_overview/_settings.html.erb | <p>
<%= content_tag(:label, l(:label_po_settings_stale_num_days)) %>
<%= text_field_tag("settings[stale_num_days]", Setting.plugin_project_overview[:stale_num_days].to_i) %>
</p>
<p>
<%= content_tag(:label, l(:label_po_settings_exclude_projects)) %>
<%= select_tag("settings[exclude_projects]", options_from_col... | <p>
<%= content_tag(:label, l(:label_po_settings_stale_num_days)) %>
<%= text_field_tag("settings[stale_num_days]", Setting.plugin_project_overview[:stale_num_days].to_i) %>
</p>
<p>
<%= content_tag(:label, l(:label_po_settings_exclude_projects)) %>
<%= select_tag("settings[exclude_projects]", options_from_col... | Make sure settings order of projects matches that of the overview page. | Make sure settings order of projects matches that of the overview page.
| HTML+ERB | mit | mbasset/project_overview,mbasset/project_overview,mbasset/project_overview |
77eed20b6f12b97c3e868e0bbe65bf1d42f9040f | app/views/home/index.html.erb | app/views/home/index.html.erb | <% if notice %>
<p data-alert class="alert-box success radius"><%= notice %></p>
<% end %>
<div class="row text-center">
<h1><%= @situation.title %></h1>
<p>
<%= @situation.sit_rep %>
</p>
</div>
<% unless @situation.ending %>
<div class="row text-center">
<a href="./<%= @choice_1 %>" class="button" id=... | <div class="row text-center">
<h1><%= @situation.title %></h1>
<p>
<%= @situation.sit_rep %>
</p>
</div>
<% unless @situation.ending %>
<div class="row text-center">
<a href="./<%= @choice_1 %>" class="button" id="choice1">
<%= @choice_1_label %>
</a>
<a href="./<%= @choice_2 %>" class="button" id... | Remove duplicate notice (moved to application layout). | Remove duplicate notice (moved to application layout).
| HTML+ERB | mit | Peradventure/app,Peradventure/app,Peradventure/app |
1649e0e27754b2edc97112971f9138ff40d06f1e | app/views/home/index.html.erb | app/views/home/index.html.erb | <h1>Welcome to Sorter!</h1>
<p>The perfect place to organize all your web resources on anything coding. And see what others are learning.</p>
<% if user_signed_in? %>
<h3>Here's what people have been reading:</h3>
<ul>
<% @resources.by_language.each do |resource| %>
<li><%= link_to resource.title, resource... | <h1>Welcome to Sorter!</h1>
<p>The perfect place to organize all your web resources on anything coding. And see what others are learning.</p>
<% if user_signed_in? %>
<h3>Here's what people have been reading:</h3>
<ul id="resources">
<% @resources.by_language.each do |resource| %>
<li><%= link_to resource.... | Add id to unordered list. | Add id to unordered list.
| HTML+ERB | mit | abonner1/sorter,abonner1/code_learning_resources_manager,abonner1/code_learning_resources_manager,abonner1/code_learning_resources_manager,abonner1/sorter,abonner1/sorter |
df7905a27696ef5e3b9c6b59c2133660322187a0 | app/views/presentations/edit.html.erb | app/views/presentations/edit.html.erb | <div class="row-fluid">
<div class="span6 offset3">
<div class="box">
<h2>Edit Session</h2>
<%= simple_form_for(@presentation) do |f| %>
<%= f.input(:title, input_html: { class: 'input-block-level' }) %>
<%= f.input(:description, input_html: { class: 'input-block-level', rows: 5 }) %>
... | <div class="row-fluid">
<div class="span6 offset3">
<div class="box">
<h2>Edit Session</h2>
<%= simple_form_for(@presentation, html: { style: 'margin-bottom: 0;' }) do |f| %>
<%= f.input(:title, input_html: { class: 'input-block-level' }) %>
<%= f.input(:description, input_html: { clas... | Clean up the edit presentation form | Clean up the edit presentation form
| HTML+ERB | mit | BarCampGreenBay/barcampgb.com,BarCampGreenBay/barcampgb.com |
c0c9645f4b193c2df144b3ef2e8da84a07ee1540 | cookbooks/planet/templates/default/changesets.conf.erb | cookbooks/planet/templates/default/changesets.conf.erb | state_file: /store/planet/replication/changesets/state.yaml
db: host=db dbname=openstreetmap user=planetdiff password=<%= @password %>
data_dir: /store/planet/replication/changesets
| state_file: /store/planet/replication/changesets/state.yaml
db: host=katla.bm.openstreetmap.org dbname=openstreetmap user=planetdiff password=<%= @password %>
data_dir: /store/planet/replication/changesets
| Update database address for changeset replication | Update database address for changeset replication
| HTML+ERB | apache-2.0 | gravitystorm/chef,zerebubuth/openstreetmap-chef,gravitystorm/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,gravitystorm/chef,gravitystorm/chef,Firefishy/chef,tomhughes/openstreetmap-chef,Firefishy/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,open... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.