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 |
|---|---|---|---|---|---|---|---|---|---|
a7b36c23ae3f9647ec3a6323481cb6ecdf9b7c2d | app/views/root/index.html.erb | app/views/root/index.html.erb | <h1>Welcome to GOV.UK</h1>
<div class="well">
<h2>Your account</h2>
<ul>
<li><%= link_to "Change your passphrase", edit_user_path %></li>
<li><%= link_to "Sign out", destroy_user_session_path, :method => :delete %></li>
</ul>
<% if current_user.is_admin? %>
<h2>Admin tasks</h2>
<ul>
<li><%= link... | <h1>Welcome to GOV.UK</h1>
<div class="well">
<h2>Your account</h2>
<ul>
<li><%= link_to "Change your passphrase", edit_user_path %></li>
<li><%= link_to "Sign out", destroy_user_session_path, :method => :delete %></li>
</ul>
<% if current_user.is_admin? %>
<h2>Admin tasks</h2>
<ul>
<li>... | Tidy up HTML in index page | Tidy up HTML in index page
Add missing close div tag, re-indent, change some heading levels
| HTML+ERB | mit | alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2 |
8a5d2bf050040538591f7100554ee3c9617aa2f7 | app/views/users/show.html.erb | app/views/users/show.html.erb | <div class="pure-g">
<div class="pure-u-1-12">
</div>
<div class="pure-u-11-12">
<h1><%= User.find(params[:id]).username %>'s Profile</h1>
<% if @groups.length > 0 %>
<h2>Your Groups</h2>
<ul>
<% @groups.each do |group| %>
<li class="user-group"><a href="/groups/<%= gro... | <div class="pure-g">
<div class="pure-u-1-12">
</div>
<div class="pure-u-11-12">
<h1><%= User.find(params[:id]).username %>'s Profile</h1>
<% if @groups.length > 0 %>
<% if current_user %>
<h2>Your Groups</h2>
<% else %>
<h2><%= User.find(params[:id]).username %>'s Groups</h2>
... | Update user show text depending on user status. | Update user show text depending on user status.
| HTML+ERB | mit | pdynowski/best-thing-ever,pdynowski/best-thing-ever,pdynowski/best-thing-ever |
fde760d234bebf18f9ab32bad23e0d1661d64b6e | cookbooks/toolkit-backups/templates/default/run-backups.sh.erb | cookbooks/toolkit-backups/templates/default/run-backups.sh.erb | #!/bin/bash
set -e
# Back up the shared directory, which includes uploaded images and documents
tar cjpf <%= @shared_filename %> -C /var/www/toolkit shared
openssl dgst -md5 <%= @shared_filename %> > <%= @shared_filename + ".md5" %>
# Back up the database
pg_dump <%= @database %> -Z 1 -f <%= @dbdump_filename %>
open... | #!/bin/bash
set -e
# Back up the shared directory, which includes uploaded images and documents
tar --exclude="*.log" -cjpf <%= @shared_filename %> -C /var/www/toolkit shared
openssl dgst -md5 <%= @shared_filename %> > <%= @shared_filename + ".md5" %>
# Back up the database
pg_dump <%= @database %> -Z 1 -f <%= @dbdu... | Exclude log files from the backup. | Exclude log files from the backup.
The backups are often failing because the log files are changing
while being read. Rather than ignoring all read errors
(--ignore-read-error) we'll exclude the logs instead.
| HTML+ERB | mit | cyclestreets/cyclescape-chef,auto-mat/toolkit-chef,auto-mat/toolkit-chef,cyclestreets/cyclescape-chef,cyclestreets/cyclescape-chef,auto-mat/toolkit-chef |
ddd421e2aa1a6a292357f52c8d648a1184d948ec | app/views/home/index.html.erb | app/views/home/index.html.erb | <h3>Home</h3>
<% @users.each do |user| %>
<p>User: <%=link_to user.name, user %></p>
<% end %>
| <p>Photos go here</p>
| Update homepage to be blank for now. | Update homepage to be blank for now.
| HTML+ERB | mit | fotoapp/fotoapp,fotoapp/fotoapp |
c5b65b9a639759ed976ed723f926badf1351fa36 | app/views/users/edit.html.erb | app/views/users/edit.html.erb | <h1>Edit account information</h1>
<p>Make the desired changes below, and click the button.</p>
<%= render "form" %>
| <div class="row">
<div class="large-2 columns"></div>
<div class="small-12 large-8 columns">
<h1>Edit account information</h1>
<p>Make the desired changes below, and click the button.</p>
<%= render "form" %>
</div>
<div class="large-2 columns"></div>
</div> | Add grid to match formatting consistent with rest of the site. | Add grid to match formatting consistent with rest of the site.
| HTML+ERB | mit | CharlesMilam/tatalog,CharlesMilam/tatalog,CharlesMilam/tatalog |
29a32626bcb009db5da6c5aa9a8aec987f559c6f | lib/smart_answer_flows/check-uk-visa/questions/partner_family_british_citizen.erb | lib/smart_answer_flows/check-uk-visa/questions/partner_family_british_citizen.erb | <% text_for :title do %>
Is your partner or family member a British citizen, or settled in the UK?
<% end %>
<% options(
"yes": "Yes",
"no": "No"
) %>
| <% text_for :title do %>
Does your partner or family member have any of the following types of UK immigration status?
<% end %>
<% govspeak_for :body do %>
- British citizenship
- settlement (called having ‘indefinite leave to remain’)
- settled or pre-settled status under the EU Settlement Scheme
- a Turkish wo... | Update family visa eligibility question | Update family visa eligibility question
There are more users eligible for family visas. The title
and additional bulleted list of immigration status' now reflects
this.
| HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
1ed6c32715f9b98df45b88f5b2c558bea219716a | app/views/setup/setup/index.html.erb | app/views/setup/setup/index.html.erb | <% if project.draft? %>
<h1>Let's setup your Project</h1>
<%= render partial: "setup/setup/step", collection: setup.steps, locals: { readonly: false }%>
<% else %>
<h1>This project is in readonly</h1>
<%= link_to "Latest project draft is available here", setup_project_path(current_program.project_anchor.latest_draft) %... | <% if project.draft? %>
<h1>Let's setup your Project</h1>
<%if params[:readonly]%>
<%= render "readonly" %>
<%else%>
<%= render partial: "setup/setup/step", collection: setup.steps, locals: { readonly: false }%>
<%end%>
<% else %>
<h1>This project is in readonly</h1>
<%= link_to "Latest project draft is available here"... | Allow to display in readonly mode the current draft | Allow to display in readonly mode the current draft
| HTML+ERB | mit | BLSQ/orbf2,BLSQ/orbf2,BLSQ/orbf2,BLSQ/orbf2 |
df68c5a2938141c0335b2633943e64e7478599c5 | app/views/shared/vue/_in_tail_format.html.erb | app/views/shared/vue/_in_tail_format.html.erb | <div id="in_tail_format" class="form-group" formatOptions="<%= formats.to_json %>" initialSelected="<%= initialSelected %>">
<div class="form-group">
<label>format</label>
<select name="setting[format]" v-model="format" class="form-control">
<option v-repeat="formats" value="{{ $value }}" v-attr="select... | <div id="in_tail_format" class="form-group" formatOptions="<%= formats.to_json %>" initialSelected="<%= initialSelected %>">
<div class="form-group">
<label>format(TODO: use Glok?)</label>
<select name="setting[format]" v-model="format" class="form-control">
<option v-repeat="formats" value="{{ $value }... | Add TODO for in_tail setup format | Add TODO for in_tail setup format
| HTML+ERB | apache-2.0 | mt0803/fluentd-ui,fluent/fluentd-ui,mt0803/fluentd-ui,fluent/fluentd-ui,mt0803/fluentd-ui,fluent/fluentd-ui |
c22b03a4a0e6185bedc7fa3cc57d01c4f4ea5164 | app/views/devise/registrations/edit.html.erb | app/views/devise/registrations/edit.html.erb | <div class="col-md-6 col-md-offset-3">
<div class="jumbotron">
<h3>Change your password</h3>
<%= simple_form_for(resource, :as => resource_name, :url => user_registration_path(resource_name), :html => { :method => :put }) do |f| %>
<%= devise_error_messages! %>
<%= f.input :password, placehold... | <div class="col-md-6 col-md-offset-3">
<div class="jumbotron">
<h3>Change your password</h3>
<%= simple_form_for(resource, :as => resource_name, :url => user_registration_path(resource_name), :html => { :method => :put }) do |f| %>
<%= devise_error_messages! %>
<%= f.input :password, placehold... | Split the block for canceling account on change password page | Split the block for canceling account on change password page
| HTML+ERB | mit | dchbx/gluedb,pbprograms/gluedb,pbprograms/gluedb,blackeaglejs/gluedb,blackeaglejs/gluedb,dchbx/gluedb,dchbx/gluedb,blackeaglejs/gluedb,pbprograms/gluedb,dchbx/gluedb,blackeaglejs/gluedb,pbprograms/gluedb |
302c54515fa1c2cbe2f20e6dc1eeb79864034170 | app/views/layouts/_google_analytics.html.erb | app/views/layouts/_google_analytics.html.erb | <script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', '<%= Course.main.ga_account %>']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript';
ga.async = true;
ga.src = 'https://ssl.google-analytics.com/ga.js';... | <script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.j... | Update Google Analytics tracking code. | Update Google Analytics tracking code.
| HTML+ERB | mit | pwnall/igor,spark008/igor,pwnall/igor,pwnall/seven,pwnall/igor,spark008/seven,pwnall/seven,pwnall/igor,spark008/igor,pwnall/igor,pwnall/seven,spark008/seven,spark008/igor,spark008/igor,spark008/igor,spark008/seven,spark008/seven,pwnall/seven,pwnall/seven,spark008/seven |
5128370bd371893812b3224b0864428da5da8652 | app/views/live/events/_effort_table.html.erb | app/views/live/events/_effort_table.html.erb | <div class="row">
<div class="col-xs-12">
<h3>
<%= @effort_show.full_name %>
<%= "(#{@effort_show.bib_number})" if @effort_show.bib_number %>
• <%= link_to @effort_show.event_name, event_path(@effort_show.event) %>
</h3>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<% over... | <div class="row">
<div class="col-xs-12">
<h3>
<%= @effort_show.full_name %>
<%= "(#{@effort_show.bib_number})" if @effort_show.bib_number %>
• <%= @effort_show.event_name %>
</h3>
<% overall_place, gender_place = @effort_show.combined_places %>
<h4><%= "#{@effort_show.finish_status}... | Make modal effort view more compact. | Make modal effort view more compact.
| HTML+ERB | mit | SplitTime/OpenSplitTime,SplitTime/OpenSplitTime,SplitTime/OpenSplitTime,voltagead/OpenSplitTime,voltagead/OpenSplitTime,voltagead/OpenSplitTime |
4ced3cd0e0939fbb6c4b3db75de40e92f5cf1713 | app/views/rss_support_sources/_form.html.erb | app/views/rss_support_sources/_form.html.erb | <%= form_for(@support_source) do |f| %>
<% if @support_source.errors.any? %>
<div class="panel panel-danger">
<div class="panel-heading">
<h3 class="panel-title"><%= pluralize(@support_source.errors.count, "error") %> prohibited this support source from being saved</h3>
</div>
... | <%= form_for(@support_source) do |f| %>
<% if @support_source.errors.any? %>
<div class="panel panel-danger">
<div class="panel-heading">
<h3 class="panel-title"><%= pluralize(@support_source.errors.count, "error") %> prohibited this support source from being saved</h3>
</div>
... | Update recommended Stack Overflow URL | Update recommended Stack Overflow URL
| HTML+ERB | mit | phusion/support_central,phusion/support_central,phusion/support_central |
ae7f184fff186456c58907f203c20e9435b2d00e | app/views/spree/shared/_collections.html.erb | app/views/spree/shared/_collections.html.erb | <% if collections.any? %>
<ul id="products" class="inline product-listing" data-hook>
<% collections.each do |collection| %>
<% url = "t/fabric/collection/#{collection.name}".downcase.gsub(/\s+/, "-") %>
<li id="product_<%= collection.id %>" class="columns three <%= cycle("alpha", "secondary", "", "omega seco... | <% if collections.any? %>
<ul id="products" class="inline product-listing" data-hook>
<% collections.each do |collection| %>
<% url = "t/fabric/collection/#{collection.name}".downcase.gsub(/\s+/, "-") %>
<li id="product_<%= collection.id %>" class="columns three <%= cycle("alpha", "secondary", "", "omega seco... | Add collections controller and view. | Add collections controller and view.
| HTML+ERB | bsd-3-clause | clomax/spree_cwilt_theme,clomax/spree_cwilt_theme,clomax/spree_cwilt_theme |
84abf0b54fe11ed524f764a1f3faa4d53ce12b2d | files/gitlab-cookbooks/gitlab/templates/default/sv-prometheus-run.erb | files/gitlab-cookbooks/gitlab/templates/default/sv-prometheus-run.erb | #!/bin/sh
exec 2>&1
<%= render("mount_point_check.erb") %>
umask 077
exec chpst -P -U <%= node['gitlab']['prometheus']['username'] %> -u <%= node['gitlab']['prometheus']['username'] %> /opt/gitlab/embedded/bin/prometheus <%= @options[:flags] %>
| #!/bin/sh
exec 2>&1
<%= render("mount_point_check.erb") %>
umask 077
exec chpst -P -U <%= node['gitlab']['prometheus']['username'] %> -u <%= node['gitlab']['prometheus']['username'] %> \
KUBERNETES_SERVICE_HOST="${KUBERNETES_SERVICE_HOST}" \
KUBERNETES_SERVICE_PORT="${KUBERNETES_SERVICE_PORT}" \
/opt/gitlab/embed... | Add Kubernetes env vars to prometheus startup | Add Kubernetes env vars to prometheus startup
Prometheus requires two ENV vars from Kubernetes for service discovery.
* `KUBERNETES_SERVICE_HOST`
* `KUBERNETES_SERVICE_PORT`
It is harmless if these vars are missing when running outside of Kubernetes.
| HTML+ERB | apache-2.0 | gitlabhq/omnibus-gitlab,gitlabhq/omnibus-gitlab,gitlabhq/omnibus-gitlab,gitlabhq/omnibus-gitlab |
d4b0530476c7b9619a29db83325546b826669d8b | app/views/collections/show.html.erb | app/views/collections/show.html.erb | <% @page_title = "#{@presenter.title} - #{application_name}" %>
<h1 class="lower"><%= @presenter.title %></h1>
<%= render 'curation_concerns/base/representative_media', work: @presenter %>
<h3><%= @presenter.description %> </h3>
<% unless has_collection_search_parameters? %>
<%= render partial: 'collections/show_... | <% provide :page_title, "#{@presenter.title} - #{application_name}" %>
<% provide :sidebar do %>
<%= render 'search_sidebar' %>
<% end %>
<div id="content">
<h1 class="lower"><%= @presenter.title %></h1>
<%= render 'curation_concerns/base/representative_media', work: @presenter %>
<h3><%= @presenter.descrip... | Allow faceting to refine collection members | Allow faceting to refine collection members
| HTML+ERB | apache-2.0 | samvera/hyrax,samvera/hyrax,samvera/hyrax,samvera/hyrax |
b995d48b0e9d251c3a818681e8fa40b74a54bb4c | app/views/layouts/articles.html.erb | app/views/layouts/articles.html.erb | <% content_for :head do %>
<!--[if gt IE 8]><!--><%= stylesheet_link_tag 'pensions-guidance', media: 'screen' %><!--<![endif]-->
<!--[if IE 6]><%= stylesheet_link_tag 'pensions-guidance-ie6', media: 'screen' %><![endif]-->
<!--[if IE 7]><%= stylesheet_link_tag 'pensions-guidance-ie7', media: 'screen' %><![endif]-... | <% content_for :head do %>
<!--[if gt IE 8]><!--><%= stylesheet_link_tag 'pensions-guidance', media: 'screen' %><!--<![endif]-->
<!--[if IE 6]><%= stylesheet_link_tag 'pensions-guidance-ie6', media: 'screen' %><![endif]-->
<!--[if IE 7]><%= stylesheet_link_tag 'pensions-guidance-ie7', media: 'screen' %><![endif]-... | Set content width on article page | Set content width on article page
| HTML+ERB | mit | guidance-guarantee-programme/pension_guidance,guidance-guarantee-programme/pension_guidance,guidance-guarantee-programme/pension_guidance |
4852313029c69b9932cc406883c02957a6ba92ef | lib/smart_answer_flows/coronavirus-find-support/coronavirus_find_support.erb | lib/smart_answer_flows/coronavirus-find-support/coronavirus_find_support.erb | <% text_for :title do %>
Find out what you can do if you're struggling bacause of coronavirus (COVID-19)
<% end %>
<% govspeak_for :body do %>
Use this service to find out what help and advice you can get from the government and other organisations. You can use it for yourself or someone else.
You can find supp... | <% text_for :title do %>
Find out what you can do if you’re struggling because of coronavirus (COVID-19)
<% end %>
<% govspeak_for :body do %>
Use this service to find out what help and advice you can get from the government and other organisations. You can use it for yourself or someone else.
You can find supp... | Fix typo and change quote type | Fix typo and change quote type
Fix typo. Also, change quote back to the original curly quote.
| HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
5ac0d4bc053413d006bc12dd06b6a9a7a0cbfbf5 | modules/govuk_jenkins/templates/jobs/deploy_terraform_project.yaml.erb | modules/govuk_jenkins/templates/jobs/deploy_terraform_project.yaml.erb | ---
- scm:
name: govuk-terraform-provisioning_Deploy_Terraform_Project
scm:
- git:
url: git@github.com:alphagov/govuk-terraform-provisioning.git
branches:
- master
- job:
name: Deploy_Terraform_Project
display-name: Deploy_Terraform_Project
project-typ... | ---
- scm:
name: govuk-terraform-provisioning_Deploy_Terraform_Project
scm:
- git:
url: git@github.com:alphagov/govuk-terraform-provisioning.git
branches:
- master
- job:
name: Deploy_Terraform_Project
display-name: Deploy_Terraform_Project
project-typ... | Update properties for Terraform Jenkins job | Update properties for Terraform Jenkins job
- `ENVIRONMENT` isn't set as an environment variable
- `PROJECT_NAME` doesn't need to be set because it is already
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
4f876114446646341a172e95f686b6fc6d77505f | site-modules/profile/templates/jenkins/agent/jenkins-agent.service.erb | site-modules/profile/templates/jenkins/agent/jenkins-agent.service.erb | [Unit]
Description=Jenkins agent
Documentation=https://wiki.jenkins.io/display/JENKINS/Distributed+builds
After=network.target
[Service]
EnvironmentFile=/etc/default/jenkins-agent
ExecStart=/usr/bin/java -jar <%= @jenkins_agent_jar %> -jnlpUrl $JNLP_URL -secret $JNLP_SECRET -workDir $AGENT_WORKDIR
UnsetEnvironment=JNL... | [Unit]
Description=Jenkins agent
Documentation=https://wiki.jenkins.io/display/JENKINS/Distributed+builds
After=network.target
[Service]
EnvironmentFile=/etc/default/jenkins-agent
ExecStart=/usr/bin/java -jar <%= @jenkins_agent_jar %> -jnlpUrl $JNLP_URL -secret $JNLP_SECRET -workDir $AGENT_WORKDIR
User=jenkins
Group=... | Remove UnsetEnvironment, which is now applied before systemd builds its command line | Remove UnsetEnvironment, which is now applied before systemd builds its command line
| HTML+ERB | apache-2.0 | SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site |
ae3e046d0ff759416c92ae42023e6ddc03d56254 | templates/bash_history.erb | templates/bash_history.erb | sudo systemctl daemon-reload
<% if @lifecycle_stage == "production" -%>
journalctl -xe
journalctl -l
systemctl list-unit-files
systemctl cat puppet.service
docker exec -it puppet.service puppet agent -t
sudo docker rm -f puppet.service
etcdctl cluster-health
etcdctl member list
fleetctl list-machines
fleetctl list-unit... | sudo systemctl daemon-reload
docker exec -it stiitops.cache.gateway tail -f /var/log/squid/access.log
<% if @lifecycle_stage == "production" -%>
journalctl -xe
journalctl -l
systemctl list-unit-files
systemctl cat puppet.service
docker exec -it puppet.service puppet agent -t
sudo docker rm -f puppet.service
etcdctl clu... | Add suitable mantra to tail the Squid logs | Add suitable mantra to tail the Squid logs
| HTML+ERB | mit | epfl-sti/cluster.coreos.puppet,epfl-sti/cluster.coreos.puppet,epfl-sti/cluster.coreos.puppet |
2cad9ecb73145540f4122f60b144f8e7523a170d | ci_environment/travis_build_environment/templates/default/etc/apt/timeouts.erb | ci_environment/travis_build_environment/templates/default/etc/apt/timeouts.erb | Acquire {
http {
Timeout "<%= node.travis_build_environment.apt.timeout %>"
}
}
| Acquire {
http {
// So that dead slow or timing out repositories do not stall the update process
// for everybody. MK.
Timeout "<%= node.travis_build_environment.apt.timeout %>"
}
}
| Add a comment, do not disable HTTP pipelining yet | Add a comment, do not disable HTTP pipelining yet
A couple of repositories, like the Google Chrome one, will benefit from this (they do not handle HTTP
pipelining very well) but the majority will suffer. So we won't not use Pipeline-Depth "0", at least not
yet.
| HTML+ERB | mit | ardock/travis-cookbooks,spurti-chopra/travis-cookbooks,tianon/travis-cookbooks,ljharb/travis-cookbooks,DanielG/travis-cookbooks,gavioto/travis-cookbooks,Zarthus/travis-cookbooks,dracos/travis-cookbooks,ljharb/travis-cookbooks,tianon/travis-cookbooks,gavioto/travis-cookbooks,0xCCD/travis-cookbooks,Distelli/travis-cookbo... |
20a66c7b42dd2cf8dec3a355f9e78042e343c76c | ci_environment/phpbuild/templates/default/default_configure_options.erb | ci_environment/phpbuild/templates/default/default_configure_options.erb | --enable-intl
--with-openssl
--without-pear
--with-gd
--with-jpeg-dir=/usr
--with-png-dir=/usr
--with-freetype-dir=/usr
--with-freetype
--enable-exif
--enable-zip
--with-zlib
--with-zlib-dir=/usr
--with-mcrypt=/usr
--with-pdo-sqlite
--enable-soap
--enable-xmlreader
--with-xsl
--enable-ftp
--with-curl=/usr
--with-tidy
-... | --enable-intl
--with-openssl
--without-pear
--with-gd
--with-jpeg-dir=/usr
--with-png-dir=/usr
--with-freetype-dir=/usr
--with-freetype
--enable-exif
--enable-zip
--with-zlib
--with-zlib-dir=/usr
--with-mcrypt=/usr
--with-pdo-sqlite
--enable-soap
--enable-xmlreader
--with-xsl
--enable-ftp
--with-curl=/usr
--with-tidy
-... | Fix libdir for building PHP on Ubuntu 64 bits. | Fix libdir for building PHP on Ubuntu 64 bits.
| HTML+ERB | mit | Distelli/travis-cookbooks,Acidburn0zzz/travis-cookbooks,tianon/travis-cookbooks,spurti-chopra/travis-cookbooks,dstufft/travis-cookbooks,vinaykaradia/travis-cookbook-cloned,johanneswuerbach/travis-cookbooks,Distelli/travis-cookbooks,dracos/travis-cookbooks,alex/travis-cookbooks,johanneswuerbach/travis-cookbooks,gavioto/... |
cc1493f0d1b8a95017b55f238131251f9f6cf1c1 | app/assets/javascripts/templates/components/bubble-chart.hbs.erb | app/assets/javascripts/templates/components/bubble-chart.hbs.erb | <div class="bubble chart"></div>
<p class="info">
Total usage includes page views and downloads from PLOS and PMC.
{{#if axis.key }}
Bubble size correlates with {{axis.display}} and bubble color with the journal.
{{/if}}
</p>
<p class="info">Select an additional source: {{view "select" content=axes selection=axis o... | <div class="bubble chart"></div>
<p class="info">
Total usage includes page views and downloads from PLOS and PubMed Central Usage Stats.
{{#if axis.key }}
Bubble size correlates with {{axis.display}} and bubble color with the journal.
{{/if}}
</p>
<p class="info">Select an additional source: {{view "select" conten... | Change PMC to PubMed Central Usage Stats | Change PMC to PubMed Central Usage Stats
| HTML+ERB | mit | lagotto/alm-report,lagotto/alm-report,articlemetrics/alm-report,mfenner/alm-report,articlemetrics/alm-report,articlemetrics/alm-report,lagotto/alm-report,mfenner/alm-report,mfenner/alm-report |
c20bcf41e198a27b91879430603c78bc293b0a21 | app/views/incident_mailer/notify.html.erb | app/views/incident_mailer/notify.html.erb | <%= @incident.short_summary %>
Service: <%= @incident.check.name %>
URL: <%= @incident.check.uri %>
Type: <%= @incident.assertion.subject %>
Condition: <%= @incident.assertion.condition %>
Match: <%= @incident.assertion.operand %>
| <%= @incident.short_summary %><br><br>
Service: <%= @incident.check.name %><br>
URL: <%= @incident.check.uri %><br>
Type: <%= @incident.assertion.subject %><br>
Condition: <%= @incident.assertion.condition %><br>
Match: <%= @incident.assertion.operand %><br>
| Add br tag to mailer | Add br tag to mailer
| HTML+ERB | agpl-3.0 | NotyIm/trinity,NotyIm/trinity,NotyIm/trinity |
75a828132bd1f3c9667729550ceff7a667d14940 | app/views/team_mailer/email_team.html.erb | app/views/team_mailer/email_team.html.erb | <html>
<head>
<meta content = 'text/html; charset = UTF-8' http-equiv = 'Content-Type' />
</head>
<body>
<=% @body %>
</body>
</html>
| Add new team mailer template | Add new team mailer template
Signed-off-by: Colin Schoen <a3acbfc9b5a4c75eeeb7c33280348e7f320f1240@gmail.com>
| HTML+ERB | mit | colinschoen/enrollme,colinschoen/enrollme,colinschoen/enrollme,adnanhemani/enrollme,adnanhemani/enrollme,adnanhemani/enrollme | |
523ca4a7e3782bce3f5f7204cc7ea825a8c1cf90 | app/views/widgets/_valence_issue.html.erb | app/views/widgets/_valence_issue.html.erb | <div class="valence">
<% issue.valence_issue_explanations.order(:priority).each do |valence| %>
<div class="constellation">
<div class="icon-list">
<% valence.parties.each do |party| %>
<%= image_tag party.logo.versions[:medium] %>
<% end %>
</div>
<h3><%= valence.ti... | <div class="valence">
<% issue.valence_issue_explanations.order(:priority).each do |valence| %>
<div class="constellation">
<div class="icon-list">
<% valence.parties.each do |party| %>
<%= image_tag party.logo.versions[:medium] %>
<% end %>
</div>
<h3><%= valence.ti... | Remove party names + don't downcase the explanation (EU -> eu etc.) | Remove party names + don't downcase the explanation (EU -> eu etc.)
| HTML+ERB | bsd-3-clause | holderdeord/hdo-site,holderdeord/hdo-site,holderdeord/hdo-site,holderdeord/hdo-site |
c49c9adcfcd908959c691ee85cfab63fa28709bf | templates/plugin/amqp.conf.erb | templates/plugin/amqp.conf.erb | <Plugin amqp>
<Publish "graphite">
Host "<%= @amqphost %>"
Port "<%= @amqpport %>"
VHost "<%= @amqpvhost%>"
User "<%= @amqpuser %>"
Password "<%= @amqppass %>"
Format "<%= @amqpformat %>"
<% if @amqpstorerates and @amqformat == 'JSON' -%>
StoreRates true
<% else -%>
StoreRates false
<%... | <Plugin amqp>
<Publish "graphite">
Host "<%= @amqphost %>"
Port "<%= @amqpport %>"
VHost "<%= @amqpvhost%>"
User "<%= @amqpuser %>"
Password "<%= @amqppass %>"
Format "<%= @amqpformat %>"
<% if @amqpstorerates and @amqpformat == 'JSON' -%>
StoreRates true
<% else -%>
StoreRates false
<... | Fix a bug in the template found by the new spec tests | Fix a bug in the template found by the new spec tests
| HTML+ERB | apache-2.0 | voxpupuli/puppet-collectd,archii/puppet-collectd,voxpupuli/puppet-collectd,archii/puppet-collectd,juniorsysadmin/puppet-collectd,archii/puppet-collectd,juniorsysadmin/puppet-collectd,voxpupuli/puppet-collectd |
534e67b8e2ee20c2fc9be6ae16ec928ddb7bc7ec | pages/pipelines/notifications.md.erb | pages/pipelines/notifications.md.erb | # Triggering Notifications
- you can trigger build notifications to several different services
- can filter by pipeline events like build status
<%= toc %>
- add notifications to your pipeline with the `notify` attribute
- at the same level as `steps` in your pipeline yaml
```yaml
steps:
- command: "tests.sh"
-... | Add notification page and outline | Add notification page and outline
| HTML+ERB | mit | buildkite/docs,buildkite/docs,buildkite/docs,buildkite/docs | |
f055127f3e56f60df50440646ff69957e9ef1f8d | templates/default/Gemfile.erb | templates/default/Gemfile.erb | source "https://rubygems.org"
gem "lita"<% if node['lita']['version'] -%>, "<%= node['lita']['version_constraint'] -%> <%= node['lita']['version'] %>"<% end -%>
<% node['lita']['adapters'].each do |adapter| -%>
<% if adapter != :shell && adapter != 'shell' -%>
gem "lita-<%= stringify(adapter) %>"<% if node['lita']['a... | source "<% node['lita']['gem_primary_source'] %>"
gem "lita"<% if node['lita']['version'] -%>, "<%= node['lita']['version_constraint'] -%> <%= node['lita']['version'] %>"<% end -%>
<% node['lita']['adapters'].each do |adapter| -%>
<% if adapter != :shell && adapter != 'shell' -%>
gem "lita-<%= stringify(adapter) %>"<... | Add node attribute for managing Gem source URL | Add node attribute for managing Gem source URL
| HTML+ERB | apache-2.0 | litaio/chef-lita,MattMencel/chef-lita,litaio/chef-lita,onetwotrip/chef-lita,onetwotrip/chef-lita,onetwotrip/chef-lita,desktophero/chef-lita,desktophero/chef-lita,MattMencel/chef-lita,MattMencel/chef-lita,litaio/chef-lita,desktophero/chef-lita |
d8f4bf5210755a6a3fd8c84eab8aeb5360a28441 | lib/chef-dk/skeletons/code_generator/templates/inspec_default_test.rb.erb | lib/chef-dk/skeletons/code_generator/templates/inspec_default_test.rb.erb | # InSpec test for recipe <%= cookbook_name %>::<%= recipe_name %>
# The InSpec reference, with examples and extensive documentation, can be
# found at http://inspec.io/docs/reference/resources/
unless os.windows?
# This is an example test, replace with your own test.
describe user('root'), :skip do
it { shoul... | # InSpec test for recipe <%= cookbook_name %>::<%= recipe_name %>
# The InSpec reference, with examples and extensive documentation, can be
# found at https://www.inspec.io/docs/reference/resources/
unless os.windows?
# This is an example test, replace with your own test.
describe user('root'), :skip do
it { ... | Update link to InSpec docs | Update link to InSpec docs
Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
| HTML+ERB | apache-2.0 | chef/chef-dk,chef/chef-dk,chef/chef-dk |
38fbf0405b663c5d6a1fcfb0642219da1f7ffee1 | lib/smart_answer_flows/marriage-abroad/outcomes/countries/ecuador/ceremony_country/partner_local/_same_sex.erb | lib/smart_answer_flows/marriage-abroad/outcomes/countries/ecuador/ceremony_country/partner_local/_same_sex.erb | Same-sex partnerships in Ecuador are known as ‘union de hecho’.
Contact the relevant local authorities in Ecuador to find out about local laws, including what documents you’ll need.
##What you need to do
You’ll be asked for an affirmation or affidavit document to prove that you’re allowed to enter into this partners... | Contact the relevant local authorities in Ecuador to find out about local laws, including what documents you’ll need.
##What you need to do
You’ll be asked for an affirmation or affidavit document to prove that you’re allowed to marry.
To swear an affirmation or affidavit, [make an appointment at the British Embassy... | Replace 'civil partnership' with 'marry' | Replace 'civil partnership' with 'marry'
Replacing reference to civil partnership with marry across all Ecuador same sex outcomes | HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
89b3d082023a17f49ff5031f938af8d60cbb13cc | app/views/home/index.html.erb | app/views/home/index.html.erb | <div class="home-landing">
<div class="row">
<%= link_to "Zooniverse Home", "https://www.zooniverse.org", class: "btn btn-default"%>
</div>
<div class="row">
<%= link_to "API Docs", "http://docs.panoptes.apiary.io/#", class: "btn btn-primary"%>
</div>
<div class="row">
<%= link_to "GitHub", "https... | <div class="home-landing">
<div class="row">
<%= link_to "Zooniverse Home", "https://www.zooniverse.org", class: "btn btn-default"%>
</div>
<div class="row">
<%= link_to "API Docs", "http://docs.panoptes.apiary.io/#", class: "btn btn-primary"%>
</div>
<div class="row">
<%= link_to "GitHub", "https... | Use appropriate method for sign_out | Use appropriate method for sign_out
| HTML+ERB | apache-2.0 | edpaget/Panoptes,astopy/Panoptes,srallen/Panoptes,camallen/Panoptes,srallen/Panoptes,camallen/Panoptes,srallen/Panoptes,astopy/Panoptes,srallen/Panoptes,zooniverse/Panoptes,zooniverse/Panoptes,parrish/Panoptes,edpaget/Panoptes,zooniverse/Panoptes,camallen/Panoptes,parrish/Panoptes,zooniverse/Panoptes,astopy/Panoptes,ca... |
70d394d4f8223ee41c815ca19adaf16ed086b6ef | app/views/users/edit.html.erb | app/views/users/edit.html.erb | <% provide(:title, "Edit account") %>
<% provide(:button_text, "Save changes") %>
<% provide(:path, user_path(@user)) %>
<% provide(:verb, :patch) %>
<h1>Your account</h1>
<div class="row">
<div class="col-md-6 col-md-offset-3">
<%= render 'form' %>
</div>
</div>
| <% provide(:title, "Edit account") %>
<% provide(:button_text, "Save changes") %>
<% provide(:path, user_path(@user)) %>
<% provide(:verb, :patch) %>
<h1>Your account</h1>
<div class="row">
<div class="col-md-6 col-md-offset-3">
<%= render 'form' %><br>
<a href="#" class="js-payments">Your payments...</a>
... | Add javascript to User edit view to get payments json - Display json as a list beneath form | Add javascript to User edit view to get payments json
- Display json as a list beneath form
| HTML+ERB | mit | crwhitesides/deliberate_finances_app,crwhitesides/deliberate_finances_app,crwhitesides/deliberate_finances_app |
a91a89dd3c956049272c1e745cb65763f7264ef5 | app/views/users/show.html.erb | app/views/users/show.html.erb | <h4><%= @user.username %></h4>
<div>
<img src="<%= @user.avatar %>">
</div>
<div data-role="follow">
<button data-role="new-follow" value="<%= @user %>">follow</button>
</div>
<div data-role="unfollow" class="hidden">
<button data-role="unfollow">unfollow</button>
</div>
<h5><%= pluralize(@user.followers.count, ... | <h4><%= @user.username %></h4>
<div>
<img src="<%= @user.avatar %>">
</div>
<% if current_user == @user %>
<div id="edit">
<button data-role="edit-profile" value="<%= @user %>">edit profile</button>
</div>
<% else %>
<%= render 'follow_form' %>
<% end %>
<h5><%= pluralize(@user.followers.count, 'follower') %></... | Update show to use follow form partials | Update show to use follow form partials
| HTML+ERB | mit | nyc-mud-turtles-2015/Soap-Stone,nyc-mud-turtles-2015/Soap-Stone,nyc-mud-turtles-2015/Soap-Stone |
7e55b9183815fc6fe4f3ea506b30cd5faded14d9 | app/views/users/show.html.erb | app/views/users/show.html.erb | <div class="row">
<div class="small-2 large-4 columns">
<div class="panel radius">
<%= image_tag("https://s3.amazonaws.com/tatalog-milam-dev/tattoos/images/noavatar.png") %>
</div>
</div>
<div class="small-10 large-8 columns">
<h1><%= @user.name %></h1>
<p><%= @user.email %></p>
</div>
</... | <div class="row">
<div class="small-2 large-4 columns">
<div class="panel radius">
<%= image_tag("https://s3.amazonaws.com/tatalog-milam-dev/tattoos/images/noavatar.png") %>
</div>
</div>
<div class="small-10 large-8 columns">
<h1><%= @user.name %></h1>
<p><%= @user.email %></p>
<p>
... | Add button to user profile page to allow for editing of settings. | Add button to user profile page to allow for editing of settings.
| HTML+ERB | mit | CharlesMilam/tatalog,CharlesMilam/tatalog,CharlesMilam/tatalog |
424bb362828fadfb6063af627cf382ba436d93b6 | app/views/users/show.html.erb | app/views/users/show.html.erb | <div id="content-wrapper">
<div id="single-column-wrapper">
<div id="content">
<p id="notice"><%= notice %></p>
<p>
<strong>First name:</strong>
<%= @user.first_name %>
</p>
<p>
<strong>Last name:</strong>
<%= @user.last_name %>
</p>
... | <div id="content-wrapper">
<div id="single-column-wrapper">
<div id="content">
<p id="notice"><%= notice %></p>
<p>
<strong>First name:</strong>
<%= @user.first_name %>
</p>
<p>
<strong>Last name:</strong>
<%= @user.last_name %>
</p>
... | Add cancancan access control to users/show view. | Add cancancan access control to users/show view.
| HTML+ERB | mit | CollegeSTAR/collegestar_org,CollegeSTAR/collegestar_org,CollegeSTAR/collegestar_org |
72295aa0902f2b0c46d557aad61beb5383e1335f | app/views/habits/new.html.erb | app/views/habits/new.html.erb | <div class="row">
<div class="small-12 columns">
<h1>New Habit</h1>
<%= render 'form' %>
<%= link_to 'Dashboard', habits_path %>
</div>
</div>
| <div class="row">
<div class="small-12 columns">
<h1>New Habit</h1>
<%= render 'form' %>
</div>
</div>
| Remove dashboard link as it is now in the footer | Remove dashboard link as it is now in the footer
| HTML+ERB | mit | rossfuhrman/habitabs,rossfuhrman/habitabs,rossfuhrman/habitabs |
a5e15551322d5f61ed2695676f1c070c59ea5077 | app/views/home/index.html.erb | app/views/home/index.html.erb |
<h1>Hello, World!</h1>
| <h1>Hello, World!</h1>
<section class="debug intro col-md-8">
<header>
<h1>Welcome to my Personal Web Page!</h1>
</header>
<div class=" debug jumbotron">
<div class="debug container">
<figure>
<%= image_tag("wedding-pic.jpg", alt: "Dillon Downey\'s Main Pictire") %>
<figcaption>
... | Add beginning of intro section with picture | Add beginning of intro section with picture
| HTML+ERB | mit | downeyd27/personal_website,downeyd27/personal_website,downeyd27/personal_website |
07512634d5e87390d640971cc03cea1ab7fd22a4 | app/views/plans/edit.html.erb | app/views/plans/edit.html.erb | <%= render 'form' %>
<%= render partial: 'change_visibility', locals: {:plan_id => params[:id]} %>
<%= render partial: 'comments/form', locals: {:plan_id => params[:id]} %> | <%= render 'form' %>
<div id = 'visibility_dialog_form'>
<%= render partial: 'change_visibility', locals: {:plan_id => params[:id]} %>
</div>
<div id = "comment_dialog_form">
<%= render partial: 'comments/form', locals: {:plan_id => params[:id]} %>
</div> | Refactor edit view in Plans | Refactor edit view in Plans
| HTML+ERB | mit | derDaywalker/dmptool,derDaywalker/dmptool,2015SebINF1340/dmptool,2015SebINF1340/dmptool,derDaywalker/dmptool,derDaywalker/dmptool,2015SebINF1340/dmptool |
c0d1ff151c002b5d31f98bf7ff1911b33f1a6b0b | app/views/plans/show.html.erb | app/views/plans/show.html.erb | <<<<<<< Updated upstream
<h1><%= @plan.plan_name %></h1>
<div class="container">
<% @plan.recipes.each do |recipe| %>
<div class="col-xs-4">
<p><a href="/recipes/<%= recipe.id %>"><%= recipe.title %></a></p>
<p>Cooking Time: <%= recipe.cook_time_minutes %> minutes</p>
</div>
<% end %>
</div>
=======
<h1>Feast ... | <h1><%= @plan.plan_name %></h1>
<div class="container">
<% @plan.recipes.each do |recipe| %>
<div class="col-xs-4">
<p><a href="/recipes/<%= recipe.id %>"><%= recipe.title %></a></p>
<p>Cooking Time: <%= recipe.cook_time_minutes %> minutes</p>
</div>
<% end %>
</div> | Resolve conflict with stashed changes | Resolve conflict with stashed changes
| HTML+ERB | mit | kevmcgovern/EZMeals,kevmcgovern/EZMeals,kevmcgovern/EZMeals |
8e6157847d7b65fb18b8794a421db30dee89fdc9 | app/views/users/show.html.erb | app/views/users/show.html.erb | <div class="center">
<% provide(:title, @user.name) %>
<div class="row">
<aside class="col-md-12">
<section class="user_info">
<h3>
<%= gravatar_for @user %>
<%= @user.name %>
</h3>
</section>
</aside>
<div class="col-md-12">
<% if @user.projects.any? %>
<br><br>... | <div class="center">
<% provide(:title, @user.name) %>
<div class="row">
<aside class="col-md-12">
<section class="user_info">
<h3>
<%= gravatar_for @user %>
<%= @user.name %>
</h3>
</section>
</aside>
<div class="col-md-12">
<% if @user.projects.any? %>
<br><br>... | Add link to user's external page on GitHub if GitHub used. | Add link to user's external page on GitHub if GitHub used.
When displaying a user's page, include at the bottom a link to
the user's page on GitHub. That makes it easier to see who it is, etc.
This isn't considered a privacy issue because GitHub pages are public.
Signed-off-by: David A. Wheeler <9ae72d22d8b894... | HTML+ERB | mit | yannickmoy/cii-best-practices-badge,jdossett/cii-best-practices-badge,taylorcoursey/cii-best-practices-badge,linuxfoundation/cii-best-practices-badge,coreinfrastructure/best-practices-badge,dwvisser/cii-best-practices-badge,linuxfoundation/cii-best-practices-badge,wanganyv/cii-best-practices-badge,yannickmoy/cii-best-p... |
74e459a18c1403a089e9ebecfd5ef7ac738e239d | app/views/articles/new.html.erb | app/views/articles/new.html.erb | <div class="col-xs-12">
<h2><%= t('new_article.subject') %></h2>
<%= form_for :article, url: '/articles' do |f| %>
<% if @article && @article.errors.any? %>
<p>
<ul>
<% @article.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
<% end %>
</ul>
</p>
<% end %>
<p>
<%= f... | <div class="col-xs-12">
<h2><%= t('new_article.subject') %></h2>
<%= form_for :article, url: articles_path do |f| %>
<% if @article && @article.errors.any? %>
<p>
<ul>
<% @article.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
<% end %>
</ul>
</p>
<% end %>
<p>
<%=... | Change url: from '/articles' to articles_path | Change url: from '/articles' to articles_path
| HTML+ERB | mit | Kraykin/Blog-sample,Kraykin/Blog-sample,Kraykin/Blog-sample |
3eced3a9187fbf22ec1f87ef3a5e2be4a16eec3f | app/views/sessions/new.html.erb | app/views/sessions/new.html.erb | <h1>Login</h1>
<%= form_for(:session, url: login_path) do |f| %>
<div>
<%= f.label :username %>:
<%= f.text_field :username %>
</div>
<div>
<%= f.label :password %>:
<%= f.password_field :password %>
</div>
<div>
<%= f.submit %>
</div>
<% end %>
<p>New user? <%= link_to "Sign up now!"... | <div class="form">
<h1>Login</h1>
<%= form_for(:session, url: login_path) do |f| %>
<div>
<%= f.label :username %>:
<%= f.text_field :username %>
</div>
<div>
<%= f.label :password %>:
<%= f.password_field :password %>
</div>
<div>
<%= f.submit %>
</div>
<% ... | Add a div.form container around the login form | Add a div.form container around the login form
| HTML+ERB | mit | benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop |
67c0970b915720a9ea378d0fbe86c23d60a77606 | app/views/info/index.html.erb | app/views/info/index.html.erb | <% content_for :heading do -%><%= t('myplaceonline.info.title') %><% end -%>
<p><b><%= t("myplaceonline.email") %></b>: <%= mail_to(t("myplaceonline.siteEmail")) %></p>
<p><b><%= t('myplaceonline.info.apk') %></b>: <a href="https://build.phonegap.com/apps/1133885/download/android/">https://build.phonegap.com/apps/113... | <% content_for :heading do -%><%= t('myplaceonline.info.title') %><% end -%>
<p><b><%= t("myplaceonline.email") %></b>: <%= mail_to(t("myplaceonline.siteEmail")) %></p>
<p><b><%= t('myplaceonline.info.apk') %></b>: <a href="https://build.phonegap.com/apps/1133885/download/android/">https://build.phonegap.com/apps/113... | Add debug to info page | Add debug to info page
| HTML+ERB | agpl-3.0 | myplaceonline/myplaceonline_rails,myplaceonline/myplaceonline_rails,myplaceonline/myplaceonline_rails |
92b1f8d9d72e8d6779b5d06f2b55717801d07426 | app/views/items/edit.html.erb | app/views/items/edit.html.erb | <p>This is where you will edit existing item information</p>
<%= render 'form', item: @item %>
| <div class="form">
<p>This is where you will edit existing item information</p>
<%= render 'form', item: @item %>
</div> | Add div.form container around edit item form | Add div.form container around edit item form
| HTML+ERB | mit | benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop |
2d996de1edc414bcdd052349d7f6692d2ce1a2b5 | app/views/users/edit.html.erb | app/views/users/edit.html.erb | <div id="mainContainer">
<input type="button" id="start" value="Add Bank">
</div>
<div id="iavContainer"></div>
<script type="text/javascript">
$('#start').click(function() {
var iavToken = "<%= @token %>";
dwolla.configure('sandbox');
dwolla.iav.start(iavToken, {
container: 'iavContainer',
... | <div class="center-align">
<div id="mainContainer">
<input type="button" id="start" value="Add Bank">
</div>
</div>
<div id="iavContainer"></div>
<script type="text/javascript">
$('#start').click(function() {
var iavToken = "<%= @token %>";
dwolla.configure('sandbox');
dwolla.iav.start(iavToken, {
... | Add redirect route for users update page within view script | Add redirect route for users update page within view script
| HTML+ERB | mit | chastep/WITNESS-ME,chastep/WITNESS-ME,chastep/WITNESS-ME |
5c673af61b785a8cc773f1e015e2290c62d64f4f | app/views/users/edit.html.erb | app/views/users/edit.html.erb | <div class="klax-section klax-topper">
<div class="container">
<div class="row">
<div class="col-md-12">
<h1>Editing User</h1>
</div>
</div>
<div class="row">
<div class="col-md-6">
<p class="lead">All users can create, edit and delete items in Klaxon.</p>
</div>
... | <div class="klax-section klax-topper">
<div class="container">
<div class="row">
<div class="col-md-12">
<h1>Editing User</h1>
</div>
</div>
<div class="row">
<div class="col-md-6">
<p class="lead">All users can create, edit and delete items in Klaxon.</p>
</div>
... | Make the edit buttons a little smaller to preserve hierarchy. | Make the edit buttons a little smaller to preserve hierarchy.
| HTML+ERB | mit | themarshallproject/klaxon,themarshallproject/klaxon,themarshallproject/klaxon,themarshallproject/klaxon |
a6013c3e982cd07b62f538adbc0c5b2b25a0823f | app/views/news/show.iphone.erb | app/views/news/show.iphone.erb | <% content_for :toolbar do %>
<h1>I18n.t('news.news')</h1>
<%= iphone_back_button %>
<% end %>
<div class="info">
I18n.t('news.posted') <%= @news_item.published.to_s(:date) rescue '?' %>
<% if @news_item.person %>
I18n.t('news.by') <%= link_to h(@news_item.person.name), @news_item.person %>
<% elsif @new... | <% content_for :toolbar do %>
<h1><%= I18n.t('news.news') %></h1>
<%= iphone_back_button %>
<% end %>
<div class="info">
<%= I18n.t('news.posted') %> <%= @news_item.published.to_s(:date) rescue '?' %>
<% if @news_item.person %>
<%= I18n.t('news.by') %> <%= link_to h(@news_item.person.name), @news_item.pers... | Fix erb insertion of i18n translation keys. | Fix erb insertion of i18n translation keys.
| HTML+ERB | agpl-3.0 | hooray4me/onebody,pgmcgee/onebody,powerchurch/onebody,calsaviour/onebody,calsaviour/onebody,Capriatto/onebody,seethemhigh/onebody,Capriatto/onebody,davidleach/onebody,mattraykowski/onebody,tmecklem/onebody,calsaviour/onebody,seethemhigh/onebody,ferdinandrosario/onebody,cessien/onebody,ebennaga/onebody,hschin/onebody,ne... |
3300ed8d56c01fa80fc7b7a3f386b0edadf595c9 | app/views/layouts/application_public.html.erb | app/views/layouts/application_public.html.erb | <!DOCTYPE html>
<html lang="en">
<head>
<%= render :partial => 'shared/head' %>
<%= stylesheet_link_tag "application", :media => "all" %>
<%= javascript_include_tag "application" %>
</head>
<body>
<%= render :partial => 'shared/navbar' %>
<%= render :partial => 'shared/user_header', :locals =... | <!DOCTYPE html>
<html lang="en">
<head>
<%= render :partial => 'shared/head' %>
<%= stylesheet_link_tag "application", :media => "all" %>
<%= javascript_include_tag "application" %>
</head>
<body>
<%= render :partial => 'shared/navbar' %>
<%= render :partial => 'shared/user_header', :locals =... | Use bare-domain login link in footer | Use bare-domain login link in footer
Signed-off-by: Max Fierke <0706025b2bbcec1ed8d64822f4eccd96314938d0@maxfierke.com>
| HTML+ERB | apache-2.0 | maxfierke/resumis,maxfierke/resumis,maxfierke/resumis,maxfierke/resumis |
8b57b876b4cdde93a60411a5e2e77a729b7de4c5 | cookbooks/hardware/templates/default/lldp.rb.erb | cookbooks/hardware/templates/default/lldp.rb.erb | require "json"
Ohai.plugin(:Lldp) do
provides "lldp"
collect_data(:default) do
lldp Mash.new
json = JSON.parse(%x(/usr/sbin/lldpctl -f json))
json["lldp"]["interface"].each do |interface|
interface.each do |name, details|
lldp[name] = details
end
end
lldp
end
end
| require "json"
Ohai.plugin(:Lldp) do
provides "lldp"
collect_data(:default) do
lldp Mash.new
json = JSON.parse(%x(/usr/sbin/lldpctl -f json))
interfaces = if json["lldp"]["interface"].is_a?(Array)
json["lldp"]["interface"]
else
[json["lldp"]["in... | Handle machines with a single interface | Handle machines with a single interface
| HTML+ERB | apache-2.0 | zerebubuth/openstreetmap-chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,openstreetmap/chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,openstreetmap/chef... |
015be5de8644e3ccabdcfc437a3bc69976182827 | app/views/admin/index.html.erb | app/views/admin/index.html.erb | This is the admin index page.
<% @items.each do |item| %>
<p><%= link_to item.name, item_path(item) %></p>
<img src="<%= item.image %>" height="100" width="100">
<!-- <%= link_to image_tag(item.image), item_path(item) %> -->
<% end %> | This is the admin index page.
<% @items.each do |item| %>
<p><%= link_to item.name, item_path(item) %></p>
<p><%= link_to 'Edit Item', edit_item_path(item) %></p>
<img src="<%= item.image %>" height="100" width="100">
<!-- <%= link_to image_tag(item.image), item_path(item) %> -->
<% end %> | Include edit item link underneath each item name within admin item view | Include edit item link underneath each item name within admin item view
| HTML+ERB | mit | benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop |
121e7cd8c297a925048c3e3ff7f88f9cbcbec0e3 | app/views/orders/_form.html.erb | app/views/orders/_form.html.erb | Form partial for orders. | <%= form_for(order) do |f| %>
<div>
<%= f.label :quantity %>:
<%= f.text_field :quantity %>
</div>
<div>
<%= f.button_to "Add To Cart", method: 'add_to_cart' %>
</div>
<% end %>
<% @item.errors.each do |error_array, error| %>
<p><%= flash[:error] = error %><p>
<% end %> | Add form logic for new orders | Add form logic for new orders
| HTML+ERB | mit | benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop |
2d7aaa8f83b0d70885196575d8c4a5fcc6c74e06 | app/views/sessions/new.html.erb | app/views/sessions/new.html.erb | <% @title = t('sign_in') %>
<div class="form_links sign_in_links t-body">
<p><%= link_to t('.forgot_password'), new_password_url %></p>
</div>
<%= form_for :session, :url => session_path do |form| %>
<div class="text_field">
<%= form.label :who, t('activerecord.attributes.session.who'), :class => 'form__label... | <% @title = t('sign_in') %>
<div class="form_links sign_in_links t-body">
<p><%= link_to t('.forgot_password'), new_password_url %></p>
</div>
<%= form_for :session, :url => session_path do |form| %>
<div class="text_field">
<%= form.label :who, t('activerecord.attributes.session.who'), :class => 'form__label... | Add autofocus to login form. | Add autofocus to login form.
| HTML+ERB | mit | kbrock/rubygems.org,sonalkr132/rubygems.org,rubygems/rubygems.org,spk/rubygems.org,knappe/rubygems.org,fotanus/rubygems.org,algolia/rubygems.org,spk/rubygems.org,spk/rubygems.org,farukaydin/rubygems.org,rubygems/rubygems.org,fotanus/rubygems.org,algolia/rubygems.org,farukaydin/rubygems.org,knappe/rubygems.org,kbrock/ru... |
6a0f9b7b3a35d8c0a954c2799c58213569d00ffa | app/views/documents/_header.html.erb | app/views/documents/_header.html.erb | <%
header_title ||= ""
policies ||= nil
topics ||= []
%>
<%= render partial: 'shared/heading',
locals: { type: header_title,
heading: document.title,
extra: true } %>
<div class="heading-extra">
<div class="inner-heading">
<%= render partial: 'shared/availab... | <%
header_title ||= ""
policies ||= nil
topics ||= []
%>
<%= render partial: 'shared/heading',
locals: { type: header_title,
heading: document.title,
extra: true } %>
<% if document.archived? %>
<div class="status-block">
<h2>This <%= header_title.downcase ... | Update front-end to include archive info when present. | Update front-end to include archive info when present.
| HTML+ERB | mit | askl56/whitehall,askl56/whitehall,alphagov/whitehall,YOTOV-LIMITED/whitehall,ggoral/whitehall,askl56/whitehall,robinwhittleton/whitehall,hotvulcan/whitehall,YOTOV-LIMITED/whitehall,alphagov/whitehall,ggoral/whitehall,hotvulcan/whitehall,hotvulcan/whitehall,robinwhittleton/whitehall,alphagov/whitehall,askl56/whitehall,g... |
9e3ac724c8c1b86642559a418091737976036567 | app/views/group_mailer/anonymous_mail.text.erb | app/views/group_mailer/anonymous_mail.text.erb | <%= @body %> | This email was sent from the contact form at https://chalmers.it/contact
If this email was not sent with another recipient the sender wishes to remain anonymous. Please respect this.
<%= @body %>
| Add header to email sent with contact form | Add header to email sent with contact form
| HTML+ERB | mit | cthit/chalmersit-rails,cthit/chalmersit-rails,cthit/chalmersit-rails,cthit/chalmersit-rails |
72826c892ac727292c050b3aa914d15a5deb05ec | app/views/layouts/application/_footer.html.erb | app/views/layouts/application/_footer.html.erb | <footer>
<p class="text-muted">
© <%= current_year %> <%= link_to t(:site_name), root_path %>. All Rights Reserved
</p>
</footer>
| <footer class="main-footer">
<p class="text-muted">
© <%= current_year %> Dom McKellar
<a href="https://github.com/Dom-Mc" target="_blank">
<i class="fa fa-github-square fa-lg" aria-hidden="true"></i>
</a>
<a href="https://www.linkedin.com/in/dommckellar" target="_blank">
<i clas... | Add social icons to footer | Add social icons to footer
| HTML+ERB | mit | Dom-Mc/fetch_it,Dom-Mc/fetch_it,Dom-Mc/fetch_it |
eff66a206e54b65e764888f8e67d229c1f98f488 | app/views/events/user_events.html.erb | app/views/events/user_events.html.erb | <h2>My Events</h2>
<h3>Upcoming Events</h3>
<ul>
<% @upcoming_events.each do |event| %>
<li><%= link_to event.name, event%></li>
<% end %>
</ul>
<h3>Past Events</h3>
<ul>
<% @past_events.each do |event| %>
<li><%= link_to event.name, event%></li>
<% end %>
</ul>
| <h2>My Events</h2>
<h3>Upcoming Events</h3>
<ul>
<% @upcoming_events.each do |event| %>
<li><%= link_to event.name, event%></li>
<% end %>
</ul>
<h3>Past Events</h3>
<ul>
<% @past_events.each do |event| %>
<li><%= link_to event.name, event%></li>
<% end %>
</ul>
<%= link_to "Create New Event", new_even... | Add link to create new event on my_events | Add link to create new event on my_events
| HTML+ERB | mit | mud-turtles-2014/palate,mud-turtles-2014/palate |
3e21b1b1ea9fcb31f763186a9200a0b9d9fb5ec1 | site-modules/profile/templates/swh/deploy/journal/swh-indexer-journal-client.service.erb | site-modules/profile/templates/swh/deploy/journal/swh-indexer-journal-client.service.erb | # Indexer Journal Client unit file
# Managed by puppet class profile::swh::deploy::indexer_journal_client
# Changes will be overwritten
[Unit]
Description=Software Heritage Indexer Journal Client
After=network.target
[Service]
User=<%= @user %>
Group=<%= @group %>
Type=simple
ExecStart=/usr/bin/python3 -m swh.indexer... | # Indexer Journal Client unit file
# Managed by puppet class profile::swh::deploy::indexer_journal_client
# Changes will be overwritten
[Unit]
Description=Software Heritage Indexer Journal Client
After=network.target
[Service]
User=<%= @user %>
Group=<%= @group %>
Type=simple
ExecStart=/usr/bin/swh indexer --config-f... | Update cli to latest version | swh-indexer-journal-client: Update cli to latest version
| HTML+ERB | apache-2.0 | SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site,SoftwareHeritage/puppet-swh-site |
76639d20f58da72d14e5b8847fbc23e5a6821876 | deployment_scripts/puppet/modules/contrail/templates/contrail-named.conf.erb | deployment_scripts/puppet/modules/contrail/templates/contrail-named.conf.erb | <%- external_dns=scope.function_hiera(['external_dns']) %>
options {
directory "/etc/contrail/dns/";
managed-keys-directory "/etc/contrail/dns/";
allow-new-zones yes;
pid-file "/etc/contrail/dns/contrail-named.pid";
};
key "rndc-key" {
algorithm hmac-md5;
secret "xvysmOR8lnUQRBcunkC6vg==";
};
... | <%- external_dns=scope.function_hiera(['external_dns']) %>
options {
directory "/etc/contrail/dns/";
managed-keys-directory "/etc/contrail/dns/";
allow-new-zones yes;
pid-file "/etc/contrail/dns/contrail-named.pid";
};
key "rndc-key" {
algorithm hmac-md5;
secret "xvysmOR8lnUQRBcunkC6vg==";
};
... | Remove unrequired .split(), because dns list already an array. | Remove unrequired .split(), because dns list already an array.
# hiera -h external_dns
{
"dns_list"=>["10.109.15.1"],
"metadata"=>{"group"=>"network", "weight"=>30, "label"=>"Host OS DNS Servers"}
}
Change-Id: Id077594248bb7b26f528f3bbcfdec94a6db3556b
Co-Authored-By: Sergey Vasilenko <78c24aa050af5837b048... | HTML+ERB | apache-2.0 | stackforge/fuel-plugin-contrail,stackforge/fuel-plugin-contrail,stackforge/fuel-plugin-contrail,stackforge/fuel-plugin-contrail |
4c09960afda2742381e20abacc341083d40ac672 | modules/govuk_jenkins/templates/jobs/search_reindex_with_new_schema.yaml.erb | modules/govuk_jenkins/templates/jobs/search_reindex_with_new_schema.yaml.erb | ---
- job:
name: search_reindex_with_new_schema
display-name: Search reindex with new schema
project-type: freestyle
description: |
Rebuild new search indexes with up to date settings and mappings, and reindex all content from the existing indexes.
logrotate:
numToKeep: 10
<% if @cron_sc... | ---
- job:
name: search_reindex_with_new_schema
display-name: Search reindex with new schema
project-type: freestyle
description: |
Rebuild new search indexes with up to date settings and mappings, and reindex all content from the existing indexes.
logrotate:
numToKeep: 10
<% if @cron_sc... | Revert "Use run-rake-task in search_reindex_with_new_schema job" | Revert "Use run-rake-task in search_reindex_with_new_schema job"
This reverts commit 1254a68e5c718169b1fc1bf77c941d91fbf8fb41.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
7be304a55a3a073d8de75375741f81651b60d6f3 | app/views/home/index.html.erb | app/views/home/index.html.erb | <div class="col-xs-12">
<div class="page-header">
<h2>Home#index</h2>
</div>
<div class="well">
<p>Hello!</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec dictum, nisi in mollis vehicula, turpis diam pretium eros, at maximus libero ipsum sed purus. Phasellus blandit mollis mi, non... | <div class="col-xs-12">
<div class="well">
<p>Welcome to Blog!</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec dictum, nisi in mollis vehicula, turpis diam pretium eros, at maximus libero ipsum sed purus. Phasellus blandit mollis mi, non auctor est commodo a. Mauris volutpat nibh augue, ... | Change text on index page | Change text on index page
| HTML+ERB | mit | Kraykin/Blog-sample,Kraykin/Blog-sample,Kraykin/Blog-sample |
1575034f06644824e1db589e679208605d4d8dcd | app/views/search/new.html.erb | app/views/search/new.html.erb | <%= form_for :search, url: search_path do |f| %>
<%= f.text_field :address_1, placeholder: "First Address" %>
<%= f.text_field :address_2, placeholder: "Second Address" %>
<%= f.text_field :address_3, placeholder: "Third Address (Optional)" %>
<%= f.submit "Find Midpoint"%>
<%end%>
| Add Form On New Search Page | Add Form On New Search Page
| HTML+ERB | mit | AlanaFarkas/Crossroads,AlanaFarkas/Crossroads,AlanaFarkas/Crossroads | |
8d2f6d3d86f71aa45c651d33e0ee8611bd8ccccd | app/flows/check_travel_during_coronavirus_flow/questions/transit_countries.erb | app/flows/check_travel_during_coronavirus_flow/questions/transit_countries.erb | <% text_for :title do %>
Are you travelling through any of these countries on the way to your destination?
<% end %>
<% govspeak_for :body do %>
<% end %>
<% text_for :hint do %>
Select all that apply:
<% end %>
<% countries = calculator.transit_country_options.dup %>
<% countries[:none] = "No" %>
<%= options(co... | <% text_for :title do %>
Are you travelling through any of these countries on the way to your destination?
<% end %>
<% govspeak_for :body do %>
Select any countries that you’re travelling through without stopping or leaving the airport. This is sometimes called ‘transiting’. If you’re not sure whether you’re ente... | Add explanation for travelling through/transiting | Add explanation for travelling through/transiting
| HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
53612922267cdf985837ed901847995f6b81cbc6 | lib/oven/templates/json.rb.erb | lib/oven/templates/json.rb.erb | require 'json'
require 'delegate'
<%- name_declaration.namespace_or_client_name.each do |name| -%>
<%= name.type %> <%= name %>
<%- end -%>
class JsonResponse < DelegateClass(Net::HTTPResponse)
alias response __getobj__
alias headers to_hash
HAS_SYMBOL_GC = RUBY_VERSION > '2.2.0'
def json
pars... | require 'json'
require 'delegate'
<%- name_declaration.namespace_or_client_name.each do |name| -%>
<%= name.type %> <%= name %>
<%- end -%>
class JsonResponse < DelegateClass(Net::HTTPResponse)
alias response __getobj__
alias headers to_hash
HAS_SYMBOL_GC = RUBY_VERSION > '2.2.0'
def json
pars... | Update the template for JSON serilalizer | Update the template for JSON serilalizer
* Do not attempt to serialize string objects
* Use the #to_json method instead of JSON.dump
* Re-organize some lines of code
| HTML+ERB | mit | yuki24/oven,yuki24/oven,yuki24/oven |
6ab667ab57024e2bbb646af1fcad4e47e0775556 | source/partials/application/_hosting.html.erb | source/partials/application/_hosting.html.erb | <% if application.production_hosted_on == "aws" %>
<strong><%= application.hosting_name %></strong>, on the <strong><%= application.aws_puppet_class %></strong> machine class
<% elsif application.hosting_name != "None" %>
<strong><%= application.hosting_name %></strong>
<% else %>
N/A
<% end %>
| <% if application.production_hosted_on == "aws" %>
<strong><%= application.hosting_name %></strong>, on the <strong><%= application.aws_puppet_class %></strong> machine class
<% elsif application.hosting_name != "None" %>
<strong><%= application.hosting_name %></strong>
<% else %>
N/A
<% end %>
| Fix indentation of hosting partial | Fix indentation of hosting partial
| HTML+ERB | mit | alphagov/govuk-developer-docs,alphagov/govuk-developer-docs,alphagov/govuk-developer-docs,alphagov/govuk-developer-docs |
1d8d300b2725831cdcefec7877f7432098cca711 | app/views/godmin/resource/_button_actions.html.erb | app/views/godmin/resource/_button_actions.html.erb | <% if policy(@resource_service.build_resource({})).new? %>
<%= link_to t("helpers.submit.create", model: @resource_class.model_name.human), [:new, *@resource_parents, @resource_class.model_name.singular_route_key], class: "btn btn-default" %>
<% end %>
| <% if policy(@resource_service.build_resource({})).new? %>
<%= link_to t("helpers.submit.create", model: @resource_class.model_name.human), [:new, *@resource_parents, @resource_class.model_name.singular_route_key.to_sym], class: "btn btn-default" %>
<% end %>
| Patch incompatible code with newest Rails release | Patch incompatible code with newest Rails release
The latest Rails Security patch requires that polymorphic paths be constructed with symbols, rather than keys https://github.com/rails/rails/issues/42157
Release info:
https://weblog.rubyonrails.org/2021/3/26/marcel-upgrade-releases/ | HTML+ERB | mit | varvet/godmin,varvet/godmin,varvet/godmin |
0cc72181f8a4a9a4156c3a0cd5853d4c1b5c232b | app/views/legislation/processes/proposals.html.erb | app/views/legislation/processes/proposals.html.erb | <% provide :title do %><%= @process.title %><% end %>
<%= render 'legislation/processes/header', process: @process, header: :full %>
<%= render 'key_dates', process: @process, phase: :proposals %>
<div class="row">
<div class="debate-chooser">
<div class="row">
<div class="small-12 medium-9 column">
... | <% provide :title do %><%= @process.title %><% end %>
<%= render 'legislation/processes/header', process: @process, header: :full %>
<%= render 'key_dates', process: @process, phase: :proposals %>
<div class="row">
<div class="debate-chooser">
<div class="row">
<div class="small-12 medium-9 column">
... | Reduce differences in custom proposals view | Reduce differences in custom proposals view
We were using `@process.proposals` in some places and `@proposals` in
some other places. Using `@proposals` makes more sense since we filter
them.
And using `t(.empty_proposals)` IMHO is a bit dangerous because we'd
need to change the locale files if we move the code to a p... | HTML+ERB | agpl-3.0 | AyuntamientoMadrid/consul,AyuntamientoMadrid/consul,AyuntamientoMadrid/consul,AyuntamientoMadrid/consul |
606696b3a3faf3fa60e8bb7428f07344e8df4b16 | lib/smart_answer_flows/marriage-abroad/outcomes/countries/south-africa/ceremony_country/partner_other/_same_sex.govspeak.erb | lib/smart_answer_flows/marriage-abroad/outcomes/countries/south-africa/ceremony_country/partner_other/_same_sex.govspeak.erb |
Contact the [relevant local authorities](http://www.dha.gov.za/index.php/civic-services/marriage-certificates) in South Africa to find out about local marriage laws, including what documents you’ll need.
^You should [get legal advice](/government/collections/list-of-lawyers) and check the [travel advice for South Afr... |
Contact the [relevant local authorities](http://www.dha.gov.za/index.php/civic-services/marriage-certificates) in South Africa to find out about local marriage laws, including what documents you’ll need.
^You should [get legal advice](/government/collections/list-of-lawyers) and check the [travel advice for South Afr... | Add appointment link for explanatory letter | Add appointment link for explanatory letter | HTML+ERB | mit | aledelcueto/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers |
5862efae411412073ab02bace31f46f2b7d690c5 | source/layouts/blog-layout.erb | source/layouts/blog-layout.erb | <% wrap_layout :layout do %>
<article class='article-detail'>
<h4 class='detail-post-date'><%= date %></h3>
<h2 class='detail-post-title'><%= title %></h2>
<h3 class='detail-post-topic-list'><%= topic_list %></h3>
<% if soundcloud_id %>
<section class='soundcloud-player-big'>
<iframe ... | <% wrap_layout :layout do %>
<article class='article-detail'>
<h4 class='detail-post-date'><%= date %></h3>
<h2 class='detail-post-title'><%= title %></h2>
<h3 class='detail-post-topic-list'><%= topic_list %></h3>
<% if soundcloud_id %>
<section class='soundcloud-player-big'>
<iframe ... | Rearrange other episodes link on blog detail page | Rearrange other episodes link on blog detail page
| HTML+ERB | mit | vis-kid/betweenscreens,vis-kid/betweenscreens,vis-kid/betweenscreens |
c4bc4680400f1da7c5e54d03cfd00ac880992d43 | pages/agent/install/_aws.md.erb | pages/agent/install/_aws.md.erb | The [Buildkite Elastic CI Stack](https://github.com/buildkite/elastic-ci-stack-for-aws)
gives you a private, autoscaling Buildkite Agent cluster. Use it to parallelize
legacy tests across hundreds of nodes, run tests and deployments for all your
Linux-based services and apps, or run AWS ops tasks.
The latest build of ... | The [Buildkite Elastic CI Stack](https://github.com/buildkite/elastic-ci-stack-for-aws)
gives you a private, autoscaling Buildkite Agent cluster. Use it to parallelize
legacy tests across hundreds of nodes, run tests and deployments for all your
Linux-based services and apps, or run AWS ops tasks.
The latest build of ... | Stop the image popping, and prevent linked image borders | Stop the image popping, and prevent linked image borders
| HTML+ERB | mit | buildkite/docs,buildkite/docs,buildkite/docs,buildkite/docs |
b1689651e49fa2fea559763eacff5248c41b5634 | app/views/languages/show.html.erb | app/views/languages/show.html.erb | <h1><%= @language.name %></h1>
<h3>Resources:</h3>
<ul>
<%= render partial: "/resources/display_resources", collection: @language.resources, as: :resource %>
</ul>
<%= button_to "Delete #{@language.name}", language_path(@language), method: "delete" %>
| <h1><%= @language.name %></h1>
<p><%= @language.description %></p>
<h3>Resources:</h3>
<ul>
<%= render partial: "/resources/display_resources", collection: @language.resources, as: :resource %>
</ul>
<%= button_to "Delete #{@language.name}", language_path(@language), method: "delete" %>
| Add delete button to language show page. | Add delete button to language show page.
| HTML+ERB | mit | abonner1/sorter,abonner1/sorter,abonner1/code_learning_resources_manager,abonner1/code_learning_resources_manager,abonner1/sorter,abonner1/code_learning_resources_manager |
feab3eab6a250c8ae6d6f70d47c3626901987727 | templates/nginx/pow.conf.erb | templates/nginx/pow.conf.erb | # Required nginx configuration
server {
listen 80;
server_name <%= @domains.split(',').map{|x| "*.#{x.strip}"}.join(" ") %>;
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_redirect off;
prox... | # Required nginx configuration
server {
listen 80;
server_name <%= @domains.split(',').map{|x| "*.#{x.strip}"}.join(" ") %>;
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded... | Set X-Forwarded-Port header to fix rack middleware | Set X-Forwarded-Port header to fix rack middleware
Rack middleware currently generates incorrect URLs when serving an app
through pow with this module. During a request to `http://myapp.pow`,
calling `Rack::Request#url` produces `http://myapp.pow:30559`.
Rack is incorrectly using the port that pow is listening for pr... | HTML+ERB | mit | boxen/puppet-pow,platanus/puppet-pow,platanus/puppet-pow,platanus/puppet-pow,boxen/puppet-pow,boxen/puppet-pow |
8181ec19683813740e634b8c3d193fdf12e55859 | app/views/hits/_hits.html.erb | app/views/hits/_hits.html.erb | <% content_for :page_title, title %>
<%= breadcrumb(hits.first || site.default_host.hits.build) %>
<h1><%= title %></h1>
<%= render partial: 'hits_tabs', locals: { active: active } %>
<h2><%= pluralize(number_with_delimiter(hits.total_count, :delimiter => ','), 'hit', 'hits') %></h2>
<%= paginate hits %>
<% if hits... | <% content_for :page_title, title %>
<%= breadcrumb(hits.first || site.default_host.hits.build) %>
<h1><%= title %></h1>
<%= render partial: 'hits_tabs', locals: { active: active } %>
<h2><%= pluralize(number_with_delimiter(hits.total_count, :delimiter => ','), 'hit', 'hits') %></h2>
<%= paginate hits %>
<% if hits... | Save a DB call on "all hits" index | Save a DB call on "all hits" index
| HTML+ERB | mit | alphagov/transition,alphagov/transition,alphagov/transition |
caa1b55c58501dfaad6ff36e95536aa4f6f19298 | app/views/users/edit.html.erb | app/views/users/edit.html.erb | <div class="sm-container">
<h3 id="new-user-head">Join the Party!</h3>
<%= form_for @user do |f| %>
<%= f.text_field :picture_url, placeholder: "picture url" %><br>
<%= f.text_field :bio, placeholder: "about you" %><br>
<%= f.text_field :topic1, placeholder: "preferred topic 1" %><br>
<%= f.text_fie... | Copy changes from another branch | Copy changes from another branch
| HTML+ERB | mit | osbornegabriel/Pair-Board,osbornegabriel/Pair-Board,osbornegabriel/Pair-Board | |
ec98dea9b8325fe01c16310e746456803a84528b | app/views/users/show.html.erb | app/views/users/show.html.erb | <h1><%= @user.name %>'s Profile</h1>
<h4>Current Savings: $<%= @user.savings.total_savings %></h4>
<br>
<h4><%= link_to "Add savings", new_saving_path %></h4>
| <h1><%= @user.name %>'s Profile</h1>
<h4>Current Savings: $<%= @user.savings.total_savings %></h4>
<br>
<h4><%= link_to "Add savings", new_saving_path %></h4>
<h4><%= link_to "Add a new purchase", new_purchase_path %></h4>
| Add purchase link to profile page | Add purchase link to profile page
| HTML+ERB | mit | nyc-cicadas-2015/Can-I-Afford-This,nyc-cicadas-2015/Can-I-Afford-This,nyc-cicadas-2015/Can-I-Afford-This |
061fd0fb1488b55d0404adbd07ef9b3e6b70ed31 | source/tag.html.erb | source/tag.html.erb | ---
pageable: true
per_page: 12
---
<h1>Articles tagged '<%= tagname %>'</h1>
<% if paginate && num_pages > 1 %>
<p>Page <%= page_number %> of <%= num_pages %></p>
<% if prev_page %>
<p><%= link_to 'Previous page', prev_page %></p>
<% end %>
<% end %>
<ul>
<% page_articles.each_with_index do |article, i|... | ---
pageable: true
per_page: 12
---
<h1>Articles tagged '<%= tagname %>'</h1>
<ul>
<% page_articles.each_with_index do |article, i| %>
<li><%= link_to article.title, article %> <span><%= article.date.strftime('%b %e | %Y') %></span></li>
<% end %>
</ul>
<% if paginate && num_pages > 1 %>
<p>Page <%= page_nu... | Rearrange pagination links for tag lists | Rearrange pagination links for tag lists
| HTML+ERB | mit | vis-kid/betweenscreens,vis-kid/betweenscreens,vis-kid/betweenscreens |
3af4282dc6c163b6ebbb41309cd1b32b3ded46c9 | deployment_scripts/puppet/modules/nagios/templates/apache_wsgi_vhost_ubuntu.conf.erb | deployment_scripts/puppet/modules/nagios/templates/apache_wsgi_vhost_ubuntu.conf.erb | # ************************************
# Vhost template in module nagios
# Managed by Puppet
# ************************************
<VirtualHost <%= @wsgi_vhost_listen_ip %>:<%= @http_port %>>
ServerName nagios
DocumentRoot "/usr/share/nagios3/htdocs"
# WSGI implementation for the process_service_check command
... | # ************************************
# Vhost template in module nagios
# Managed by Puppet
# ************************************
<VirtualHost <%= @wsgi_vhost_listen_ip %>:<%= @http_port %>>
ServerName nagios
# Disable directory indexes
Options -Indexes
<Directory />
Options FollowSymLinks
AllowOver... | Disable Apache directory indexes for WSGI vhost | Disable Apache directory indexes for WSGI vhost
Change-Id: Id0402e56dd877da99b9d441b0ae9f979157c09e2
| HTML+ERB | apache-2.0 | stackforge/fuel-plugin-lma-infrastructure-alerting,stackforge/fuel-plugin-lma-infrastructure-alerting,stackforge/fuel-plugin-lma-infrastructure-alerting |
b1f82348ba2c00e3ac6368946d37383d0f139c23 | templates/log4j.properties.erb | templates/log4j.properties.erb | <% if @logconfig && @logconfig.keys.length > 0 %>
<%
_default_level = 'INFO'
_default_appenders = ['Console']
_default_pattern = '[%-5p] %m%n'
_default_target = 'System.out'
_default_file = 'jetty.log'
_loglevel = @logconfig.fetch(:level, _default_level)
_appenders = @logconfig.fetch(:appenders, _defaul... | <% if @logconfig && @logconfig.keys.length > 0 %>
<%
_default_level = 'INFO'
_default_appenders = ['Console']
_default_pattern = '[%-5p] %m%n'
_default_file = 'jetty.log'
_loglevel = @logconfig.fetch(:level, @logconfig.fetch('level', _default_level))
_appenders = @logconfig.fetch(:appenders, @logconfig... | Access the data with symbols or strings keys | Access the data with symbols or strings keys
| HTML+ERB | apache-2.0 | jjuarez/puppet-jetty,jjuarez/puppet-jetty |
62706accd15ad591de787850828c8c58b00f9885 | app/views/enrollments/master.html.erb | app/views/enrollments/master.html.erb | <div class="container -fluid">
<div class="col-md-10">
<div class="row">
<div class="col-md-offset-9 col-md-3">
<%= render '/shared/enrollments_as_csv' %>
</div>
</div>
<<<<<<< HEAD
<% @enrollments.each do |enrollment| %>
<% if enrollment.student %>
<div class="row master-... | <div class="container -fluid">
<div class="col-md-10">
<div class="row">
<div class="col-md-offset-9 col-md-3">
<%= render '/shared/enrollments_as_csv' %>
</div>
</div>
<% @enrollments.each do |enrollment| %>
<% if enrollment.student %>
<div class="row master-course">
... | Fix remaining file from merge conflict | Fix remaining file from merge conflict
| HTML+ERB | mit | gptasinski/registraide,gptasinski/registraide,gptasinski/registraide |
753e984fcaf1c63303ca95a7b2cdff6361863f47 | app/views/course/assessment/submission/submissions/reload_answer.js.erb | app/views/course/assessment/submission/submissions/reload_answer.js.erb | $('<%= "#answer_#{@answer.id}"%>').replaceWith(
'<%= escape_javascript(render partial: 'course/assessment/answer/answer', object: @new_answer) %>'
);
<% if @assessment.autograded? && next_unanswered_question.nil? %>
$('input.finalise').first().show();
<% end %>
$('.expected').shorten({
'showChars': 140,
'mo... | $('<%= "#answer_#{@answer.id}"%>').replaceWith(
'<%= escape_javascript(render partial: 'course/assessment/answer/answer', object: @new_answer) %>'
);
<% if @assessment.autograded? && next_unanswered_question.nil? %>
$('input.finalise').first().show();
<% end %>
$('.expected').shorten({
'showChars': 140,
'mo... | Initialize ace editor on answer reload. | Initialize ace editor on answer reload.
| HTML+ERB | mit | cysjonathan/coursemology2,Coursemology/coursemology2,Coursemology/coursemology2,Coursemology/coursemology2,Coursemology/coursemology2,Coursemology/coursemology2,cysjonathan/coursemology2,Coursemology/coursemology2,Coursemology/coursemology2,cysjonathan/coursemology2 |
bb8f5ee80c78ced37e7700f22bfcabc9b249ef4f | app/views/goals/_form.html.erb | app/views/goals/_form.html.erb | <%= form_for [@student, @goal] do |f| %>
<fieldset>
<%= f.label :title %>
<%= f.text_field :title %>
</fieldset>
<fieldset>
<%= f.label :description %>
<%= f.cktext_area :description %>
</fieldset>
<% if @parent && @parent.start && @parent.end %>
<span class="help-block">The parent goal ... | <%= form_for [@student, @goal] do |f| %>
<fieldset>
<%= f.label :title %>
<%= f.text_field :title %>
</fieldset>
<fieldset>
<%= f.label :description %>
<%= f.cktext_area :description %>
</fieldset>
<% if @parent && @parent.start && @parent.end %>
<span class="help-block">The parent goal ... | Fix date format while editing a goal. | Fix date format while editing a goal.
| HTML+ERB | mit | timothyandrew/blink,timothyandrew/blink,timothyandrew/blink,timothyandrew/blink |
832eea79c1d1a771eae0b64499397a3c2169c8f3 | app/views/posts/_form.html.erb | app/views/posts/_form.html.erb | <%= form_for(@post, url: posts_path, as: :internal_post) do |f| %>
<% if @post.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@post.errors.count, "error") %> prohibited this post from being saved:</h2>
<ul>
<% @post.errors.full_messages.each do |msg| %>
<li><%= msg %></li... | <%= form_for(@post, url: (@post.new_record? ? posts_path : post_path(@post)), as: :internal_post) do |f| %>
<% if @post.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@post.errors.count, "error") %> prohibited this post from being saved:</h2>
<ul>
<% @post.errors.full_messages.ea... | Fix bug in url for edit form | Fix bug in url for edit form
| HTML+ERB | mit | RailsGEnthusiasts/RubyGameDev.com,PowerCodeGirls/RubyGameDev.com,RailsGEnthusiasts/RubyGameDev.com,ruby-rcade/RubyGameDev.com,ruby-rcade/RubyGameDev.com,PowerCodeGirls/RubyGameDev.com,PowerCodeGirls/RubyGameDev.com,RailsGEnthusiasts/RubyGameDev.com,ruby-rcade/RubyGameDev.com |
28b42dedbce808b2bf200d857b2f3ff1cb965079 | app/views/posts/_form.html.erb | app/views/posts/_form.html.erb | <%= form_for(@post) do |f| %>
<% if @post.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@post.errors.count, "error") %> prohibited this post from being saved:</h2>
<ul>
<% @post.errors.full_messages.each do |message| %>
<li><%= message %></li>
<% end %>
</ul>... | <%= form_for(@post) do |f| %>
<% if @post.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@post.errors.count, "error") %> prohibited this post from being saved:</h2>
<ul>
<% @post.errors.full_messages.each do |message| %>
<li><%= message %></li>
<% end %>
</ul>... | Update view partial _form posts | Update view partial _form posts
| HTML+ERB | mit | gilmarfilho/forum-rails,gilmarfilho/forum-rails,gilmarfilho/forum-rails |
d6dcb68662a485e067335a390aaf376bb84229b4 | app/flows/marriage_abroad_flow/outcomes/countries/peru/third_country/partner_local/_same_sex.erb | app/flows/marriage_abroad_flow/outcomes/countries/peru/third_country/partner_local/_same_sex.erb | It’s not possible to get legal recognition for your same-sex relationship in Peru.
| You may be able to get married or register a civil partnership at the British embassy in Peru.
[Make an appointment at the embassy in Lima](https://www.book-consular-appointment.service.gov.uk/TimeSelection?location=125&service=10). You’ll need to have been in Peru for at least 7 full days before your appointment.
... | Update other ceremony, local partner 1 | Update other ceremony, local partner 1 | HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
4e754af08c68e1501b26bd1ac992bd5212f7a3ba | app/views/peek/_bar.html.erb | app/views/peek/_bar.html.erb | <% if peek_enabled? %>
<div id="peek" class="<%= Peek.env %><%= ' disabled' if cookies[:peek] == 'false' %>">
<div class="wrapper">
<% Peek.views.each do |view| %>
<div id="<%= view.dom_id %>" class="view">
<%= render view.partial_path, :view => view %>
</div>
<% end %>
</div>
</div>
<% ... | <% if peek_enabled? %>
<div id="peek" data-request-id="<%= Peek.request_id %>" class="<%= Peek.env %><%= ' disabled' if cookies[:peek] == 'false' %>">
<div class="wrapper">
<% Peek.views.each do |view| %>
<div id="<%= view.dom_id %>" class="view">
<%= render view.partial_path, :view => view %>
... | Insert the request id into the peek div | Insert the request id into the peek div
| HTML+ERB | mit | afeld/peek,nidhinnambiar/peek,afeld/peek,elkingtonmcb/peek,afeld/peek,nidhinnambiar/peek,peek/peek,AHaymond/peek,warseph/peek,warseph/peek,elkingtonmcb/peek,AHaymond/peek,warseph/peek,peek/peek,elkingtonmcb/peek,peek/peek,nidhinnambiar/peek,AHaymond/peek |
0e7591587057558c72bd8d425ffd87c4323f0519 | app/views/questions/show.erb | app/views/questions/show.erb | <h1><%= @question.title %></h1>
<p><%= @question.body %></p>
<br>
<a href="/questions/<%= @question.id %>/edit">Edit Question</a>
<h2>Answers:</h2>
<% if @question.answers %>
<ul>
<% @question.answers.each do |answer| %>
<li><%= answer.text %></li>
<% end %>
</ul>
<% end %>
<% if @errors %>
<h4>Errors:</... | <h1><%= @question.title %></h1>
<p><%= @question.body %></p>
<br>
<a href="/questions/<%= @question.id %>/edit">Edit Question</a>
<h2>Answers:</h2>
<% if @question.answers %>
<ul>
<% @question.answers.each do |answer| %>
<li><%= answer.text %></li>
<a href="#"><%= answer.user.username %></a><br>
<a hr... | Add links for username, editing, deleting and refactor errors | Add links for username, editing, deleting and refactor errors
| HTML+ERB | mit | nyc-bumblebees-2017/therealbumblebees-stackoverflow,nyc-bumblebees-2017/therealbumblebees-stackoverflow,nyc-bumblebees-2017/therealbumblebees-stackoverflow |
15ceb3b65ee463677a1b6a1e042005164a301fbf | app/views/advancements/index.html.erb | app/views/advancements/index.html.erb | <div class="container">
<p id="notice"><%= notice %></p>
<h1>Advancements</h1>
<div class="table-responsive">
<table class="table table-striped">
<thead>
<tr>
<th>User</th>
<th></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
... | <div class="container">
<p id="notice"><%= notice %></p>
<h1>Advancements</h1>
<div class="table-responsive">
<table class="table table-striped">
<thead>
<tr>
<th>User</th>
<th></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
... | Add button logic based on signed_in | Add button logic based on signed_in
| HTML+ERB | mit | dnguyensr/advancements,dnguyensr/advancements,dnguyensr/advancements |
fa9d84f938a9b91d1367edf2f5d198ae7fa5fb81 | app/views/cassy/sessions/new.html.erb | app/views/cassy/sessions/new.html.erb | <%= form_tag do %>
<p>
<%= label_tag :username %>
<%= text_field_tag :username %>
</p>
<p>
<%= label_tag :password %>
<%= text_field_tag :password %>
</p>
<%= hidden_field_tag :lt, @lt %>
<%= hidden_field_tag :service, @service %>
<%= submit_tag "Login" %>
<% end %> | <%= form_tag do %>
<p>
<%= label_tag :username %>
<%= text_field_tag :username %>
</p>
<p>
<%= label_tag :password %>
<%= password_field_tag :password %>
</p>
<%= hidden_field_tag :lt, @lt %>
<%= hidden_field_tag :service, @service %>
<%= submit_tag "Login" %>
<% end %> | Set password field to actually be a password field | Set password field to actually be a password field
| HTML+ERB | mit | OneHQ/cassy,reinteractive/cassy,nbudin/cassy,nbudin/cassy,backupify/cassy,reinteractive/cassy,OneHQ/cassy,backupify/cassy,OneHQ/cassy,backupify/cassy,nbudin/cassy |
c0ebc9e06f48a56a3fd9c0a21088f177b354a8dc | lib/smart_answer_flows/benefit-cap-calculator/outcomes/_dwp_contact_details.govspeak.erb | lib/smart_answer_flows/benefit-cap-calculator/outcomes/_dwp_contact_details.govspeak.erb | $C
**Department for Work and Pensions**
Telephone: 0345 605 7064
Telephone (Welsh): 0345 605 7066
Textphone: 0345 608 8551
[Find out about call charges](/call-charges)
$C
| $C
**Department for Work and Pensions**\\
Telephone: 0345 605 7064\\
Telephone (Welsh): 0345 605 7066\\
Textphone: 0345 608 8551\\
[Find out about call charges](/call-charges)
$C
| Update content style to list telephone numbers | Update content style to list telephone numbers
Inside $C blocks, govspeak fails to respect content line brakes. Adding \\ to end of each line emits a trailing <br>.
| HTML+ERB | mit | stwalsh/smart-answers,aledelcueto/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,alphagov/smart-answers,stwalsh/smart-answers,alphagov/smart-answers,aledelcueto/smart-answers,stwalsh/smart-answers,stwalsh/smart-answers |
3d5b2d99f02622db44f23eab25e9b9f3abc49307 | app/views/devise/registrations/new.html.erb | app/views/devise/registrations/new.html.erb | <div class="row">
<div class="col-sm-4 col-sm-offset-4">
<h1 class="text-center">Sign Up</h1>
<hr>
<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
<%= devise_error_messages! %>
<div class="form-group">
<%= f.label :email %><br />
<%=... | <h1 class="text-center">Sign Up</h1>
<hr>
<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
<%= devise_error_messages! %>
<div class="form-group">
<%= f.label :email %><br />
<%= f.email_field :email, autofocus: false, class: 'form-contro... | Remove specific styling on new user page | Remove specific styling on new user page
| HTML+ERB | mit | dmanliclic715/potluck-rails,dmanliclic715/potluck-rails,dmanliclic715/potluck-rails |
1a9290ec88b13f792b5457476aa0da4447149786 | templates/default/accesscontrol.properties.erb | templates/default/accesscontrol.properties.erb | ##########################################################
# MQ access control file for JMQFileAccessControlModel
##########################################################
version=JMQFileAccessControlModel/100
<% @rules.sort.each do |pattern,user| %>
##############################################
# service connectio... | ##########################################################
# MQ access control file for JMQFileAccessControlModel
##########################################################
version=JMQFileAccessControlModel/100
<% @rules.sort.each do |pattern,user| %>
<%= pattern %>=<%= user %>
<% end %> | Remove some default rules and allow them to be explicitly configured | Remove some default rules and allow them to be explicitly configured
| HTML+ERB | apache-2.0 | hopshadoop/chef-glassfish,realityforge/chef-glassfish,predictivelogic/chef-glassfish,realityforge/chef-glassfish,predictivelogic/chef-glassfish,hopshadoop/chef-glassfish,realityforge/chef-glassfish,predictivelogic/chef-glassfish,hopshadoop/chef-glassfish |
34d7b6a1a462d5310b4efa5ccd4efb10089422b8 | app/views/movies/show.html.erb | app/views/movies/show.html.erb | <h1>Movie Show Page!</h1>
<%= link_to "Edit Movie", edit_movie_path %>
<%= link_to "Delete Movie", movie_path, method: :delete, data: {confirm: "Are you sure?"} %>
<ul>
<h2><%= @movie.title %></h2>
<li><h3>synopsis: </h3><%= @movie.synopsis.truncate(100, separator: ' ') %></li>
<li><h3>release date: </h3><%= @mov... | <h1>Movie Show Page!</h1>
<%= link_to "Edit Movie", edit_movie_path %>
<%= link_to "Delete Movie", movie_path, method: :delete, data: {confirm: "Are you sure?"} %>
<ul>
<h2><%= @movie.title %></h2>
<li><h3>synopsis: </h3><%= @movie.synopsis.truncate(100, separator: ' ') %></li>
<li><h3>release date: </h3><%= @mov... | Add reviewer to the movie show page with link to user show page | Add reviewer to the movie show page with link to user show page
| HTML+ERB | mit | chi-bobolinks-2015/imdbc,chi-bobolinks-2015/imdbc,chi-bobolinks-2015/imdbc |
b9b81e8ef368a61d16e7d96c89fbb17aa7300608 | app/views/pages/index.html.erb | app/views/pages/index.html.erb | <h1>PUL Bibliographic Data Web Service</h1>
<p><i>(AKA: “MARC Liberation”,
“Child of getvoyrec”,
“The Fat Pipe”)</i>
</p>
<h2>Alma</h2>
<h2>By Alma ID...</h2>
<%= render 'pages/bib_forms' %>
| <h1>PUL Bibliographic Data Web Service</h1>
<p><i>(AKA: “MARC Liberation”,
“Child of getvoyrec”,
“The Fat Pipe”)</i>
</p>
<h2>By Alma ID...</h2>
<%= render 'pages/bib_forms' %>
| Remove Alma header from index page | Remove Alma header from index page
| HTML+ERB | bsd-2-clause | pulibrary/marc_liberation,pulibrary/marc_liberation,pulibrary/marc_liberation |
0f5754d069597daa7c2ea1e44fc0d1392f9402da | app/views/todos/_todo.html.erb | app/views/todos/_todo.html.erb | <li id="<%= todo.dom_id %>" class="<%=todo.css_classes%>">
<%= hidden_field_tag("id", todo.id) %>
<%= hidden_field_tag("task_id", todo.task_id) %>
<%= hidden_field_tag("todo[position]", todo.position)%>
<%= todo_open_close_check_box(todo) %>
<span class="display">
<%=h todo.name %>
</span>
<span class... | <li id="<%= todo.dom_id %>" class="<%=todo.css_classes%>">
<%= hidden_field_tag("id", todo.id) %>
<%= hidden_field_tag("task_id", todo.task_id) %>
<%= hidden_field_tag("todo[position]", todo.position)%>
<%= todo_open_close_check_box(todo) %>
<span class="display">
<%=h todo.name %>
</span>
<span class... | Fix time in completed todo. Now user sees in completed todo his local time, not utc. | Fix time in completed todo. Now user sees in completed todo his local time, not utc.
| HTML+ERB | agpl-3.0 | ari/jobsworth,ari/jobsworth,rafaspinola/jobsworth,xuewenfei/jobsworth,rafaspinola/jobsworth,ari/jobsworth,webstream-io/jobsworth,rafaspinola/jobsworth,webstream-io/jobsworth,webstream-io/jobsworth,evinoca/clockingit,ari/jobsworth,arunagw/clockingit,xuewenfei/jobsworth,xuewenfei/jobsworth,digitalnatives/jobsworth,evinoc... |
4f925991b7a1291b26fa7fab69e3dce5f34e1e08 | app/views/lights/index.html.erb | app/views/lights/index.html.erb | <main>
<% if current_user.present? %>
<% content_for :headJavascript do %>
<script>
var lights = <%= @lights.to_json.html_safe %>
var isPartyOn = <%= ($is_party_on || false).to_s.html_safe %>
</script>
<% end %>
<% if @is_locked %>
<div class='card-panel orange accent-4 center' id='lockbar'>
... | <main>
<% if current_user.present? %>
<% content_for :headJavascript do %>
<script>
var lights = <%= @lights.to_json.html_safe %>
var isPartyOn = <%= ($is_party_on || false).to_s.html_safe %>
</script>
<% end %>
<% if @is_locked %>
<div class='card-panel orange accent-4 center' id='lockbar'>
... | Update descriptive text if the bulbs can't be found | Update descriptive text if the bulbs can't be found
| HTML+ERB | mit | cthit/HueIT-Rails,cthit/HueIT-Rails,cthit/HueIT-Rails,cthit/HueIT-Rails |
40770167709f6d9f016a8727fedd5d1b845b0e4c | app/views/partials/_results.erb | app/views/partials/_results.erb |
<!-- <div id="menu1" class="tab-pane fade"> -->
<% organisms.each do |org| %>
<h4><%= org.english_name %></h4>
<p>Iconic Taxon: <%= org.iconic_taxon_name %></p>
<p>Iconic Taxon Rank: <%= org.iconic_taxon_rank %></p>
<p>Taxon: <%= org.taxon_name %></p>
<p>Taxon Rank: <%= org.taxon_rank %></p>
... | <div>
<% taxon.each do |org| %>
<h4><%= org.english_name %></h4>
<p>Iconic Taxon: <%= org.iconic_taxon_name %></p>
<p>Iconic Taxon Rank: <%= org.iconic_taxon_rank %></p>
<p>Taxon: <%= org.taxon_name %></p>
<p>Taxon Rank: <%= org.taxon_rank %></p>
<% end %>
</div>
| Update partial to display each organism object's information | Update partial to display each organism object's information
| HTML+ERB | mit | groovestation31785/inaturalist,groovestation31785/inaturalist |
c07b7e68f2544b01c73bcf46387213f9ad9091d1 | app/views/local_government_areas/show/_mid.html.erb | app/views/local_government_areas/show/_mid.html.erb |
<div class="row">
<div class="columns six" id="detailed_reports">
<% if @local_government_area.has_import? %>
<h3>Detailed Reports</h3>
<% else %>
<h3>No Data Imported</h3>
<% end %>
<%=
render(
:collection => @local_government_area.local_government_area_record_import_logs.s... |
<div class="row">
<div class="columns six" id="detailed_reports">
<% if @local_government_area.has_import? %>
<h3>Detailed Reports</h3>
<% else %>
<h3>No Data Imported</h3>
<% end %>
<%=
render(
:collection => @local_government_area.local_government_area_record_import_logs.s... | Add message to the upload page | Add message to the upload page
| HTML+ERB | apache-2.0 | NSWPlanning/data-verification-tool,NSWPlanning/data-verification-tool,NSWPlanning/data-verification-tool |
7aca2338c7fbf7a86056cfab31a789623634f14b | app/views/open_conference_ware/users/index.html.erb | app/views/open_conference_ware/users/index.html.erb | <% page_title "Users" %>
<div id="user-index">
<table class="scaffolded">
<tr>
<th>Name</th>
<% if admin? %>
<th>Actions</th>
<% end %>
</tr>
<% @users.each do |user| -%>
<tr class="<%= cycle('odd', 'even') %>">
<td>
<% if admin? && user.admin? %>
<% ... | <% page_title "Users" %>
<div id="user-index">
<table class="scaffolded">
<tr>
<th>Name</th>
<% if admin? %>
<th>Actions</th>
<% end %>
</tr>
<% @users.each do |user| -%>
<tr class="<%= cycle('odd', 'even') %>">
<td>
<% if admin? %>
<% if user.admin? ... | Fix (selector) label for non-admin selectors | Fix (selector) label for non-admin selectors
| HTML+ERB | mit | mynameisfashanu/openconferenceware,osbridge/openconferenceware,ondrocks/openconferenceware,ondrocks/openconferenceware,osbridge/openconferenceware,osbridge/openconferenceware,mynameisfashanu/openconferenceware,mynameisfashanu/openconferenceware,ondrocks/openconferenceware,mynameisfashanu/openconferenceware,ondrocks/ope... |
3dcb153aa56c4d2b3ec30b598dee8072ff2aa1a4 | www/_controller.erb | www/_controller.erb | skip_before_filter :verify_authenticity_token, :if => Proc.new {|c| c.request.format == 'application/json' }
# PUT /<%= @api_path %>.json
def create_by_keys
@<%= @model_name %> = <%= @class_name %>.get_by_params(params)
respond_to do |format|
if @<%= @model_name %> != nil
format.json { ren... | skip_before_filter :verify_authenticity_token, :if => Proc.new {|c| c.request.format == 'application/json' }
# PUT /<%= @api_path %>.json
def create_by_keys
@<%= @model_name %> = <%= @class_name %>.get_by_params(params)
respond_to do |format|
if @<%= @model_name %> != nil
format.json { ren... | Fix http status from controller. | Fix http status from controller.
| HTML+ERB | mit | sjtakada/genclidb,sjtakada/genclidb,sjtakada/genclidb |
99aa4a6f4dcfa97a797d0acac778b9fd99907a97 | app/views/answers/_show.html.erb | app/views/answers/_show.html.erb | <div class = "answer_show_partial" >
<div class = "answer_votes" >
<% if logged_in? %>
<% @answer = answer %>
<%= render partial: "votes/vote_buttons", locals: {answer: @answer, votable_type: "Answer", votable_id: @answer.id} %>
<% else %>
points: <%= @answer.vote_count %>
<% end %>
</... | <div class = "answer_show_partial" >
<div class = "answer_votes" >
<% if logged_in? %>
<% @answer = answer %>
<%= render partial: "votes/vote_buttons", locals: {answer: @answer, votable_type: "Answer", votable_id: @answer.id} %>
<% else %>
points: <%= @answer.vote_count %>
<% end %>
</... | Fix typo in _show partial. | Fix typo in _show partial.
| HTML+ERB | mit | kahdojay/dbc-overflow,kahdojay/dbc-overflow,kahdojay/dbc-overflow,PeterJahnes/dbc-overflow,PeterJahnes/dbc-overflow,PeterJahnes/dbc-overflow |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.