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 |
|---|---|---|---|---|---|---|---|---|---|
960f43681e9bc4e0cf32ac8076745664b4229c7d | app/views/welcome/index.html.erb | app/views/welcome/index.html.erb | <div class="imgsplash">
<%= image_tag('logo-dark.svg') %>
</div>
<div class="centerText">
This website is currently functional yet still under development. You may find that there are bugs. If you find any please submit an issue on GitHub, or send us a <%= link_to 'message', contact_path %> so that we can resolve th... | <div class="imgsplash">
<%= image_tag('logo-dark.svg') %>
</div>
<div class="centerText">
This website is currently functional yet still under development. You may find that there are bugs. If you find any please submit an issue on github, or send us a <%= link_to 'message', contact_path %> so that we can resolve th... | Revert "Fix typo in about page" | Revert "Fix typo in about page"
This reverts commit bb874c195d2c53da5315ebc92853bcb0e76985b6.
| HTML+ERB | agpl-3.0 | valeriecodes/refugerestrooms,RefugeRestrooms/refugerestrooms,cllns/refugerestrooms,RefugeRestrooms/refugerestrooms,azelma/refugerestrooms,mathonsunday/welcomehome,azelma/refugerestrooms,valeriecodes/refugerestrooms,azelma/refugerestrooms,valeriecodes/refugerestrooms,mathonsunday/welcomehome,cllns/refugerestrooms,cllns/... |
b1caefdf9a842ce61568340827242bdc15511c2e | app/views/budgets/investments/_milestones.html.erb | app/views/budgets/investments/_milestones.html.erb | <div class="tabs-panel tab-milestones" id="tab-milestones">
<div class="row">
<div class="small-12 column">
<% if @investment.milestones.blank? %>
<div class="callout primary text-center">
<%= t('budgets.investments.show.no_milestones') %>
</div>
<% end %>
<section clas... | <div class="tabs-panel tab-milestones" id="tab-milestones">
<div class="row">
<div class="small-12 column">
<% if @investment.milestones.blank? %>
<div class="callout primary text-center">
<%= t('budgets.investments.show.no_milestones') %>
</div>
<% end %>
<section clas... | Use i18n to localize date on view | Use i18n to localize date on view
| HTML+ERB | agpl-3.0 | usabi/consul_san_borondon,CDJ11/CDJ,AyuntamientoMadrid/consul,deivid-rodriguez/participacion,deivid-rodriguez/participacion,deivid-rodriguez/participacion,lalibertad/consul,AyuntamientoMadrid/participacion,AyuntamientoMadrid/consul,lalibertad/consul,AjuntamentdeCastello/consul,AyuntamientoMadrid/participacion,Ajuntamen... |
2813723f57bc7ae802829e16876d446912a797cc | app/views/world_locations/_world_location.html.erb | app/views/world_locations/_world_location.html.erb | <% options ||= {} %>
<%= content_tag_for(:li, world_location, options) do %>
<% if world_location.active? %>
<%= link_to world_location.name, world_location_path(world_location), class: 'location-link' %>
<% else %>
<span class="location-link"><%= world_location.name %></span>
<% end %>
<% end %>
| <% options ||= {} %>
<%= content_tag_for(:li, world_location, options) do %>
<% if world_location.active? %>
<%= link_to world_location.name, world_location_path(world_location), class: 'location-link govuk-link' %>
<% else %>
<span class="location-link"><%= world_location.name %></span>
<% end %>
<% end ... | Add govuk-link class to World Locations page | Add govuk-link class to World Locations page
| HTML+ERB | mit | alphagov/whitehall,alphagov/whitehall,alphagov/whitehall,alphagov/whitehall |
91d956d375a486ef69394620f7a464919ca0a70e | app/views/users/show.html.erb | app/views/users/show.html.erb | <div class="user-container">
<div class="individual-user">
<p>This is where each individual user profile info will go.</p>
<p><%= link_to "Edit", edit_user_path %> | <%= link_to "Delete", @user, method: :delete %></p>
<p> Username: <%= @user.username%></p>
<p> Email: <%= @user.email%></p>
</div>
<... | <div class="user-container">
<div class="individual-user">
<p>This is where each individual user profile info will go.</p>
<p><%= link_to "Orders", order_path %></p>
<p> Username: <%= @user.username%></p>
<p> Email: <%= @user.email%></p>
<p><%= link_to "Edit Account", edit_user_path %> | <%= lin... | Edit user show page so it has a link that redirects users to their order page and move edit/delete links downwards | Edit user show page so it has a link that redirects users to their order page and move edit/delete links downwards
| HTML+ERB | mit | benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop |
6987c98be752ce23d757eb63a53f7e1d282d0a53 | app/views/users/show.html.erb | app/views/users/show.html.erb | <h1>SHOWIN DA USER</h1>
<% if session_user? %>
<p>Hello <%= @user.first_name %>!</p>
<% end %>
<p>Preferred Music Styles: <%=@user.genres %></p>
<p>Average Rating: <%=@user.average_rating %> </p>
<% if @user.has_studios %>
<% @user.studios.each do |studio| %>
<%= render partial: "studios/studio", locals: {studi... | <h1>SHOWIN DA USER</h1>
<h3>add helper method here</h3>
<p>Hello <%= @user.first_name %>!</p>
<p>Here are your upcoming studio bookings:</p>
<ul>
<% @user.future_bookings.each do |booking| %>
<li>Studio: <%=booking.availability.studio %> </li>
<li>Start Time: <%=booking.start_time%> </li>
<li>End Time: ... | Add list for upcoming bookings and past bookings to user page | Add list for upcoming bookings and past bookings to user page
| HTML+ERB | mit | lechiffre10/StudioNow,lechiffre10/StudioNow,lechiffre10/StudioNow,lechiffre10/StudioNow |
12da4b7fc21e3bfb69f055fad9e135baf9cffbd9 | app/views/books/index.html.erb | app/views/books/index.html.erb | <div class="jumbotron">
<h1>Books App</h1>
<p class="lead">"Busquem conhecimento", Bilu, Et.</p>
</div>
<div class="row marketing">
<% @books.in_groups_of(3).each do |books| %>
<% books.reject(&:nil?).each do |book| %>
<div class="col-lg-6">
<h4><%= book %></h4>
<p><%= book.authors %>.<... | <div class="jumbotron">
<h1>Books App</h1>
<p class="lead">"Busquem conhecimento", Bilu, Et.</p>
</div>
<div class="row marketing">
<% @books.in_groups_of(2).each do |books| %>
<% books.reject(&:nil?).each do |book| %>
<div class="col-lg-6">
<%= image_tag 'http://placehold.it/115x180.png', alt:... | Add cover to books and a tiny fix to index view: | Add cover to books and a tiny fix to index view:
Lines should be in group of 2.
| HTML+ERB | mit | dmitryrck/books_app,dmitryrck/books_app,dmitryrck/books_app |
435941baac2206f3da7bb4d356adb2b9ee9bd4c9 | app/views/reviews/new.html.erb | app/views/reviews/new.html.erb | <h3>New Caravan Review</h3>
<%= form_for [@review_carrier,@review] do |f| %>
<%= f.label :rating%>:
<%= f.radio_button :rating, 1 %>
<%= f.radio_button :rating, 2 %>
<%= f.radio_button :rating, 3 %>
<%= f.radio_button :rating, 4 %>
<%= f.radio_button :rating, 5 %><br>
<%= f.text_area :content, placeholde... | <h3>New Caravan Review</h3>
<%= form_for [@review_carrier,@review] do |f| %>
<%= f.label :rating%>:
<%= f.radio_button :rating, 1 %>
<%= f.radio_button :rating, 2 %>
<%= f.radio_button :rating, 3 %>
<%= f.radio_button :rating, 4 %>
<%= f.radio_button :rating, 5 %><br>
<div class="col-sm-10">
<%= f.tex... | Add larger text box to review form | Add larger text box to review form
| HTML+ERB | mit | grantziolkowski/caravan,bicyclethief/caravan,nyc-rock-doves-2015/caravan,nyc-rock-doves-2015/caravan,grantziolkowski/caravan,bicyclethief/caravan,bicyclethief/caravan,nyc-rock-doves-2015/caravan,grantziolkowski/caravan |
4544b4b7033e8e9d0649871fb2f9123819490fd3 | app/views/taxons/edit.html.erb | app/views/taxons/edit.html.erb | <%= display_header title: taxon.internal_name,
breadcrumbs: [:taxons, link_to(taxon.internal_name, taxon_path(taxon.content_id)), "Edit"] %>
<%= simple_form_for taxon, url: taxon_path(taxon.content_id), method: :patch do |f| %>
<%= f.hidden_field :content_id, value: taxon.content_id %>
<%= render partial: 'form... | <%= display_header title: taxon.internal_name,
breadcrumbs: [:taxons, link_to(taxon.internal_name, taxon_path(taxon.content_id)), "Edit"] %>
<%= simple_form_for taxon, url: taxon_path(taxon.content_id), method: :patch do |f| %>
<% if flash[:error].present? %>
<div class="alert alert-danger" role="alert">
... | Fix error message on taxon edit form | Fix error message on taxon edit form
| HTML+ERB | mit | alphagov/content-tagger,alphagov/content-tagger,alphagov/content-tagger |
68754ce5955f45d1f32b35d2d98f2b82200d9a12 | ubuntu/templates/default/cron/fr2_data.erb | ubuntu/templates/default/cron/fr2_data.erb | # /etc/cron.d/fr2_data: crontab fragment for
# retrieving the xml data, etc from the gpo
00 10 * * 1-5 <%=@run_user%> cd <%=@apache_web_dir%>/apps/<%=@app_name%>/current && /usr/local/bin/rake RAILS_ENV=<%=@rails_env%> data:daily >> <%=@apache_web_dir%>/apps/<%=@app_name%>/shared/log/cron.log 2>&1 | # /etc/cron.d/fr2_data: crontab fragment for
# retrieving the xml data, etc from the gpo
00 10 * * 1-5 <%=@run_user%> cd <%=@apache_web_dir%>/apps/<%=@app_name%>/current && /usr/local/bin/rake RAILS_ENV=<%=@rails_env%> PATH=/opt/ruby-enterprise/bin:$PATH data:daily >> <%=@apache_web_dir%>/apps/<%=@app_name%>/shared/l... | Fix task so it runs properly | Fix task so it runs properly | HTML+ERB | apache-2.0 | criticaljuncture/cookbooks,criticaljuncture/cookbooks,criticaljuncture/cookbooks |
ea0a105e769ca9728cb912113198f2f68d8e1f34 | views/session_type.erb | views/session_type.erb | <% content_for :page_title do %>
Pick a session
<% end %>
<article role="article" class="group">
<div class="grid-wrapper">
<div class="grid grid-1-2">
<div class="inner-block">
<h2>Face to Face Session</h2>
<p>Donec elementum interdum nisi eu interdum. Vestibulum imperdiet quam
... | <% content_for :page_title do %>
Pick a session
<% end %>
<article role="article" class="group">
<div class="grid-wrapper">
<div class="grid grid-1-2">
<div class="inner-block">
<h2>Face to Face Session</h2>
<ul>
<li>Great if you want to see someone</li>
<li>You will ... | Update pick a session text | Update pick a session text | HTML+ERB | mit | guidance-guarantee-programme/alpha,guidance-guarantee-programme/alpha,guidance-guarantee-programme/alpha |
c063dd71744508be2580ced9db07fbd8db46abf7 | app/views/layouts/_questions_container.html.erb | app/views/layouts/_questions_container.html.erb | <table>
<tbody>
<tr class="question_row">
<td class="holder question_votes">
<span class="total_x_text">4</span>
<span class="question_info_text">votes</span>
</td>
<td class="holder question_answers">
<span class="total_x_text">1</span>
<span class="question_info_text">answers</span>
</t... | <table class="question_table">
<tbody>
<% @questions.each do |question| %>
<tr class="question_row">
<td class="holder">
<span class="question_totals">
<%= question.total_votes %>
</span>
<span class="question_info_text">
vote<%="s" unless question.total_votes == 1 %>
</span>
</td>
... | Reformat questions container with proper erb templating | Reformat questions container with proper erb templating
| HTML+ERB | cc0-1.0 | red-spotted-newts-2014/food-overflow,red-spotted-newts-2014/food-overflow |
04046196987028ee8720a1f48f84d5f06bbe857b | app/views/hours/show.html.erb | app/views/hours/show.html.erb | <div class="container-fluid">
<div class="row-fluid">
<div class="span12">
<h1>Schedule</h1>
<h2>Start of Schedule</h2>
<p class="sub"><%= @hour.start_schedule.strftime("%F") %></p>
<h2>End of Schedule</h2>
<p class="sub"><%= @hour.end_schedule.strftime("%F") %></p>
<% for d... | <div class="container-fluid">
<div class="row-fluid">
<div class="span12">
<h1>Schedule</h1>
<h2>Start of Schedule</h2>
<p class="sub"><%= @hour.start_schedule.strftime("%F") %></p>
<h2>End of Schedule</h2>
<p class="sub"><%= @hour.end_schedule.strftime("%F") %></p>
<% for d... | Remove JSON from hours show | Remove JSON from hours show
| HTML+ERB | mit | CMP-Studio/cmoa-app-cms,CMP-Studio/cmoa-app-cms,CMP-Studio/cmoa-app-cms |
b601da1020ed894078d7d139aefc9dfc61b93dbe | app/views/trips/show.html.erb | app/views/trips/show.html.erb | <div class="col-sm-6 col-sm-offset-3 col-md-8 col-md-offset-2 map-show-main">
<div id='map-show' class='map-show'></div>
<%= @trip_hash %><br><br>
<%= @tbt_json %><br><br>
<%= @tbt_result %><br><br>
</div>
| <div class="col-sm-6 col-sm-offset-3 col-md-8 col-md-offset-2 map-show-main">
<div id='map-show' class='map-show'></div>
</div>
| Update show page front end | Update show page front end
| HTML+ERB | mit | aaronxsu/Urban-Explorer,aaronxsu/Urban-Explorer,aaronxsu/Urban-Explorer |
1f1558234daba334642d9183dbe52ec7da0d34b5 | cookbooks/dmon/templates/default/fill_db.py.erb | cookbooks/dmon/templates/default/fill_db.py.erb | import os
import socket
from pyDMON import db, dbSCore, dbESCore, dbKBCore
logstash = dbSCore(hostFQDN=socket.getfqdn(),
hostIP=socket.gethostbyname(socket.gethostname()),
hostOS='ubuntu',
outESclusterName='<%= @es_cluster %>',
udpPort=25826... | import os
import socket
from pyDMON import db, dbSCore, dbESCore, dbKBCore, dbMetPer
logstash = dbSCore(hostFQDN=socket.getfqdn(),
hostIP=socket.gethostbyname(socket.gethostname()),
hostOS='ubuntu',
outESclusterName='<%= @es_cluster %>',
udp... | Add missing default metric interval settings | Add missing default metric interval settings
DMon requires that metric intervals are set when being installed. This
commit sets default values for those intervals.
Change-Id: I778418baa10992a7bb72fc4457e57495715b0df8
| HTML+ERB | apache-2.0 | dice-project/DICE-Chef-Repository,dice-project/DICE-Chef-Repository,dice-project/DICE-Chef-Repository,dice-project/DICE-Chef-Repository |
0de2d9b8bd96257bb76d78af34d2761925a0784e | templates/interview.erb | templates/interview.erb | ---
layout: default
---
<article class="h-card">
<header>
<%= render_template('shared.interview', interview: @this, selected: true) %>
</header>
<%= yield %>
<% if @this.licence %>
<p class="licence">This interview is available under the <a href="http://creativecommons.org/licenses/<%= @this.licence %>... | ---
layout: default
---
<article class="h-card">
<header>
<%= render_template('shared.interview', interview: @this, selected: true) %>
</header>
<%= yield %>
<% if @this.licence %>
<p class="licence">This interview is available under the <a href="http://creativecommons.org/licenses/<%= @this.licence %>... | Switch to 'licence' and tweak the pagination again | Switch to 'licence' and tweak the pagination again
| HTML+ERB | mit | waferbaby/usesthis,waferbaby/usesthis,ivuk/usesthis,ivuk/usesthis |
db541815a824b77a53fcdbf7eec2774b0b29ac7d | lib/smart_answer_flows/calculate-employee-redundancy-pay/calculate_employee_redundancy_pay.erb | lib/smart_answer_flows/calculate-employee-redundancy-pay/calculate_employee_redundancy_pay.erb | <% text_for :title do %>
Calculate your employee's statutory redundancy pay
<% end %>
<% text_for :meta_description do %>
Employer calculator - calculate your employee's statutory redundancy payment
<% end %>
<% govspeak_for :body do %>
Calculate an employee’s statutory redundancy pay.
Redundancy payments ar... | <% text_for :title do %>
Calculate your employee's statutory redundancy pay
<% end %>
<% text_for :meta_description do %>
Employer calculator - calculate your employee's statutory redundancy payment
<% end %>
<% govspeak_for :body do %>
Calculate an employee’s statutory redundancy pay.
Redundancy payments ar... | Update to 'furlough' call out | Update to 'furlough' call out
Content updated to match 2i changes to mainstream guidance | HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
07c729462acc9d91176316def5ba96f219d9412f | app/views/ads/_ad.html.erb | app/views/ads/_ad.html.erb | <%= link_to adslug_path(ad, ad.slug), class: 'aod_content' do %>
<% if ad.image.exists? %>
<div class="ad_list_image">
<%= image_tag ad.image.url(:thumb), title: ad.filtered_title,
alt: ad.filtered_title %>
</div>
<% end %>
<h4>
<%= ad.filtered_title %>... | <%= link_to adslug_path(ad, ad.slug), class: 'aod_content' do %>
<% if ad.image.exists? %>
<div class="ad_list_image">
<%= image_tag ad.image.url(:thumb), title: ad.filtered_title,
alt: ad.filtered_title %>
</div>
<% end %>
<h4>
<%= ad.filtered_title %>... | Normalize ad status code formatting | Normalize ad status code formatting
This code is duplicated in `ads/show.html.erb`. Make those bits look
exactly the same for easier detection of refactoring opportunities.
| HTML+ERB | agpl-3.0 | alabs/nolotiro.org,alabs/nolotiro.org,alabs/nolotiro.org,alabs/nolotiro.org |
80512bb91dcec698f335c658563a1b5c955d6949 | app/views/user_reports/deleted.html.erb | app/views/user_reports/deleted.html.erb | <div class="well">
<table class="table table-responsive table-hover sortable">
<thead>
<tr>
<th>User Email</th>
<th>Last Login</th>
<th>Associated Organisation</th>
<th>Pending Organisation</th>
<th> </th>
</tr>
</thead>
<% @users.each do |user| %>
<tr id="<%=... | <div class="well">
<table class="table table-responsive table-hover sortable">
<thead>
<tr>
<th>User Email</th>
<th>Deleted </th>
<th>Associated Organisation</th>
<th>Pending Organisation</th>
<th> </th>
</tr>
</thead>
<% @users.each do |user| %>
<tr id="<%= u... | Revise listing page for deleted users | Revise listing page for deleted users
| HTML+ERB | mit | marianmosley/LocalSupport,ZmagoD/LocalSupport,intfrr/LocalSupport,SergiosLen/LocalSupport,intfrr/LocalSupport,Aleks4ndr/LocalSupport,Aleks4ndr/LocalSupport,intfrr/LocalSupport,tansaku/LocalSupport,curlygirly/LocalSupport,dsbabbar/LocalSupport,ZmagoD/LocalSupport,ZmagoD/LocalSupport,ZmagoD/LocalSupport,marianmosley/Loca... |
cc79d11833a13898a85be37adbdc84fe573e3d3d | features/partials/navigation.erb | features/partials/navigation.erb | <div class="mdl-layout__drawer">
<span class="mdl-layout__title">fastlane.ci</span>
<nav class="mdl-navigation">
<a class="mdl-navigation__link" href="/">Dashboard</a>
<% if user %>
<a class="mdl-navigation__link" href="/notifications">Notifications</a>
<a class="mdl-navigation__link" href="/use... | <div class="mdl-layout__drawer">
<span class="mdl-layout__title">fastlane.ci</span>
<nav class="mdl-navigation">
<a class="mdl-navigation__link" href="/">Dashboard</a>
<% if defined?(user) && user %>
<a class="mdl-navigation__link" href="/notifications">Notifications</a>
<a class="mdl-navigation... | Check that the `user` is defined to avoid Sinatra view error. | Check that the `user` is defined to avoid Sinatra view error.
| HTML+ERB | mit | fastlane/ci,fastlane/ci,fastlane/ci,fastlane/ci,fastlane/ci |
f49828eaa358924cd5044d358aad28c1bc8371b7 | lib/domgen/imit/templates/client/subscription_util.java.erb | lib/domgen/imit/templates/client/subscription_util.java.erb | /* DO NOT EDIT: File is auto-generated */
package <%= to_package(repository.imit.qualified_subscription_util_name) %>;
@javax.annotation.Generated( "Domgen" )
public final class <%= repository.imit.subscription_util_name %>
{
private <%= repository.imit.subscription_util_name %>()
{
}
<% repository.imit.graphs.... | /* DO NOT EDIT: File is auto-generated */
package <%= to_package(repository.imit.qualified_subscription_util_name) %>;
@javax.annotation.Generated( "Domgen" )
public final class <%= repository.imit.subscription_util_name %>
{
private <%= repository.imit.subscription_util_name %>()
{
}
<% repository.imit.graphs.... | Add helper method that constructs an address for graph | Add helper method that constructs an address for graph
| HTML+ERB | apache-2.0 | realityforge/domgen,realityforge/domgen |
ee3045fab9407e7de6356e4d8db359677c6fcd64 | app/views/index.erb | app/views/index.erb | <div class="container">
<h1>RANKED MOVIES:</h1>
<table>
<tr>
<th>Movie Title</th>
<th>Genre</th>
<th>Ranking</th>
</tr>
<% @movies.each do |movie| %>
<tr>
<td><a href="/movie/<%= movie.id %>"><%= movie.name %></a></td>
<td><%= movie.genres.first.name %></td>
... | <div class="container">
<h1>OTHER'S RANKED MOVIES:</h1>
<table>
<tr>
<th>Movie Title</th>
<th>Genre</th>
<th>Ranking</th>
</tr>
<% @movies.each do |movie| %>
<tr>
<td><a href="/movie/<%= movie.id %>"><%= movie.name %></a></td>
<td><%= movie.genres.first.name %></t... | Change Text in header to be more demonstrative | Change Text in header to be more demonstrative
| HTML+ERB | mit | SputterPuttRedux/phase_3_audition,SputterPuttRedux/phase_3_audition |
47bb22bd869b5721d56e88a2d7eb8c8368746eb1 | app/views/topics/index.html.erb | app/views/topics/index.html.erb | <div>
<div>
<h1>Tweet²</h1>
</div>
<hr>
<div>
<a href="/topics/all">
<div>
<h3>Start game</h3>
</div>
</a>
</div>
<div>
<h2>Or, select a topic!</h2>
<div>
<ul>
<% @topics.each do |topic| %>
<li>
<div>
<a href="/to... | Create view for `/topics` route | Create view for `/topics` route
This has ALOT of divs, accourding to W3 this is correct... But it sure
if an eye sore.
| HTML+ERB | mit | tweet-squared/Tweets-Squared-App,tweet-squared/Tweets-Squared-App,tweet-squared/Tweets-Squared-App | |
22a5cab04e7a81448726c21d67a4a7c0a9de1b3b | app/views/user/user_profile.erb | app/views/user/user_profile.erb | <div class="container">
<div class="welcome">
Hello, <%= @user.name %>
</div>
<div class="profile_pic">
<img src="<%= @user.pic_url %>"/>
</div>
<div class="about">
<%= @user.about %>
</div>
<br>
<div class="tagline">
<%= @user.tagline %>
</div>
<br>
<div class= "demographics">
<... | <div class="container">
<div class="welcome">
Hello, <%= @user.name %>
</div>
<div class="profile_pic">
<img src="<%= @user.pic_url %>"/>
</div>
<div class="tagline">
TAG LINE: <%= @user.tagline %>
</div>
<br>
<div class="about">
ABOUT ME: <%= @user.about %>
</div>
<br>
<div clas... | Reorder demographic fields on user profile page. Add demographic headers for fields. | Reorder demographic fields on user profile page. Add demographic headers for fields.
| HTML+ERB | mit | Ricky-Thomas/LUV-ME,mxngyn/luv-me,mxngyn/luv-me,Ricky-Thomas/LUV-ME |
3a9f90a523e8eab156c68a572e5d595090edd1e5 | base/app/views/conversations/_show.html.erb | base/app/views/conversations/_show.html.erb | <%= location(
link_to(t('message.' + @box), conversations_path(:box => @box),:remote => true),
link_to(truncate(@conversation.subject, :length => :small), conversation_path(@conversation.id,:box => @box,:page => params[:page]))
) %>
<br class="clearfloat" />
<div class="conversation_full">
<%= render :partial =... | <div class="conversation_full">
<%= render :partial => 'conversation_full', :locals =>{:conversation => @conversation} %>
</div>
| Remove old location in conversations view | Remove old location in conversations view
| HTML+ERB | mit | ging/social_stream,honorlin/social_stream,honorlin/social_stream,honorlin/social_stream,honorlin/social_stream,ging/social_stream,ging/social_stream |
23b82eaf1c5e8f04ee0ff7fc4ce947989e42e070 | criticL/app/views/reviews/edit.html.erb | criticL/app/views/reviews/edit.html.erb | <h1>Editing Review</h1>
<%= render 'form' %>
<%= link_to 'Show', @review %> |
<%= link_to 'Back', reviews_path %>
| <h1>Editing Review</h1>
<%= render 'form' %>
<%= link_to 'Show', @review %> |
<%= link_to 'Back', movie_reviews_path(@review.movie) %>
| Fix other instances of bug | Fix other instances of bug
| HTML+ERB | mit | kmark1625/criticL,kmark1625/criticL,kmark1625/criticL |
cab887290dfefda2b41a8de31be706030019217c | .delivery/build/templates/default/environment.json.erb | .delivery/build/templates/default/environment.json.erb | {
"name": "<%= @cluster_name %>",
"description": "Delivery Cluster cluster_name - <%= @cluster_name %>",
"json_class": "Chef::Environment",
"chef_type": "environment",
"override_attributes": {
"delivery-cluster": {
"id": "<%= @cluster_name %>",
"driver": "aws",
"aws": {
"key_name... | {
"name": "<%= @cluster_name %>",
"description": "Delivery Cluster cluster_name - <%= @cluster_name %>",
"json_class": "Chef::Environment",
"chef_type": "environment",
"override_attributes": {
"delivery-cluster": {
"id": "<%= @cluster_name %>",
"driver": "aws",
"aws": {
"key_name... | Add an Acceptance test for `aws_tags` | Add an Acceptance test for `aws_tags`
Modified the template file to add an `aws_tag` to the `chef-server`
component so we can test this on the pipeline, into the build matrix in
Acceptance.
| HTML+ERB | apache-2.0 | opscode-cookbooks/delivery-cluster,chef-cookbooks/delivery-cluster,opscode-cookbooks/delivery-cluster,chef-cookbooks/delivery-cluster |
114fdf6606cc31077ef1cf314d0af27969cb8676 | app/views/subscriptions/_stripe_javascript.html.erb | app/views/subscriptions/_stripe_javascript.html.erb | <% content_for :javascript do %>
<%= javascript_include_tag "https://checkout.stripe.com/checkout.js" %>
<%= javascript_tag do %>
var handler = StripeCheckout.configure({
key: "<%= Rails.configuration.stripe[:publishable_key] %>",
image: "<%= image_path 'logo-stripe.png' %>",
name: "Trailmix",... | <% content_for :javascript do %>
<%= javascript_include_tag "https://checkout.stripe.com/checkout.js" %>
<%= javascript_tag do %>
var handler = StripeCheckout.configure({
key: "<%= Rails.configuration.stripe[:publishable_key] %>",
image: "<%= image_path 'logo-stripe.png' %>",
name: "Trailmix",... | Update Stripe button to show 14-day trial | Update Stripe button to show 14-day trial
| HTML+ERB | mit | codecation/trailmix,codecation/trailmix,codecation/trailmix,codecation/trailmix |
e44a009af1890b10ee9c9da37d6eaeda4383c08d | jobs/cassandra/templates/config/cqlshrc.erb | jobs/cassandra/templates/config/cqlshrc.erb | [authentication]
username = cassandra
password = <%= p("cass_pwd") %>
;;keyspace =
[connection]
hostname = <%=spec.ip%>
port = <%= p('native_transport_port') %>
ssl = <%= p("client_encryption.enabled") ? "Y" : "N" %>
request_timeout = 1800
[ssl]
certfile = /var/vcap/jobs/cassandra/config/certs/<%=spec.ip%>_<%= p("c... | [authentication]
username = cassandra
password = <%= p("cass_pwd") %>
;;keyspace =
[connection]
hostname = <%=spec.ip%>
port = <%= p('native_transport_port') %>
ssl = <%= p("client_encryption.enabled") %>
request_timeout = 1800
[ssl]
certfile = /var/vcap/jobs/cassandra/config/certs/<%=spec.ip%>_<%= p("cluster_name"... | Fix issue with 'N' in YAML being actually converted to 'false' | Fix issue with 'N' in YAML being actually converted to 'false'
| HTML+ERB | apache-2.0 | emc-cloudfoundry/cassandra-cf-service-boshrelease,emc-cloudfoundry/cassandra-cf-service-boshrelease,emc-cloudfoundry/cassandra-cf-service-boshrelease |
cadd86481b15c19de21d8a2e40d4609316945b37 | cookbooks/taginfo/templates/default/update-taginfo.erb | cookbooks/taginfo/templates/default/update-taginfo.erb | #!/bin/sh
# DO NOT EDIT - This file is being maintained by Chef
set -e
ROOT="<%= @directory %>"
if [ -f "$ROOT/data/taginfo-history.db" ]
then
cp $ROOT/data/taginfo-history.db $ROOT/sources
fi
$ROOT/taginfo/sources/update_all.sh $ROOT/sources
mv $ROOT/data/taginfo-* $ROOT/data/old
mv $ROOT/sources/taginfo-*.d... | #!/bin/sh
# DO NOT EDIT - This file is being maintained by Chef
set -e
ROOT="<%= @directory %>"
cd $ROOT/taginfo/sources
if [ -f "$ROOT/data/taginfo-history.db" ]
then
cp $ROOT/data/taginfo-history.db $ROOT/sources
fi
$ROOT/taginfo/sources/update_all.sh $ROOT/sources
mv $ROOT/data/taginfo-* $ROOT/data/old
mv... | Change to the sources directory before running the update | Change to the sources directory before running the update
| HTML+ERB | apache-2.0 | openstreetmap/chef,gravitystorm/chef,gravitystorm/chef,openstreetmap/chef,tomhughes/openstreetmap-chef,gravitystorm/chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,gravitystorm/chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,gravitystorm/chef,Firefishy/chef,g... |
b65d49df58dc63e30ad1bff31161892e1be781d7 | app/views/images/_list.html.erb | app/views/images/_list.html.erb | <% imageable.images.each do |image| %>
<div class="thumbnail col-sm-4">
<a href="<%= image.url %>">
<img src="<%= image.url(w: 150) %>">
</a>
<% if user_signed_in? && (current_user.owns?(imageable) || current_user.admin?) %>
<div class="image-controls pull-right">
<% if image == image... | <%
parent = { parent_type: imageable.class, parent_id: imageable.id }
imageable.images.each do |image| %>
<div class="thumbnail col-sm-4">
<a href="<%= image.url %>">
<img src="<%= image.url(w: 150) %>">
</a>
<% if user_signed_in? && (current_user.owns?(imageable) || current_user.admin?) %>
... | Fix image deletion and cover-making. | Fix image deletion and cover-making.
| HTML+ERB | mit | winnitron/winnitron_reborn,winnitron/winnitron_reborn,winnitron/winnitron_reborn |
69f243f4115492a4912c9467f75209f091e049f5 | app/views/restores/new.html.erb | app/views/restores/new.html.erb | <% content_for 'sub_menu' do %>
<ul id="sub_menu">
<li><%= link_to 'View Host', host_path(@host.id) %></li>
</ul>
<% end %>
<h2>Create New Store Job</h2>
<% form_for [@host, @restore] do |f| %>
<%= f.hidden_field :user_id, { :value => current_user.id } %>
<%= f.label :name %>
<%= f.text_field :name %><br/>
<%... | <% content_for 'sub_menu' do %>
<ul id="sub_menu">
<li><%= link_to 'View Host', host_path(@host.id) %></li>
</ul>
<% end %>
<h2>Create New Store Job</h2>
<% form_for [@host, @restore] do |f| %>
<%= f.error_messages %>
<table class='table_form'>
<%= f.hidden_field :user_id, { :value => current_user.id } %>
<... | Use the std stable for new form. | Use the std stable for new form.
| HTML+ERB | mit | unilogic/zackup,unilogic/zackup |
9b8be1891264c47dc2e3a84aee44b92ba7f374af | app/views/sessions/new.html.erb | app/views/sessions/new.html.erb | <div id="root" style="width: 280px; margin: 40px auto; padding: 10px; ; border-width: 1px;">
embeded area
</div>
<script src="https://cdn.auth0.com/js/lock-7.9.min.js"></script>
<script>
var lock = new Auth0Lock('IjMvSSE8zdo53tB1QFX5U8EDIxCTzW8Z', 'dbc-mentor-me.auth0.com');
var url = (document.location.orig... | <div id="root" style="width: 280px; margin: 40px auto; padding: 10px; ; border-width: 1px;">
embeded area
</div>
<script src="https://cdn.auth0.com/js/lock-7.9.min.js"></script>
<script>
var lock = new Auth0Lock(<%= ENV["AUTH0_CLIENT"] || 'IjMvSSE8zdo53tB1QFX5U8EDIxCTzW8Z' %>, 'dbc-mentor-me.auth0.com');
var... | Switch Auth0 client ID for login form to be ENV variable | Switch Auth0 client ID for login form to be ENV variable
| HTML+ERB | mit | theresaboard/theres-a-board,theresaboard/theres-a-board,theresaboard/theres-a-board |
b173bd8e08854d080d97e55694d28d4546249699 | app/views/appointment_summaries/new.html.erb | app/views/appointment_summaries/new.html.erb | <% if @appointment_summary.errors.any? %>
<ul>
<% @appointment_summary.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
<% end %>
</ul>
<% end %>
<%= form_for @appointment_summary, url: appointment_summaries_path do |f| %>
<%= f.label :name %>
<%= f.text_field :name, class: 't-name' %>
... | <% if @appointment_summary.errors.any? %>
<ul>
<% @appointment_summary.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
<% end %>
</ul>
<% end %>
<%= form_for @appointment_summary, url: appointment_summaries_path do |f| %>
<div class="l-form-row">
<%= f.label :name %>
<%= f.text_fi... | Add styling to new appointment summary form | Add styling to new appointment summary form
| HTML+ERB | mit | guidance-guarantee-programme/record_of_guidance_pilot,guidance-guarantee-programme/record_of_guidance_pilot,guidance-guarantee-programme/record_of_guidance_pilot |
ce5678b7e2a69ae51ed7885b4024a0f8be453050 | app/views/users/forms/fields/_roles.html.erb | app/views/users/forms/fields/_roles.html.erb | <ul>
<% @roles.each do |role| %>
<li><%= role.name %></li>
<% end %>
</ul>
| <ul>
<% @roles.each do |role| %>
<li><%= role.description %></li>
<% end %>
</ul>
| Update users role view to use role description instead of role name. | Update users role view to use role description instead of role name.
| HTML+ERB | mit | CollegeSTAR/collegestar_org,CollegeSTAR/collegestar_org,CollegeSTAR/collegestar_org |
94c066a238f7ff7d5ffe384a3cfe8b748cd674bb | views/new.erb | views/new.erb |
<h2>Add new post <h2>
<form>
<div class="form-group">
<textarea class="form-control" rows="6"></textarea>
</div>
<button type="button" class="btn btn-primary">Primary</button>
</form> |
<h2>Add new post <h2>
<form action='/new' method='POST'>
<div class="form-group">
<textarea class="form-control" rows="6"></textarea>
</div>
<button type="button" class="btn btn-primary"></button>
</form> | Add action, methods atribute to form | Add action, methods atribute to form
| HTML+ERB | mit | lozitskiyvladimir/Leprozorium,lozitskiyvladimir/Leprozorium |
822156ee6cee06014d7713474e5abe175cbc8002 | views/index.erb | views/index.erb | <table class='table'>
<tr>
<th>Title</th>
<th>Agree</th>
<th>Disagree</th>
<th>State</th>
</tr>
<% @pull_requests.each do |pr| %>
<tr class='<%= row_class(pr) %>'>
<td><a href='/<%= pr.number %>'><%= pr.title %></a></td>
<td><%= pr.agree.count %></td>
<td><%= pr.disagree.cou... | <table class='table'>
<tr>
<th>Proposer</th>
<th>Title</th>
<th>Agree</th>
<th>Disagree</th>
<th>State</th>
</tr>
<% @pull_requests.each do |pr| %>
<tr class='<%= row_class(pr) %>'>
<td><a href='<%= pr.proposer['html_url'] %>'><%= image_tag pr.proposer['avatar_url'], alt: pr.proposer... | Add proposer image to list | Add proposer image to list
| HTML+ERB | mit | openpolitics/votebot,openpolitics/votebot,openpolitics/votebot |
889debfd8a5b70d99aaf308ea3b095633ae869bb | views/show.erb | views/show.erb | <h1><a href='http://github.com/openpolitics/manifesto/pull/<%= @pull_request.number %>'>#<%= @pull_request.number %>: <%= @pull_request.title %></a></h1>
<div>
State: <%= @pull_request.state.capitalize %>
</div>
<% if @pull_request.agree.count > 0 %>
<div>
<h2>Agree:</h2>
<% @pull_request.agree.each do |... | <h1><a href='http://github.com/openpolitics/manifesto/pull/<%= @pull_request.number %>'>#<%= @pull_request.number %>: <%= @pull_request.title %></a></h1>
<div>
Proposer: <a href='<%= pr.proposer['html_url'] %>'><img src='<%= pr.proposer['avatar_url'] %>' alt='<%= pr.proposer['login'] %>' height='24px' /></a>
</div>
... | Add proposer to detail view | Add proposer to detail view
| HTML+ERB | mit | openpolitics/votebot,openpolitics/votebot,openpolitics/votebot |
4a5d6ec2de3012725b351c0269d87d7c77c9c17a | app/views/cis/index.html.erb | app/views/cis/index.html.erb | <% content_for :filter do %>
<%= render partial: "filters" %>
<% end %>
<h1>Services</h1>
<table>
<thead>
<tr>
<td>
Name
</td>
<td>
Description
</td>
<td>
Watch?
</td>
</tr>
</thead>
<%= render partial: "cis" %>
</table>
<br />
<p>
<% if curr... | <% content_for :filter do %>
<%= render partial: "filters" %>
<% end %>
<h1>Services</h1>
<table>
<thead>
<tr>
<td>
Name
</td>
<td>
Description
</td>
<td>
Watch?
</td>
</tr>
</thead>
<%= render partial: "cis" %>
</table>
<br/>
<p>
<% if current... | Hide notes on CI index page. | Hide notes on CI index page.
| HTML+ERB | mit | weenhanceit/outages,weenhanceit/outages,weenhanceit/outages,weenhanceit/outages |
fb75585605aa9446d79dc2f08ba0a83cb95523c7 | app/views/govuk_component/option_select.raw.html.erb | app/views/govuk_component/option_select.raw.html.erb | <div class="govuk-option-select"
<% if local_assigns.include?(:closed_on_load) && closed_on_load %>data-closed-on-load="true"<% end %>
<% if local_assigns.include?(:aria_controls_id) %>data-input-aria-controls="<%= aria_controls_id %>"<% end %>
>
<div class="container-head js-container-head">
<div class='opti... | <div class="govuk-option-select"
<% if local_assigns.include?(:closed_on_load) && closed_on_load %>data-closed-on-load="true"<% end %>
<% if local_assigns.include?(:aria_controls_id) %>data-input-aria-controls="<%= aria_controls_id %>"<% end %>
>
<div class="container-head js-container-head">
<div class="opti... | Use consistent quotes in option_select | Use consistent quotes in option_select
| HTML+ERB | mit | alphagov/static,alphagov/static,alphagov/static |
66951fe37151e85a6733465b6f6ebe95d595caae | app/views/admin/shared/_title_etc.html.erb | app/views/admin/shared/_title_etc.html.erb | <%= hidden_field_tag "return_to", params[:return_to] if params[:return_to] %>
<label for="edition_assigned_to_id">Assigned to</label>
<%= f.collection_select :assigned_to_id, User.order_by([[:name, :asc]]).all, :id, :name, :prompt => "Select someone" %>
<%= f.input :alternative_title,
:label => 'Alternative tit... | <%= hidden_field_tag "return_to", params[:return_to] if params[:return_to] %>
<label for="edition_assigned_to_id">Assigned to</label>
<%= f.collection_select :assigned_to_id, User.order_by([[:name, :asc]]).all, :id, :name, :prompt => "Select someone" %>
<%= f.input :title,
:input_html => { :class => "span7", :a... | Allow user to edit titles | Allow user to edit titles
We've been causing some confusion by allowing titles to be edited in panopticon
but then only applying that change to published editions. It seems most straightforward
for panopticon to simply reflect the current title and to allow that to actually be
edited in publisher via the standard work... | HTML+ERB | mit | alphagov/publisher,leftees/publisher,telekomatrix/publisher,leftees/publisher,theodi/publisher,theodi/publisher,leftees/publisher,theodi/publisher,alphagov/publisher,alphagov/publisher,telekomatrix/publisher,theodi/publisher,telekomatrix/publisher,telekomatrix/publisher,leftees/publisher |
08fcc9a222b4ccd0a0e00c099ee10aee71124467 | app/views/admin/style_guide/index.html.erb | app/views/admin/style_guide/index.html.erb | <% page_title "Whitehall admin style guide" %>
<div class="page-header">
<h1>Whitehall admin style guide</h1>
</div>
<p class="lead">Whitehall admin UI is powered by bootstrap 2.0.3 with some help from the <a href="https://github.com/alphagov/govuk_frontend_toolkit">govuk_frontend_toolkit</a>. There are currently n... | <% page_title "Whitehall admin style guide" %>
<div class="page-header">
<h1>Whitehall admin style guide</h1>
</div>
<p class="lead">Whitehall admin UI is powered by bootstrap 2.0.3 with some help from the <a href="https://github.com/alphagov/govuk_frontend_toolkit">govuk_frontend_toolkit</a>. There are currently n... | Add grid example to whitehall style guide | Add grid example to whitehall style guide
* Include Bootstrap 2.0.3 caveats
| HTML+ERB | mit | hotvulcan/whitehall,alphagov/whitehall,alphagov/whitehall,hotvulcan/whitehall,alphagov/whitehall,YOTOV-LIMITED/whitehall,robinwhittleton/whitehall,ggoral/whitehall,ggoral/whitehall,alphagov/whitehall,askl56/whitehall,ggoral/whitehall,hotvulcan/whitehall,robinwhittleton/whitehall,YOTOV-LIMITED/whitehall,ggoral/whitehall... |
d13d2fea37e24c46f623dfb85ff9f23ef917dce3 | app/views/spree/admin/pages/index.html.erb | app/views/spree/admin/pages/index.html.erb | <div class='toolbar'>
<ul class='actions'>
<li>
<p><%= button_link_to t("new_page"), new_object_url, :icon => 'add' %></p>
</li>
</ul>
<br class='clear' />
</div>
<h1><%= t("listing_pages") %></h1>
<table class="index">
<thead>
<tr>
<th><%= t("title") %></th>
<th><%= t("permalink") %><... | <%content_for :page_actions do %>
<%= button_link_to t("new_page"), new_object_url, :icon => 'add' %>
<% end %>
<h1><%= t("listing_pages") %></h1>
<table class="index">
<thead>
<tr>
<th><%= t("title") %></th>
<th><%= t("permalink") %></th>
<th><%= t("published") %></th>
<th> </th>
</tr>
... | Put link new page in page actions. | Put link new page in page actions.
| HTML+ERB | bsd-3-clause | gdsn13/spree_pages,sebastyuiop/spree_pages,gdsn13/spree_pages |
af5b01aedac57e7dfb90a2aa03a3fb6fa92c880e | lib/views/general/_frontpage_search_box.html.erb | lib/views/general/_frontpage_search_box.html.erb | <h2>
<%= _("Search over<br/>
<strong>{{number_of_requests}} requests</strong> <span>and</span><br/>
<strong>{{number_of_authorities}} authorities</strong>",
:number_of_requests => InfoRequest.visible.count, :number_of_authorities => PublicBody.visible.count) %>
</h2>
<form id="search_form" method="post" action=... | <h2>
<%= _("Search over<br/>
<strong>{{number_of_requests}} requests</strong> <span>and</span><br/>
<strong>{{number_of_authorities}} authorities</strong>",
:number_of_requests => InfoRequest.is_public.count, :number_of_authorities => PublicBody.visible.count) %>
</h2>
<form id="search_form" method="post" actio... | Replace a method call which was removed in 0.29.0.0 | Replace a method call which was removed in 0.29.0.0
| HTML+ERB | mit | mamarjan/daznamosvitheme,mamarjan/daznamosvitheme |
64ee96b728b8cfda7a7a8833cd5e77484a05eb0e | app/views/graph/index.html.erb | app/views/graph/index.html.erb | <div class="row">
<div class="small-11 small-centered columns">
<h1><%= t('graph.title') %></h1>
<svg id="graph"></svg>
</div>
</div>
<div class="row">
<div class="small-11 small-centered columns">
<% unless @user %>
<h2>Sign up to learn how to save money on your energy bill:</h2>
<%= form_for... | <div class="row">
<div class="small-11 small-centered columns">
<h1><%= t('graph.title') %></h1>
<svg id="graph"></svg>
</div>
</div>
<div class="row">
<div class="small-11 small-centered columns">
<% unless @user %>
<h2>Sign up to learn how to save money on your energy bill:</h2>
<%= link_to ... | Change sign-up with Google into a button | Change sign-up with Google into a button
| HTML+ERB | mit | codeforboston/cambridge_energy_app,codeforboston/cambridge_energy_app,codeforboston/cambridge_energy_app |
635ce7382839703b719825a694b21f36386c4067 | templates/gunicorn.erb | templates/gunicorn.erb | CONFIG = {
<% if mode == 'django' -%>
'mode': 'django',
<% else -%>
'mode': 'wsgi',
<% end -%>
<% if virtualenv -%>
'environment': {
<% if environment -%>
'ENVIRONMENT': '<%= environment %>',
<% end -%>
'PYTHONPATH': '<%= virtualenv %>'
},
<% end -%>
'working_dir': '<%= dir %>',
'user': 'www-data',
... | CONFIG = {
<% if @mode == 'django' -%>
'mode': 'django',
<% else -%>
'mode': 'wsgi',
<% end -%>
<% if @virtualenv -%>
'environment': {
<% if @environment -%>
'ENVIRONMENT': '<%= @environment %>',
<% end -%>
'PYTHONPATH': '<%= @virtualenv %>'
},
<% end -%>
'working_dir': '<%= @dir %>',
'user': 'www-d... | Fix deprecation warnings in template | Fix deprecation warnings in template | HTML+ERB | apache-2.0 | stankevich/puppet-python,ghoneycutt/puppet-python,stankevich/puppet-python,ody/puppet-python,vicinus/puppet-python,xaque208/puppet-python,vicinus/puppet-python,vmfarms/puppet-python,xaque208/puppet-python,ghoneycutt/puppet-python,xaque208/puppet-python,vmfarms/puppet-python,skpy/puppet-python,ody/puppet-python,skpy/pup... |
8e2682a65afb081e67d8364a86b75d5a93563ecc | app/views/report_mailer/report_project_deleted.text.erb | app/views/report_mailer/report_project_deleted.text.erb | Deletion of project <%= @project.id %>
Project <%= @project.id %> named <%= @project.name %>
<% if ENV.include?('PUBLIC_HOSTNAME') %>
on <%= ENV['PUBLIC_HOSTNAME'] %>
<% end %>
has been deleted.
This action was carried out by user <%= @user.id %> named <%= @user.name %>.
The project's JSON record at deletion was:
<... | Deletion of project <%= @project.id %>
Project <%= @project.id %> named <%= @project.name %>
<% if ENV.include?('PUBLIC_HOSTNAME') %>
on <%= ENV['PUBLIC_HOSTNAME'] %>
<% end %>
has been deleted.
It was created at <%= @project.created_at %>, and was
<%= @project.badge_percentage %>% complete towards the passing level.
... | Emphasize important data on project deletion | Emphasize important data on project deletion
Emphasize important data on project deletion in the reporting email.
In particular, projects with low % and were created recently are less
concerning than project entries with high % and were created a while ago
(maybe their account was subverted).
Signed-off-by: David A. ... | HTML+ERB | mit | wanganyv/cii-best-practices-badge,wanganyv/cii-best-practices-badge,coreinfrastructure/best-practices-badge,jdossett/cii-best-practices-badge,yannickmoy/cii-best-practices-badge,taylorcoursey/cii-best-practices-badge,yannickmoy/cii-best-practices-badge,jdossett/cii-best-practices-badge,coreinfrastructure/best-practices... |
8e97948081f0667192bfd9d37c51edf6b1019176 | app/views/admin/templates/_has_many.html.erb | app/views/admin/templates/_has_many.html.erb | <div class="box_relationships" id="<%= association_name %>">
<h2>
<%= association_name.titleize.humanize.pluralize %>
<small><%= add_new %></small>
</h2>
<% if @items.any? -%>
<%= table %>
<%= paginate(@items, Typus.pagination.merge(:anchor => association_name)) %>
<% else %>
<p><%= Typus:... | <div class="box_relationships" id="<%= association_name %>">
<h2>
<%= @model_to_relate.model_name.human.pluralize %>
<small><%= add_new %></small>
</h2>
<% if @items.any? -%>
<%= table %>
<%= paginate(@items, Typus.pagination.merge(:anchor => association_name)) %>
<% else %>
<p><%= Typus::... | Use model_name from related model in has_many template | Use model_name from related model in has_many template
Signed-off-by: Francesc Esplugas <352bf3ec073356d71f47cfcff2e546760ec67027@gmail.com>
| HTML+ERB | mit | baban/typus,readyfor/typus,wollzelle/typus,thirdthing/typus,readyfor/typus,baban/typus,baban/typus,brainsome-de/typus,baban/typus,chiragshah/typus,wollzelle/typus,typus/typus,chiragshah/typus,burn-notice/typus,wollzelle/typus,burn-notice/typus,thirdthing/typus,readyfor/typus,brainsome-de/typus,typus/typus,typus/typus,w... |
55796b68381a39db60cdb17590b817e6ed1d2391 | app/views/simple_smart_answers/flow.html.erb | app/views/simple_smart_answers/flow.html.erb | <% content_for :extra_headers do %>
<meta name="robots" content="noindex" />
<% end %>
<main id="content">
<header class="page-header group">
<%= render "govuk_publishing_components/components/title", title: @publication.title %>
</header>
<% if @flow_state.completed_questions.any? %>
<div class="done... | <% content_for :extra_headers do %>
<meta name="robots" content="noindex" />
<% end %>
<main id="content">
<header class="page-header group">
<%= render "govuk_publishing_components/components/title", title: @publication.title %>
</header>
<% if @flow_state.completed_questions.any? %>
<div class="done... | Add step-by-step navigation sidebar to service "done" pages | Add step-by-step navigation sidebar to service "done" pages
As a user who has completed a service
I want to know what the next step is that I need to complete
So that I can finish the thing I am trying to do
If a user is routed to a service from the step-by-step, they are sent away from GOV.UK to the service which is... | HTML+ERB | mit | alphagov/frontend,alphagov/frontend,alphagov/frontend,alphagov/frontend |
75d1e7ed7ea115a7c35102b4cca6afbaf0dad890 | test/views/qunit.erb | test/views/qunit.erb | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="/vendor/qunit.css">
<script type="text/javascript" src="/vendor/jquery.js"></script>
<script type="text/javascript" src="/vendor/qunit.js"></script>
<script type="text/javascript">QUnit.config.testTimeout = 10000</scr... | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="/vendor/qunit.css">
<meta name="viewport" content="initial-scale=1.0,width=device-width">
<script type="text/javascript" src="/vendor/jquery.js"></script>
<script type="text/javascript" src="/vendor/qunit.js"></script... | Fix test viewport for mobile devices | Fix test viewport for mobile devices
| HTML+ERB | mit | javiermadueno/jquery-pjax,nprdm/jquery-pjax,freeyiyi1993/jquery-pjax,rounce/jquery-pjax,nprdm/jquery-pjax,Priyank57/jquery-pjax,duzun/jquery-pjax,defunkt/jquery-pjax,kevinmel2000/jquery-pjax,admui/jquery-pjax,web-premier/jquery-pjax,derekisbusy/jquery-pjax,nprdm/jquery-pjax,Alex-Code/jquery-pjax,eLobato/jquery-pjax,pom... |
30578f658d548a70337977bfda699fdaf05844c0 | lib/angus/generator/templates/resources/resource.rb.erb | lib/angus/generator/templates/resources/resource.rb.erb | class <%= classify(resource_name) %> < Angus::BaseResource
<% unless actions.nil? -%>
<% actions.each do |action_name| %>
def <%= action_name %>
<% if is_demo? -%>
{ users: [{ id: 1, name: 'User one' }, { id: 2, name: 'User two' }] }
<% end -%>
end
<% end %>
<% end -%>
end | class <%= classify(resource_name) %> < Angus::BaseResource
<% unless actions.nil? -%>
<% actions.each do |action_name| %>
def <%= action_name %>
<% if is_demo? -%>
{ users: [{ id: 1, name: 'Bon Scott' }, { id: 2, name: 'Brian Johnson' }] }
<% end -%>
end
<% end %>
<% end -%>
end
| Change names in demo generator. | Change names in demo generator.
Change-Id: I7c02e0009e18c4a11041a3004b59b401377a14d2
| HTML+ERB | mit | Moove-it/angus,Moove-it/angus |
63cc54935694ac7379441c6ed5067ded82771683 | omnibus/files/private-chef-cookbooks/private-chef/templates/default/pivotal.rb.erb | omnibus/files/private-chef-cookbooks/private-chef/templates/default/pivotal.rb.erb | require "tempfile"
require "veil"
secrets_file = ENV['SECRETS_FILE'] || "/etc/opscode/private-chef-secrets.json"
credentials = Veil::CredentialCollection::ChefSecretsFile.from_file(secrets_file)
key = Tempfile.new("latovip")
key.puts credentials.get("chef-server", "superuser_key")
key.flush
key.close
node_name "pivo... | require "tempfile"
require "veil"
secrets_file = ENV['SECRETS_FILE'] || "/etc/opscode/private-chef-secrets.json"
credentials = Veil::CredentialCollection::ChefSecretsFile.from_file(secrets_file)
key = Tempfile.new("latovip")
key.puts credentials.get("chef-server", "superuser_key")
key.flush
key.close
node_name "pivo... | Use at_exit to prevent tempfile from unlinkng too soon | Use at_exit to prevent tempfile from unlinkng too soon
Signed-off-by: Marc A. Paradise <4ac6359ea5d0ef3cc5b5e469a74ec987143cad16@gmail.com>
| HTML+ERB | apache-2.0 | juliandunn/chef-server-1,juliandunn/chef-server-1,itmustbejj/chef-server,juliandunn/chef-server-1,chef/chef-server,chef/chef-server,chef/chef-server,itmustbejj/chef-server,itmustbejj/chef-server,juliandunn/chef-server-1,juliandunn/chef-server-1,chef/chef-server,chef/chef-server,itmustbejj/chef-server,chef/chef-server,i... |
b5354a5ec9d615691c40c885417f8a4086ca6eed | app/views/koi/settings/_field_tags.html.erb | app/views/koi/settings/_field_tags.html.erb | <%- id = "koi-#{ new_uuid }" -%>
<% if object.respond_to?("#{object.key.singularize}_list".to_sym) %>
<%= f.input "#{object.key.singularize}_list".to_sym, as: :string, input_html: { id: id, style: 'width:500px' }, label: label %>
<%= render "koi/admin_crud/form_field_collection_errors", f: f, attr: attr %>
<sc... | <%- id = "koi-#{ new_uuid }" -%>
<% if object.respond_to?("#{object.key.singularize}_list".to_sym) %>
<%= f.input "#{object.key.singularize}_list".to_sym, as: :string, input_html: { id: id, style: 'width:500px' }, label: label %>
<%= render "koi/admin_crud/form_field_collection_errors", f: f, attr: attr %>
<%
... | Append any data_source tags to the existing tag list for extensibility. | Append any data_source tags to the existing tag list for extensibility.
| HTML+ERB | mit | katalyst/koi,katalyst/koi,katalyst/koi |
99504993652dd580408af48d343dc4f69bed5a31 | lib/smart_answer_flows/state-pension-age/questions/dob_age.erb | lib/smart_answer_flows/state-pension-age/questions/dob_age.erb | <% text_for :title do %>
What is your date of birth?
<% end %>
<% text_for :error_message do %>
Enter your date of birth
<% end %>
| <% text_for :title do %>
What is your date of birth?
<% end %>
<% text_for :hint do %>
For example, 14 10 1968
<% end %>
<% text_for :error_message do %>
Enter your date of birth
<% end %>
| Add hint text for DOB question | Add hint text for DOB question
| HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
959aeaadc8e9f46f4a4afd934deabddfc2986621 | pages/integrations/slack.md.erb | pages/integrations/slack.md.erb | # Slack
The [Slack](https://slack.com/) notification service in Buildkite lets you x from your Buildkite account to your Slack workspace.
<%= toc %>
## Configuring
From your [Organization’s Notification Settings](https://buildkite.com/organizations/-/services), add a Slack notification service:
<%= image "buildkit... | Add a stab Slack integration doc | Add a stab Slack integration doc
| HTML+ERB | mit | buildkite/docs,buildkite/docs,buildkite/docs,buildkite/docs | |
f2c59a1fe9c1c98b449ad215afd07b31d9ece9d4 | app/views/shared/_social_share.html.erb | app/views/shared/_social_share.html.erb | <% description = local_assigns.fetch(:description, '') %>
<% description = truncate(ActionView::Base.full_sanitizer.sanitize(description), length: 140) %>
<% if local_assigns[:share_title].present? %>
<div id="social-share" class="sidebar-divider"></div>
<p class="sidebar-title"><%= share_title %></p>
<% end %>
<di... | <% description = local_assigns.fetch(:description, '') %>
<% description = truncate(ActionView::Base.full_sanitizer.sanitize(description), length: 140) %>
<% mobile = local_assigns[:mobile] %>
<% mobile_url = mobile.present? ? "#{mobile.gsub(/\s+/, '%20')}%20" : "" %>
<% if local_assigns[:share_title].present? %>
<d... | Replace spaces to %20 on whatsapp share url | Replace spaces to %20 on whatsapp share url
This avoid have an invalid href with spaces.
| HTML+ERB | agpl-3.0 | AyuntamientoMadrid/consul,AyuntamientoMadrid/consul,AyuntamientoMadrid/consul,AyuntamientoMadrid/consul |
7e84f3715e985ee08a107f9968974b55c965f05a | app/views/notify/new_merge_request_email.text.erb | app/views/notify/new_merge_request_email.text.erb | <%= @merge_request.author_name %> <%= 'created a merge request:' %> <%= url_for(project_merge_request_url(@merge_request.target_project, @merge_request)) %>
<%= merge_path_description(@merge_request, 'to') %>
<%= 'Author' %>: <%= @merge_request.author_name %>
<%= assignees_label(@merge_request) %>
<%= render_if_exi... | <%= @merge_request.author_name %> <%= 'created a merge request:' %> <%= url_for(project_merge_request_url(@merge_request.target_project, @merge_request)) %>
<%= merge_path_description(@merge_request, 'to') %>
<%= 'Author:' %> <%= @merge_request.author_name %>
<%= assignees_label(@merge_request) %>
<%= render_if_exi... | Move colon on merge request notification | Move colon on merge request notification
| HTML+ERB | mit | stoplightio/gitlabhq,mmkassem/gitlabhq,stoplightio/gitlabhq,stoplightio/gitlabhq,stoplightio/gitlabhq,mmkassem/gitlabhq,mmkassem/gitlabhq,mmkassem/gitlabhq |
20f25d34b95cc6f4deab46260ee95732c49ba85c | Battlecode_Arena/app/views/competitors/_form.html.erb | Battlecode_Arena/app/views/competitors/_form.html.erb | <%= form_for(@competitor, html:{multipart:true}) do |f| %>
<% if @competitor.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@competitor.errors.count, "error") %> prohibited this competitor from being saved:</h2>
<ul>
<% @competitor.errors.full_messages.each do |message| %>
... | <%= form_for(@competitor, html:{multipart:true}) do |f| %>
<% if @competitor.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@competitor.errors.count, "error") %> prohibited this competitor from being saved:</h2>
<ul>
<% @competitor.errors.full_messages.each do |message| %>
... | Add stronger warning to NOT use standard submission | Add stronger warning to NOT use standard submission
| HTML+ERB | mit | 3urningChrome/Battlecode_Arena,3urningChrome/Battlecode_Arena,3urningChrome/Battlecode_Arena,3urningChrome/Battlecode_Arena |
c9a0d2cdf8cf2518b86753c332091410455a5214 | app/views/messages/_form.html.erb | app/views/messages/_form.html.erb | <%= f.error_messages %>
<p>
<%= f.label :text %>
<%= f.text_field :text %>
</p>
<p>
<%= f.label :expires_in %>
<%= f.select :expires_in, Message::DURATIONS_SELECT %>
<%- if @message.created_at -%>
<em>From message creation, <%= @message.created_at %></em>
<%- end -%>
</p>
<p>
<%= f.label :tag_list,... | <%= f.error_messages %>
<p>
<%= f.label :text %>
<%= f.text_field :text %>
</p>
<p>
<%= f.label :expires_in %>
<%= f.select :expires_in, Message::DURATIONS_SELECT %>
<%- if @message.created_at -%>
<em>From message creation, <%= time_ago_in_words(@message.created_at) %> ago</em>
<%- end -%>
</p>
<p>
... | Make timestampe easier to understand in context. | Make timestampe easier to understand in context.
| HTML+ERB | mit | mabounassif/projectmonitor-docker,dgodd/projectmonitor,CodeforHawaii/projectmonitor,mabounassif/projectmonitor-docker,mabounassif/projectmonitor-docker,remind101/projectmonitor,dgodd/projectmonitor,genebygene/projectmonitor,pivotal/projectmonitor,BuildingSync/projectmonitor,remind101/projectmonitor,BuildingSync/project... |
8345640c618ad36e6ccf6b03a3a4e4f6ea6950e5 | app/views/visitors/index.html.erb | app/views/visitors/index.html.erb | <% @combined_proposals_courses.each do |c| %>
<a href="<%= proposal_course_pth(c) %>">
<section class="post">
<h1><%= c.name %> - <%= c.class.to_s %></h1>
<p><%= truncate(c.description, :length => 120) %></p>
<% if c.is_a?(Proposal) %>
<p>Votes: <%= c.votes.count %></p>
<% end %>
</section>
</a>
... | <% @combined_proposals_courses.each do |c| %>
<a href="<%= proposal_course_pth(c) %>">
<section class="post">
<h1><%= c.class.to_s %></h1>
<h1><%= c.name %></h1>
<p><%= truncate(c.description, :length => 120) %></p>
<% if c.is_a?(Proposal) %>
<p>Votes: <%= c.votes.count %></p>
<% end %>
</sectio... | Change the look of the Proposal/Course on the front page. | Change the look of the Proposal/Course on the front page.
| HTML+ERB | agpl-3.0 | ChattanoogaPublicLibrary/library_school,ChattanoogaPublicLibrary/library_school |
7434a01db23a6475ee81886e436f0bde55c0f87f | app/views/frontend/flexible_content/_picture.html.erb | app/views/frontend/flexible_content/_picture.html.erb | <% if object.present? && object.asset.present? %>
<% if object.url.present? %>
<%= link_to object.url do %>
<%= image_tag object.asset.image.url(1600, 1600, quality: 65), alt: '', class: 'img-fluid' %>
<% end %>
<% else %>
<%= image_tag object.asset.image.url(1600, 1600, quality: 65), alt: '', c... | Add placeholder for the content column picture. | Add placeholder for the content column picture.
| HTML+ERB | mit | udongo/udongo,udongo/udongo,udongo/udongo | |
f0662639f1549cc419aaece65fe7cffa740d3709 | app/views/neighborhoods/_registration_filter.html.erb | app/views/neighborhoods/_registration_filter.html.erb | <% areas = Neighborhood.get_areas %>
<dl>
<dd>
<div class="multiSelect">
<ul class="list-unstyled">
<% areas.each do |area| %>
<li>
<%= check_box_tag area.area, area.area %>
<%= label_tag area.area, area.area %>
<% neighborhoods = Neighborhood.get_neighborhood_by_... | Create partial for registration page | Create partial for registration page
| HTML+ERB | mit | zjuanz/tendr,zjuanz/tendr,zjuanz/tendr | |
501fa4c901541088a705d177b733d091069139cc | app/views/spree/admin/shared/_order_sub_menu.html.erb | app/views/spree/admin/shared/_order_sub_menu.html.erb | <% content_for :sub_menu do %>
<ul id="sub_nav" data-hook="admin_order_sub_tabs" class="inline-menu">
<%= tab :orders, :match_path => '/orders' %>
<%= tab :bulk_order_management, :match_path => '/orders/bulk_management' %>
<% if standing_orders_enabled? %>
<%= tab :standing_orders, :match_path => '/... | <% content_for :sub_menu do %>
<ul id="sub_nav" data-hook="admin_order_sub_tabs" class="inline-menu">
<%= tab :orders, :match_path => '/orders' %>
<%= tab :bulk_order_management, :match_path => '/orders/bulk_management' %>
<% if subscriptions_enabled? %>
<%= tab :subscriptions, :match_path => '/subs... | Replace references to 'standing order' with 'subscription' (erb) | Replace references to 'standing order' with 'subscription' (erb)
| HTML+ERB | agpl-3.0 | oeoeaio/openfoodnetwork,Matt-Yorkley/openfoodnetwork,Matt-Yorkley/openfoodnetwork,mkllnk/openfoodnetwork,lin-d-hop/openfoodnetwork,oeoeaio/openfoodnetwork,openfoodfoundation/openfoodnetwork,lin-d-hop/openfoodnetwork,openfoodfoundation/openfoodnetwork,mkllnk/openfoodnetwork,mkllnk/openfoodnetwork,lin-d-hop/openfoodnetwo... |
309b26d4732ff09dd1567d2643757b059b4cd551 | app/views/spree/admin/translations/_settings.html.erb | app/views/spree/admin/translations/_settings.html.erb | <div class="well well-sm">
<div class="row no-padding-bottom">
<div class="col-md-4">
<div class="form-group no-margin-bottom">
<label><%= Spree.t(:show) %></label>
<select class="form-control" name="show-only">
<option value="all"><%= Spree.t(:all) %></option>
<option value="incomplete... | <div class="well well-sm">
<div class="row no-padding-bottom">
<div class="col-md-4">
<div class="form-group no-margin-bottom">
<label><%= Spree.t(:show) %></label>
<select class="form-control" name="show-only">
<option value="all"><%= Spree.t(:all) %></option>
<option va... | Convert tab to spaces in admin translation settings view | Convert tab to spaces in admin translation settings view
| HTML+ERB | bsd-3-clause | solidusio-contrib/solidus_globalize,solidusio-contrib/solidus_globalize,solidusio-contrib/solidus_globalize,solidusio-contrib/solidus_globalize |
686e1d0c115bc3d5504dd19133dc3aafa6bc0155 | source/_footer.html.erb | source/_footer.html.erb | <footer>
<div id="name">
<h1><span>Nicholas</span> Block</h1>
<p>a creative health nut turned curious developer eager to inspire and change the world <em>one line of code at a time</em></p>
</div>
<div id="icons">
<div id="footer-icons">
<a href="http://www.nicholasblock.com/resume
"><img src="images/re... | <footer>
<div id="name">
<h1><span>Nicholas</span> Block</h1>
<p>a creative health nut turned curious developer eager to inspire and change the world <em>one line of code at a time</em></p>
</div>
<div id="icons">
<div id="footer-icons">
<a href="http://www.nicholasblock.com/resume.html
"><img src="imag... | Fix link bug on footer link | Fix link bug on footer link
| HTML+ERB | mit | nicholasblock78/portfolio,nicholasblock78/portfolio,nicholasblock78/portfolio |
c651dbfa89db2e3beba9cd418dfbe001e76d9878 | lib/app/views/submissions/encourage_nitpicker.erb | lib/app/views/submissions/encourage_nitpicker.erb | <p>Things to keep in mind:</p>
<ul>
<li>What do you like about the code?</li>
<li>How does the code make use of <%= language %>?</li>
<li>Does the code make appropriate use of Object-Oriented or Functional principles?</li>
<li>How readable is the code? How well does it tell its story?</li>
<li>What software d... | <p>Things to keep in mind:</p>
<ul>
<li>What do you like about the code?</li>
<li>How does the code make use of <%= language %>?</li>
<li>Does the code make appropriate use of Object-Oriented or Functional principles?</li>
<li>How readable is the code? How well does it tell its story?</li>
<li>What software d... | Fix read more link on feedback guide | Fix read more link on feedback guide
| HTML+ERB | agpl-3.0 | colinrubbert/exercism.io,chinaowl/exercism.io,copiousfreetime/exercism.io,nathanbwright/exercism.io,Tonkpils/exercism.io,mhelmetag/exercism.io,Tonkpils/exercism.io,jtigger/exercism.io,beni55/exercism.io,mhelmetag/exercism.io,sheekap/exercism.io,nathanbwright/exercism.io,IanDCarroll/exercism.io,kangkyu/exercism.io,chast... |
9914805eb4c58db6c165f66e4cae9f8b906450be | app/views/home/index.html.erb | app/views/home/index.html.erb | <%= link_to 'Take a Dab!', new_dab_path %>
| <%= link_to 'Take a Dab!', new_dab_path %>
<%= link_to 'New Artist', new_artist_path %>
<%= link_to 'New Pendant', new_user_pendant_path %>
<%= link_to 'Record a Pendy!', new_user_pendant_record_path %>
| Add links to home page for adding artist pendy and pendyrecord | Add links to home page for adding artist pendy and pendyrecord
| HTML+ERB | mit | coreyja/glassy-collections,coreyja/glassy-collections,coreyja/glassy-collections |
b32a62e62c7e505efc549a02e96161bb6d97547d | app/views/teams/show.html.erb | app/views/teams/show.html.erb | <h1>
<%= @team.name %>
</h1>
<div>
<%= image_tag @team.team_logo.url(:medium) %>
</div>
<div>
<% @team.players.each do |player| %>
<p><%= player.first_name %> <%= player.last_name %></p>
<% end %>
<%= link_to 'invite new players - not working - invite players path' %>
</div>
| <h1>
<%= @team.name %>
</h1>
<div>
<%= image_tag @team.team_logo.url(:medium) %>
</div>
<div>
<% @team.games.each do |game| %>
<p><%= game.game_time.strftime("%m/%d/%y at %l:%M %p") %> @ <%= link_to game.location.name, location_path(game.location) %></p>
<% end %>
</div>
<div>
<% @team.players.each do |... | Add game times to show view | Add game times to show view
| HTML+ERB | mit | chi-fiddler-crabs-2015/TeamGenie,chi-fiddler-crabs-2015/TeamGenie,chi-fiddler-crabs-2015/TeamGenie |
1e073e0ef231ff718a8ab3c7f247581ac890c947 | app/views/users/edit.html.erb | app/views/users/edit.html.erb | <% content_for :scripts do %>
<%= javascript_include_tag 'users' %>
<% end %>
<h3>Editing profile</h3>
<div id="request_notification_permission">
<%= link_to "", "#" %>
<div id="notification_not_supported" style="display: none">Note: notifications are not supported by your browser.</div>
</div>
<div class="row... | <% content_for :scripts do %>
<%= javascript_include_tag 'users' %>
<% end %>
<h3>Editing profile</h3>
<div class="row">
<div class="col-md-6 col-sm-10">
<%= render 'form' %>
</div>
</div>
<%= link_to 'Back', current_user %>
| Remove notification permission from edit user | Remove notification permission from edit user
| HTML+ERB | mit | potomak/tomatoes,tomatoes-app/tomatoes,potomak/tomatoes,tomatoes-app/tomatoes,potomak/tomatoes,tomatoes-app/tomatoes,tomatoes-app/tomatoes |
2493d1b921f6949a32e3bff792d2c3222e66ff45 | app/views/users/show.html.erb | app/views/users/show.html.erb | This is where each individual user profile info will go. Will have to make it so that users can only see their own profile.
<p><%= link_to "Edit", edit_user_path %></p>
<p> Username: <%= @user.username%></p>
<p> Email: <%= @user.email%></p>
<p> Password: <%= @user.password%></p> | This is where each individual user profile info will go. Will have to make it so that users can only see their own profile.
<p><%= link_to "Edit", edit_user_path %> | <%= link_to "Delete", @user, method: :delete %></p>
<p> Username: <%= @user.username%></p>
<p> Email: <%= @user.email%></p>
<p> Password: <%= @user.pa... | Add clickable link that allows users to delete their own profile | Add clickable link that allows users to delete their own profile
| HTML+ERB | mit | benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop |
544e832da718a09ed1808d42c167287ce68add58 | app/views/users/show.html.erb | app/views/users/show.html.erb | <% title "Pictures by #{@user.name}" %>
<% set_meta_tags og: { image: @user.avatar.thumb_url('100x100'), type: 'profile', profile: { username: @user.username } } %>
<%= render 'header' %>
<div class="row mt-4">
<div class="col-sm">
<table class="table">
<tr>
<th scope="row">Joined</th>
<td... | <% title "Pictures by #{@user.name}" %>
<% set_meta_tags og: { image: @user.avatar.thumb_url('100x100'), type: 'profile', profile: { username: @user.username } } %>
<%= render 'header' %>
<div class="row mt-4">
<div class="col-sm">
<table class="table">
<tr>
<th scope="row">Joined</th>
<td... | Add overflow hidden to user description in profile | Add overflow hidden to user description in profile
| HTML+ERB | mit | vinc/pi.ctu.re,vinc/pi.ctu.re,vinc/pi.ctu.re |
0293e08314cf4bb33fe6aa6fbd4d73bba0d75421 | spec/dummy/app/views/layouts/application.html.erb | spec/dummy/app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<title><%= t("site.title", default: "Default Title") %></title>
<meta http-equiv="description" content="<%= t("site.meta_description", default: "") %>" />
<meta http-equiv="keywords" content="<%= t("site... | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<title><%= t("site.title", default: "Default Title") %></title>
<meta http-equiv="description" content="<%= t("site.meta_description", default: "") %>" />
<meta http-equiv="keywords" content="<%= t("site... | Fix integrate Katalyst::Navigation::HasNavigation in dummy app | Fix integrate Katalyst::Navigation::HasNavigation in dummy app
| HTML+ERB | mit | katalyst/koi,katalyst/koi,katalyst/koi |
0f6043d05f62fa98608473537b964eceef404b1d | app/views/badges/index.html.erb | app/views/badges/index.html.erb | <% provide(:title, "Badges") %>
<% provide(:description, "Get awarded for using the app. Compete with friends and people from across the UK.") %>
<div class="container">
<h1>Badges</h1>
<table class="table table-striped">
<% @badges.each do |badge| %>
<tr><td><%= link_to badge, badge.url %></td></tr>
<% end ... | <% provide(:title, "Badges") %>
<% provide(:description, "Get awarded for using the app. Compete with friends and people from across the UK.") %>
<div class="container">
<h1>Badges</h1>
<span title="Commuter: 5 days in a row in the morning" class="btn-warning border-danger p-4 display-1 mb-5 text-center d-block" st... | Add initial badge design ideas | Add initial badge design ideas
| HTML+ERB | mit | Train-Track/Train-Track-Web,Train-Track/Train-Track-Web,Train-Track/Train-Track-Web |
cb269a3784efb16e2f6f0b69acab824848d064c9 | app/views/sessions/new.html.erb | app/views/sessions/new.html.erb |
<div class = "inner">
<ul class='errors'></ul>
<!-- ADD REMOTE TRUE TO FORM BELOW TO AJAXIFY! -->
<%= form_for :session, url: sessions_path do |f| %>
<%= f.email_field :email, placeholder: "Email" %>
<%= f.password_field :password, placeholder: "Password" %>
<div>
<%= f.submit "Log In" %>... |
<div className="row">
<div className="col-sm-1" />
<div className="col-sm-10">
<div>
<div className="panel panel-default">
<div className="panel-heading">
<h3 className="panel-title">
Login
</h3>
</div>
<div className="panel-body">
<ul class='errors'></ul>
... | Add bootstrap divs to login form | Add bootstrap divs to login form
| HTML+ERB | mit | danmckeon/crconnect,danmckeon/crconnect,danmckeon/crconnect |
a4978b0646ac7742341c5442033ee62519b73dcd | templates/default/fulldoc/html/full_list_file.erb | templates/default/fulldoc/html/full_list_file.erb | <% n = 1 %>
<% @items.each do |item| %>
<li class="r<%= n %>"><%= link_file item %></li>
<% n = n == 2 ? 1 : 2 %>
<% end %> | <% n = 1 %>
<% @items.each do |item| %>
<li class="r<%= n %>"><span class="object_link"><%= link_file item %></a></li>
<% n = n == 2 ? 1 : 2 %>
<% end %> | Fix minor issue with File links | Fix minor issue with File links
| HTML+ERB | mit | herosky/yard,lsegal/yard,thomthom/yard,amclain/yard,iankronquist/yard,thomthom/yard,alexdowad/yard,jreinert/yard,lsegal/yard,lsegal/yard,alexdowad/yard,herosky/yard,thomthom/yard,iankronquist/yard,ohai/yard,alexdowad/yard,jreinert/yard,jreinert/yard,iankronquist/yard,ohai/yard,amclain/yard,amclain/yard,herosky/yard,oha... |
b172762ddab2af61c1a6d2197c398846b2b8af99 | app/views/images/show.html.erb | app/views/images/show.html.erb | <p id="notice"><%= notice %></p>
<div>
<%= link_to 'Edit', edit_image_path(@image) %> |
<%= link_to 'Back', images_path %>
</div>
<div class="pure-u-1">
<div class="l-box">
Uploaded by <%= link_to @image.user.username, user_path(@image.user) %>.
</div>
</div>
<div><%= image_tag @image.file.url, { id: 'fu... | <div class="pure-u-1">
<div class="l-box">
<p>
Uploaded by <%= link_to @image.user.username, user_path(@image.user) %>.
<%= link_to 'Edit', edit_image_path(@image) %>
</p>
<div><%= image_tag @image.file.url, { id: 'fullsize_image' } %></div>
</div>
</div>
| Remove back button, fix padding | Remove back button, fix padding
| HTML+ERB | mit | Margatroid/uploadstuffto.me,Margatroid/uploadstuffto.me |
514087e3e9b80d2d82dc5941788b10f20634f48d | templates/epel_pkgs.erb | templates/epel_pkgs.erb | fuse-sshfs
rrdtool-ruby
ruby-augeas
ruby-RRDtool
ruby-mysql
rubygem-actionmailer
rubygem-actionpack
rubygem-activerecord
rubygem-activeresource
rubygem-activesupport
rubygem-rails
rubygem-rake
rubygem-rspec
rubygem-sqlite3-ruby
rubygem-stomp
rubygems
tmux
| fuse-sshfs
rrdtool-ruby
ruby-augeas
ruby-irb
ruby-rdoc
ruby-RRDtool
ruby-mysql
rubygem-actionmailer
rubygem-actionpack
rubygem-activerecord
rubygem-activeresource
rubygem-activesupport
rubygem-rails
rubygem-rake
rubygem-rack
rubygem-rack-test
rubygem-rspec
rubygem-sinatra
rubygem-sqlite3-ruby
rubygem-stomp
rubygems
tmu... | Fix the console stack trace | Fix the console stack trace
| HTML+ERB | apache-2.0 | samuelson/pltraining-localrepo,joshsamuelson/pltraining-localrepo,puppetlabs/pltraining-localrepo,puppetlabs/pltraining-localrepo |
32118bd656697655a454127ae6c682fb1a52a993 | app/views/users/_form.html.erb | app/views/users/_form.html.erb | <%= simple_form_for(@user, url: verification_path(@user)) do |f| %>
<div class="row">
<div class="col-6">
<%= f.input :email %>
<%= f.input :salutation, collection: User::HONORIFICS, include_blank: false %>
<%= f.input :first_name %>
<%= f.input :last_name %>
<%= f.input :maiden_name... | <%= simple_form_for(@user, url: verification_path(@user)) do |f| %>
<div class="row">
<div class="col-6">
<%= f.input :email %>
<%= f.input :salutation, collection: User::HONORIFICS, include_blank: false %>
<%= f.input :first_name %>
<%= f.input :last_name %>
<%= f.input :maiden_name... | Change to custom label for maiden name field on users form | Change to custom label for maiden name field on users form
| HTML+ERB | mit | maebeale/doublehranch,rubyforgood/doublehranch,rubyforgood/doublehranch,maebeale/doublehranch,maebeale/doublehranch,rubyforgood/doublehranch |
4f84ec8a12479ec8ca96e4a143696b737dba37ca | app/views/admin_spam_addresses/index.html.erb | app/views/admin_spam_addresses/index.html.erb | <% @title = 'Spam Addresses' %>
<h1><%= @title %></h1>
<div class="row">
<div class="span12">
<%= form_for(@spam_address, :html => { :class => 'form-inline' }) do |f| -%>
<%= error_messages_for @spam_address %>
<%= f.text_field :email, :class => 'input-xxlarge', :placeholder => 'En... | <% @title = 'Spam Addresses' %>
<h1><%= @title %></h1>
<div class="row">
<div class="span12">
<p>
Incoming mail that gets redirected to the holding pen will be
rejected if it is sent <code>To:</code> an address on this
list.
</p>
</div>
</div>
<hr />
<div ... | Add explanation text to /admin/spam_addresses | Add explanation text to /admin/spam_addresses
| HTML+ERB | agpl-3.0 | 4bic/alaveteli,TEDICpy/QueremoSaber,4bic/alaveteli,andreicristianpetcu/alaveteli_old,petterreinholdtsen/alaveteli,petterreinholdtsen/alaveteli,4bic/alaveteli,nzherald/alaveteli,petterreinholdtsen/alaveteli,datauy/alaveteli,andreicristianpetcu/alaveteli,petterreinholdtsen/alaveteli,Br3nda/alaveteli,TEDICpy/QueremoSaber,... |
6670fde7e5a153f3f3343f0d75950fb90e49d408 | app/views/products/_product_features.html.erb | app/views/products/_product_features.html.erb | <% unless product.features.empty? -%>
<div class="product_features">
<% product.features.each do |feature| -%>
<p class="<%= feature.class_name %>">
<%= feature.name %>:
<% case feature.ui_type
when Feature::TEXT_FIELD %>
<input type="text" name="feature[<%= feature.id %>]" />
<% when Feature:... | <% unless product.features.empty? -%>
<div class="product_features">
<% product.features.each do |feature| -%>
<p class="<%= feature.class_name %>">
<%= feature.name %>:
<% case feature.ui_type
when Feature::TEXT_FIELD %>
<input type="text" name="feature[<%= feature.id %>]" />
<% when Feature:... | Remove admin link from frontend | Remove admin link from frontend
| HTML+ERB | mit | ianfleeton/zmey,ianfleeton/zmey,ianfleeton/zmey,ianfleeton/zmey |
1bf7866c1c364dab74d2ffbe9dd1ffa573e00f4f | test/dummy/app/views/layouts/application.html.erb | test/dummy/app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Shipit</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<%= yield %>
</body>
</html>
| <!DOCTYPE html>
<html>
<head>
<title>Shipit</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>... | Add meta tag to application layout | Add meta tag to application layout
| HTML+ERB | mit | Shopify/shipit-engine,perobertson/shipit-engine,perobertson/shipit-engine,Shopify/shipit-engine,Shopify/shipit-engine,Shopify/shipit-engine,Shopify/shipit-engine,perobertson/shipit-engine,perobertson/shipit-engine,perobertson/shipit-engine |
9cac1cafc483b80998b7cf1ee17aa586d802ad97 | app/views/bot_instances/_list_item.html.erb | app/views/bot_instances/_list_item.html.erb | <li id="instance-<%= instance.id %>" class="bot-instance-li">
<code><%= instance.location %></code>
<em>(alive: <span class="instance-status <%= instance.status_class %>" title="<%= instance.last_ping %>">
<%= instance.last_ping.nil? ? "never" : time_ago_in_words(instance.last_ping) ... | <li id="instance-<%= instance.id %>" class="bot-instance-li">
<code><%= instance.location %></code>
<em>(alive: <span class="instance-status <%= instance.status_class %>" title="<%= instance.last_ping %>">
<%= instance.last_ping.nil? ? "never" : time_ago_in_words(instance.last_ping) ... | Remove owner (info is in location), only show version if present | Remove owner (info is in location), only show version if present | HTML+ERB | cc0-1.0 | NobodyNada/Redunda,NobodyNada/Redunda,NobodyNada/Redunda,SOBotics/Redunda,SOBotics/Redunda,SOBotics/Redunda |
969d1183e3b4ae71b09894e57c91ebf65baf79f1 | templates/interfaces.erb | templates/interfaces.erb | # File managed by puppet
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
<% if auto.any? %>
auto <%= auto.join(" ") %>
<% end %>
<% mappings.sort.each do |name_a... | # File managed by puppet
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
<% if auto.any? %>
auto <%= auto.join(" ") %>
<% end %>
<% mappings.sort.each do |name_a... | Handle multiple options with same name correctly | Handle multiple options with same name correctly
If the interface should have several entries with the same name,
only the last one in the hash made it into the config file. This
change enables the value to be an array which is then expanded
to multiple lines. Now one can write
'up' => [ 'ip route add 10.0.0.0/8 via 1... | HTML+ERB | mit | attachmentgenie/attachmentgenie-network,attachmentgenie/attachmentgenie-network,varunarya10/attachmentgenie-network,varunarya10/attachmentgenie-network |
489f8ad90e228bc1d87c6094f3856b1eab85bc8a | app/views/groups/show.html.erb | app/views/groups/show.html.erb | <div class="container">
<div class="row-fluid">
<article class="span12">
<h3><%= @group.name %></h3>
<p>is meeting at <strong><%= @group.address %></strong><br>
on <strong><%= @group.time %>.</strong>
</p>
<p>There are <strong><%= @group.number_of_members %></strong> members.</p>
</article>
</div>
... | <div class="container">
<div class="row-fluid">
<article class="span12">
<h3><%= @group.name %></h3>
<p>is meeting at <strong><%= @group.address %></strong><br>
on <strong><%= @group.time %>.</strong>
</p>
<p>We prefer to have up to <strong><%= @group.number_of_members %></strong> members.</p>
</art... | Change statement of max participants | Change statement of max participants
| HTML+ERB | agpl-3.0 | rubycorns/rorganize.it,dondonz/rorganize.it,dondonz/rorganize.it,rubycorns/rorganize.it,dondonz/rorganize.it,rubycorns/rorganize.it,dondonz/rorganize.it,rubycorns/rorganize.it |
e66c53a4a7653f52f55160becf526c1498393040 | app/views/robots_txt/index.erb | app/views/robots_txt/index.erb | # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file
#
User-agent: *
Disallow: /auth/cas
Disallow: /auth/facebook/callback
Disallow: /auth/twitter/callback
Disallow: /auth/google/callback
Disallow: /auth/yahoo/callback
Disallow: /auth/github/callback
Disallow: /auth/cas/ca... | # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file
#
User-agent: *
Disallow: /auth/cas
Disallow: /auth/facebook/callback
Disallow: /auth/twitter/callback
Disallow: /auth/google/callback
Disallow: /auth/yahoo/callback
Disallow: /auth/github/callback
Disallow: /auth/cas/ca... | Add /badges to robots.txt for now, we don't have a crawlable view so it's better to exclude it. | Add /badges to robots.txt for now, we don't have a crawlable view so
it's better to exclude it.
| HTML+ERB | mit | natefinch/discourse,natefinch/discourse |
a2d7c3e26702f86d0fed33816c132a601ea529cc | app/views/events/index.html.erb | app/views/events/index.html.erb | <div class="row">
<div class="col-xs-12">
<div class="list-group">
<%= render @events %>
</div>
</div>
</div>
| <div class="row">
<div class="col-xs-12">
<div class="row">
<div class="col-xs-2">
<%= link_to 'Add an Event', new_event_path, class: 'btn btn-default' %>
</div>
</div>
<br />
<div class="row">
<div class="col-xs-12">
<div class="list-group">
<%= render @eve... | Add link to add an event | Add link to add an event
| HTML+ERB | agpl-3.0 | where2help/where2help,where2help/where2help,where2help/where2help |
33bce597360c1553bd4224f4d5e9445beb0a4a9d | app/views/search/_form.html.erb | app/views/search/_form.html.erb | <form action="/search" method="get" accept-charset="utf-8" class="search-header search-header-2" role="search">
<fieldset>
<legend class="visuallyhidden">Search gov.uk</legend>
<% if @count_results && @count_results.any? %>
<label for="search-main" ><%= pluralize(@count_results.length, "result", "resul... | <form action="/search" method="get" accept-charset="utf-8" class="search-header search-header-2" role="search">
<fieldset>
<legend class="visuallyhidden">Search gov.uk</legend>
<label for="search-main">
<h1>
<%- if @count_results && @count_results.any? -%>
<%= pluralize(@count_results... | Put an H1 inside the search label | Put an H1 inside the search label
This adds context to the page for assistive technology users, and allows
them to easily find where they are.
| HTML+ERB | mit | alphagov/frontend,alphagov/frontend,alphagov/frontend,alphagov/frontend |
7f0a31ac4fab1a9fd9d143e0629916d8688c5c4f | app/views/govuk_component/previous_and_next_navigation.raw.html.erb | app/views/govuk_component/previous_and_next_navigation.raw.html.erb | <% if local_assigns.include?(:next_page) || local_assigns.include?(:previous_page) %>
<nav
class="govuk-previous-and-next-navigation"
role="navigation"
aria-label="<%= t("govuk_component.previous_and_next_navigation.pagination", default: "Pagination") %>"
>
<ul class="group">
<% if local_assigns.include?(:p... | <% if local_assigns.include?(:next_page) || local_assigns.include?(:previous_page) %>
<nav
class="govuk-previous-and-next-navigation"
role="navigation"
aria-label="<%= t("govuk_component.previous_and_next_navigation.pagination", default: "Pagination") %>"
>
<ul class="group">
<% if local_assigns.include?(:p... | Fix invalid value for rel attribute | Fix invalid value for rel attribute
There is a typo in the previous_and_next_navigation component
as the "previous" link has an invalid link type
[https://www.w3.org/TR/html5/links.html#linkTypes].
This corrects `rel="previous"` to the correct `rel="prev"`.
| HTML+ERB | mit | alphagov/static,alphagov/static,alphagov/static |
5ea1af9678ab4aa82545e43c88ae866864dd535d | views/index.erb | views/index.erb | <h2>Welcome to the Pizza Shop!</h2>
<button class="btn btn-primary btn-lg" onclick="someThing()">Click Me</button>
<div class="container">
<div class="row">
<% @products.each do |product| %>
<div class="col-md-3">
<p><%= product.title %></p>
<image src="<%= product.path_to_image %>" width="100%" height... | <h2>Welcome to the Pizza Shop!</h2>
<button class="btn btn-primary btn-lg" onclick="someThing()">Click Me</button>
<div class="container">
<div class="row">
<% @products.each do |product| %>
<div class="col-md-3">
<p><%= product.title %></p>
<image src="<%= product.path_to_image %>" width="100%" height... | Add button to each product | Add button to each product
| HTML+ERB | mit | vadim50/PizzaShop,vadim50/PizzaShop,vadim50/PizzaShop |
d8e5c510c3c7fceb6c07801ab4bc1dad5e2aa692 | views/index.erb | views/index.erb | <h2>Latest posts:</h2>
<br>
<% @result.each do |post| %>
<p>
<em><%=post['content'] %></em>
<br><br>
Added at <%=post['created_date'] %>
<br>
<a href="/post/<%=post['id'] %>">Comments</a>
</p>
<hr>
<% end %> | <h2>Latest posts:</h2>
<br>
<% @result.each do |post| %>
<p>
<em><%=post['content'] %></em>
<br><br>
Added at <%=post['created_date'] %>
<br>
<a href="/details/<%=post['id'] %>">Comments</a>
</p>
<hr>
<% end %> | Rename /post/ .. to /details/.. | Rename /post/ .. to /details/..
| HTML+ERB | mit | N-leaner/Lepro,N-leaner/Lepro |
22e0c18b207bc3ca52c12ffbb9f2cd8359ca4ee1 | lib/libra2/app/views/submission/_side_bar.html.erb | lib/libra2/app/views/submission/_side_bar.html.erb | <div id="sidebar" class="col-xs-12 col-sm-3 col-sm-pull-9">
<h2>Files</h2>
<p class="file-notice"><%= embargo_notice(@work) %></p>
<% if allow_file_access(@work) %>
<% if show_proof_embargo_notice(@work) %>
<div class="proof-file-notice">
<p class="preview-warning">
The files listed below will <b>NOT</... | <div id="sidebar" class="col-xs-12 col-sm-3 col-sm-pull-9">
<h2>Files</h2>
<p class="file-notice"><%= embargo_notice(@work) %></p>
<% if allow_file_access(@work) %>
<% if show_proof_embargo_notice(@work) %>
<div class="proof-file-notice">
<p class="preview-warning">
The files listed below will <b>NOT</... | Set filename on download to the file label. | Set filename on download to the file label.
| HTML+ERB | apache-2.0 | uvalib/Libra2,uvalib/Libra2,uvalib/Libra2,uvalib/Libra2,uvalib/Libra2 |
ef8e06316fcc2922c46df92c2891daf6e7e8d165 | app/views/layouts/_nav_links_for_auth.html.erb | app/views/layouts/_nav_links_for_auth.html.erb | <% if user_signed_in? %>
<li><%= link_to 'Edit account', edit_user_registration_path %></li>
<li><%= link_to 'Sign out', destroy_user_session_path, :method=>'delete' %></li>
<% else %>
<li><%= link_to 'Sign in', new_user_session_path %></li>
<li><%= link_to 'Sign up', new_user_registration_path %></li>
<% end %... | <% if user_signed_in? %>
<li><%= link_to 'Edit account', edit_user_registration_path %></li>
<li><%= link_to 'Sign out', destroy_user_session_path, :method=>'delete' %></li>
<% else %>
<li><%= link_to 'Sign in', new_user_session_path %></li>
<li><%= link_to 'Sign up', new_user_registration_path %></li>
<% end %... | Remove Users Link From Navigation If Volunteer | Remove Users Link From Navigation If Volunteer
| HTML+ERB | mit | dreamingblackcat/aungsayin,dreamingblackcat/aungsayin,dreamingblackcat/aungsayin |
a7e9389438173663e984774d9cf71d8164fc2e7e | app/views/stickies/renders/hot_stickies.js.erb | app/views/stickies/renders/hot_stickies.js.erb | $('#<%= view_category %>_stickies').html("<%= j render(partial: '/stickies/hot_stickies', locals: {stickies: stickies, view_category: view_category, content_id: content_id}) %>");
| $('#<%= view_category %>-stickies').html("<%= j render(partial: '/stickies/hot_stickies', locals: {stickies: stickies, view_category: view_category, content_id: content_id}) %>");
| Fix hot stickies render bug | :wrench: Fix hot stickies render bug
| HTML+ERB | agpl-3.0 | lepo-project/lepo,lepo-project/lepo,lepo-project/lepo |
df76f85a2d34b449ab9a3b48fdc422cc2a921ff9 | app/views/kawara/articles/_list.html.erb | app/views/kawara/articles/_list.html.erb | <% articles.each do |article| %>
<div>
<h1><%= link_to article.title, article %></h1>
<p><%= article.subtitle %></p>
<p>Category: <%= link_to article.category_name, article.category %></p>
<p>
Tags:
<% article.tags.each do |tag| %>
<span><%= link_to tag.name, tag %></span>
<... | <% articles.each do |article| %>
<div>
<h1><%= link_to article.title, article %></h1>
<p><%= article.subtitle %></p>
<% if article.category %>
<p>Category: <%= link_to article.category_name, article.category %></p>
<% end %>
<p>
Tags:
<% article.tags.each do |tag| %>
<sp... | Fix could not show no category article | Fix could not show no category article
| HTML+ERB | mit | gitobi/kawara,gitobi/kawara,gitobi/kawara |
3d1e3861c84f1106558af7d1a00f9d29f1708f94 | app/views/game_over.html.erb | app/views/game_over.html.erb | <div><h1>GAME OVER WOMP WOMP WOMP :(</h1></div>
<div><h2>Final Score: <%=session[:score] || 0%>/<%=session[:times] || 0%></h2></div> | <div><h1>GAME OVER WOMP WOMP WOMP :(</h1></div>
<div><h2>Final Score: <%=session[:score] || 0%>/<%=session[:times] || 0%></h2></div>
<div><a href="/topics">Play Again</a></div> | Add replay button to game over screen | Add replay button to game over screen
- it is not in a pretty form...YET
- links back to /topics route (start game page)
| HTML+ERB | mit | tweet-squared/Tweets-Squared-App,tweet-squared/Tweets-Squared-App,tweet-squared/Tweets-Squared-App |
85944818d50372fd2f4a76522020eb0569ef02f4 | app/views/courses/_list.html.erb | app/views/courses/_list.html.erb | <%- courses.each_with_index do |course, i| %>
<div class="course <%= 'course-first' if i == 0 %>">
<div class="course-title"><%= link_to course.title, edit_course_path(course) %></div>
</div>
<%- end %>
| <%- courses.each_with_index do |course, i| %>
<div class="course <%= 'course-first' if i == 0 %>">
<div class="course-logo"></div>
<div class="course-title"><%= link_to course.title, edit_course_path(course) %></div>
</div>
<%- end %>
| Add Placeholder for Course Logo | Add Placeholder for Course Logo
Update the Club view for Courses listing to include a placeholder for
the Course logo (for future use).
| HTML+ERB | mit | jekhokie/IfSimply,jekhokie/IfSimply,jekhokie/IfSimply |
74fdf3d488418064008e6f261dea4155c15947d0 | app/views/questions/new.html.erb | app/views/questions/new.html.erb | <%= form_for @question do |f| %>
Question: <%= f.text_field :title %><br />
Description: <%= f.text_area :content %><br />
<%= f.submit %>
<% end %>
<% if flash[:notice] %>
<p class='errors'>
Errors:
<%= flash[:notice] %></p>
<% end %> | <%= form_for @question do |f| %>
Question: <%= f.text_field :title %><br />
Description: <%= f.text_area :content %><br />
<%= f.fields_for @tag do |o| %>
<%= o.label :tags %>
<%= o.text_field :name, placeholder: "seperated by commas" %>
<%= f.submit "Submit" %>
<% end %>
<% end %>
<% if flash[:notice] %... | Add area for creating tags in new question form | Add area for creating tags in new question form
| HTML+ERB | mit | jeder28/stack_overphil,jeder28/stack_overphil,jeder28/stack_overphil |
98934d1fcc60485c0f8d6174fdcc2a250ed6c37c | app/views/trails/_river.html.erb | app/views/trails/_river.html.erb | <% @comments.each do |comment| %>
<div class="vote-container">
<% if current_user %>
<%= link_to image_tag("snowflake.png", class: "snowflake"), {:controller => "votes",
:action => "create",
:comment_id => comment.id,
:user_id => current_user.id,
:value => "1"},
... | <% @comments.each do |comment| %>
<div class="vote-container">
<% if current_user %>
<%= link_to image_tag("snowflake.png", class: "snowflake"), {:controller => "votes",
:action => "create",
:comment_id => comment.id,
:user_id => current_user.id,
:value => "1"},
... | Revise comment coontainer paragraph to include delete line | Revise comment coontainer paragraph to include delete line
| HTML+ERB | mit | zlschatz/Mountain-Chat-Rails-App,zlschatz/Mountain-Chat-Rails-App,zlschatz/Mountain-Chat-Rails-App |
2e41c7d86d734a9148876ff8a4167c5bf7d2430e | jobs/mysql/templates/galera_healthcheck_config.yaml.erb | jobs/mysql/templates/galera_healthcheck_config.yaml.erb | ---
Port: <%= p('cf_mysql.mysql.galera_healthcheck.port') %>
PidFile: '/var/vcap/sys/run/galera-healthcheck/galera-healthcheck.pid'
MysqldPath: '/var/vcap/packages/mariadb/bin/mysqld'
DB:
User: <%= p('cf_mysql.mysql.admin_username') %>
Password: <%= p('cf_mysql.mysql.admin_password') %>
# This is the config that bo... | ---
Port: <%= p('cf_mysql.mysql.galera_healthcheck.port') %>
PidFile: '/var/vcap/sys/run/galera-healthcheck/galera-healthcheck.pid'
MysqldPath: '/var/vcap/packages/mariadb/bin/mysqld'
DB:
User: 'galera-healthcheck'
Password: '<%= p('cf_mysql.mysql.galera_healthcheck.db_password') %>'
# This is the config that bosh ... | Make galera-healthcheck use least privlege user in mysql | Make galera-healthcheck use least privlege user in mysql
[finishes #128922163]
Signed-off-by: Urvashi Reddy <3d94a25c24eb5a1c566963b366976de393e5819d@pivotal.io>
| HTML+ERB | apache-2.0 | cloudfoundry/cf-mysql-release,cloudfoundry/cf-mysql-release,cloudfoundry/cf-mysql-release,cloudfoundry/cf-mysql-release |
dfd22add0aba69e364b56a2a90273249b8036894 | app/views/catalog/_facet_pagination.html.erb | app/views/catalog/_facet_pagination.html.erb | <div class="prev_next_links btn-group pull-left">
<%= link_to_previous_page @pagination, raw(t('views.pagination.previous')), params: search_state.to_h, param_name: blacklight_config.facet_paginator_class.request_keys[:page], class: 'btn btn-link', data: { ajax_modal: "preserve" } do %>
<%= content_tag :span, raw... | Fix floating </span> tag when buttons are disabled | Fix floating </span> tag when buttons are disabled
| HTML+ERB | apache-2.0 | avalonmediasystem/avalon,avalonmediasystem/avalon,avalonmediasystem/avalon,avalonmediasystem/avalon | |
143d7017a895bc8d9d1907af726ec96059924b11 | app/views/tag_subscription/_listing.html.erb | app/views/tag_subscription/_listing.html.erb | <thead>
<tr>
<th></th>
<th width="15%">Name</th>
<th width="70%">Tags</th>
<th width="10%">Visible</th>
</tr>
</thead>
<tfoot>
<tr>
<td></td>
<td colspan="3">
<%= submit_tag "Save" %>
<%= button_to_remote "Add", :url => {:controller => "tag_subscription", :action => "create"} ... | <thead>
<tr>
<th></th>
<th width="15%">Name</th>
<th width="70%">Tags</th>
<th width="10%">Visible</th>
</tr>
</thead>
<tfoot>
<tr>
<td></td>
<td colspan="3">
<%= submit_tag "Save" %>
<%= button_to_remote "Add", :url => {:controller => "tag_subscription", :action => "create"} ... | Tag subscription management panel is glitchy | r1836: Tag subscription management panel is glitchy
--HG--
branch : moe
extra : convert_revision : svn%3A2d28d66d-8d94-df11-8c86-00306ef368cb/trunk/moe%40159
| HTML+ERB | isc | euank/moebooru-thin,nanaya/moebooru,nanaya/moebooru,euank/moebooru-thin,moebooru/moebooru,euank/moebooru-thin,nanaya/moebooru,nanaya/moebooru,euank/moebooru-thin,moebooru/moebooru,nanaya/moebooru,moebooru/moebooru,moebooru/moebooru,moebooru/moebooru,euank/moebooru-thin |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.