<%= @user.name %>

Next family member's payments...

Your payments include the following...

      <% @user.payments.each do |payment| %>

$<%= payment.amount %> spent at <%= payment.store%> on <%= payment.created_at.month %>/<%= payment.created_at.day %>/<%= payment.created_at.year %>

      <% end %>

Add list of payments to user show page

Add list of  payments to user show page


<% title _('Prometheus 2.0 - Group «%s»') % @group.name %>

    <%= _('Group') %> :: <%= @group.name %>

  <% @srpms.each do |srpm| %>

        <%= link_to srpm.name, srpm_path(@branch, srpm), :class => 'news', :title => _('detailed information about the package') %>

      <%= _('Current version:') %>
      <%= "#{srpm.version}-#{srpm.release}" %>

      <%= _('Build time:') %>
      <%= "#{srpm.buildtime} (#{time_ago_in_words(srpm.buildtime)} #{_('ago')})" %>

      <%= _('Summary:') %>
      <%= srpm.summary %>

      <%= _('Changes:') %>

        <%= simple_format(srpm.changelogtext) %>

  <% end %>

<% title _('Prometheus 2.0 - Group «%s»') % @group.full_name %>

    <%= _('Group') %> :: <%= @group.full_name %>

  <% @srpms.each do |srpm| %>

        <%= link_to srpm.name, srpm_path(@branch, srpm), :class => 'news', :title => _('detailed information about the package') %>

      <%= _('Current version:') %>
      <%= "#{srpm.version}-#{srpm.release}" %>

      <%= _('Build time:') %>
      <%= "#{srpm.buildtime} (#{time_ago_in_words(srpm.buildtime)} #{_('ago')})" %>

      <%= _('Summary:') %>
      <%= srpm.summary %>

      <%= _('Changes:') %>

        <%= simple_format(srpm.changelogtext) %>

  <% end %>

Fix show full group name

Fix show full group name


<% if user_logged_in? %>

Welcome <%= current_user.name %>

News Feed

  <%= page_entries_info @games %>
  <%= div_for @games, :class => 'media' do |game| %>

<%= link_to game.versus, tournament_game_path(game.tournament_id, game) %>

      <% if game.confirmed? %>Confirmed<% else %>Unconfirmed<% end %> game for <%= link_to game.tournament.name, tournament_path(game.tournament_id) %> on <%= time_tag game.updated_at %>.

  <% end %>
  <%= paginate @games %>
<% else %>

Ladder

Create and manage tournaments for pool, foosball or anything. Compete against your friends and colleagues.

<%= link_to "Login to start", session_path, :class => 'btn btn-primary btn-large' %>

<% end %>

<% if user_logged_in? %>

Welcome <%= current_user.name %>

News Feed

  <%= page_entries_info @games %>
  <%= div_for @games, :class => 'media' do |game| %>
    <%= link_to tournament_game_path(game.tournament_id, game), :class => 'pull-left' do %>
      <%= gravatar_image_tag game.game_ranks[0].user.email, 64 %>
    <% end %>

<%= link_to game.versus, tournament_game_path(game.tournament_id, game) %>

      <% if game.confirmed? %>Confirmed<% else %>Unconfirmed<% end %> game for <%= link_to game.tournament.name, tournament_path(game.tournament_id) %> on <%= time_tag game.updated_at %>.

  <% end %>
  <%= paginate @games %>
<% else %>

Ladder

Create and manage tournaments for pool, foosball or anything. Compete against your friends and colleagues.

<%= link_to "Login to start", session_path, :class => 'btn btn-primary btn-large' %>

<% end %>

Add gravatar images to news feed

Add gravatar images to news feed


Dashboard

Latest Updates

        <%= render :partial => 'revision', :collection => @revisions %>

Overall

    <%= progress_bar_for @overall_progress %>

Friendly URLs

    <%= progress_bar_for @friendly_url_progress %>

Spreadsheet Mapping Exercise

    <%= progress_bar_for @mapping_exercise_progress %>

Crawler

    <%= progress_bar_for @crawler_progress %>

Apache Logs

    <%= progress_bar_for @apache_logs_progress %>

Dashboard

Overall

    <%= progress_bar_for @overall_progress %>

Friendly URLs

    <%= progress_bar_for @friendly_url_progress %>

Spreadsheet Mapping Exercise

    <%= progress_bar_for @mapping_exercise_progress %>

Crawler

    <%= progress_bar_for @crawler_progress %>

Apache Logs

    <%= progress_bar_for @apache_logs_progress %>

Latest Updates

        <%= render :partial => 'revision', :collection => @revisions %>

Swap around the columns. @psd says it looks more Github-by :-)


Question: avg(last_1h):avg:aws.ec2.cpuutilization{name:micro-run-pivotal-io} > 80

Micro has been using more than 80% of its available compute units on average over the last 30 minutes. <%= bosh_pagerduty %>

<%= environment %> Micro: High usage of available EC2 Compute Units

Question: avg(last_1h):avg:aws.ec2.cpuutilization{name:microbosh/0} > 80

Change the alert of microbosh vm name due to bosh-init migration


<%
  attachments = AttachmentsPresenter.new(document)
  title = t('document.headings.attachments', count: attachments.length) unless local_assigns.include?(:title)
  summary = document.summary unless local_assigns.include?(:summary)
  published_on = '' unless local_assigns.include?(:published_on)
%>

  <% if attachments.any? %>

<%= title %>

          <% attachments.attachments.each do |attachment| %>
            <%= render partial: "documents/attachment",
                        object: attachment,
                        locals: { alternative_format_contact_email: document.alternative_format_contact_email } %>
          <% end %>

  <% else %>

<%= summary %>

  <% end %>

<%
  attachments = AttachmentsPresenter.new(document)
  title = t('document.headings.attachments', count: attachments.length) unless local_assigns.include?(:title)
  published_on = '' unless local_assigns.include?(:published_on)
%>

  <% if attachments.any? %>

<%= title %>

          <% attachments.attachments.each do |attachment| %>
            <%= render partial: "documents/attachment",
                        object: attachment,
                        locals: {
                          alternative_format_contact_email: document.alternative_format_contact_email,
                          published_on: published_on} %>
          <% end %>

  <% else %>

<%= summary %>

  <% end %>

Fix published date on full width attachments


Invite people to the event:

  <%= semantic_form_for(@invitation, html: { id: 'invitations' }) do |form| %>
    <%= form.inputs do %>

        <%= text_field_tag "invitation[invitee_attributes][name_or_email]",
          nil,
          'data-role' => 'invitation_name',
          placeholder: 'enter an email' %>

      <%= form.input :event_id, as: :hidden %>

      <%= form.semantic_fields_for :invitee do |invitee_form| %>
        <%= invitee_form.input :yammer_user_id,
          as: :hidden,
          input_html: { 'data-role' => 'yammer_user_id' } %>

        <%= invitee_form.input :yammer_group_id,
          as: :hidden,
          input_html: { 'data-role' => 'yammer_group_id' } %>
      <% end %>

      <%= form.action :submit, button_html: { id: "add-invitee" } %>
    <% end %>
  <% end %>

      <div id="copy-event-url" class="copy-event-url" data-event-url="<%= event_url(@event) %>">

        Copy Event URL

Invite people to the event:

  <%= semantic_form_for(@invitation, html: { id: 'invitations' }) do |form| %>
    <%= form.inputs do %>

        <%= text_field_tag "invitation[invitee_attributes][name_or_email]",
          nil,
          'data-role' => 'invitation_name',
          placeholder: 'enter an email',
          id: 'auto-complete' %>

      <%= form.input :event_id, as: :hidden %>

      <%= form.semantic_fields_for :invitee do |invitee_form| %>
        <%= invitee_form.input :yammer_user_id,
          as: :hidden,
          input_html: { 'data-role' => 'yammer_user_id' } %>

        <%= invitee_form.input :yammer_group_id,
          as: :hidden,
          input_html: { 'data-role' => 'yammer_group_id' } %>
      <% end %>

      <%= form.action :submit, button_html: { id: "add-invitee" } %>
    <% end %>
  <% end %>

      <div id="copy-event-url" class="copy-event-url" data-event-url="<%= event_url(@event) %>">

        Copy Event URL

Add back auto-complete id to fix style issue

* Removed #auto-complete to disable auto completion
* Guests have no access tokens so it doesn't work regardless
* As such, adding the id back re-enables shared stylesheets


Website-specific Components

<%= styleguide_section sections['link-list-primary'] do %>
  <%= render 'styleguide/shared/link_list_primary' %>
<% end %>

<%= styleguide_section sections['related categories'] do %>
  <% render 'shared/related_categories', categories: @categories %>
<% end %>

<%= styleguide_section sections['related link'] do %>
  <%= render 'shared/related_links', categories: @categories %>
<% end %>

<%= styleguide_section sections['Opt out bar'] do %>
  <%= render 'shared/opt_out_bar' %>
<% end %>

<%= styleguide_section sections['Primary Navigation'] do %>
  <%= render 'shared/primary_nav' %>
<% end %>

<%= styleguide_section sections['Footer Site Links'] do %>
  <%= render 'shared/footer_site_links', locals: %w(en) %>
<% end %>

<%= styleguide_section sections['Social Links'] do %>
  <%= render 'shared/social_links' %>
<% end %>

<%= styleguide_section sections['Footer Social Links'] do %>

    <%= render 'shared/footer_social_links' %>

<% end %>

<%= styleguide_section sections['home_contact'] do %>
    <%= render 'shared/home_contact' %>
<% end %>

<%= styleguide_section sections['contact'] do %>
  <%= render 'shared/contact' %>
<% end %>

Add component to the styleguide

Add component to the styleguide


Dear Customer,

Your order has been CANCELED.  Please retain this cancellation information for your records.

============================================================
Order Summary [CANCELED]
============================================================
<% @order.line_items.each do |item| %>
<%= item.variant.sku %> <%= item.variant.product.name %> <%= variant_options(item.variant) %> (<%= item.quantity %>) @ <%= number_to_currency item.price %> = <%= number_to_currency(item.price * item.quantity) %>
<% end %>
============================================================
Subtotal: <%= number_to_currency @order.item_total %>
<% @order.adjustments.eligible.each do |adjustment| %>
<%= "#{adjustment.label}: #{number_to_currency adjustment.amount}"%>
<% end %>
Order Total: <%= number_to_currency @order.total %>

Dear Customer,

Your order has been CANCELED.  Please retain this cancellation information for your records.

============================================================
Order Summary [CANCELED]
============================================================
<% @order.line_items.each do |item| %>
  <%= item.variant.sku %> <%= raw(item.variant.product.name) %> <%= raw(item.variant.options_text) -%> (<%=item.quantity%>) @ <%= number_to_currency item.price %> = <%= number_to_currency(item.price * item.quantity) %>
<% end %>
============================================================
Subtotal: <%= number_to_currency @order.item_total %>
<% @order.adjustments.eligible.each do |adjustment| %>
  <%= raw(adjustment.label) %> <%= number_to_currency(adjustment.amount) %>
<% end %>
Order Total: <%= number_to_currency(@order.total) %>

Make cancel email match changes in confirm email made by Radar in 5bef374

Fixes #1621


<!DOCTYPE html>

    <title>Trenton Business Hub</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />

    <%= stylesheet_link_tag theme_asset_path("css/main") %>
    <%= javascript_include_tag theme_asset_path("js/main.js") %>
    <%= raw the_head %>

<%= render "partials/nav" %>

<%= render "partials/article" %>

<%= render "partials/newsclipping" %>

    <%= render "partials/footer" %>

<!DOCTYPE html>

    <title>Trenton Business Hub</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />

    <link href="https://fonts.googleapis.com/css?family=Exo:600" rel="stylesheet">
    <%= stylesheet_link_tag theme_asset_path("css/main") %>
    <%= javascript_include_tag theme_asset_path("js/main.js") %>
    <%= raw the_head %>

<%= render "partials/nav" %>

<%= render "partials/article" %>

<%= render "partials/newsclipping" %>

    <%= render "partials/footer" %>

Add Google fonts api to article layout

Add Google fonts api to article layout


  <%= "#{I18n.t('.teams_page.title')} #{I18n.t(".teams.#{team.iso_code}")}" %>

    <%= I18n.t('.teams_page.select') %>
    <select id="teams-filter" class="chosen-select">
      <% teams.each do |v_team|%>
        <option value="<%= v_team.iso_code %>" <%= v_team.iso_code == team.iso_code ? 'selected' : '' %>><%= I18n.t(".teams.#{v_team.iso_code}") %></option>
      <% end %>
    </select>

    <% matches.each do |match| %>
      <%= render("views/pages/_match.html.erb", :match => match) %>
    <% end %>

<%= render("views/shared/_prediction_modal.html.erb", id: current_user.id) %>

  <%= "#{I18n.t('.teams_page.title')} #{I18n.t(".teams.#{team.iso_code}")}" %>

    <%= I18n.t('.teams_page.select') %>
    <select id="teams-filter" class="chosen-select">
      <% teams.each do |v_team|%>
        <option value="<%= v_team.iso_code %>" <%= v_team.iso_code == team.iso_code ? 'selected' : '' %>><%= I18n.t(".teams.#{v_team.iso_code}") %></option>
      <% end %>
    </select>

    <% matches.each do |match| %>
      <%= render("views/pages/_match.html.erb", :match => match) %>
    <% end %>

<%= render("views/shared/_prediction_modal.html.erb", id: current_user.id, redirect: req.path[1..req.path.size]) %>

Fix redirect on teams page

Fix redirect on teams page


alert("UPDATING THE FREAKIN' FORM")
$('#applicantForm').html(<%= escape_javascript render "applicant/applicant_form", applicant: @applicant %>);

$('#applicantForm').html(<%= escape_javascript render "applicant/form", applicant: @applicant %>);

Fix incorrect applicant form partial path


		© 2009 |
		<%= t("footer.uptime_monitoring") %> http://pingability.com |
		<%= t("footer.report_problems_or_abuse") %> webmaster@echowaves.com |
		<%= link_to t('footer.terms_and_conditions'), :controller => "home", :action => "terms"-%>

<%#do not remove rhis scrip tag, used by google stats%>

		© 2009 |
		<%= t("footer.uptime_monitoring") %> http://pingability.com |
		<%= t("footer.report_problems_or_abuse") %> webmaster@echowaves.com |
		<%= link_to t('footer.terms_and_conditions'), :controller => "home", :action => "terms"-%> |
		<%= link_to "OAuth", oauth_clients_path %>

<%#do not remove rhis scrip tag, used by google stats%>

Add link to oauth clients list to footer


[
   {rabbit, [ {tcp_listeners, [{"<%=node['ipaddress']%>", 5672}]},
   {loopback_users, []},
   {log_levels,[{connection, info},{mirroring, info}]} ]
    }
].

[
   {rabbit, [ {tcp_listeners, [{"<%=node['ipaddress']%>", 5672}]}, {cluster_partition_handling, autoheal},{loopback_users, []},
              {cluster_nodes, {[<%= @servers.collect{|x| x['hostname']}.join(',') %>], disc}},
              {vm_memory_high_watermark, 0.4},
              {disk_free_limit,50000000},
              {log_levels,[{connection, info},{mirroring, info}]},
              {heartbeat,10},
              {delegate_count,20},
              {channel_max,5000},
              {tcp_listen_options,
                        [binary,
                          {packet, raw},
                          {reuseaddr, true},
                          {backlog, 128},
                          {nodelay, true},
                          {exit_on_close, false},
                          {keepalive, true}
                         ]
              },
              {collect_statistics_interval, 60000}
            ]
   },
   {rabbitmq_management_agent, [ {force_fine_statistics, true} ] },
   {kernel, [{net_ticktime,  30}]}
].

Revert to use rabbitmq.conf with cluster


<a href="/businesses/<%= current_business.id %>">Dinner Winner

<a class="business-dash" href="/businesses/<%= current_business.id %>">Business Dashboard

      |

Create New Mass Deal

      |

<a id="deals-link" class="my-deals-link" href="/businesses/<%= current_business.id %>/deals">My Deal Templates

        |
        <a href="/businesses/<%= current_business.id %>/edit">

        <form class="sign-out-form" action="/businesses/sign_out" method="post"/>
          <input type="hidden" name="_method" value="delete">
          <input name="authenticity_token" type="hidden" value="token_value">
          <input type="submit" value="Logout">
        </form>

<a href="/businesses/<%= current_business.id %>">Dinner Winner

<a class="business-dash" href="/businesses/<%= current_business.id %>">Business Dashboard

      |

<a id="deals-link" class="my-deals-link" href="/businesses/<%= current_business.id %>/deals">My Deal Templates

        |
        <a href="/businesses/<%= current_business.id %>/edit">

        <form class="sign-out-form" action="/businesses/sign_out" method="post"/>
          <input type="hidden" name="_method" value="delete">
          <input name="authenticity_token" type="hidden" value="token_value">
          <input type="submit" value="Logout">
        </form>

Remove new mass deal header link

Remove new mass deal header link


<% require_asset 'opal' %>
<% require_asset 'opal-parser' %>
<% require_asset 'mspec' %>
<% require_asset 'ospec/runner' %>

# Load all opal filters
<% Dir.glob('spec/filters/**/*.rb').each do |s| %>
  <% require_asset s.sub(/^spec\//, '').sub(/\.rb$/, '') %>
<% end %>

# This file just greps for all spec files in spec/ and requires them
<% Dir.glob('spec/**/*_spec.{rb,opal}').each do |s| %>
  <% require_asset s.sub(/^spec\//, '').sub(/\.(rb|opal)$/, '') %>
<% end %>

# All specs have been run, so we notify mspec that we are done
OSpecRunner.main.did_finish

<% require_asset 'opal' %>
<% require_asset 'opal-parser' %>
<% require_asset 'mspec' %>
<% require_asset 'ospec/runner' %>

# Load all opal filters
<% Dir.glob('spec/filters/**/*.rb').each do |s| %>
  <% require_asset s.sub(/^spec\//, '').sub(/\.rb$/, '') %>
<% end %>

# This file just greps for all spec files in spec/ and requires them
<% Dir.glob("spec/#{ENV['OPAL_SPEC_DIR'] ? ENV['OPAL_SPEC_DIR'] + '/' : ''}**/*_spec.{rb,opal}").each do |s| %>
  <% require_asset s.sub(/^spec\//, '').sub(/\.(rb|opal)$/, '') %>
<% end %>

# All specs have been run, so we notify mspec that we are done
OSpecRunner.main.did_finish

Use OPAL_SPEC_DIR ENV var for specific test convenience


<% content_for :title, "All categories - GOV.UK" %>
<% content_for :page_class, "browse" %>

      <% root_sections.each do |result| %>

<%= link_to result.title, result.web_url %>

      <% end %>

Fix tabindex on index page

Fix tabindex on index page

The tabindex needs to be added to the element which contains the
individual list not the element which contains all the lists.


Privacy

In the interests of full disclosure, here's some information about Bunny <s>Love</s> Fright, how it's run, and the security and privacy measures that are in place.

Bunny <s>Love</s> Fright is produced and run by me, chrismear. It is hosted on a server operated by my company, Odegy. It is not officially endorsed by MetaChat.

The password you choose for Bunny <s>Love</s> Fright is stored only in an encrypted form, so there is no way for someone to read your password.

The messages you send on Bunny <s>Love</s> Fright are stored only in an obfuscated way, so that there's no chance of me accidentally reading any of them while I'm maintaining the site.

If I have to, it is possible for me to manually dig in to the database, decode the messages, and figure out who is sending them. However, I would only do this in exceptional circumstances (such as needing to track down someone who's sending abusive messages). It goes without saying that I hope I won't have to do this.

Privacy

In the interests of full disclosure, here's some information about Bunny Love, how it's run, and the security and privacy measures that are in place.

Bunny Love is produced and run by me, chrismear. It is hosted on a server operated by my company, Odegy. It is not officially endorsed by MetaChat.

The password you choose for Bunny Love is stored only in an encrypted form, so there is no way for someone to read your password.

The messages you send on Bunny Love are stored only in an obfuscated way, so that there's no chance of me accidentally reading any of them while I'm maintaining the site.

If I have to, it is possible for me to manually dig in to the database, decode the messages, and figure out who is sending them. However, I would only do this in exceptional circumstances (such as needing to track down someone who's sending abusive messages). It goes without saying that I hope I won't have to do this.

Revert from 'Fright' to 'Love' on Privacy page.


Sign in

<%= render :partial => '/sessions/form' %>

    <%= link_to "Forgot password?", new_password_path %>

Remove 'Sign up' link from login page

Remove 'Sign up' link from login page


<% if @message.persisted? %>
  $('.message-notification').text('<%=j @notification[:notice].html_safe %>');
  $('.timeline .days > li > ul:first-child').prepend('<%=j render "shared/message", message: @message %>');
<% else %>
  $('.message-error').text('<%=j @notification[:alert].html_safe %>');
<% end %>

<% if @message.persisted? %>
  $('.message-notification').text('<%=j @notification[:notice].html_safe %>');
  $('.timeline .days > li > ul:first-child').prepend('<%=j render "shared/message", message: @message %>');
  $('#message_subject').val('');
  $('#message_body').val('');
<% else %>
  $('.message-error').text('<%=j @notification[:alert].html_safe %>');
<% end %>

Set subject and body fields to blank upon successful message submission


<%= sub_nav_tag({}) do %>

		<%= link_to inventory_notes_path(@asset) do %>
		 Back
		<% end %>

  	<% if @note && ! @note.new_record? %>

<%= link_to edit_inventory_note_path(@asset, @note) do %>
  			 Update
  		<% end %>

<%= link_to inventory_note_path(@asset, @note), :method => :delete, :confirm => "Are you sure you want to remove this note?" do %>
			 Remove
		<% end %>

  	<% end %>
<% end %>

Fix incorrect icon in note subnav

Fix incorrect icon in note subnav


Don't Feed The Meter

    <%= image_tag "meter.jpg", alt: "Parking Meter" %>

What would you like to do?

      Set Parking Location

      Set Meter Maid Location

Lorem ipsum dolor sit amet, cosectetur adipiscing elit. Donec
a diam lectus. Set sit amet ipsum mauris. Maecenas congue ligula ac quam
viverra nec consectetur ante hendrerit.

Don't Feed The Meter

    <%= image_tag "meter.jpg", alt: "Parking Meter" %>

What would you like to do?

    <%= link_to "Set Parking Location", map_path, :class => "button" %>

    <%= link_to "Set Meter Maid Location", map_path, :class => "button" %>

Lorem ipsum dolor sit amet, cosectetur adipiscing elit. Donec
a diam lectus. Set sit amet ipsum mauris. Maecenas congue ligula ac quam
viverra nec consectetur ante hendrerit.

Add links to map controller

Add links to map controller


---

- job:
    name: <%= @job_name %>
    display-name: <%= @job_name %>
    project-type: freestyle
    builders:
        - shell: |
            ssh deploy@search-1.api '
            cd /var/apps/rummager &&
            govuk_setenv rummager bundle exec rake analytics:create_data_import_csv EXPORT_PATH=/data/export/enhanced_ecommerce &&
            govuk_setenv rummager bundle exec rake analytics:delete_old_files EXPORT_PATH=/data/export/enhanced_ecommerce EXPORT_FILE_LIMIT=10
            '
    triggers:
        - timed: '<%= @cron_schedule %>'
    publishers:
        - trigger-parameterized-builds:
            - project: Success_Passive_Check
              condition: 'SUCCESS'
              predefined-parameters: |
                  NSCA_CHECK_DESCRIPTION=<%= @service_description %>
                  NSCA_OUTPUT=<%= @service_description %> success
            - project: Failure_Passive_Check
              condition: 'FAILED'
              predefined-parameters: |
                  NSCA_CHECK_DESCRIPTION=<%= @service_description %>
                  NSCA_OUTPUT=<%= @service_description %> failed

---

- job:
    name: <%= @job_name %>
    display-name: <%= @job_name %>
    project-type: freestyle
    builders:
        - shell: |
          <%- if scope.lookupvar('::aws_migration') %>
            ssh deploy@$(govuk_node_list -c search --single-node) '
          <%- else -%>
            ssh deploy@search-1.api '
          <%- end -%>
            cd /var/apps/rummager &&
            govuk_setenv rummager bundle exec rake analytics:create_data_import_csv EXPORT_PATH=/data/export/enhanced_ecommerce &&
            govuk_setenv rummager bundle exec rake analytics:delete_old_files EXPORT_PATH=/data/export/enhanced_ecommerce EXPORT_FILE_LIMIT=10
            '
    triggers:
        - timed: '<%= @cron_schedule %>'
    publishers:
        - trigger-parameterized-builds:
            - project: Success_Passive_Check
              condition: 'SUCCESS'
              predefined-parameters: |
                  NSCA_CHECK_DESCRIPTION=<%= @service_description %>
                  NSCA_OUTPUT=<%= @service_description %> success
            - project: Failure_Passive_Check
              condition: 'FAILED'
              predefined-parameters: |
                  NSCA_CHECK_DESCRIPTION=<%= @service_description %>
                  NSCA_OUTPUT=<%= @service_description %> failed

Fix the hardcoded hostname in the enhanced ecommerce Jenkins job

- The machine `search-1.api` doesn't exist in AWS, so get the hostname
  with `govuk_node_list`.


<% form_tag :controller => 'review_mapping',
            :action => 'assign_reviewer_dynamically',
            :assignment_id => assignment.id,
            :reviewer_id => session[:user].id do %>

  <% if assignment.has_topics? %>

Select a topic below to begin a new review:

      <% candidate_topics_to_review = assignment.candidate_topics_to_review.to_a %>
	  <% candidate_topics_to_review.sort! { |a, b| a.topic_identifier <=> b.topic_identifier } %>
      <% not_reviewable_topics = assignment.sign_up_topics - candidate_topics_to_review %>
	  <% not_reviewable_topics.sort! { |a, b| a.topic_identifier <=> b.topic_identifier } %>
      <% candidate_topics_to_review.each do |topic| %>

        <%= radio_button_tag 'topic_id', topic.id %>
		<%= topic.topic_identifier %>:
		<%= topic.topic_name %>

	  <% end %>
      <% not_reviewable_topics.each do |topic| %>

		<%= topic.topic_identifier %>:
		<%= topic.topic_name %>

	  <% end %>

  <% end %>

  <input type='submit' value='Request a new submission to review'/>
<% end %>

<% form_tag :controller => 'review_mapping',
            :action => 'assign_reviewer_dynamically',
            :assignment_id => assignment.id,
            :reviewer_id => session[:user].id do %>

  <% if assignment.has_topics? %>

Select a topic below to begin a new review:

      <% candidate_topics_to_review = assignment.candidate_topics_to_review.to_a %>
	  <% candidate_topics_to_review.sort! { |a, b| a.id <=> b.id } %>
      <% not_reviewable_topics = assignment.sign_up_topics - candidate_topics_to_review %>
	  <% not_reviewable_topics.sort! { |a, b| a.id <=> b.id } %>
      <% candidate_topics_to_review.each do |topic| %>

        <%= radio_button_tag 'topic_id', topic.id %>
		<%= topic.topic_identifier %>:
		<%= topic.topic_name %>

	  <% end %>
      <% not_reviewable_topics.each do |topic| %>

		<%= topic.topic_identifier %>:
		<%= topic.topic_name %>

	  <% end %>

  <% end %>

  <input type='submit' value='Request a new submission to review'/>
<% end %>

Sort by id rather than identifier

Sort by id rather than identifier


# Managed by puppet class profile::swh::deploy::scrubber::checker::postgres
# Modifications will be overwritten

[Service]
Environment=SWH_SCRUBBER_CLI_EXTRA_ARGS="--object-type <%= @object_type %> --start-object <%= @start_object %> --end-object <%= @end_object %>"
SWH_CONFIG_FILENAME=<%= @config_file %>

# Managed by puppet class profile::swh::deploy::scrubber::checker::postgres
# Modifications will be overwritten

[Service]
Environment=SWH_CONFIG_FILENAME=<%= @config_file %>
Environment=SWH_SCRUBBER_CLI_EXTRA_ARGS="--object-type <%= @object_type %> --start-object <%= @start_object %> --end-object <%= @end_object %>"

scrubber: Fix missing prefix Environment variable setup

Related to T4371


# Hostgroup definitions
#
# Autogenerated by Chef.

define hostgroup {
  hostgroup_name all
  alias all
  members *
}

<% @roles.each do |r| -%>
define hostgroup {
  hostgroup_name <%= r %>
  alias <%= r %>
}

<% end -%>

<% if node['nagios']['multi_environment_monitoring'] -%>
<% @environments.each do |e| -%>
define hostgroup {
  hostgroup_name <%= e %>
  alias <%= e %>
}
<% end -%>
<% end -%>

<% @os.each do |o| -%>
define hostgroup {
  hostgroup_name <%= o %>
  alias <%= o %>
}
<% end -%>

<% @search_hostgroups.each do |hostgroup| -%>
define hostgroup {
  hostgroup_name <%= hostgroup %>
  alias <%= hostgroup %>
<% if @search_nodes[hostgroup].length > 0 -%>
  members        <%= @search_nodes[hostgroup] %>
<% else -%>
  members        empty
<% end -%>
}
<% end -%>

Add spaces between host group defs

Add spaces between host group defs


[holland:backup]
plugin = mongodump
backups-to-keep = <%= @backups_to_keep %>
auto-purge-failures = <%= @auto_purge_failures %>
purge-policy = <%= @purge_policy %>
estimated-size-factor = <%= @estimated_size_factor %>

[mongodump]
<% if @host -%>
host = "<%= @host %>"
<% end -%>
<% if @username -%>
username = "<%= @username %>"
<% end -%>
<% if @password -%>
# password = "<%= @password %>"
<% end -%>
<% if @authentication_database -%>
authenticationDatabase = "<%= @authentication_database %>"
<% end -%>
<% if @additional_options -%>
additional-options = <%= @additional_options %>
<% end -%>

[compression]
method = <%= @compression_method %>
options = ""
inline = <%= @compress_inline %>
level = <%= @compression_level %>

[holland:backup]
plugin = mongodump
backups-to-keep = <%= @backups_to_keep %>
auto-purge-failures = <%= @auto_purge_failures %>
purge-policy = <%= @purge_policy %>
estimated-size-factor = <%= @estimated_size_factor %>

[mongodump]
<% if @host -%>
host = "<%= @host %>"
<% end -%>
<% if @username -%>
username = "<%= @username %>"
<% end -%>
<% if @password -%>
password = "<%= @password %>"
<% end -%>
<% if @authentication_database -%>
authenticationDatabase = "<%= @authentication_database %>"
<% end -%>
<% if @additional_options -%>
additional-options = <%= @additional_options %>
<% end -%>

[compression]
method = <%= @compression_method %>
options = ""
inline = <%= @compress_inline %>
level = <%= @compression_level %>

Make sure the password isn't commented out


Question: avg(last_5m):max:bosh.healthmonitor.system.disk.persistent.percent{deployment:<%= environment %>-opentsdb,job:slave} > 85

please purge the hbase data to release the disk or extend the persistent disk to large volume. @pagerduty-datadog-cloudops-<%= environment %>

[<%= environment %> opentsdb] at least one hdfs slave node persistent disk usage is higher than 85%

Add an alert for OpenTSDB data node disk usage.


No template for interactive request

<%= h @exception.message %>

    NOTE!

    Unless told otherwise, Rails expects an action to render a template with the same name,

    contained in a folder named after its controller.

    If this controller is an API responding with 204 (No Content),

    which does not require a template,
    then this error will occur when trying to access it via browser,

    since we expect an HTML template
    to be rendered for such requests. If that's the case, carry on.

No view template for interactive request

<%= h @exception.message %>

      NOTE:Rails usually expects a controller action to render a view template with the same name.

      For example, a BooksController#index action defined in app/controller/books_controller.rb should have a corresponding view template
      in a file named app/views/books/index.erb.html.

      However, if this controller is an API endpoint responding with 204 (No Content), which does not require a view template because it doesn't serve an HTML response, then this error will occur when trying to access it with a browser. In this particular scenario, you can ignore this error.

      You can find more about view template rendering conventions in the Rails Guides on Layouts and Rendering in Rails.

Clarify missing template error page

Clarify missing template error page

Some goals here:
- Be less obtuse with word choices for folks who use English
as a second language.
- Stop referring to view templates as "templates" when the
literal directory is called `app/views` which has and will
confuse beginners (otherwise let's rename the directory).
- Stop formatting the HTML with `<br>` tags like it's 2005
and let the text flow with the viewport as appropriate.
- Give a *concrete* example of the naming relationship between
a controller and its view template, based on
[the ActionView Rails Guides][1].

I also tried to clarify the frankly confusing copy explaining
the 204 No Content rendering case, which I think should
probably mention that such endpoints shouldn't be allowed to
render HTML to avoid this error, but that might be pushing
the scope of the error feedback a bit too far.

[1]: https://guides.rubyonrails.org/layouts_and_rendering.html


<% Dir.entries(@dir_to_list).each do |dir| %>
  <% unless dir == '.' || dir == '..' then %>

      <a href="<%= "#{@context}/#{dir}" %>">
        <%# .to_s stops errors about void variable %>
        <%= dir.to_s %>

    <% end %>
<% end %>

<% Dir.entries(@dir_to_list || dir_to_list).each do |dir| %>
  <% unless dir == '.' || dir == '..' then %>

      <a href="<%= "#{@context}/#{dir}" %>">
        <%# .to_s stops errors about void variable %>
        <%= dir.to_s %>

    <% end %>
<% end %>

Update dir listing partial to accept local var

To allow places where creating an `@dir_to_list` var is not practical
(or good practice) to just pass a local variable `dir_to_list` to the
partial.


  <% Ecm::Links::Configuration.link_footer_columns.times do |column| %>
    <div class="column-<%= column + 1 %> <%= Ecm::Links::Configuration.link_footer_column_css_classes.join(' ') %>">
      <% categories[column + 1].each do |c| %>

<%= c.name %>

        <% c.links.each do |l| %>

<%= render partial: 'ecm/links/links/link', locals: { link: l } %>

        <% end %>

      <% end if categories.has_key?(column + 1) %>

  <% end %>

Use unordered list instead of paragraphs in link footer.


<%= simple_form_for [:admin, @account, @app] do |f| %>

  <%= f.input :name %>

APNS

  <%= f.input :apns_certificate, :as => :text, :label => "Certificate" %>

  <%= f.input :apns_passphrase, :label => "Passphrase" %>

  <%= f.input :apns_sandbox, :as => :boolean, :label => "Sandbox" %>

  <%= f.submit :class => "btn btn-default" %>

<% end %>

<%= simple_form_for [:admin, @account, @app] do |f| %>

  <%= f.input :name %>

APNS

  <%= f.input :apns_certificate, :as => :text, :label => "APNS Certificate" %>

  <%= f.input :apns_passphrase, :label => "APNS Passphrase" %>

  <%= f.input :apns_sandbox, :as => :boolean, :label => "APNS Sandbox" %>

  <%= f.input :gcm_api_key, :label => "GCM API Key" %>

  <%= f.submit :class => "btn btn-default" %>

<% end %>

Add gcm to app form

Add gcm to app form


      <%= link_to object.title, object.object %>
        /
      <%= link_to object.author_subject.name, object.author_subject %>

    <%= object.description %>

      <%= t 'like.n', count: object.like_count %>

      <%= link_to object.object.title, object.object %>
        /
      <%= link_to object.author_subject.name, object.author_subject %>

    <%= object.description %>

      <%= t 'like.n', count: object.like_count %>

Use customized object.title in explore partial


<%= render partial: "./layouts/partials/hero-basic", locals: {
  image: cms_fragment_render(:image, @cms_page),
  title: @cms_page.label
} %>

  <%= cms_fragment_render("content") %>

  <%= render "partials/cards/articles" %>

<%= render "partials/ctas/live-report" %>

Reduce the width of the content on the news article pages


<div class="doll-block" id="<%= doll.id %>">

<%= doll.name %>

	<button class="pin-it">pin it</button>

	OWW!

 <%= doll.pins %>

<%= doll.story %>

	<button action="/doll/<%= doll.id %>"  name="_method" value="delete">delete</button>

<div class="doll-block" id="<%= doll.id %>">

<%= doll.name %>

	<button class="pin-it">pin it</button>

	OWW!

 <%= doll.pins %>

<%= doll.story %>

	<% if session[:user_id] && doll.user && session[:user_id] == doll.user.id %>
		<form action="/doll/<%= doll.id %>"  method="POST">
			<input type="hidden" name="_method" value="DELETE">
			<input type="submit" value="delete">
		</form>
	<% end %>

Check user_id before showing delete button


Список парикмахеров по дате создания

<% @barbers.each do |barber| %>

		<%= barber.created_at %> <%= barber.name %>

<% end %>

Список парикмахеров по дате создания, в обратном порядке

<% @srebrab.each do |barber| %>

		<%= barber.created_at %> <%= barber.name %>

<% end %>

Список наших парикмахеров

<% @barbers.each do |barber| %>

		<a href="/barber/<%= barber.id %>"><%= barber.name %>

<% end %>

Список парикмахеров по дате создания, в обратном порядке

<% @srebrab.each do |barber| %>

		<%= barber.created_at %> <%= barber.name %>

<% end %>

Make barberlinks on main page

Make barberlinks on main page


<% person_members.each do |member| %>

				<%= member_heading(member) %>
				<% if member.authority? %>
				  Authority Member
				<% else %>
				  Non-Authority Member
				<% end %>

				<% policies = Policy.find_all_policies_for_member_id(member.hbx_member_id).sort_by{ |p| p.subscriber.coverage_start } %>
				<% policies.each do |policy| %>

<%= render 'policy_detail', p: policy if  policy_market(policy) == "Individual" || (can? :read, :all) %>

				<% end %>

<% end %>

<% person_members.each do |member| %>

				<%= member_heading(member) %>
				<% if member.authority? %>
				  Authority Member
				<% else %>
				  Non-Authority Member
				<% end %>

				<% policies = Policy.find_all_policies_for_member_id(member.hbx_member_id).sort_by{ |p| p.subscriber.try(:coverage_start) or Date.today } %>
				<% policies.each do |policy| %>

<%= render 'policy_detail', p: policy if  policy_market(policy) == "Individual" || (can? :read, :all) %>

				<% end %>

<% end %>

Fix crash on people show when policy has no subscriber.


Welcome to Pizza Shop

	<% @products.each do |p|%>

			<%= p.title %>

			<img src="<%= p.path_to_image%>" class="img-rounded" data-toggle="tooltip" title="<%= p.description %>">

			Price: <%= p.price %> br

			Size: <%= p.size %> sm

	<% end %>

<button class="btn btn-primary btn-lg" onclick="something()">Click me</button>

Welcome to Pizza Shop

	<% @products.each do |p|%>

			<%= p.title %>

			<img src="<%= p.path_to_image%>" class="img-rounded" data-toggle="tooltip" title="<%= p.description %>">

			Size: <%= p.size %> rub

			Price: <%= p.price %> sm

			<button type="button" class="btn btn-success btn-sm">Add to cart</button>

	<% end %>

<button class="btn btn-primary btn-lg" onclick="something()">Click me</button>

Add button 'add to cart'

Add button 'add to cart'


Список наших парикмахеров

<% @barbers.each do |barber| %>

		<%= barber.name %>

<% end %>

Список наших парикмахеров

<% @barbers.each do |barber| %>

		<a href="/barber/<%= barber.id %>"><%= barber.name %>

<% end %>

Make links on main page

Make links on main page


Criteria

  Criteria information is on GitHub.

  <%
    active_criteria = Criteria.reject(&:future?)
    future_criteria = Criteria.select(&:future?)
  %>
  Current number of criteria:
    <%= active_criteria.count %> (active)
    + <%= future_criteria.count %> (future)
    = <%= Criteria.count %> (total)

  Among active criteria, there are
    <%= active_criteria.count(&:must?) %> MUST,
    <%= active_criteria.count(&:should?) %> SHOULD, and
    <%= active_criteria.count(&:suggested?) %>
    SUGGESTED criteria.
  Among active criteria,
    <%= active_criteria.count(&:na_allowed?) %> allow N/A,
    <%= active_criteria.count(&:met_url_required?) %>
    require a URL when met, and
    <%= active_criteria.count(&:details_present?) %>
    have details in their description.

Criteria

  The detailed criteria are on GitHub.

  <%
    active_criteria = Criteria.reject(&:future?)
    future_criteria = Criteria.select(&:future?)
  %>
  Current number of criteria:
    <%= active_criteria.count %> (active)
    + <%= future_criteria.count %> (future)
    = <%= Criteria.count %> (total).

  Among active criteria, there are
    <%= active_criteria.count(&:must?) %> MUST,
    <%= active_criteria.count(&:should?) %> SHOULD, and
    <%= active_criteria.count(&:suggested?) %>
    SUGGESTED criteria.
  Among active criteria,
    <%= active_criteria.count(&:na_allowed?) %> allow N/A,
    <%= active_criteria.count(&:met_url_required?) %>
    require a URL when met, and
    <%= active_criteria.count(&:details_present?) %>
    have details in their description.

Tweak display of criteria statistics.

Tweak display of criteria statistics.

Signed-off-by: David A. Wheeler <9ae72d22d8b894b865a7a496af4fab6320e6abb2@dwheeler.com>


Welcome to Pizza Shop!

	<% @products.each do |p| %>

				<%= p.title %>

				<img src="<%= p.small_image_path %>">

				<%= p.description %>

				Size: <%= p.size %>

				Price: <%= p.price %> Rub

	<% end %>

<button class="btn btn-success btn-lg" onclick="something()">Click me!</button>

Welcome to Pizza Shop!

	<% @products.each do |p| %>

				<%= p.title %>

				<img src="<%= p.small_image_path %>">

				<%= p.description %>

				Size: <%= p.size %>

				Price: <%= p.price %> Rub

				<button class="btn btn-success btn-sm">Add to cart</button>

	<% end %>

<button class="btn btn-success btn-lg" onclick="something()">Click me!</button>

Add button 'Add to cart' for each product


<!DOCTYPE html>

    <title>/ascii/</title>
    <link rel="stylesheet" href="main.css">

/ascii/

    <form method="post">

            title
            <input type="text" name="title" value="<%= @title %>">

            art
            <textarea name="art"><%= @art %></textarea>

            <% if not @error.nil? %>

<%= @error %>

            <% end %>

          <input type="submit">

    </form>

    <% @arts.each do |art| %>
      <%= art.title %>

<%= art.art %>

    <% end %>

<!DOCTYPE html>

    <title>/ascii/</title>
    <link rel="stylesheet" href="main.css">

/ascii/

    <form method="post">

            title
            <input type="text" name="title" value="<%= @title %>">

            art
            <textarea name="art"><%= @art %></textarea>

<%= @error %>

          <input type="submit">

    </form>

    <% @arts.each do |art| %>
      <%= art.title %>

<%= art.art %>

    <% end %>

Remove unnecessary code from view

Remove unnecessary code from view


Список наших парикмахеров

<% @barbers.each do |barber| %>

		<a href="/barber/<%= barber.id%>"><%= barber.name %>

<% end %>

Make link on main page

Make link on main page


Dear <%= @form[:full_name] %>

You’ve registered <%= @form[:organisation_name] %> as an organisation that receives funding directly from the EU. Your reference number is <%= @reference_number %>.

Your details will be passed to the government department responsible for the EU programme. They’ll contact you within 15 working days.

Email helpdesk.grants.registration@cabinetoffice.gov.uk if you have a question or need to change the details you submitted - do not try to register again. You’ll usually get a reply within 5 working days.

Regards

Grants Management Function, Cabinet Office

Do not reply to this email - it is an automatic message from an unmonitored account. Email helpdesk.grants.registration@cabinetoffice.gov.uk

Add a message about the email address being unmonitored

As requested by the content designer.


require 'active_force/sobject'

class <%= @class_name %> < ActiveForce::SObject
<% attributes.each do |attribute| -%>
  <%= attribute_line attribute %>
<% end -%>
end

Remove requiring sobject on model.

Remove requiring sobject on model.


      <hgroup>
<%= @article.metadata.title %>

          Local preview.

      </hgroup>

      <% if !@article.html.to_s.empty? %>
        <%= @article.html %>
      <% elsif @article.error %>

Parsing error:

          <%= @article.error %>

      <% end %>

      <form class="cli-save" action="<%= devcenter_base_url %>/admin/articles/update/<%= @article.metadata.id %>" method="POST">
        <input name="_method" type="hidden" value="put">
        <input type="hidden" name="article[title]" value="<%= @article.metadata.title %>">
        <textarea style="display:none1" name="article[content]">
  <%= @article.content.to_s.lstrip %>
        </textarea>
        <input type="submit" value="Save in Dev Center">
      </form>

      <hgroup>
<%= @article.metadata.title %>

          Local preview.

      </hgroup>

      <% if !@article.html.to_s.empty? %>
        <%= @article.html %>
      <% elsif @article.error %>

Parsing error:

          <%= @article.error %>

      <% end %>

      <form class="cli-save" action="<%= devcenter_base_url %>/admin/articles/cli-edit/<%= @article.metadata.id %>" method="POST">
        <input name="_method" type="hidden" value="put">
        <input type="hidden" name="article[title]" value="<%= @article.metadata.title %>">
        <textarea style="display:none1" name="article[content]">
<%= @article.content.to_s.lstrip %>
        </textarea>
        <input type="submit" value="Save in Dev Center">
      </form>

Update to the new Dev Center endpoint

Update to the new Dev Center endpoint


#!/bin/bash

whisper_dir='<%= @graphite_path %>/storage/whisper'

# Delete files which haven't been modified in over 2 years
find $whisper_dir -type f -mtime +730 -delete

<%- if scope.lookupvar('::aws_migration') %>
# Delete directories where none of the files inside have been modified in the
# last 14 days. This effectively removes stats about machines which no longer
# exist.
for dir in $whisper_dir/*; do
  if [[ ! -z $dir && -z "$(find $dir -mtime -14)" && $? -eq 0 ]]; then
    rm -rf $dir;
  fi
done
<% end -%>

# Delete empty directories
find $whisper_dir -type d -empty -delete

#!/bin/bash

whisper_dir='<%= @graphite_path %>/storage/whisper'

# Delete files which haven't been modified in over 2 years
find $whisper_dir -type f -mtime +730 -delete

<%- if scope.lookupvar('::aws_migration') %>
# Delete directories where none of the files inside have been modified in the
# last 14 days. This effectively removes stats about machines which no longer
# exist.
for dir in $whisper_dir/*; do
  if [[ ! -z $dir && -z "$(find $dir -mtime -14)" && $? -eq 0 ]]; then
    rm -rf $dir;
  fi
done

for dir in stats/timers stats_counts; do
  find "$whisper_dir/$dir" -maxdepth 1 -name "*ip-*" -type d -print0 | while IFS= read -r -d '' dir; do
    if [[ ! -z $dir && -z "$(find $dir -mtime -56)" && $? -eq 0 ]]; then
      rm -rf "$dir";
    fi
  done
done
<% end -%>

# Delete empty directories
find $whisper_dir -type d -empty -delete

Improve clearing out old Graphite data in AWS

There's already support for deleting the directories with metrics from
collectd relating to a single machine, but inside the stats and
stats_counts namespaces, there are plenty of old machine specific
metrics.

Use the distinctive "ip-" string in the name to identify the
directories that likely contain machine specific metrics, then delete
them if they haven't been updated in around 8 weeks.

For the moment, this is also limited by looking directly (through
-maxdepth 1) in just stats/timers and stats_counts, which contains
mostly timer data related to NGinx logs, that I believe can be
deleted. I think there are other cases where deleting old statsd data
could change the data on dashboards.


# defaults file for zabbix-server-mysql

# Start the Zabbix server from the init.d script?
# (Possible values: "yes" or "no")
#
# This is by default set to "no" because a MySQL database needs to be prepared
# and configured before you can start the Zabbix server for the first time.
#
# Instructions on how to set up the database can be found in
# /usr/share/doc/zabbix-server-mysql/README.Debian
START=<%= @enable_service ? yes : no %>

# Absolute path to the configuration file
CONFIG_FILE="/etc/zabbix/zabbix_server.conf"

# defaults file for zabbix-server-mysql

# Start the Zabbix server from the init.d script?
# (Possible values: "yes" or "no")
#
# This is by default set to "no" because a MySQL database needs to be prepared
# and configured before you can start the Zabbix server for the first time.
#
# Instructions on how to set up the database can be found in
# /usr/share/doc/zabbix-server-mysql/README.Debian
START=<%= @enable_service ? 'yes' : 'no' %>

# Absolute path to the configuration file
CONFIG_FILE="/etc/zabbix/zabbix_server.conf"

Fix for wrong template string usages in zabbix::server module

Change-Id: I4d95939e1f4e6c1d7f1275b0082e98d8c79255f9
Signed-off-by: Igor Shishkin <754e6e0fd0f692545d04d1591d9a3de62bb04f84@mirantis.com>


<input class= "feedback_check" type="checkbox" name="feedback_check[<%= comment.id %>]">

    <%= avatar_tag(:email => comment.email, :url => comment.url, :size => 80, :class => 'img-circle') %>

<span class='label <%= comment_class comment.state.to_s.downcase %>'><%= t("admin.feedback.state.#{comment.state}") %>

    <%= link_to comment.article.title, :controller => 'feedback', :action => 'article', :id => comment.article_id %>

        <%= t('.by:')%> <%= mail_to h(comment.email), h(comment.author) %>
        <%= link_to "(#{h(comment.url)})".html_safe, comment.url unless comment.url.blank? %>
        <%= t('.on') %> <%= l(comment.created_at) %>

    <%= comment.html(:all) %>
    <%= show_feedback_actions comment %>

<input class= "feedback_check" type="checkbox" name="feedback_check[<%= comment.id %>]">

    <%= avatar_tag(:email => comment.email, :url => comment.url, :size => 80, :class => 'img-circle') %>

<span class='label <%= comment_class comment.state.to_s.downcase %>'><%= t("admin.feedback.state.#{comment.state}") %>

    <%= link_to comment.article.title, :controller => 'feedback', :action => 'article', :id => comment.article_id %>

        <%= t('.by:')%> <%= mail_to h(comment.email), h(comment.author) %>
        <%= link_to "(#{h(comment.url)})".html_safe, comment.url unless comment.url.blank? %>
        <%= t('.on') %> <%= l(comment.created_at) %>

    <%= simple_format(comment.html(:all)) %>
    <%= show_feedback_actions comment %>

Fix formatting of comments in the back end.


<!DOCTYPE html>

  <title><%= @title %></title>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link href="http://fonts.googleapis.com/css?family=Allerta" rel="stylesheet" type="text/css">
  <link href="http://fonts.googleapis.com/css?family=Molengo" rel="stylesheet" type="text/css">
  <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true %>
  <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
  <%= csrf_meta_tags %>
  <link href="/sticky-footer.css" rel="stylesheet">

<%= yield %>

    Home | About | Code | Summa  © Josh Peterson <%= Date.today.year %>

<!DOCTYPE html>

  <title><%= @title %></title>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link href="http://fonts.googleapis.com/css?family=Allerta" rel="stylesheet" type="text/css">
  <link href="http://fonts.googleapis.com/css?family=Molengo" rel="stylesheet" type="text/css">
  <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true %>
  <%= csrf_meta_tags %>
  <link href="/sticky-footer.css" rel="stylesheet">

<%= yield %>

    Home | About | Code | Summa  © Josh Peterson <%= Date.today.year %>

Remove the usage of javascript in the default layout.


<ul class="grid rows-<%= @dashboard.rows %> cols-<%= @dashboard.columns %>" id="<%= @dashboard.slug %>">
  <% @dashboard.metrics.each do |metric| %>
    <li class="row-<%= metric[:row] %> col-<%= metric[:col] %> height-<%= metric[:height] || 1 %> width-<%= metric[:width] || 1 %>">

        <iframe src='/metrics/<%= metric[:name] %>?layout=bare&boxcolour=<%= metric[:boxcolour] %>&textcolour=<%= metric[:textcolour] %><%= metric[:visualisation].blank? ? '' : "&type=#{metric[:visualisation]}" %>'
                width='100%'
                height='100%'
                frameBorder='0'
                scrolling='no'>

  <% end %>

<ul class="grid rows-<%= @dashboard.rows %> cols-<%= @dashboard.columns %>" id="<%= @dashboard.slug %>">
  <% @dashboard.metrics.each do |metric| %>
    <li class="row-<%= metric[:row] %> col-<%= metric[:col] %> height-<%= metric[:height] || 1 %> width-<%= metric[:width] || 1 %>">

        <iframe src='/metrics/<%= metric[:name] %>/<%= metric[:date] || '*/*' %>?layout=bare&boxcolour=<%= metric[:boxcolour] %>&textcolour=<%= metric[:textcolour] %><%= metric[:visualisation].blank? ? '' : "&type=#{metric[:visualisation]}" %>'
                width='100%'
                height='100%'
                frameBorder='0'
                scrolling='no'>

  <% end %>

Add date ranges to template

Add date ranges to template


<% political_membership = role_appointment.historical_account.try(:political_membership) %>
<%= content_tag_for :div, role_appointment, class: 'govuk-grid-column-one-quarter', role: "listitem" do %>
  <%= render "govuk_publishing_components/components/image_card", {
    href: historic_appointment_path(role.historic_param, role_appointment.person),
    image_src: role_appointment.person.image_url(:s216),
    image_loading: "lazy",
    heading_text: role_appointment.person.name,
    extra_links: previous_dates_in_office_prime(role, role_appointment.person, political_membership),
    extra_links_no_indent: true
  } %>
<% end %>

<% political_membership = role_appointment.historical_account.try(:political_membership) %>
  <%= content_tag_for :div, role_appointment, class: 'govuk-grid-column-one-quarter', role: "listitem" do %>
    <%# Content for "theresa-may' does not exist at present, temporary check to remove link %>
    <% if historic_appointment_path(role.historic_param, role_appointment.person) != "/government/history/past-prime-ministers/theresa-may" %>
      <%= render "govuk_publishing_components/components/image_card", {
        href: historic_appointment_path(role.historic_param, role_appointment.person),
        image_src: role_appointment.person.image_url(:s216),
        image_loading: "lazy",
        heading_text: role_appointment.person.name,
        extra_links: previous_dates_in_office_prime(role, role_appointment.person, political_membership),
        extra_links_no_indent: true
      } %>
    <% else %>
      <%= render "govuk_publishing_components/components/image_card", {
        image_src: role_appointment.person.image_url(:s216),
        image_loading: "lazy",
        heading_text: role_appointment.person.name,
        extra_links: previous_dates_in_office_prime(role, role_appointment.person, political_membership),
        extra_links_no_indent: true
      } %>
    <% end %>
<% end %>

Remove "theresa-may"  - Past Prime Ministers

Content does not exist - removing


/* DO NOT EDIT: File is auto-generated */
package <%= to_package(repository.ejb.qualified_complete_module_name) %>;

@java.lang.SuppressWarnings( { "UnusedDeclaration" } )
@javax.annotation.Generated( "Domgen" )
public class <%= repository.ejb.complete_module_name %>
  extends com.google.inject.AbstractModule
{
  @javax.annotation.Nonnull
  private final org.realityforge.guiceyloops.server.Flushable _flushable;

  public <%= repository.ejb.complete_module_name %>( @javax.annotation.Nonnull final org.realityforge.guiceyloops.server.Flushable flushable )
  {
    _flushable = flushable;
  }

  @Override
  protected void configure()
  {
<% if repository.jpa? -%>
    install( new <%= repository.jpa.qualified_persistent_test_module_name %>() );
    install( new <%= repository.jpa.qualified_dao_module_name %>() );
<% end -%>
    install( new <%= repository.ejb.qualified_services_module_name %>( _flushable ) );
  }
}

/* DO NOT EDIT: File is auto-generated */
package <%= to_package(repository.ejb.qualified_complete_module_name) %>;

@java.lang.SuppressWarnings( { "UnusedDeclaration" } )
@javax.annotation.Generated( "Domgen" )
public class <%= repository.ejb.complete_module_name %>
  extends com.google.inject.AbstractModule
{
  @javax.annotation.Nonnull
  private final org.realityforge.guiceyloops.server.Flushable _flushable;
  @javax.annotation.Nullable
  private final String _databasePrefix;
  @javax.annotation.Nullable
  private final java.util.Properties _additionalProperties;

  public <%= repository.ejb.complete_module_name %>( @javax.annotation.Nonnull final org.realityforge.guiceyloops.server.Flushable flushable )
  {
    this( flushable, null );
  }

  public <%= repository.ejb.complete_module_name %>( @javax.annotation.Nonnull final org.realityforge.guiceyloops.server.Flushable flushable, @javax.annotation.Nullable final String databasePrefix )
  {
    this( flushable, databasePrefix, null );
  }

  public <%= repository.ejb.complete_module_name %>( @javax.annotation.Nonnull final org.realityforge.guiceyloops.server.Flushable flushable, @javax.annotation.Nullable final String databasePrefix, @javax.annotation.Nullable final java.util.Properties additionalProperties )
  {
    _flushable = flushable;
    _databasePrefix = databasePrefix;
    _additionalProperties = additionalProperties;
  }

  @Override
  protected void configure()
  {
<% if repository.jpa? -%>
    install( new <%= repository.jpa.qualified_persistent_test_module_name %>( _databasePrefix, _additionalProperties ) );
    install( new <%= repository.jpa.qualified_dao_module_name %>() );
<% end -%>
    install( new <%= repository.ejb.qualified_services_module_name %>( _flushable ) );
  }
}

Add mechanisms for configuring database prefix and additional properties


<%= form_for([@character, @character.char_attributes.build]) do |f| %>

      <%= f.select(:base_attribute_id) do %>
        <% BaseAttribute.all.each do |base_attribute| -%>
          <% if base_attribute.id > 11 %>
            <%= content_tag(:option, base_attribute.name, value: base_attribute.id) %>
          <% end %>
        <% end %>
      <% end %>

        <%= f.label "Base" %>

        <%= f.text_field :value_base %>

        <%= f.label "Augmented" %>

        <%= f.text_field :value_modified %>

      <%= f.submit "Add", class: "btn btn-xs btn-default col-md-6 col-md-offset-3 " %>

<% end %>

<%= form_for([@character, @character.char_attributes.build]) do |f| %>

      <%= f.select(:base_attribute_id) do %>
        <% BaseAttribute.all.each do |base_attribute| -%>
          <% if base_attribute.id > 11 %>
            <%= content_tag(:option, base_attribute.name, value: base_attribute.id) %>
          <% end %>
        <% end %>
      <% end %>

        <%= f.label "Base" %>

        <%= f.text_field :value_base %>

        <%= f.label "Augmented" %>

        <%= f.text_field :value_modified %>

      <%= f.submit "Add Attribute", class: "btn btn-xs btn-default col-md-6 col-md-offset-3 " %>

<% end %>

Revert "Add attribute button has better text now"

This reverts commit 24f5bcd32529fdb8e5d9130d847034fe637f3698.


<% if spree_current_user %>

<%= Spree.t(:logged_in_as) %>: <%= spree_current_user.email %>

<%= link_to Spree.t(:account), spree.edit_user_path(spree_current_user) %>

<%= link_to Spree.t(:logout), spree.logout_path %>

    <% if spree.respond_to? :root_path %>

         <%= link_to Spree.t(:back_to_store), spree.root_path, :target => '_blank' %>

    <% end %>

<% end %>

<% if spree_current_user %>

<%= Spree.t(:logged_in_as) %>: <%= spree_current_user.email %>

<%= link_to Spree.t(:account), spree.edit_user_path(spree_current_user) %>

<%= link_to Spree.t(:logout), spree.admin_logout_path %>

    <% if spree.respond_to? :root_path %>

         <%= link_to Spree.t(:back_to_store), spree.root_path, :target => '_blank' %>

    <% end %>

<% end %>

Change admin logout path to use the admin namespaced logout path


[runner_gitlab-runner]
name=runner_gitlab-runner
baseurl=https://packages.gitlab.com/runner/gitlab-runner/el/<%= @facts['os']['release']['major'] %>/$basearch
repo_gpgcheck=1
gpgcheck=1
enabled=1
gpgkey=https://packages.gitlab.com/runner/gitlab-runner/gpgkey
       https://packages.gitlab.com/runner/gitlab-runner/gpgkey/runner-gitlab-runner-366915F31B487241.pub.gpg
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
metadata_expire=300
priority=<%= @priority %>
<% unless @exclude.empty? -%>
exclude=<%= @exclude.join(' ') %>
<% end -%>
<% unless @include.empty? -%>
includepkgs=<%= @include.join(' ') %>
<% end -%>

Add priority, exclude and includepkgs to template for runner_gitlab_runner


  <%= $terminal.color "NAME", :bold %>:

    <%= @name %>
<% if @syntax -%>

  <%= $terminal.color "SYNOPSIS", :bold %>:

    <%= @syntax -%>

<% end -%>

  <%= $terminal.color "DESCRIPTION", :bold %>:

    <%= Commander::HelpFormatter.indent 4, (@description || @summary || 'No description.') -%>

<% unless @examples.empty? -%>

  <%= $terminal.color "EXAMPLES", :bold %>:
	<% for description, command in @examples -%>

    # <%= description %>
    <%= command %>
	<% end -%>
<% end -%>
<% unless @options.empty? -%>

  <%= $terminal.color "OPTIONS", :bold %>:
	<% for option in @options -%>

    <%= option[:switches].join ', ' %>
        <%= option[:description] %>
	<% end -%>
<% end -%>

  <%= $terminal.color "NAME", :bold %>:

    <%= @name %>
<% if @syntax -%>

  <%= $terminal.color "SYNOPSIS", :bold %>:

    <%= @syntax -%>

<% end -%>

  <%= $terminal.color "DESCRIPTION", :bold %>:

    <%= Commander::HelpFormatter.indent 4, (@description || @summary || 'No description.') -%>

<% unless @examples.empty? -%>

  <%= $terminal.color "EXAMPLES", :bold %>:
	<% for description, command in @examples -%>

    # <%= description %>
    <%= command %>
	<% end -%>
<% end -%>
<% unless @options.empty? -%>

  <%= $terminal.color "OPTIONS", :bold %>:
	<% for option in @options -%>

    <%= option[:switches].join ', ' %>
        <%= Commander::HelpFormatter.indent 8, option[:description] %>
	<% end -%>
<% end -%>

Indent opt. description the same way as program and command description


<?xml version='1.1' encoding='UTF-8'?>
<slave>
  <name><%= @agent_name %></name>
  <description><%= @description %></description>
  <remoteFS><%= @jenkins_home %></remoteFS>
  <numExecutors><%= @executors %></numExecutors>
  <mode><% if @exclusive %>EXCLUSIVE<% else %>NORMAL<% end %></mode>
  <retentionStrategy class="hudson.slaves.RetentionStrategy$Always"/>
  <launcher class="hudson.plugins.sshslaves.SSHLauncher" plugin="ssh-slaves@1.16">
    <host><%= @agent_hostname %></host>
    <port><%= @ssh_port %></port>
    <credentialsId><%= @credentials_id %></credentialsId>
    <maxNumRetries>0</maxNumRetries>
    <retryWaitTime>0</retryWaitTime>
    <sshHostKeyVerificationStrategy class="hudson.plugins.sshslaves.verifiers.KnownHostsFileKeyVerificationStrategy"/>
  </launcher>
  <label><%= @labels %></label>
  <nodeProperties/>
</slave>

<?xml version='1.1' encoding='UTF-8'?>
<slave>
  <name><%= @agent_name %></name>
  <description><%= @description %></description>
  <remoteFS><%= @jenkins_home %></remoteFS>
  <numExecutors><%= @executors %></numExecutors>
  <mode><% if @exclusive %>EXCLUSIVE<% else %>NORMAL<% end %></mode>
  <retentionStrategy class="hudson.slaves.RetentionStrategy$Always"/>
  <launcher class="hudson.plugins.sshslaves.SSHLauncher" plugin="ssh-slaves@1.16">
    <host><%= @agent_hostname %></host>
    <port><%= @ssh_port %></port>
    <credentialsId><%= @credentials_id %></credentialsId>
    <maxNumRetries>0</maxNumRetries>
    <retryWaitTime>0</retryWaitTime>
    <sshHostKeyVerificationStrategy class="hudson.plugins.sshslaves.verifiers.NonVerifyingKeyVerificationStrategy"/>
  </launcher>
  <label><%= @labels %></label>
  <nodeProperties/>
</slave>

Change verification strategy for ci-master nodes

Change the verification strategy for ci-master nodes from
"known hosts file verification strategy" to
"non verifying verification strategy".
This will prevent errors when jenkins tries to connect to one of
its nodes which ssh key has changed because it was reprovisioned.
Note that in general it's a bad idea to disable
'StrictHostKeyChecking' but in this case we were already trying to
bypass this check by deleting the known_hosts file. By disabling
the check we don't have to care about managing the known_hosts
file.


お探しのリソースは見つかりません

2017年衆議院選挙候補者ナビ

  このサイトでは、郵便番号からあなたの住む地域の選挙区と立候補者を検索し、その候補者の情報を表示することができます。
  全ての候補者の情報は、中立的な立場で収集した事実情報に基いています。

お探しのリソースは見つかりませんでした

Add header to not found page

Add header to not found page


<%= Field.human_attribute_name :new %>

<%= render :partial => 'form' %>

<%= Field.human_attribute_name :new %>

<%= render partial: 'form', locals: { field: @field } %>

Fix missing lvar for fields/form partial.


<%= @room.title %>

<%= @room.description %>

User: <%= @user.email %>

<% if user_signed_in? && @room.creator_id == current_user.id %>

      <%= link_to 'Delete', chat_path(@room), method: :delete, data: {confirm: 'Are You Sure?'} %>
      <%= link_to 'Edit', edit_chat_path(@room) %>

<% end %>

<button class="invite-friends btn btn-success">Invite Your Friends:</button>

    <% @friends.each do |friend| %>

<%= link_to friend.email, controller: 'rooms', action: 'invite_friends',
                        id: @room, user_id: friend unless (friend.rooms.include?(@room)) %>

    <% end %>

Add view show for room

Add view show for room


<% if distro_key == 'openshift-origin' %>
<%= render("_templates/_search_origin.html") %>
<% elsif distro_key == 'openshift-dedicated' %>
<%= render("_templates/_search_dedicated.html", :version => version) %>
<% elsif distro_key == 'openshift-online' %>
<%= render("_templates/_search_online.html") %>
<% elsif distro_key == 'openshift-enterprise' %>
<%= render("_templates/_search_enterprise.html.erb", :version => version) %>
<% else %>
<%= render("_templates/_search_other.html") %>
<% end %>

<% if distro_key == 'openshift-origin' %>
<%= render("_templates/_search_origin.html") %>
<% elsif distro_key == 'openshift-dedicated' %>
<%= render("_templates/_search_dedicated.html.erb", :version => version) %>
<% elsif distro_key == 'openshift-online' %>
<%= render("_templates/_search_online.html") %>
<% elsif distro_key == 'openshift-enterprise' %>
<%= render("_templates/_search_enterprise.html.erb", :version => version) %>
<% else %>
<%= render("_templates/_search_other.html") %>
<% end %>

Correct the call to the dedicated search template


Question: max(last_1h):sum:aws.ec2.host_ok{*} > 0

Check if this is supposed to happen(when doing a 'bosh deploy') or fraud instances have been spun up by some attacker. <%= cloudops_email %>

<%= environment %> Instance Count changes in the AWS account

Add AWS instance count alert

Add AWS instance count alert


<% content_for(:title) { "#{I18n.t('.teams_page.title')} #{I18n.t(".teams.#{team.iso_code}")}" } %>

          <select id="teams-filter" class="form-control">
            <% teams.each do |v_team|%>
              <option value="<%= v_team.iso_code %>" <%= v_team.iso_code == team.iso_code ? 'selected' : '' %>><%= I18n.t(".teams.#{v_team.iso_code}") %></option>
            <% end %>
          </select>

          <% matches.each do |match| %>
            <%= partial("shared/_match_row_small.html", match: Match[match.id]) %>
          <% end %>

<%= render("views/shared/_prediction_modal.html.erb", id: current_user.id, redirect: req.path[1..req.path.size]) %>

Fix team page for mobile.

Fix team page for mobile.


Videos

      <video class="debug" id="video-player" width="540" height="380" controls="controls" preload="none">
        <source src="#" type="video/mp4">
        Your browser does not support the <video> element.
      </video>

Videos

      <video class="debug" id="video-player" width="480" height="270" controls="controls" preload="none">
        <source src="#" type="video/mp4">
        Your browser does not support the <video> element.
      </video>

Change size of video element

Change size of video element


# <?php

include_once "$IP/extensions/CirrusSearch/tests/jenkins/FullyFeaturedConfig.php";

$wgCirrusSearchExtraIndexes[ NS_FILE ] = array( 'commonswiki_file' );

$wgCirrusSearchDevelOptions['allow_nuke'] = true;

<% if @enable_eventgate -%>
$wgCirrusSearchRequestEventSampling = 1.0;
// Log api-requests via eventgate-analytics service.
$wgMWLoggerDefaultSpi['args'][0]['loggers']['cirrussearch-request'] = array(
    'handlers' => array( 'eventgate-analytics' ),
);
<% end -%>

$wgCirrusSearchWMFExtraFeatures = [
	'ores_articletopics' => [
		'build' => true,
	],
];

# <?php

include_once "$IP/extensions/CirrusSearch/tests/jenkins/FullyFeaturedConfig.php";

$wgCirrusSearchExtraIndexes[ NS_FILE ] = array( 'commonswiki_file' );

$wgCirrusSearchDevelOptions['allow_nuke'] = true;

<% if @enable_eventgate -%>
$wgCirrusSearchRequestEventSampling = 1.0;
// Log api-requests via eventgate-analytics service.
$wgMWLoggerDefaultSpi['args'][0]['loggers']['cirrussearch-request'] = array(
    'handlers' => array( 'eventgate-analytics' ),
);
<% end -%>

$wgCirrusSearchWMFExtraFeatures = [
	'ores_articletopics' => [
		'build' => true,
		'use'   => true,
	],
];

Enable ORES articletopic search in cirrussearch role

Follows-up Id1f7b76de89.

Bug: T240559
Depends-On: I8c621adfaa7ab9a61cb35e8cb8981c4c87f9e25b
Change-Id: I59b197e9eb6fa6478f97ac80ed5e21a0a6b64ebd


{
    "title": "Command_L|Command_R + Return to Backslash",
    "rules": [
        {
            "description": "Command_[L|R] (⌘) + Return (⏎) to Backslash and Command_[L|R] (⌘) + Shift (⇧) + Return (⏎) to Pipe (|)",
            "manipulators": [
                {
                    "type": "basic",
                    "from": <%= from("return_or_enter", ["left_command", "right_command"], ["left_shift", "right_shift"]) %>,
                    "to": <%= to([["backslash"]]) %>
                }
            ]
        }
    ]
}

{
    "title": "Command_L|Command_R + Return to Backslash",
    "rules": [
        {
            "description": "Command_L (⌘) + Return (⏎) to Backslash and Command_L (⌘) + Shift (⇧) + Return (⏎) to Pipe (|)",
            "manipulators": [
                {
                    "type": "basic",
                    "from": <%= from("return_or_enter", ["left_command"], ["left_shift", "right_shift"]) %>,
                    "to": <%= to([["backslash"]]) %>
                }
            ]
        },
        {
            "description": "Command_R (⌘) + Return (⏎) to Backslash and Command_R (⌘) + Shift (⇧) + Return (⏎) to Pipe (|)",
            "manipulators": [
                {
                    "type": "basic",
                    "from": <%= from("return_or_enter", ["right_command"], ["left_shift", "right_shift"]) %>,
                    "to": <%= to([["backslash"]]) %>
                }
            ]
        }
    ]
}

Fix the mutiple modifier to be mandatory bug & add optional ⌘L

I've actually managed to mess it up with this pull request, https://github.com/pqrs-org/KE-complex_modifications/pull/600. (I'm sorry 😅)
The PR was suppose to make Command_L optional but instead it made both L and R mandatory at the same time.
So this PR fix the issue and make Command_L optional, too.


<%= @film.title %>

Year: <%= @film.year %>

Directed by: <%= @film.director %>

Runtime: <%= @film.runtime %>

Description: <%= @film.description %>

Reviews

		<%= render @film.reviews %>

<%= @film.title %> (3.8 out of 4 reels)

Year: <%= @film.year %>

Directed by: <%= @film.director %>

Runtime: <%= @film.runtime %>

Description: <%= @film.description %>

Summary

Rating: 3.8 out of 4 reels

		<%= @film.reviews.count %> reviews

<%= link_to 'films', films_ %>

Reviews

		<%= render @film.reviews %>

Add more review detail to films/show view


<% content_for(:page_title, "#{@site.default_host.hostname} site details") %>

<% breadcrumb :site, @site %>

    <%= @site.default_host.hostname %>
    Site details

Default hostname

<%= @site.default_host.hostname %>

Hostname aliases

<%= @site.hosts.pluck(:hostname).join(', ') %>

New homepage

<%= link_to @site.homepage, @site.homepage, class: 'breakable' %>

Mappings

<%= link_to 'Mappings', site_mappings_path(@site) %>

Analytics

<%= link_to 'Analytics', summary_site_hits_path(@site) %>

Abbreviation

<%= @site.abbr %>

Significant query parameters

<%= @site.query_params.presence || 'None' %>

The National Archive (TNA) timestamp

<%= @site.tna_timestamp.to_formatted_s(:long) %>  — <%= @site.tna_timestamp.to_formatted_s(:number) %>

<% content_for(:page_title, "#{@site.default_host.hostname} site details") %>

<% breadcrumb :site, @site %>

    <%= @site.default_host.hostname %>
    Site details

Mappings

<%= link_to 'Mappings', site_mappings_path(@site) %>

Analytics

<%= link_to 'Analytics', summary_site_hits_path(@site) %>

Default hostname

<%= @site.default_host.hostname %>

Hostname aliases

<%= @site.hosts.pluck(:hostname).join(', ') %>

New homepage

<%= link_to @site.homepage, @site.homepage, class: 'breakable' %>

Abbreviation

<%= @site.abbr %>

Significant query parameters

<%= @site.query_params.presence || 'None' %>

The National Archive (TNA) timestamp

<%= @site.tna_timestamp.to_formatted_s(:long) %>  — <%= @site.tna_timestamp.to_formatted_s(:number) %>

Reposition analytics and mappings in list

Because of the likelihood of landing on this page from a breadcrumb the
mappings and analytics links should be further up to help with
switching between the two.


<%= @user.username %>

Saved Drafts

  <% @user.saved_version_drafts.each do |version| %>

<%= link_to "#{version.article.title}", edit_article_version_path(version.article, version) %>

    Last saved: <%=  version.updated_at.strftime('%c') %>
  <% end %>

<%= @user.username %>

Saved Drafts

  <% @user.saved_version_drafts.each do |version| %>

<%= link_to "#{version.title}", edit_article_version_path(version.article, version) %>

    Last saved: <%=  version.updated_at.strftime('%c') %>
  <% end %>

Fix users show page to account for titles moving to versions


    <%= image_tag client.logo.url(:small) %>

    <%= client.name %>

    <%= client.description %>

  <%= link_to client.url, class: 'pull-left' do %>
    <%= image_tag client.logo.url(:small), style: "width: 70px; height: 70px;" %>
  <% end %>

      <%= client.name %>

    <%= client.description %>

Improve presentation based on @crispinh2o changes


<tr id="heading-<%=heading.id%>">

    <%= heading.name %>

    <%= heading.price %>

    <%= heading.population %>

    <%= link_to t("admin.actions.edit"),
            edit_admin_budget_budget_group_budget_heading_path(budget_id: group.budget.id, budget_group_id: group.id, id: heading.id),
            class: "button hollow",
            remote: true %>
    <%= link_to t("admin.budget_investments.index.title"),
        admin_budget_budget_investments_path(budget_id: group.budget.id, heading_id: heading.id),
        class: "button hollow"  %>
    <% if heading.can_be_deleted? %>
      <%= link_to t('admin.administrators.administrator.delete'),
          #admin_budget_budget_group_budget_headings_path(group.budget.id, group.id),
          [:admin, group.budget, group, heading],
          method: :delete,
          class: "button hollow alert" %>
    <% end %>

<tr id="heading-<%=heading.id%>">

    <%= heading.name %>

    <%= heading.budget.formatted_heading_price(heading) %>

    <%= heading.population %>

    <%= link_to t("admin.actions.edit"),
            edit_admin_budget_budget_group_budget_heading_path(budget_id: group.budget.id, budget_group_id: group.id, id: heading.id),
            class: "button hollow",
            remote: true %>
    <%= link_to t("admin.budget_investments.index.title"),
        admin_budget_budget_investments_path(budget_id: group.budget.id, heading_id: heading.id),
        class: "button hollow"  %>
    <% if heading.can_be_deleted? %>
      <%= link_to t('admin.administrators.administrator.delete'),
          #admin_budget_budget_group_budget_headings_path(group.budget.id, group.id),
          [:admin, group.budget, group, heading],
          method: :delete,
          class: "button hollow alert" %>
    <% end %>

Format heading price at admin table

Format heading price at admin table


    <% if question_page.title %>
      <%= question_page.title %>
    <% end %>

    <% if question_page.questions.count == 1 %>
      <%= link_to "Change", @presenter.change_collapsed_question_link(number_questions_so_far + 1) %>
    <% else %>
      <%= link_to "Change", @presenter.change_collapsed_question_link(number_questions_so_far + 1, question_page.questions.count) %>
    <% end %>

<% question_page.questions.each_with_index do |question, question_index|%>

    <%= question.title %>
    <%- if question.multiple_responses? -%>
      <%- question.response_labels(@presenter.accepted_responses[number_questions_so_far + question_index]).each do |label| -%>
        <%= label %>
      <%- end -%>
    <%- else -%>
      <%= question.response_label(@presenter.accepted_responses[number_questions_so_far + question_index]) %>
    <%- end -%>

<% end %>

    <%= question_page.title %>

    <% if question_page.questions.count == 1 %>
      <%= link_to "Change", @presenter.change_collapsed_question_link(number_questions_so_far + 1) %>
    <% else %>
      <%= link_to "Change", @presenter.change_collapsed_question_link(number_questions_so_far + 1, question_page.questions.count) %>
    <% end %>

<% question_page.questions.each_with_index do |question, question_index|%>

    <%= question.title %>
    <%- if question.multiple_responses? -%>
      <%- question.response_labels(@presenter.accepted_responses[number_questions_so_far + question_index]).each do |label| -%>
        <%= label %>
      <%- end -%>
    <%- else -%>
      <%= question.response_label(@presenter.accepted_responses[number_questions_so_far + question_index]) %>
    <%- end -%>

<% end %>

Remove check for section title

Remove check for section title


<% content_for(:page_title, t('service.title', page_title: 'Confirmation - Book a phone appointment')) %>

We’ve booked your appointment

Thank you for booking a Pension Wise guidance appointment.

Your reference number

    <%= @booking_reference %>

Date
<%= l(@booking_date, format: :govuk_date) %>

Time
<%= l(@booking_date, format: :govuk_time) %>

We’ll email you to confirm these details. You’ll also receive information to help you prepare for your appointment.

Give us your feedback

<% content_for(:page_title, t('service.title', page_title: 'Confirmation - Book a phone appointment')) %>

We’ve booked your appointment

Thank you for booking a Pension Wise guidance appointment.

Your reference number

    <%= @booking_reference %>

Date
<%= l(@booking_date, format: :govuk_date) %>

Time
<%= l(@booking_date, format: :govuk_time) %>

We’ll email you to confirm these details. You’ll also receive information to help you prepare for your appointment.

To cancel or change your appointment, or if any of the information above isn’t correct, call 0800 138 3944.

Give us your feedback

Include TPAS phone number on online telephone booking confirmation page

After the latest round of the user research lab we found that we need
to place the call centre number on the online telephone booking
confirmation page in case the customer needs to get in touch regarding
the details of the appointment.


<%= link_to person_post.title, gobierto_people_person_post_path(person_post.person, person_post) %>

    <% if person_post.person.avatar_url.present? %>
      <%= link_to (image_tag person_post.person.avatar_url, height: 30, width: 30), person_post.person %>
    <% end %>
    por <%= link_to person_post.person.name, person_post.person %>

<%= link_to person_post.title, gobierto_people_person_post_path(person_post.person, person_post) %>

    <% if person_post.person.avatar_url.present? %>
      <%= link_to (image_tag person_post.person.avatar_url, height: 'auto', width: 30), person_post.person %>
    <% end %>
    por <%= link_to person_post.person.name, person_post.person %>

Fix aspect ratio on small avatars

Fix aspect ratio on small avatars


check process <%= @worker_name %>
  with pidfile /var/run/engineyard/dj/<%= @app_name %>/dj_<%= @worker_name %>.pid
  start program = "cd /home/deploy/current && bundle exec /engineyard/bin/dj <%= @app_name %> start <%= @framework_env %> <%= @worker_name %>" with timeout 60 seconds
  stop program = "cd /home/deploy/current && bundle exec /engineyard/bin/dj <%= @app_name %> stop <%= @framework_env %> <%= @worker_name %>" with timeout 60 seconds
  if totalmem is greater than 300 MB then restart # eating up memory?
  group dj_<%= @app_name %>

check process <%= @worker_name %>
  with pidfile /var/run/engineyard/dj/<%= @app_name %>/dj_<%= @worker_name %>.pid
  start program = "bundle exec /engineyard/bin/dj <%= @app_name %> start <%= @framework_env %> <%= @worker_name %>" with timeout 60 seconds
  stop program = "bundle exec /engineyard/bin/dj <%= @app_name %> stop <%= @framework_env %> <%= @worker_name %>" with timeout 60 seconds
  if totalmem is greater than 300 MB then restart # eating up memory?
  group dj_<%= @app_name %>

Remove cd from DJ monit file.

Remove cd from DJ monit file.


    <% if frontend_available? %>
      <%= link_to spree.root_url, class: 'template-label' do %>
        <%= image_tag Spree::Config.logo, class: 'logo', alt: current_store.name, title: current_store.name %>
      <% end %>
    <% else %>
      <%= image_tag Spree::Config.logo, class: 'logo', alt: current_store.name, title: current_store.name %>
    <% end %>

<% store_name = @order&.store&.name || current_store.name %>

    <% if frontend_available? %>
      <%= link_to spree.root_url, class: 'template-label' do %>
        <%= image_tag Spree::Config.logo, class: 'logo', alt: store_name, title: store_name %>
      <% end %>
    <% else %>
      <%= image_tag Spree::Config.logo, class: 'logo', alt: store_name, title: store_name %>
    <% end %>

[SDP-352] Use orders store name for logo alt and title attributes


      Team <%= h(team.name) %>
      <% if team.managed_by?(current_user) %>
        <a href="/teams/<%= team.slug %>/manage" class="btn btn-default">Manage
      <% end %>

<%= team.members.length %> members

Click on a team member's name to see their full list of exercises.

  <% members.each_slice(3) do |row| %>

      <% row.each do |member| %>
        <%= erb :"teams/member_submissions", locals: {team: team, member: member, submissions: member.submissions.pending} %>
      <% end %>

  <% end %>

      Team <%= h(team.name) %>
      <% if team.managed_by?(current_user) %>
        <a href="/teams/<%= team.slug %>/manage" class="btn btn-default">Manage
      <% end %>

<%= team.all_members.size %> members

Click on a team member's name to see their full list of exercises.

  <% members.each_slice(3) do |row| %>

      <% row.each do |member| %>
        <%= erb :"teams/member_submissions", locals: {team: team, member: member, submissions: member.submissions.pending} %>
      <% end %>

  <% end %>

Fix displayed number of team members

Fix displayed number of team members


<?xml version='1.0' encoding='UTF-8'?>
<slave>
  <name><%= @agent_name %></name>
  <description><%= @description %></description>
  <remoteFS><%= @jenkins_home %></remoteFS>
  <numExecutors><%= @executors %></numExecutors>
  <mode>NORMAL</mode>
  <retentionStrategy class="hudson.slaves.RetentionStrategy$Always"/>
  <launcher class="hudson.plugins.sshslaves.SSHLauncher" plugin="ssh-slaves@1.12">
    <host><%= @agent_hostname %></host>
    <port><%= @ssh_port %></port>
    <credentialsId><%= @credentials_id %></credentialsId>
    <maxNumRetries>0</maxNumRetries>
    <retryWaitTime>0</retryWaitTime>
  </launcher>
  <label><%= @labels %></label>
  <nodeProperties/>
</slave>

<?xml version='1.0' encoding='UTF-8'?>
<slave>
  <name><%= @agent_name %></name>
  <description><%= @description %></description>
  <remoteFS><%= @jenkins_home %></remoteFS>
  <numExecutors><%= @executors %></numExecutors>
  <mode>NORMAL</mode>
  <retentionStrategy class="hudson.slaves.RetentionStrategy$Always"/>
  <launcher class="hudson.plugins.sshslaves.SSHLauncher" plugin="ssh-slaves@1.16">
    <host><%= @agent_hostname %></host>
    <port><%= @ssh_port %></port>
    <credentialsId><%= @credentials_id %></credentialsId>
    <maxNumRetries>0</maxNumRetries>
    <retryWaitTime>0</retryWaitTime>
    <sshHostKeyVerificationStrategy class="hudson.plugins.sshslaves.verifiers.KnownHostsFileKeyVerificationStrategy"/>
  </launcher>
  <label><%= @labels %></label>
  <nodeProperties/>
</slave>

Update Jenkins SSH slave template

Update Jenkins SSH slave template

Update template to lastest plugin version and add default SSH Host Key
Verifiers option to remove security warning


JETTY_HOME="<%= @root %>/jetty"
JETTY_BASE="<%= @base %>"
JETTY_USER="<%= @user %>"
JETTY_SHELL="/bin/sh"
<% if @jetty_arguments %>
JETTY_ARGS="<%= @jetty_arguments %>"
<% end %>
TMPDIR="<%= @root %>/jetty/tmp"
<% if @java %>
JAVA="<%= @java %>"
<% end %>
<% if @java_options %>
JAVA_OPTIONS="<%= @java_options %>"
<% end %>

JETTY_HOME="<%= @root %>/jetty"
JETTY_BASE="<%= @base %>"
JETTY_USER="<%= @user %>"
JETTY_PID="<%= @root %>/jetty/jetty.pid"
JETTY_SHELL="/bin/sh"
<% if @jetty_arguments %>
JETTY_ARGS="<%= @jetty_arguments %>"
<% end %>
TMPDIR="<%= @root %>/jetty/tmp"
<% if @java %>
JAVA="<%= @java %>"
<% end %>
<% if @java_options %>
JAVA_OPTIONS="<%= @java_options %>"
<% end %>

Add in default Jetty run file location as the default install doesn't properly deal with /var/run when using setuid.


<% if post.title.present? %>

<%= post.title %>

<% else %>

<% end %>

<%= post.content %>

<% if post.author.present? %>
  - <%= post.author %>
<% end %>
<% if post.comments.present? %>
   <%= post.comments.size %>

<% end %>

    <%= link_to post, :class => "btn btn-small" do %>

    <% end %>
    <%= link_to post_path(post, :format => :text),
      :class => "btn btn-small"  do %>

    <% end%>
    <%= link_to edit_post_path(post), :class => "btn btn-small"  do %>

      <% end %>
    <%= link_to post, method: :delete,
     data: { confirm: 'Are you sure?' }, :class => "btn btn-small" do %>

    <% end %>

<% if post.title.present? %>

<%= link_to post.title, post %>

<% else %>

<% end %>

<%= post.content %>

<% if post.author.present? %>
  - <%= post.author %>
<% end %>
<% if post.comments.present? %>
   <%= post.comments.size %>

<% end %>

    <%= link_to post, :class => "btn btn-small" do %>

    <% end %>
    <%= link_to post_path(post, :format => :text),
      :class => "btn btn-small"  do %>

    <% end%>
    <%= link_to edit_post_path(post), :class => "btn btn-small"  do %>

      <% end %>
    <%= link_to post, method: :delete,
     data: { confirm: 'Are you sure?' }, :class => "btn btn-small" do %>

    <% end %>

Make the post title a link to the post

Make the post title a link to the post


  <% param_prefix = "payment_source[#{payment_method.id}]" %>

  <% Spree::Konbini::STORES.each_with_index do |store, index| %>

      <%= radio_button "#{param_prefix}", "convenience", store, checked: index.zero? %>
      <%= image_tag "#{store}.png" %>
      <%= Spree.t("conveniences.#{store}") %>

  <% end %>

<%= Spree.t("payment_fee", fee: "185円") %>

  <% param_prefix = "payment_source[#{payment_method.id}]" %>

  <% Spree::Konbini::STORES.each do |store| %>

      <%= radio_button "#{param_prefix}", "convenience", store %>
      <%= image_tag "#{store}.png" %>
      <%= Spree.t("conveniences.#{store}") %>

  <% end %>

<%= Spree.t("payment_fee", fee: "185円") %>

Revert "Select first Konbini option by default"

This reverts commit c091e3e8389032d1160740de77398eb10c4a72ae.


<!DOCTYPE html>

    <meta charset="UTF-8">
    <title>QBO Connect</title>

    <% if session[:token] %>

<%= @auth_data %>

    <% end %>

    <ipp:connectToIntuit></ipp:connectToIntuit>

OAuth2 Connect Page

Remove OAuth2 link from OAuth1 sample start up


Thank you!

Your donation for <%= number_to_currency(@donation_amount) %> will help us support and promote great journalism like <%= link_to 'these featured projects', featured_index_url %>. You should receive a receipt at the email address you provided. If you don’t, please <%= link_to 'get in touch', contact_url %>.

Would you mind helping us get the word out with a tweet?

      Tweet

<% content_for :javascript_footer_inline do %>
//  ga('send', 'event', 'Donations', 'Donate', 'suggested_donation:<%= @suggested_donation %>', <%= @donation_amount.to_i %>);
<% end %>

Thank you!

Your donation for <%= number_to_currency(@donation_amount) %> will help us support and promote great journalism like <%= link_to 'these featured projects', featured_index_url %>. You should receive a receipt at the email address you provided. If you don’t, please <%= link_to 'get in touch', contact_url %>.

Would you mind helping us get the word out with a tweet?

      Tweet

<% content_for :javascript_footer_inline do %>
  ga('send', 'event', 'Donations', 'Donate', 'suggested_donation:<%= @suggested_donation %>', <%= @donation_amount.to_i %>);
<% end %>

Enable GA tracking on donation thanks page


<%= content_for :title, "Program" %>

Smidig 2010 program

<%= feed_link "All proposed talks", talks_path(:rss) %>

<%= form_tag make_program_periods_path if @edit %>

    Tidspunkt
    Scene A
    Scene B
    Scene C

  <% for time_id in @time_ids %>

        <% #= @periods_by_time_and_scene[time_id][0].day %>
        <%= @periods_by_time_and_scene[time_id][0].time_of_day %>

      <%= render :partial => @periods_by_time_and_scene[time_id][0]  %>
      <%= render :partial => @periods_by_time_and_scene[time_id][1]  %>
      <%= render :partial => @periods_by_time_and_scene[time_id][2]  %>

  <% end %>

<%= submit_tag "Oppdater programmet" if @edit %>

<%= content_for :title, "Program" %>

Smidig 2010 program

<%= feed_link "All proposed talks", talks_path(:rss) %>

<%= form_tag make_program_periods_path if @edit %>

    Tidspunkt
    Scene A
    Scene B
    Scene C

  <% for time_id in @time_ids %>

        <% #= @periods_by_time_and_scene[time_id][0].day %>
        <%= @periods_by_time_and_scene[time_id][0].time_of_day %>

      <% for scene in [0,1,2] %>
        <%= render :partial => @periods_by_time_and_scene[time_id][scene] if @periods_by_time_and_scene[time_id][scene]  %>
      <% end %>

  <% end %>

<%= submit_tag "Oppdater programmet" if @edit %>

Make periods/index support a number of periods not divisible by three


<%= form_for(concept) do |f| %>
  <% if concept.errors.any? %>

<%= pluralize(concept.errors.count, "error") %> prohibited this concept from being saved:

      <% concept.errors.full_messages.each do |message| %>

<%= message %>

      <% end %>

  <% end %>

    <%= f.label :value %>
    <%= f.text_field :value %>

    <%= f.label :response_sets %>
    <%= select_tag 'linked_response_sets', options_from_collection_for_select(ResponseSet.all, 'id', 'name', @concept.response_sets.map{ |j| j.id }), :multiple => true, include_blank: true %>

    <%= f.submit %>

<% end %>

<%= form_for(concept) do |f| %>
  <% if concept.errors.any? %>

<%= pluralize(concept.errors.count, "error") %> prohibited this concept from being saved:

      <% concept.errors.full_messages.each do |message| %>

<%= message %>

      <% end %>

  <% end %>

    <%= f.label :value %>
    <%= f.text_field :value %>

    <%= label_tag :linked_response_sets %>
    <%= select_tag 'linked_response_sets', options_from_collection_for_select(ResponseSet.all, 'id', 'name', @concept.response_sets.map{ |j| j.id }), :multiple => true, include_blank: true %>

    <%= f.submit %>

<% end %>

Change to concepts _form to fix accessibility bug


<%= render @question %>
<%= render "votes/vote_count", :object => @question%>
<%= render "votes/vote_form", :object => @question, :vote => @vote %>
<%= link_to "comment", new_question_response_path(@question) %>
<% if @question.responses %>
  <%= render :partial => "responses/response", :collection => @question.responses %>
<% end %>
<%= render "answers/answer_form.html", :question => @question %>

<% @question.sorted_answers.each do |answer| %>
  <% if @question.best_answer_id == answer.id %>
    <%= render "answers/best_answer_identifier" %>

  <% end %>
  <%= render answer %>
  <% if @question.best_answer_id == nil && @question.asker_id == current_user.id %>
    <%= render "answers/best_answer_form", :answer => answer %>

  <% end %>

<% end %>

<%= render @question %>
<%= render "votes/vote_count", :object => @question%>
<% if !Vote.find_by(voter_id: current_user.id, votable_id: @question.id, votable_type: "Question") && current_user.id != @question.asker.id  %>
  <%= render "votes/vote_form", :object => @question, :vote => @vote %>
<% end %>
<%= link_to "comment", new_question_response_path(@question) %>
<% if @question.responses %>
  <%= render :partial => "responses/response", :collection => @question.responses %>
<% end %>
<%= render "answers/answer_form.html", :question => @question %>

<% @question.sorted_answers.each do |answer| %>
  <% if @question.best_answer_id == answer.id %>
    <%= render "answers/best_answer_identifier" %>

  <% end %>
  <%= render answer %>
  <% if @question.best_answer_id == nil && @question.asker_id == current_user.id %>
    <%= render "answers/best_answer_form", :answer => answer %>

  <% end %>

<% end %>

Implement logic control on question voting.

Add two logic controls: 1) if current user is question asker, voting form is not visible, and 2) if current user has already voted on question, voting form is not visible.


      <%= link_to "Details", trip_path(trip), class: "btn btn-primary nextBtn btn-xs trip_details", method: :get %>

      <%= link_to "Edit", edit_trip_path(trip), class: "btn btn-info nextBtn btn-xs" %>

      <%= link_to "Delete", trip_path(trip), class: "btn btn-info nextBtn btn-xs", method: :delete %>

<%= link_to (parcels.where(delivered: false).count), trip_parcels_path(trip) %>

<%= trip.destination_address.city %>

<%= format_date(trip.arriving_at) %>

      <%= button_to "Details", trip_path(trip), class: "btn btn-primary nextBtn btn-xs trip_details", method: :get %>

      <%= button_to "Edit", edit_trip_path(trip), class: "btn btn-info nextBtn btn-xs" %>

      <%= button_to "Delete", trip_path(trip), class: "btn btn-info nextBtn btn-xs", method: :delete %>

      <% if parcels.count > 0 %>
        <%= link_to parcels.count, trip_parcels_path(trip) %>
      <% else %>

0

      <% end %>

<%= trip.destination_address.city %>

<%= format_date(trip.arriving_at) %>

Change link_to to button_to for trip edit, delete, details in profile


# Running Buildkite Agent with Docker

You can run the Buildkite Agent inside a Docker container using the official Docker images.

Running each build in it’s own container

These instructions cover how to run the agent using Docker. If you want to learn how to isolate each build using Docker and any of our standard Linux-based installers read the Docker-Based Builds guide.

<%= toc %>

## Running via Docker

<%= render_agent_setup :docker, nil, "v3" %>

## Running on startup

By default Docker [starts containers on restart](https://docs.docker.com/articles/host_integration/) so there's no need for upstart or similar. Simply start your container with `-d` to daemonize it and it will be restarted on system boot with the same environment variables and arguments.

## SSH Keys, Configuration and Customization

See the [GitHub repository](https://github.com/buildkite/docker-buildkite-agent) for instructions on how to customize the base image. Alternatively you can create your own Docker image using our standard installer packages (see our [Ubuntu Dockerfile](https://github.com/buildkite/docker-buildkite-agent/blob/master/ubuntu/Dockerfile) for an example).

# Running Buildkite Agent with Docker

You can run the Buildkite Agent inside a Docker container using the official Docker images.

Running each build in it’s own container

These instructions cover how to run the agent using Docker. If you want to learn how to isolate each build using Docker and any of our standard Linux-based installers read the Docker-Based Builds guide.

<%= toc %>

## Running via Docker

<%= render_agent_setup :docker, nil, "v3" %>

## Running on startup

By default Docker [starts containers on restart](https://docs.docker.com/articles/host_integration/) so there's no need for upstart or similar. Simply start your container with `-d` to daemonize it and it will be restarted on system boot with the same environment variables and arguments.

## SSH Keys, Configuration and Customization

See the [Dockerhub repository](https://hub.docker.com/r/buildkite/agent/) for instructions on how to customize the base image. Alternatively you can create your own Docker image using our standard installer packages (see our [Ubuntu Dockerfile](https://github.com/buildkite/agent/blob/master/packaging/docker/ubuntu-linux/Dockerfile) for an example).

Update links to config and dockerfile example


          <button type="button" class="close" data-dismiss="modal" aria-label="Close">×</button>

Share Your Report

Use the following link to share your report with colleagues or to publish it openly for others to read.

        <%= link_to "Share report", report_path(@assessment, token: @assessment.token), id: "share-report-link" %>

        Anyone accessing the link will be able to read the full report, including your scores, your answers, and the list
        of suggested improvements.

          <button type="button" class="close" data-dismiss="modal" aria-label="Close">×</button>

Share Your Report

        Copy the following link to share your report with colleagues or to publish it openly for others to read.

        <textarea id="share-report-link" style="width: 100%"><%= request.base_url %><%= url_for report_path(@assessment, token: @assessment.token) %></textarea>

        Anyone accessing the link will be able to read the full report, including your scores, your answers, and the list
        of suggested improvements.

Put the sharing url in a text box

Put the sharing url in a text box


<% if !@part.nil? %>
  <% @title=@part.title %>

<%= @part.title %>

  <% if !@part.prologue.nil? %>

<%= @part.prologue %>

  <% end %>

  <% @part.treatises.each do |treatise| %>

<%= treatise.title %>

  <% end %>

<% end %>

Fix the test which checks for an attempt to show a part without an ID.


  <%= render 'form' %>
  <%= render 'partner' %>

  <%= link_to 'Edit', edit_user_path(@user) %> |
  <%= link_to 'Back', users_path %>

Change placement of divs on user show page


  <%= render partial: 'form' %>

  <%= render partial: 'relation/customs/index',
             locals: { subject: resource } %>

  <%= render partial: 'destroy' %>

  <%= render partial: 'form' %>

  <%= render partial: 'relation/customs/index',
             locals: { subject: resource } %>

<%= render partial: 'avatars/form',
           object: resource.actor,
           as: :avatarable %>

  <%= render partial: 'destroy' %>

Include logo form in site clients edit

Include logo form in site clients edit