# This is the main configuration file for the application.
# ~~~~~

# First, include the base config file which we'll then override later in this file.
include "application"

# Secret key
# ~~~~~
# The secret key is used to secure cryptographics functions.
# If you deploy your application to several instances be sure to use the same key!
play.crypto.secret="<%= @application_secret %>"
play.http.secret.key="<%= @application_secret %>"

# Set session cookies to https only (not set in dev)
session.secure=true

play.akka.actor.retrieveBodyParserTimeout = 30 seconds

# In integration, disable TLS cert validation as the test PDF processing server
# has a self-signed cert.
ws.acceptAnyCertificate=<%= @ws_accept_any_certificate %>

# This is the main configuration file for the application.
# ~~~~~

# First, include the base config file which we'll then override later in this file.
include "application"

# Secret key
# ~~~~~
# The secret key is used to secure cryptographics functions.
# If you deploy your application to several instances be sure to use the same key!
play.crypto.secret="<%= @application_secret %>"
play.http.secret.key="<%= @application_secret %>"

# Set session cookies to https only (not set in dev)
session.secure=true

# Some payment providers send responses using an HTML form which POSTs data
# from the user's browser to Licensing. For this to work, the POST request
# needs to include the session cookie. This means the SameSite attribute on the
# session cookie has to be set to None (rather than the default which is "Lax"
# as of 2021).
#
# https://web.dev/samesite-cookies-explained/
play.http.session.sameSite="None"

play.akka.actor.retrieveBodyParserTimeout = 30 seconds

# In integration, disable TLS cert validation as the test PDF processing server
# has a self-signed cert.
ws.acceptAnyCertificate=<%= @ws_accept_any_certificate %>

Set SameSite=None for licensify frontend

Some payment providers send responses using an HTML form which POSTs
data  from the user's browser to Licensing. For this to work, the POST
request  needs to include the session cookie. This means the SameSite
attribute on the  session cookie has to be set to None (rather than the
default which is "Lax"  as of 2021).

https://web.dev/samesite-cookies-explained/

Note that this commit only touches the config file for licensify
frontend - licensify-admin and licensify-feed have separate .conf.erb
files in the same directory as this.

This depends on https://github.com/alphagov/licensify/pull/514 which
upgraddes Play to 2.6.25


#!/bin/sh -ex

BACKUP_DIR="<%= @backup_dir %>"

DATE_TODAY=$(date +%F)
TMP_FILE=$(mktemp --tmpdir=${BACKUP_DIR} --suffix=_${DATE_TODAY}.sql.gz)
BACKUP_FILE="${BACKUP_DIR}/postgres_whole_database_${DATE_TODAY}.sql.gz"

export PGUSER=postgres
export PGHOST=postgresql-primary

# Dump the entire database as one thing. See pp-manual for restore instructions.

pg_dumpall --clean --oids |gzip > ${TMP_FILE}

mv ${TMP_FILE} ${BACKUP_FILE}

# clean backups older than 30 days

find ${BACKUP_DIR} -mtime +30 -exec rm {} +

#!/bin/sh -ex

BACKUP_DIR="<%= @backup_dir %>"

DATE_TODAY=$(date +%F)
TMP_FILE=$(mktemp --tmpdir=${BACKUP_DIR} --suffix=_${DATE_TODAY}.sql.gz)
BACKUP_FILE="${BACKUP_DIR}/postgres_whole_database_${DATE_TODAY}.sql.gz"

export PGUSER=postgres

# Dump the entire database as one thing. See pp-manual for restore instructions.

pg_dumpall --clean --oids |gzip > ${TMP_FILE}

mv ${TMP_FILE} ${BACKUP_FILE}

# clean backups older than 30 days

find ${BACKUP_DIR} -mtime +30 -exec rm {} +

Fix postgres backup script on production

Turns out using `PGHOST` prevents us from authenticating on production
:S


<% if reviewer %>
Hello human, I'm @whedon. I'm here to help you with some common editorial tasks. <%= reviewer %> it looks like you're currently assigned as the reviewer for this paper :tada:.

**:star: Important :star:**

If you haven't already, you should seriously consider unsubscribing from GitHub notifications for this (https://github.com/<%= nwo %>) repository. As as reviewer, you're probably currently watching this repository which means for GitHub's default behaviour you will receive notifications (emails) for all reviews 😿

To fix this do the following two things:

1. Set yourself as 'Not watching' https://github.com/<%= nwo %>:

![watching](https://cloud.githubusercontent.com/assets/4483/20250593/64d7ce48-a9de-11e6-9225-d3dfb3e48e68.png)

2. You may also like to change your default settings for this watching repositories in your GitHub profile here: https://github.com/settings/notifications

![notifications](https://cloud.githubusercontent.com/assets/4483/20250604/79eb3144-a9de-11e6-9e51-0fe940966689.png)

<% else %>
Hello human, I'm @whedon. I'm here to help you with some common editorial tasks.
<% end %>

For a list of things I can do to help you, just type:

```
@whedon commands
```

<% if reviewer %>
Hello human, I'm @whedon. I'm here to help you with some common editorial tasks. <%= reviewer %> it looks like you're currently assigned as the reviewer for this paper :tada:.

**:star: Important :star:**

If you haven't already, you should seriously consider unsubscribing from GitHub notifications for this (https://github.com/<%= nwo %>) repository. As a reviewer, you're probably currently watching this repository which means for GitHub's default behaviour you will receive notifications (emails) for all reviews 😿

To fix this do the following two things:

1. Set yourself as 'Not watching' https://github.com/<%= nwo %>:

![watching](https://cloud.githubusercontent.com/assets/4483/20250593/64d7ce48-a9de-11e6-9225-d3dfb3e48e68.png)

2. You may also like to change your default settings for this watching repositories in your GitHub profile here: https://github.com/settings/notifications

![notifications](https://cloud.githubusercontent.com/assets/4483/20250604/79eb3144-a9de-11e6-9e51-0fe940966689.png)

<% else %>
Hello human, I'm @whedon. I'm here to help you with some common editorial tasks.
<% end %>

For a list of things I can do to help you, just type:

```
@whedon commands
```

Fix typo: "As as reviewer" --> "As a reviewer"


upstream varnish {
  server localhost:7999;
}

server {
  server_name www.gov.uk www.<%= @platform %>.alphagov.co.uk www-origin.<%= @platform %>.alphagov.co.uk;
  listen 80 default_server;
  rewrite ^/(.*) https://$server_name/$1 permanent;
}

server {
  server_name         www.gov.uk;
  listen              443 ssl default_server;
  ssl_certificate     /etc/nginx/ssl/www.gov.uk.crt;
  ssl_certificate_key /etc/nginx/ssl/www.gov.uk.key;
  include             /etc/nginx/ssl.conf;

  include             /etc/nginx/router_routes.conf;
}

server {
  server_name         www.<%= @platform %>.alphagov.co.uk www-origin.<%= @platform %>.alphagov.co.uk;
  listen              443 ssl;
  ssl_certificate     /etc/nginx/ssl/www.<%= @platform %>.alphagov.co.uk.crt;
  ssl_certificate_key /etc/nginx/ssl/www.<%= @platform %>.alphagov.co.uk.key;
  include             /etc/nginx/ssl.conf;

  include             /etc/nginx/router_routes.conf;
}

upstream varnish {
  server localhost:7999;
}

server {
  server_name www.gov.uk www.<%= @platform %>.alphagov.co.uk www-origin.<%= @platform %>.alphagov.co.uk;
  listen 80 default_server;
  rewrite ^/(.*) https://$host/$1 permanent;
}

server {
  server_name         www.gov.uk;
  listen              443 ssl default_server;
  ssl_certificate     /etc/nginx/ssl/www.gov.uk.crt;
  ssl_certificate_key /etc/nginx/ssl/www.gov.uk.key;
  include             /etc/nginx/ssl.conf;

  include             /etc/nginx/router_routes.conf;
}

server {
  server_name         www.<%= @platform %>.alphagov.co.uk www-origin.<%= @platform %>.alphagov.co.uk;
  listen              443 ssl;
  ssl_certificate     /etc/nginx/ssl/www.<%= @platform %>.alphagov.co.uk.crt;
  ssl_certificate_key /etc/nginx/ssl/www.<%= @platform %>.alphagov.co.uk.key;
  include             /etc/nginx/ssl.conf;

  include             /etc/nginx/router_routes.conf;
}

Use requested host rather than canonical server name for redirect


    <button type="button" class="close" data-dismiss="alert">×</button>

    <button class="project-status-alert-btn" id="project-status-alert-btn" style="float: right; margin-left: 5px; display: none">
    	Project Status Button
    </button>
     <button class="project-status-alert-btn" id="project-status-alert-btn2" style="float: right; display: none">
    	Project Status Button
    </button>

  <% if @in_author_view %>
    <input type="button" class="link" id="hireBtn" value="Hire Workers">
    <input type="button" class="link" id="addTimeBtn" value="Add Time" onclick="addTime()">

    <%= render :partial => "confirm_action" %>
  <% end %>

    <button type="button" class="close" data-dismiss="alert">×</button>

    <button class="project-status-alert-btn" id="project-status-alert-btn" style="float: right; margin-left: 5px; display: none">
    	Project Status Button
    </button>
     <button class="project-status-alert-btn" id="project-status-alert-btn2" style="float: right; display: none">
    	Project Status Button
    </button>

  <% if @in_author_view %>
    <input type="button" class="link" id="hireBtn" value="Hire Workers">

    <%= render :partial => "confirm_action" %>
  <% end %>

Remove add time button for now

Remove add time button for now


/*
Copyright 2008-2013 Concur Technologies, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may
not use this file except in compliance with the License. You may obtain
a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations
under the License.
*/

<%= Rouge::Themes::Base16::Monokai.render(:scope => '.highlight') %>

.highlight .c, .highlight .cm, .highlight .c1, .highlight .cs {
  color: #909090;
}

.highlight, .highlight .w {
  background-color: $code-bg;
}

/*
Copyright 2008-2013 Concur Technologies, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may
not use this file except in compliance with the License. You may obtain
a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations
under the License.
*/

@import 'variables';

<%= Rouge::Themes::Base16::Monokai.render(:scope => '.highlight') %>

.highlight .c, .highlight .cm, .highlight .c1, .highlight .cs {
  color: #909090;
}

.highlight, .highlight .w {
  background-color: $code-bg;
}

Fix bug where syntax.css would fail to compile, causing errors


<a href="<%= root_url %>">

<a href="<%= root_url %>">Home

<a href="<%= new_question_path %>">Ask Question

          <% if current_user %>

<a href="<%= logout_path %>">Logout

          <% else %>

<a href="<%= login_path %>">Login

          <% end %>

<a href="<%= root_url %>">

          <li <%= 'class=current_page_item' if current_page?(root_url) %>><a href="<%= root_url %>">Home

          <% if current_user %>
            <li <%= 'class=current_page_item' if current_page?(new_question_path) %>><a href="<%= new_question_path %>">Ask Question

<a href="<%= logout_path %>">Logout

          <% else %>
            <li <%= 'class=current_page_item' if current_page?(login_path) %>><a href="<%= login_path %>">Register/Login

          <% end %>

Add if statements to main nav to highlight current page


<% if phases.present? %>

<%= t("admin.budgets.edit.phases_caption") %>

        <%= t("admin.budgets.edit.phase") %>
        <%= t("admin.budgets.edit.duration") %>
        <%= t("admin.budgets.edit.enabled") %>
        <%= t("admin.budgets.edit.actions") %>

    <% phases.each do |phase| %>
      <tr id="<%= dom_id(phase) %>" class="phase">

          <%= phase.name %>
          <% if phase.current? %>
            <%= t("admin.budgets.edit.active") %>
          <% end %>

          <% if phase.starts_at.present? || phase.ends_at.present? %>
            <%= dates(phase) %>
          <% else %>
            <%= t("admin.budgets.edit.blank_dates") %>
          <% end %>

          <%= enabled_cell(phase) %>

          <%= render Admin::TableActionsComponent.new(phase,
            actions: [:edit],
            edit_path: edit_path(phase)
          ) %>

    <% end %>

<% end %>

Fix phases table styles on small screens

The "enabled" column was aligned to the center, which looked weird when
seen on small screens because the `table-for-mobile` class (which I
think was added by accident) shows `th` and `td` elements using
`display: block`. Besides, using `display: block` on these elements
means browsers don't identify them as table headings/cells anymore,
causing accessibility issues.


<% content_for :tabs do %>
  <nav>
    <ul class="tabs" data-hook="admin_settings_payments_tabs">
      <% if can?(:display, Spree::PaymentMethod) %>
        <%= settings_tab_item Spree::PaymentMethod.model_name.human(count: :other), admin_payment_methods_path %>
      <% end %>
    </ul>
  </nav>
<% end %>

Add payments sub section partial

Add payments sub section partial

So far this tabbed view will only display the payment methods page of
the settings section


    <%= link_to "<", date: @date.prev_month %>
    <%= @date.strftime("%B %Y") %>
    <%= link_to ">", date: @date.next_month %>

  <%= calendar @date do |date| %>
    <%= date.strftime('%b') %>
    <%= date.day %>
    <%= date.strftime('%Y') %>
    <% if @events_by_date[date] %>

        <% @events_by_date[date].each do |event| %>

<%= link_to event.title, event %>

        <% end %>

    <% end %>
  <% end %>

    <%= link_to "<", date: @date.prev_month %>
    <%= @date.strftime("%B %Y") %>
    <%= link_to ">", date: @date.next_month %>

  <%= calendar @date do |date| %>
    <%= date.strftime('%b') %>
    <%= date.day %>
    <%= date.strftime('%Y') %>
    <% if @events_by_date[date] %>

        <% @events_by_date[date].each do |event| %>

<%=link_to event.organization.title, event %>

            <%= link_to event.title, event %>

        <% end %>

    <% end %>
  <% end %>

Add organization name to calendar display


Agent Event Flow

        <%= link_to ' Back'.html_safe, agents_path, class: "btn" %>

        <%
           dot_format_string = "digraph foo {"
           @agents.each.with_index do |agent, index|
             dot_format_string += "\"#{agent.name}\";"
             agent.receivers.each do |receiver|
               dot_format_string += "\"#{agent.name}\"->\"#{receiver.name}\";"
             end
           end
           dot_format_string = dot_format_string + "}"
        %>

        <img src="https://chart.googleapis.com/chart?cht=gv&chl=<%= CGI::escape dot_format_string %>" />

Agent Event Flow

        <%= link_to ' Back'.html_safe, agents_path, class: "btn" %>

        <%
          dot_format_string = "digraph foo {"
          @agents.each.with_index do |agent, index|
            dot_format_string += "\"#{agent.name}#{" (Disabled)" if agent.disabled?}\";"
            agent.receivers.each do |receiver|
              dot_format_string += "\"#{agent.name}#{" (Disabled)" if agent.disabled?}\"->\"#{receiver.name}#{" (Disabled)" if receiver.disabled?}\";"
            end
           end
           dot_format_string = dot_format_string + "}"
        %>

        <img src="https://chart.googleapis.com/chart?cht=gv&chl=<%= CGI::escape dot_format_string %>" />

[196-Disable] Update agent diagram to show disabled state


<%= notice %>

<%= @bookmark.title %>

    <%= link_to @bookmark.url, @bookmark.url %>

    <%= @bookmark.shortening %>

      <%= @bookmark.tag_list %>

<%= link_to 'Edit', edit_bookmark_path(@bookmark) %> |
<%= link_to 'Back', bookmarks_path %>

Adjust styles on Show page

Adjust styles on Show page


<!DOCTYPE html>
<html>
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><%= content_for?(:title) ? yield(:title) : "REFUGE Restrooms" %></title>
    <meta name="description" content="<%= content_for?(:description) ? yield(:description) : "Refuge Restrooms" %>">
    <meta name="keywords" content="gender neutral restrooms,gender,neutral,restrooms, unisex restrooms, unisex, restrooms, refuge restrooms, refuge, restrooms">
    <meta name="author" content="RefugeRestrooms.org">
    <script language="javascript" type="text/javascript" src="//code.jquery.com/jquery-1.10.2.min.js"></script>
    <script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>

    <%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
    <%= javascript_include_tag "application", "data-turbolinks-track" => true %>
    <%= csrf_meta_tags %>
  </head>

  <body>
    <main role="main">
      <header>
        <%= render 'layouts/navigation' %>
      </header>

      <div class = 'container'>
        <%= yield %>
        <%= render 'layouts/footer' %>
      </div>
    </main>

<%= render 'layouts/ga_tag' %>
<%= render 'layouts/search' %>
  </body>

  </html>

Improve formatting on splash layout

Improve formatting on splash layout

No functional changes, just newlines and indentation


CoCo Forums

Chat about schools, scholarships, the application process and more!

Topic

Most Recent Reply

    <% @messages.each do |message| %>

<%= link_to message.title, message_comments_path(message) %>

          <% last_comment = message.comments.last %>
          <% if last_comment %>
            <%= last_comment.body %>
          <% else %>
            No responses yet...
          <% end %>

    <% end %>

  <%= link_to 'Add Message', new_message_path %>

CoCo Forums

Chat about schools, scholarships, the application process and more!

Topic

Most Recent Reply

    <% @messages.each do |message| %>

<%= link_to message.title, message_comments_path(message) %>

          <% last_comment = message.comments.last %>
          <% if last_comment %>
            <%= last_comment.body %>
          <% else %>
            No responses yet...
          <% end %>

    <% end %>

    <%= button_to 'Add a Topic', new_message_path, :class => "waves-effect waves-light btn" %>

Add button to New Topic link.

Add button to New Topic link.


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>

Videos

      <video class="debug" id="video-player" width="320" height="240" 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


    <%= f.label :strategy_link, "3. Have you reviewed Universal Design for Learning? How does your pedagogical strategy link to UDL? (2000 character limit)" %>

    <%= f.text_area :strategy_link, maxlength: "2000" %>

    <%= f.label :strategy_link, "3. Have you reviewed #{link_to "Universal Design for Learning", universal_design_for_learning_index_path, target: "_blank"}? How does your pedagogical strategy link to UDL? (2000 character limit)".html_safe %>

    <%= f.text_area :strategy_link, maxlength: "2000" %>

Add UDL link to Case Study Proposal form

Adds a link to the UDL page in the strategy link question.


<%= t 'toshokan.assistance_requests.forms.sections.pickup_location.title' %>

<%= t 'toshokan.assistance_requests.forms.sections.pickup_location.text' %>

  <% section_fields(['pickup_location'], @assistance_request) do |label, value| %>

<%= t "toshokan.assistance_requests.forms.sections.pickup_location.#{value}_html" %>

  <% end %>

<%= t 'toshokan.assistance_requests.forms.sections.pickup_location.title' %>

<%= t 'toshokan.assistance_requests.forms.sections.pickup_location.text' %>

  <% section_fields(['pickup_location'], @assistance_request) do |label, value| %>

<%= t "toshokan.assistance_requests.forms.sections.pickup_location.values.#{value}_html" %>

  <% end %>

Fix wrong locale key for pickup location


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

<%= description_javadoc_for(repository, "") %>@javax.annotation.Generated( "Domgen" )
@SuppressWarnings( { "UnusedDeclaration", "JavaDoc" } )
public class <%= repository.imit.mock_services_module_name %>
  extends com.google.inject.AbstractModule
{
  @Override
  protected void configure()
  {
<%
  repository.data_modules.select{|data_module| data_module.imit? && data_module.gwt_rpc?}.each do |data_module|
    data_module.services.select{|service| service.imit? && service.gwt_rpc?}.each do |service|
%>
    bind( <%= service.imit.qualified_name %>.class ).toInstance( org.mockito.Mockito.mock( <%= service.imit.qualified_name %>.class ) );
<%
    end
  end
%>  }
}

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

<%= description_javadoc_for(repository, "") %>@javax.annotation.Generated( "Domgen" )
@SuppressWarnings( { "UnusedDeclaration", "JavaDoc" } )
public class <%= repository.imit.mock_services_module_name %>
  extends com.google.inject.AbstractModule
{
  @Override
  protected void configure()
  {
    bind( <%= repository.imit.qualified_client_router_interface_name %>.class ).to( <%= repository.imit.qualified_client_router_impl_name %>.class );
<%
  repository.data_modules.select{|data_module| data_module.imit? && data_module.gwt_rpc?}.each do |data_module|
    data_module.services.select{|service| service.imit? && service.gwt_rpc?}.each do |service|
%>
    bind( <%= service.imit.qualified_name %>.class ).toInstance( org.mockito.Mockito.mock( <%= service.imit.qualified_name %>.class ) );
<%
    end
  end
%>  }
}

Make sure router is bound for tests

Make sure router is bound for tests


<% if @username.kind_of?(Array) -%>
<% for i in [@username, @password].transpose -%>
<%= i[0] -%>:<%= i[1].crypt("Zz") %>
<% end -%>
<% else -%>
<%= @username -%>:<%= @password.crypt("Zz") %>
<% end -%>

Add the ability to have arrays of http_proxy usernames and passwords.


<RSAKeyValue>
<Modulus><%= @modulus %></Modulus>
     <Exponent><%= @exponent %></Exponent>

<%= @p %>

     <Q><%= @q %></Q>
     <DP><% @dp %></DP>
     <DQ><% @dq %></DQ>
     <InverseQ><%= @inverse_q %></InverseQ>
     <D><%= @d %></D>
</RSAKeyValue>

<RSAKeyValue>
<Modulus><%= @modulus %></Modulus>
     <Exponent><%= @exponent %></Exponent>

<%= @p %>

     <Q><%= @q %></Q>
     <DP><%= @dp %></DP>
     <DQ><%= @dq %></DQ>
     <InverseQ><%= @inverse_q %></InverseQ>
     <D><%= @d %></D>
</RSAKeyValue>

Fix template, add = to dp and dq vars

Fix template, add = to dp and dq vars

Former-commit-id: 4b278851dd588714c032cd93f295c38db6b8d2a3 [formerly 76382b765468d3599f8e105fb91d967fcacb4ecf] [formerly 40240648143f5dc2210e325eb935edcc7d133b2a [formerly e1ff0368dc34d88a4d59ba62a1ac9b6c4c88d37e]]
Former-commit-id: ee2c031e348c0cf5f4cd62fc93a5d45d3ce4f624 [formerly 7b2e64951f7a1eeaa7f60d21915b7ed5e269cddb]
Former-commit-id: bb1e8be54f7f6efaaabd70c0e65e3c901d5acb77


<%= render "shared/navigation" %>

    Show:<%# @todo DM are these really the filters we're using? %>

    <%= link_to raw('Need Signatures'), need_signatures_questions_path(gov: @gov), filter_options("need_signatures") %>
    <%= link_to raw('Have Answers'), have_answers_questions_path(gov: @gov), filter_options("have_answers") %>
    <%= link_to raw('Need Answers'), need_answers_questions_path(gov: @gov), filter_options("need_answers") %>
    <%= link_to raw('Recent'), recent_questions_path(gov: @gov), filter_options("recent") %>

<%# @todo DM full-text search within state? %>
      <input type="text" name="" id="" placeholder="Search state">
      <input type="submit" value="">

  <%= render partial: "page" %>

<%= render "shared/navigation" %>

    Show:<%# @todo DM are these really the filters we're using? %>

    <%= link_to raw('Need Signatures'), need_signatures_questions_path(gov: @gov), filter_options("need_signatures") %>
    <%= link_to raw('Have Answers'), have_answers_questions_path(gov: @gov), filter_options("have_answers") %>
    <%= link_to raw('Need Answers'), need_answers_questions_path(gov: @gov), filter_options("need_answers") %>
    <%= link_to raw('Recent'), recent_questions_path(gov: @gov), filter_options("recent") %>

  <%= render partial: "page" %>

Comment out full text search form mockup

Closes opengovernment/product#31


<%= javascript_tag do %>
  jQuery(function($) {
    $("#rss-feeds").rss("<%= rss_feed_url %>",
    {
      limit: 6,
      layoutTemplate: '
{entries}
',
      entryTemplate: '
{formatted_date}{title}
',
      tokens: {
        formatted_date: function(entry, tokens) {
          date = Date.parse(tokens.date) || Date.now();
            return date.toString('yyyy-MM-dd');
        }
      }
    }
    )
  })
<% end -%>

<%= javascript_tag do %>
  jQuery(function($) {
    $("#rss-feeds").rss("<%= rss_feed_url %>",
    {
      ssl: true,
      limit: 6,
      layoutTemplate: '
{entries}
',
      entryTemplate: '
{formatted_date}{title}
',
      tokens: {
        formatted_date: function(entry, tokens) {
          date = Date.parse(tokens.date) || Date.now();
            return date.toString('yyyy-MM-dd');
        }
      }
    }
    )
  })
<% end -%>

Load RSS feeds via SSL

Load RSS feeds via SSL


site "http://community.opscode.com/api/v1"

cookbook "homebrewalt",           :github => "kitchenplan/chef-homebrewalt",    :ref => "v1.8.3"
cookbook "nodejs",                :github => "kitchenplan/chef-nodejs",         :ref => "v1.1"
cookbook "applications",          :github => "kitchenplan/chef-applications",   :ref => "v2.0.2"
cookbook "osxdefaults",           :github => "kitchenplan/chef-osxdefaults",    :ref => "v1.0.2"
cookbook "dotfiles",              :github => "kitchenplan/chef-dotfiles",       :ref => "v1.1"
cookbook "drivers",               :github => "kitchenplan/chef-drivers",        :ref => "v1.0"
cookbook "sudoalt",               :github => "kitchenplan/chef-sudoalt",        :ref => "v2.4"
cookbook "dmg",                   :github => "opscode-cookbooks/dmg",           :ref => "v2.1.4"
cookbook "composer",              :github => "kitchenplan/chef-composer",       :ref => "v1.0"

site "http://community.opscode.com/api/v1"

cookbook "homebrewalt",           :github => "kitchenplan/chef-homebrewalt",    :ref => "v1.8.4"
cookbook "nodejs",                :github => "kitchenplan/chef-nodejs",         :ref => "v1.1"
cookbook "applications",          :github => "kitchenplan/chef-applications",   :ref => "v2.0.2"
cookbook "osxdefaults",           :github => "kitchenplan/chef-osxdefaults",    :ref => "v1.0.2"
cookbook "dotfiles",              :github => "kitchenplan/chef-dotfiles",       :ref => "v1.1"
cookbook "drivers",               :github => "kitchenplan/chef-drivers",        :ref => "v1.0"
cookbook "sudoalt",               :github => "kitchenplan/chef-sudoalt",        :ref => "v2.4"
cookbook "dmg",                   :github => "opscode-cookbooks/dmg",           :ref => "v2.1.4"
cookbook "composer",              :github => "kitchenplan/chef-composer",       :ref => "v1.0"

Upgrade homebrewalt to enable fonts from homebrew cask


Change your password

<%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put }) do |f| %>
  <%= devise_error_messages! %>
  <%= f.hidden_field :reset_password_token %>

<%= f.label :password, "New password" %>

  <%= f.password_field :password, :autofocus => true %>

<%= f.label :password_confirmation, "Confirm new password" %>

  <%= f.password_field :password_confirmation %>

<%= f.submit "Change my password" %>

<% end %>

<%= render "devise/shared/links" %>

Fix Change Password form style to match other forms


<% if @button_color %>

<% end %>

<a class="Sessions-oauthButton Sessions-githubButton" href="<%= @github_config.github_url(self) %>">

<a class="Sessions-oauthButton Sessions-githubButton" <% if @button_color %>style="background-color: <%= @button_color %>;"<% end %> href="<%= @github_config.github_url(self) %>">

Fix issue with style tag inside flex container


alter database add logfile thread <%= @thread %>;
alter database add logfile thread <%= @thread %>;

alter database add logfile thread <%= @thread %> group 1 size 512M;
alter database add logfile thread <%= @thread %> group 2 size 512M;
alter database add logfile thread <%= @thread %> group 3 size 512M;

Change RAC instance to t3 logfiles with a size of 512M


---
title: Welcome to Middleman
---

Middleman is Watching

    <%= link_to "Read Online Documentation", "http://middlemanapp.com/" %>

---
title: Welcome to Middleman
---

<%= List.first.user_name %>

Middleman is Watching

    <%= link_to "Read Online Documentation", "http://middlemanapp.com/" %>

Read data from sqlite3 database

Read data from sqlite3 database


<%= form.inputs do %>
<%= form.input :name %>
<%= form.input :postal_address %>

<%= form.inputs 'Phone numbers' do %>
  <%= form.semantic_fields_for :phone_numbers, phone_numbers_for(form.object) do |phone_number| %>

      <%= phone_number.input :kind, :collection => PhoneNumber::KINDS %>
      <%= phone_number.input :label %>
      <%= phone_number.input :value %>

      <%= form.submit 'Delete', :class => 'delete-item' %>

  <% end %>
  <%= form.submit 'Add new phone number', :class => 'new-item' %>
<% end %>

<%= form.input :email_address %>
<%= form.input :website_url %>
<%= form.input :opening_hours %>

<%= link_to 'Cancel', form.object.new_record? ? contacts_path : contact_path(form.object), :class => 'button' %>

<%= form.submit "#{form.object.new_record? ? 'Create' : 'Update'} Contact", :class => form.object.new_record? ? 'create' : 'update' %>

<% end %>

Clean up contact form partial

Clean up contact form partial


    <%# TODO: Add sprint or release information depending on where it came from %>

Product Features

    <% for feature in @features %>

          <%= h feature.user_story %>

              <% link_to project_feature_path(@project.code, feature.id) do %>

              <% end %>

    <% end %>

    <%# TODO: Paginate list %>
    <%# TODO: Show no features text if there are no features yet %>

<%= link_to 'Project Dashboard', project_path(@project.code), :class => 'dashboard' %>

  <%# TODO: Add back link to release list or sprint list depending on where it came from %>

      Product Features in
      <% if @release %>
        Release <%= @release.version_number %>
      <% elsif @sprint %>
        Sprint <%= @sprint.span_date %>
      <% end %>

    <% unless @features.empty? %>

        <% for feature in @features %>

              <%= h feature.user_story %>

                  <% link_to project_feature_path(@project.code, feature.id) do %>

                  <% end %>

        <% end %>

     <% else %>

        There are no features yet.

     <% end %>
    <%# TODO: Paginate list %>

<%= link_to 'Project Dashboard', project_path(@project.code), :class => 'dashboard' %>

  <%# TODO: Add back link to release list or sprint list depending on where it came from %>

Add release and sprint info

Add release and sprint info


<%= simple_form_for(@listing) do |f| %>
    <%= f.error_notification %>

      <%= f.input :title %>
      <%= f.input :description %>
      <%= f.input :fair_market_value, input_html: { type: "number", step: "0.01", value: "0.00" } %>
      <%= f.label :category %>
      <%= f.collection_select :category_ids, Category.order(:name), :id, :name, {}, { multiple: false } %>

      <%= f.button :submit %>

<% end %>

<%= simple_form_for(@listing) do |f| %>
    <%= f.error_notification %>

      <%= f.input :title %>
      <%= f.input :description %>
      <%= f.input :fair_market_value, input_html: { type: "number", step: "0.01", value: "0.00" } %>
      <%= f.label :category %>
      <%= f.collection_select :category_ids, Category.order(:name), :id, :name, {}, { multiple: false } %>

      <%= f.button :submit, class: "radius" %>

<% end %>

Add radius to new item form button

Add radius to new item form button


<%= @question.title %>

<%= @question.body %>

  <%= render template: "answers/new.html.erb", locals: { question: @question, answer: @answer} %>

  <% @question.answers.each do |answer| %>
    <%= answer.body %> by

  <% end %>

<%= @question.title %>

<%= @question.body %>

  <%= render template: "answers/new.html.erb", locals: { question: @question, answer: @answer} %>

    <% @question.answers.each do |answer| %>
      <%= answer.body %>

    <% end %>

Add class name for question body in a question page.


<% content_for :body_class, "#{ @colour }" %>

<h1>
  <%= (@team_name.upcase == @team_name || @team_name.downcase == @team_name) ? @team_name.upcase : @team_name %>
</h1>

<% content_for :body_class, "#{ @colour }" %>

  <% @team_name = @team_name.gsub(/^(GOV.UK)/i, "\\1
") %>
  <%= (@team_name.upcase == @team_name || @team_name.downcase == @team_name) ? sanitize(@team_name.upcase) : sanitize(@team_name) %>

Insert a line break after GOV.UK

Insert a line break after GOV.UK

Matches the design of the physical signs


# Managed by puppet - modifications will be overwritten
# In defined class profile::swh::deploy::worker::instance

[Service]
Environment=CONCURRENCY=<%= @concurrency %>
Environment=MAX_TASKS_PER_CHILD=<%= @max_tasks_per_child %>
Environment=LOGLEVEL=<%= @loglevel %>
<% if @limit_no_file %>
LimitNOFILE=<%= @limit_no_file %>
<% end %>
<% if @private_tmp %>
TmpPrivate=<%= @private_tmp %>
<% end %>

# Managed by puppet - modifications will be overwritten
# In defined class profile::swh::deploy::worker::instance

[Service]
Environment=CONCURRENCY=<%= @concurrency %>
Environment=MAX_TASKS_PER_CHILD=<%= @max_tasks_per_child %>
Environment=LOGLEVEL=<%= @loglevel %>
<% if @limit_no_file %>
LimitNOFILE=<%= @limit_no_file %>
<% end %>
<% if @private_tmp %>
PrivateTmp=<%= @private_tmp %>
<% end %>

Fix to use the right parameter name

deploy/worker: Fix to use the right parameter name

Related T964
Related T965


<% content_for :title do %>
  Calculate your employee's statutory sick pay
<% end %>

<% content_for :meta_description do %>
  Statutory Sick Pay (SSP) calculator -  calculate SSP for an employee
<% end %>

<% content_for :body do %>
  Calculate Statutory Sick Pay (SSP) for your employee.

  ##What you need to know

  You’re only responsible for paying SSP if:

  - you pay Class 1 National Insurance contributions for your employee (or would do if not for their age or their level of earnings)
  - your employee was sick for 4 or more days in a row (including non-working days)
  - your employee has told you they’re sick within your own time limit (or 7 days if you do not have one)

  ^ You cannot use the calculator for periods of sickness before 6 April 2011.^

  *[SSP]: Statutory Sick Pay

  ###Different periods of sick leave

  You can combine periods of sick leave if the gap between them is 8 weeks or less. These are called ‘linked Periods of Incapacity for Work (PIW)’.

  If there’s more than one linked PIW, you’ll need to [work out the SSP manually](/guidance/statutory-sick-pay-manually-calculate-your-employees-payments#link-period-of-incapacity-for-work).

<% end %>

<% content_for :title do %>
  Calculate your employee's statutory sick pay
<% end %>

<% content_for :meta_description do %>
  Statutory Sick Pay (SSP) calculator -  calculate SSP for an employee
<% end %>

<% content_for :body do %>
  Calculate Statutory Sick Pay (SSP) for your employee.

  ##What you need to know

  ^Emergency legislation is being brought forward for employees who are [self-isolating because of coronavirus (COVID-19)](https://www.nhs.uk/conditions/coronavirus-covid-19/). They will be able to get SSP from the first day they are off work. This will begin from 13 March. This calculator will be updated if the law changes.^

  You’re only responsible for paying SSP if:

  - you pay Class 1 National Insurance contributions for your employee (or would do if not for their age or their level of earnings)
  - your employee was sick for 4 or more days in a row (including non-working days)
  - your employee has told you they’re sick within your own time limit (or 7 days if you do not have one)

  ^ You cannot use the calculator for periods of sickness before 6 April 2011.^

  *[SSP]: Statutory Sick Pay

  ###Different periods of sick leave

  You can combine periods of sick leave if the gap between them is 8 weeks or less. These are called ‘linked Periods of Incapacity for Work (PIW)’.

  If there’s more than one linked PIW, you’ll need to [work out the SSP manually](/guidance/statutory-sick-pay-manually-calculate-your-employees-payments#link-period-of-incapacity-for-work).

<% end %>

Add callout to Statutory Sick Pay calculator start page

As requested: https://govuk.zendesk.com/agent/tickets/3955481


<VirtualHost *:<%= @params[:port] %>>
  ServerName <%= @params[:server_name] %>
  ServerAlias <% @params[:server_aliases].each do |a| %><%= a %> <% end %>
  DocumentRoot <%= @params[:docroot] %>

  <Directory <%= @params[:docroot] %>>
    Options <%= [@params[:directory_options] || "Indexes FollowSymLinks" ].flatten.join " " %>
    AllowOverride <%= [@params[:allow_override] || "None" ].flatten.join " " %>
    Order allow,deny
    Allow from all
    Require all granted
  </Directory>

  LogLevel info
  ErrorLog <%= node['apache']['log_dir'] %>/<%= @params[:name] %>-error.log
  CustomLog <%= node['apache']['log_dir'] %>/<%= @params[:name] %>-access.log combined
</VirtualHost>

<VirtualHost *:<%= @params[:port] %>>
  ServerName <%= @params[:server_name] %>
  ServerAlias <% @params[:server_aliases].each do |a| %><%= a %> <% end %>
  DocumentRoot <%= @params[:docroot] %>

  <Directory <%= @params[:docroot] %>>
    Options <%= [@params[:directory_options] || "Indexes FollowSymLinks" ].flatten.join " " %>
    <% if node['apache']['version'] == '2.4' -%>
      Require all granted
    <% else -%>
      AllowOverride <%= [@params[:allow_override] || "None" ].flatten.join " " %>
      Order allow,deny
      Allow from all
    <% end -%>
  </Directory>

  LogLevel info
  ErrorLog <%= node['apache']['log_dir'] %>/<%= @params[:name] %>-error.log
  CustomLog <%= node['apache']['log_dir'] %>/<%= @params[:name] %>-access.log combined
</VirtualHost>

Make sure we maintain compatiablity with apache 2.4


#!/bin/sh

/opt/opscode/bin/wait-for-rabbit

cd /opt/opscode/embedded/service/opscode-expander

exec 2>&1
exec /opt/opscode/embedded/bin/chpst -P -U <%= node['private_chef']['user']['username'] %> -u <%= node['private_chef']['user']['username'] %> /opt/opscode/embedded/bin/bundle exec /opt/opscode/embedded/service/opscode-expander/bin/opscode-expander-cluster -n <%= node['private_chef']['opscode-expander']['nodes'] %> -c <%= File.join(node["private_chef"]['opscode-expander']['dir'], "etc", "expander.rb") %>

#!/bin/sh

/opt/opscode/bin/wait-for-rabbit

cd /opt/opscode/embedded/service/opscode-expander
export HOME=/opt/opscode/embedded/service/opscode-expander

exec 2>&1
exec /opt/opscode/embedded/bin/chpst -P -U <%= node['private_chef']['user']['username'] %> -u <%= node['private_chef']['user']['username'] %> /opt/opscode/embedded/bin/bundle exec /opt/opscode/embedded/service/opscode-expander/bin/opscode-expander-cluster -n <%= node['private_chef']['opscode-expander']['nodes'] %> -c <%= File.join(node["private_chef"]['opscode-expander']['dir'], "etc", "expander.rb") %>

Set HOME in expander's runsv script

[expander] Set HOME in expander's runsv script

Upstream omnibus-software no longer builds Ruby with readline. This
means that 'require "readline"' now picks up the rb-readline that oc_id
installs into our ruby environment. Bundler internally does a require on
readline during `bundle exec`. Unfortunately rb-readline fails if it is
required with HOME unset. This leads to expander failing to start.


<% text_for :title do %>
  Estimate your penalty for late Self Assessment tax returns and payments
<% end %>

<% text_for :meta_description do %>
  If you’ve missed Self Assessment deadlines get an estimate of how much you’ll need to pay in penalties and interest
<% end %>

<% govspeak_for :body do %>
  Get an estimate of how much you’ll need to pay in penalties and interest if you’ve missed the deadline for:

  - sending your Self Assessment tax return
  - paying your Self Assessment tax bill

  This calculator can only give an estimate of what you owe and does not take account of:

    - payments you’ve made towards your tax bill
    - outstanding interest or penalties for previous tax years
    - credit you have from previous tax years

  Do not use the calculator if you:

    - got your request to fill in a Self Assessment less than 3 months before the deadline, so had more time to file it
    - sent a paper return after October 31, but HMRC agreed you had a reasonable excuse to not file online

If your 2018 to 2019 tax return is more than 3 months late, your calculation may be wrong. This is because daily penalties are suspended for the 2018 to 2019 tax year, because of coronavirus.

You’ll still be charged £100 for the first day, as well as fixed penalties if your tax return is more than 6 months late.

<% end %>

<% text_for :title do %>
  Estimate your penalty for late Self Assessment tax returns and payments
<% end %>

<% text_for :meta_description do %>
  If you’ve missed Self Assessment deadlines get an estimate of how much you’ll need to pay in penalties and interest
<% end %>

<% govspeak_for :body do %>
  Get an estimate of how much you’ll need to pay in penalties and interest if you’ve missed the deadline for:

  - sending your Self Assessment tax return
  - paying your Self Assessment tax bill

  This calculator can only give an estimate of what you owe and does not take account of:

    - payments you’ve made towards your tax bill
    - outstanding interest or penalties for previous tax years
    - credit you have from previous tax years

  Do not use the calculator if you:

    - got your request to fill in a Self Assessment less than 3 months before the deadline, so had more time to file it
    - sent a paper return after October 31, but HMRC agreed you had a reasonable excuse to not file online

<% end %>

Revert "Add COVID related content"

Revert "Add COVID related content"


  <% if @message %>

<%= @message %>

  <% end %>
  <%= form_tag(user_sessions_path, class: 'thredded--form') do %>

<%= text_field_tag 'name', 'Joe', placeholder: 'Name' %>

<%= check_box_tag 'admin', '1', true %> Admin

<%= submit_tag 'Sign in', class: 'thredded--form--submit' %>

  <% end %>

  <% if @message %>

<%= @message %>

  <% end %>
  <%= form_tag(main_app.user_sessions_path, class: 'thredded--form') do %>

<%= text_field_tag 'name', 'Joe', placeholder: 'Name' %>

<%= check_box_tag 'admin', '1', true %> Admin

<%= submit_tag 'Sign in', class: 'thredded--form--submit' %>

  <% end %>

Fix a missing `main_app.` in the demo app


Welcome to RubyGems.org, the Ruby community's gem hosting service!

To confirm your account, please follow this link:

<%= new_user_confirmation_url(
      :user_id => @user,
      :token   => @user.confirmation_token,
      :encode  => false) %>

If you're having trouble getting set up, let us know at:

http://help.rubygems.org

Happy gem push'ing!

Add some copy to the confirmation email

Add some copy to the confirmation email


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta name="description" content="Ronny Kraemer's home" />
  <meta name="keywords" content="webdesign, webdevelopment, webprogrammierung, webentwicklung, grafikdesign, html, css, javascript, ajax, php, mysql, mac, linux, retro-computing" />
  <title>rk82.net</title>
  <link rel="stylesheet" href="/css/base.css" />

// about

    footprints

      <%= yield %>

Move yield output in layout

Move yield output in layout


API Key Signup

Your API key for <%= @user.website %> is:

<%= @user.api_key %>

You can start using this key to make Web service requests. Simply pass your key in the URL when making a Web request. Here's an example:

<%= link_to("http://developer.nrel.gov/api/alt-fuel-stations/v1/nearest.json?api_key=#{@user.api_key}
&location=1617+Cole+Blvd+80401".html_safe, "http://developer.nrel.gov/api/alt-fuel-stations/v1/nearest.json?api_key=#{@user.api_key}&location=1617+Cole+Blvd+80401") %>

What Next?

Explore our <%= link_to("available Web services", doc_path) %>:

Join the <%= link_to("community", community_path) %>:

Need more help? View our <%= link_to("FAQ") %> or <%= link_to("contact us", contact_path) %>.

API Key Signup

Your API key for <%= @user.website %> is:

<%= @user.api_key %>

You can start using this key to make Web service requests. Simply pass your key in the URL when making a Web request. Here's an example:

<%= link_to("http://developer.nrel.gov/api/alt-fuel-stations/v1/nearest.json?api_key=#{@user.api_key}
&location=1617+Cole+Blvd+80401".html_safe, "http://developer.nrel.gov/api/alt-fuel-stations/v1/nearest.json?api_key=#{@user.api_key}&location=1617+Cole+Blvd+80401") %>

What Next?

Explore our <%= link_to("available Web services", doc_path) %>.

Stay informed and tell us what you've built in our <%= link_to("community", community_path) %>.

Need more help? Reach us <%= link_to("@NRELdev", "http://twitter.com/NRELdev") %> or <%= link_to("contact us", contact_path) %>.

Remove bad link to non-existant FAQ. Cleanup the What's Next text a bit after signing up.


<%= "This is someone else's property (look, don't touch)..." if @character.user.id != current_user.id %>

  <%= render "core_attributes", locals: {character: @character} %>

  <%= render "abilities", locals: {character: @character, ability_scores: @ability_scores} %>

<%= "This is someone else's property (look, don't touch)..." if @character.user.id != current_user %>

  <%= render "core_attributes", locals: {character: @character} %>

  <%= render "abilities", locals: {character: @character, ability_scores: @ability_scores} %>

Fix issue with current_user id when not logged in


<% if current_user %>
  <% content_for :header do %>
  Dashboard
  <% end %>

Backup server information

<%= render :partial => 'backup_servers/dashboard' %>

Now running

<%= render :partial => 'backup_jobs/dashboard_running' %>

Queued Backups

<%= render :partial => 'backup_jobs/dashboard_queued' %>

Latest fails

<%= render :partial => 'backup_jobs/dashboard_failed' %>

<% else %>
  <% content_for :header do %>
    Log in
  <% end %>
  <%= render_cell :login, :login %>
<% end %>

<% if current_user %>
  <% content_for :header do %>
  Dashboard
  <% end %>

Backup server information

<%= render :partial => 'backup_servers/dashboard' %>

Now running

<%= render :partial => 'backup_jobs/dashboard_running' %>

Queued Backups

<%= render :partial => 'backup_jobs/dashboard_queued' %>

Latest fails

<%= render :partial => 'backup_jobs/dashboard_failed' %>

<% else %>
  <% content_for :header do %>
    Log in
  <% end %>
  <% controller.redirect_to login_path %>
<% end %>

Remove login cell from dashboard. Unbreaks login in Rails 3.2.


  <%= render "mailbox/folders" %>

    <% if @pending_requests %>
      <% @pending_requests.each do |req| %>

<%= link_to req.collaborator.username, user_path(req.collaborator) %> is requesting to collaborate on <%= link_to req.project.title, project_path(req.project.title) %>

        <%= button_to project_collaboration_path(req.project, req), method: 'patch', params:{status: 'approved'}, class: "btn-floating red lighten-1" do %>
          done
        <% end %>

        <%= button_to project_collaboration_path(req.project, req), method: 'patch', params:{status: 'denied'}, class: "btn-floating light-green lighten-2" do %>
          clear
        <% end %>

      <% end %>
    <% end %>

    <% if is_conversation %>
      <%= render 'conversations/form' %>
    <% else %>
      <%= render partial: 'conversations/conversation', collection: messages %>
    <% end %>

  <%= render "mailbox/folders" %>

    <% if @pending_requests %>
      <% @pending_requests.each do |req| %>

<%= link_to req.collaborator.username, user_path(req.collaborator) %> is requesting to collaborate on <%= link_to req.project.title, project_path(req.project.title) %>

        <%= button_to project_collaboration_path(req.project, req), method: 'patch', params:{status: 'approved'}, class: "btn-floating light-green lighten-2" do %>
          done
        <% end %>

        <%= button_to project_collaboration_path(req.project, req), method: 'patch', params:{status: 'denied'}, class: "btn-floating red lighten-1" do %>
          clear
        <% end %>

      <% end %>
    <% end %>

    <% if is_conversation %>
      <%= render 'conversations/form' %>
    <% else %>
      <%= render partial: 'conversations/conversation', collection: messages %>
    <% end %>

Switch approve & deny button colors for clarity


<%= render 'layouts/header' %>

<%= link_to '← Back', admin_path, class: "link-return" %>

Questions Creator

    <%= render 'form', { question: question } %>

Existing questions

      <% questions.each do |question| %>

          <%= question.text %>
          <%= link_to 'Remove', question, method: :delete, data: { confirm: 'Are you sure?' }, class: "question-list-item-remove" %>

      <% end %>

Add header and back button to questions creator


<% recent_channels = Channel.recent_channels(current_user, 1) %>

    <%= link_to "Home", root_path %>

  <% recent_channels.each do |c| %>

      <% unread = c.num_unread(current_user); mentions = c.num_mentions(current_user) %>
      <%= link_to c.title, channel_path(c) %>
      <% if unread >  0 || mentions > 0%>

          <% if mentions > 0 %>
<%= mentions %>
<% end %>
          <% if unread > 0 %>
<%= unread %>
<% end %>

      <% end %>

  <% end %>

<% recent_channels = Channel.recent_channels(current_user, 1) %>

    <%= link_to "Home", root_path %>

  <% recent_channels.each do |c| %>

      <% unread = c.num_unread(current_user); mentions = c.num_mentions(current_user) %>
      <%= link_to c.title, channel_path(c, :anchor => channel_anchor(c, current_user)) %>
      <% if unread >  0 || mentions > 0%>

          <% if mentions > 0 %>
<%= mentions %>
<% end %>
          <% if unread > 0 %>
<%= unread %>
<% end %>

      <% end %>

  <% end %>

Set link anchor in sidebar

Set link anchor in sidebar


<% begin %>
  <% classes = [] %>
  <% classes << block.model_name.singular.dasherize %>
  <% classes << 'block' %>
  <% classes << (block.first? ? 'block--first' : '') %>
  <% classes << (block.last? ? 'block--last' : '') %>
  <% classes << "block-category--#{block.class.kind.category.to_s.parameterize}" %>
  <% classes << block.try(:css_class) %>
  <%= content_tag :div, id: block.block_id, class: classes.join(' '), data: { kind: block.model_name.name } do %>
    <%= render "blocks/#{block.model_name.singular}/show", block: block %>
  <% end %>
<% rescue Exception => e %>
  <%= forest_admin_error(e) %>
<% end %>

<% begin %>
  <% classes = [] %>
  <% classes << block.model_name.singular.dasherize %>
  <% classes << 'block' %>
  <% classes << (block.first? ? 'block--first' : '') %>
  <% classes << (block.last? ? 'block--last' : '') %>
  <% classes << "block-category--#{block.class.kind.category.to_s.parameterize}" %>
  <% classes << block.try(:css_class) %>

  <% options = {} %>
  <% options[:id] = block.block_id %>
  <% options[:class] = classes.join(' ') %>
  <% options[:data] = { kind: block.model_name.name } %>
  <% options[:style] = block.try(:css_styles) %>

  <%= content_tag :div, **options do %>
    <%= render "blocks/#{block.model_name.singular}/show", block: block %>
  <% end %>
<% rescue Exception => e %>
  <%= forest_admin_error(e) %>
<% end %>

Allow defining a css_styles method on blocks


  <li role="presentation" class="<%= active == 'orders' ? 'active' : '' %>">Orders

  <li role="presentation" class="<%= active == 'inventory' ? 'active' : '' %>">Inventory

  <li role="presentation" class="<%= active == 'contacts' ? 'active' : '' %>">Contacts

  <li role="presentation" class="<%= active == 'orders' ? 'active' : '' %>">Orders

  <li role="presentation" class="<%= active == 'inventory' ? 'active' : '' %>">Inventory

  <li role="presentation" class="<%= active == 'organizations' ? 'active' : '' %>">Organizations

  <li role="presentation" class="<%= active == 'contacts' ? 'active' : '' %>">Contacts

Add organizations tab to home page

Add organizations tab to home page


<%= form_for(@answer) do |f| %>
  <%= f.label :content %>
  <%= f.text_area :content %>
  <%= f.hidden_field :question_id, :value => @question_id %>
  <%= f.submit "Edit Answer" %>
<% end %>

Edit your answer:

    <%= form_for(@answer) do |f| %>
      <%= f.label :content %>
      <%= f.text_area :content %>
      <%= f.hidden_field :question_id, :value => @question_id %>
      <%= f.submit "Edit Answer", class: 'small button' %>
    <% end %>

Add styling to answer edit view

Add styling to answer edit view


<% if flash[:notice] %>

<%= flash[:notice] %>

<% end %>

Check in to <%= @place.name %>

  <img class="detail-photo" src="<%= @place.image_url %>">

<%= @place.description %>

<%= @place.address %>

<%= @place.city %>, <%= @place.state %>

Capacity: <%= @place.capacity %>

  <%=  render "checkin_form" %>

Add flash[:notice] to checkins new view

Add flash[:notice] to checkins new view


Merge Layer (admins only)

Merge this layer with another.

Deletes the reference of <%= pluralize @layer.maps_count,'map' -%>  from Layer <%=@layer.id %> and moves them onto the specified destination layer.

This cannot be undone!

    <%= image_tag(@layer.thumb) %>
    Layer <%=@layer.id%> : <%= link_to h(@layer.name),  layer_path(@layer) -%>

Move all <%= pluralize @layer.maps_count,'map' -%> to this layer:

<% form_for :layer, :url=> { :action=>"merge"},
  :html => {:method => :put } do |f| %>
    <%= f.hidden_field :id %>
    Destination Layer
    <%= text_field_tag :dest_id %>

    <%= submit_tag 'Merge Layer!', :confirm => "Are you sure, this cannot be undone?" %>
  <%end-%>

Add missing admin only merge template

Add missing admin only merge template


    <%= render 'admin/nav' %>

<%= title %w[Pictures Admin], 'Pictures' %>

              Picture
              User
              Created
              Status

            <% @pictures.each do |picture| %>

                <%= link_to picture.token, picture %>
                <%= link_to picture.user.username, picture.user %>
                <%= timeago_tag picture.created_at %>
                <%= picture.status %>

            <% end %>

    <%= render 'admin/nav' %>

<%= title %w[Pictures Admin], 'Pictures' %>

              Picture
              User
              Created
              Status

            <% @pictures.each do |picture| %>

                  <%= link_to picture do %>
                    <%= image_tag(picture.image.thumb_url('64x64!')) %>
                  <% end %>

                <%= link_to picture.user.username, picture.user %>
                <%= timeago_tag picture.created_at %>
                <%= picture.status %>

            <% end %>

Use image in picture admin

Use image in picture admin


<% @import_records.each do |record| %>
  <% if record.completed? %>

Completed in <%= distance_of_time_in_words(record.time_to_complete) %>.

  <% else %>

Process did not complete.

  <% end %>
<% end %>

<% @import_records.each do |record| %>

      <%= record.created_at.strftime("%m/%d/%Y") %>

    <% if record.completed? %>

        Completed in <%= distance_of_time_in_words(record.time_to_complete) %>.

    <% else %>

        Process did not complete.

    <% end %>

<% end %>

Add some very minimal styles borrowed from student notes feed


<%
  #--
  #   Copyright (C) 2013 Gitorious AS
  #
  #   This program is free software: you can redistribute it and/or modify
  #   it under the terms of the GNU Affero General Public License as published by
  #   the Free Software Foundation, either version 3 of the License, or
  #   (at your option) any later version.
  #
  #   This program is distributed in the hope that it will be useful,
  #   but WITHOUT ANY WARRANTY; without even the implied warranty of
  #   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  #   GNU Affero General Public License for more details.
  #
  #   You should have received a copy of the GNU Affero General Public License
  #   along with this program.  If not, see <http://www.gnu.org/licenses/>.
  #++
%>

<% @title = t("views.merges.page_title", :repo => h(repository.name)) -%>

<% content_for(:head) do %>
  <%= auto_discovery_link_tag(:atom, atom_auto_discovery_url, :title => "Atom") -%>
<% end %>

<%= repo_header(repository, {
        :current_user => current_user,
        :active => :merge_request,
        :header_level => 2
        }) %>

<%= render("merge_requests/merge_request_table", {
        :atom_auto_discovery_url => atom_auto_discovery_url,
        :target => repository,
        :merge_request_statuses => merge_request_statuses,
        :status => status,
        :merge_requests => merge_requests
      }) %>

<%
  #--
  #   Copyright (C) 2013 Gitorious AS
  #
  #   This program is free software: you can redistribute it and/or modify
  #   it under the terms of the GNU Affero General Public License as published by
  #   the Free Software Foundation, either version 3 of the License, or
  #   (at your option) any later version.
  #
  #   This program is distributed in the hope that it will be useful,
  #   but WITHOUT ANY WARRANTY; without even the implied warranty of
  #   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  #   GNU Affero General Public License for more details.
  #
  #   You should have received a copy of the GNU Affero General Public License
  #   along with this program.  If not, see <http://www.gnu.org/licenses/>.
  #++
%>

<% @title = t("views.merges.page_title", :repo => h(repository.name)) -%>

<% content_for(:head) do %>
  <%= auto_discovery_link_tag(:atom, atom_auto_discovery_url, :title => "Atom") -%>
<% end %>

<%= repo_header(repository, {
        :current_user => current_user,
        :active => :merge_requests,
        :header_level => 2
        }) %>

<%= render("merge_requests/merge_request_table", {
        :atom_auto_discovery_url => atom_auto_discovery_url,
        :target => repository,
        :merge_request_statuses => merge_request_statuses,
        :status => status,
        :merge_requests => merge_requests
      }) %>

Fix active marking of merge request tab

Fix active marking of merge request tab


<%
render_tabnav :global, :generate_css => false do

  if logged_in?
    add_tab do |t|
      t.named "#{current_user.name}"
      t.links_to user_path(current_user)
      t.highlights_on :controller => :users, :action => :edit
    end
    add_tab do |t|
      t.named t('.settings')
      t.links_to settings_path
      t.highlights_on :controller => :users, :action => :edit
    end
    add_tab do |t|
      t.named t('.logout')
      t.links_to logout_path
    end
  else
    add_tab do |t|
      t.named t('.product_site')
      t.links_to 'http://www.teambox.com/'
    end
    add_tab do |t|
      t.named t('.blog')
      t.links_to 'http://www.teambox.com/blog/'
    end
  end

end
%>

<%
render_tabnav :global, :generate_css => false do

  if logged_in?
    add_tab do |t|
      t.named "#{current_user.login}"
      t.links_to user_path(current_user)
      t.highlights_on :controller => :users, :action => :show
    end
    add_tab do |t|
      t.named t('.settings')
      t.links_to settings_path
      t.highlights_on :controller => :users, :action => :edit
    end
    add_tab do |t|
      t.named t('.logout')
      t.links_to logout_path
    end
  else
    add_tab do |t|
      t.named t('.product_site')
      t.links_to 'http://www.teambox.com/'
    end
    add_tab do |t|
      t.named t('.blog')
      t.links_to 'http://www.teambox.com/blog/'
    end
  end

end
%>

Fix to global navigation highlights

Fix to global navigation highlights


<% if group.title %>
  <%= group.title %>
<% end %>
<% group.sections.each do | section | %>

    <%= link_to section.path do %>
    <% if section.section_id %>
      <%= section.section_id %>
    <% end %>
      <%= section.title %>
    <% end %>

<% end %>

Put content list in a list not h2

Put content list in a list not h2

Before, when content was being displayed inline, these headers were h2s, but now these "headers" are actually links to pages, so remark-up these as a list of links. We can use the classes styled for the other type of manuals for this too.


<% if ! @presenter.started? %>
  <%= render partial: "landing", locals: { start_node: @presenter.start_node } %>
<% else %>
  <% content_for :head do %>
    <meta name="robots" content="noindex">
  <% end %>
  <%= render "debug" %>

        <%= @presenter.title %>

  <% if @presenter.finished? %>
    <%= render partial: "result", locals: { outcome: @presenter.current_node } %>
  <% else %>

      <%= form_tag calculate_current_question_path(@presenter), :method => :get %>

          <% if @presenter.questions.count > 1 %>
            <% @presenter.questions.each_with_index do |question, question_index| %>
              <%= render partial: "current_question", locals: {question: question, number: question_index + 1} %>
            <% end %>
          <% else %>
            <%= render partial: "current_question", locals: {question: @presenter.questions.first, number: nil} %>
          <% end %>

            <input type="hidden" name="next" value="1" />
            <button type="submit" class="medium button">Next step</button>

      </form>

  <% end %>
  <%= render "previous_answers" %>
<% end %>

<% if ! @presenter.started? %>
  <%= render partial: "landing", locals: { start_node: @presenter.start_node } %>
<% else %>
  <% content_for :head do %>
    <meta name="robots" content="noindex">
  <% end %>
  <%= render "debug" %>

        <%= @presenter.title %>

  <% if @presenter.finished? %>
    <%= render partial: "result", locals: { outcome: @presenter.current_node } %>
  <% else %>

      <%= form_tag calculate_current_question_path(@presenter), :method => :get %>

          <%= render partial: "current_question", locals: {question: @presenter.questions.first, number: nil} %>

            <input type="hidden" name="next" value="1" />
            <button type="submit" class="medium button">Next step</button>

      </form>

  <% end %>
  <%= render "previous_answers" %>
<% end %>

Remove multiple Q-per-pg support from content partial

Note that more generally `SmartAnswerPresenter#questions` can be a 0- or
1-element array, but in this case we're "inside" the `else` block for
`if ! @presenter.started?` and the `else` block of `if @presenter.finished?`
and so it will always be a 1-element array.


<%= content_for :page_title, @browse_page.title %>

    Mainstream browse page

    <% if @browse_page.has_parent? %>
      <%= link_to "#{@browse_page.parent.title}:", @browse_page.parent %>
    <% end %>

    <%= @browse_page.title %>

    <%= link_to 'Edit', edit_mainstream_browse_page_path(@browse_page) %>

    <% if @browse_page.may_publish? %>
      <%= link_to "Publish mainstream browse page",
                  publish_mainstream_browse_page_path(@browse_page),
                  method: :post %>
    <% end %>

<%= render 'shared/tags/metadata', resource: @browse_page %>
<%= render 'shared/tags/children', resource: @browse_page %>

<% if @browse_page.topics.any? %>

Topics

    <%= render 'shared/tags/table',
          resources: @browse_page.topics,
          include_children_column: false,
          empty_message: "No topics exist yet." %>

<% end %>

<%= content_for :page_title, @browse_page.title %>

    Mainstream browse page

    <% if @browse_page.has_parent? %>
      <%= link_to "#{@browse_page.parent.title}:", @browse_page.parent %>
    <% end %>

    <%= @browse_page.title %>

    <%= link_to 'Edit', edit_mainstream_browse_page_path(@browse_page) %>

    <% if @browse_page.may_publish? %>
      <%= link_to "Publish mainstream browse page",
                  publish_mainstream_browse_page_path(@browse_page),
                  method: :post %>
    <% end %>

    <% if @browse_page.has_parent? %>
      <%= link_to 'Edit list', tag_lists_path(@browse_page) %>
    <% end %>

<%= render 'shared/tags/metadata', resource: @browse_page %>
<%= render 'shared/tags/children', resource: @browse_page %>

<% if @browse_page.topics.any? %>

Topics

    <%= render 'shared/tags/table',
          resources: @browse_page.topics,
          include_children_column: false,
          empty_message: "No topics exist yet." %>

<% end %>

Add link to edit browse page lists

Add link to edit browse page lists

Users can now edit lists of browse pages.


<% @target_url = registration_path(resource_name)
  @signup = true
%>

<%= render 'devise/shared/auth', locals: {
    signup: @signup,
    resource: @resource,
    resource_name: @resource_name,
    target_url: @target_url
    } %>

    <%= flash[:recaptcha_error] %>
    <%= recaptcha_tags %>

Add css for the captcha

Add css for the captcha


  More at
  rubyonrails.org:

Blog |
Guides |
API |
Ask for help |
Contribute on GitHub |

Use https with weblog URI

Use https with weblog URI


<%= params[:callback]+'(' if params[:callback] -%>{
	"answer" : <%= (@pi ? number_with_precision(@amount[:value], :precision => 2, :delimiter => ',') : 'null') %>,
	"unit" : <%= (@pi ? "\"#{@amount[:unit]}\"".html_safe : 'null') %>,
	"type" : <%= (@pi ? "\"#{@amount[:type]}\"".html_safe : 'null') %>,
	"item" : <%= (@pi ? ('"'+@item.label+'"').html_safe : 'null') %>,
	"more_info" : "<%= @more_info_url %>",
	"item_uid" : <%= (@pi ? ('"'+@item.uid+'"').html_safe : 'null') %>,
	"inputs" : {
		<%= @inputs.map { |input|
		  '"'+input[0].name+'":"'+input[1].to_s+'"'
		}.join(',').html_safe %>
	}
}<%= ');' if params[:callback] -%>

<%= params[:callback]+'(' if params[:callback] -%>{
	"answer" : <%= (@pi ? number_with_precision(@amount[:value], :precision => 2) : 'null') %>,
	"unit" : <%= (@pi ? "\"#{@amount[:unit]}\"".html_safe : 'null') %>,
	"type" : <%= (@pi ? "\"#{@amount[:type]}\"".html_safe : 'null') %>,
	"item" : <%= (@pi ? ('"'+@item.label+'"').html_safe : 'null') %>,
	"more_info" : "<%= @more_info_url %>",
	"item_uid" : <%= (@pi ? ('"'+@item.uid+'"').html_safe : 'null') %>,
	"inputs" : {
		<%= @inputs.map { |input|
		  '"'+input[0].name+'":"'+input[1].to_s+'"'
		}.join(',').html_safe %>
	}
}<%= ');' if params[:callback] -%>

Remove delimiter in JSON responses

Remove delimiter in JSON responses


<!DOCTYPE html>

  <meta http-equiv="X-UA-Compatible" content="IE=Edge;chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta charset="utf-8">
  <title><%= @view_title %> - Go</title>

  <link rel="shortcut icon" href="<%= asset_path('cruise.ico') %>"/>
  <%= stylesheet_link_tag 'frameworks' %>
  <%= stylesheet_link_tag "single_page_apps/#{controller_name}" %>
  <% if (controller_name == 'pipeline_configs' && @enable_new_quick_edit_page) %>
      <%= javascript_include_tag *webpack_asset_paths("single_page_apps/#{controller_name}") %>
  <% else %>
      <%= requirejs_include_tag 'single_page_apps/pipeline_configs' %>
  <% end %>
  <%= csrf_meta_tags %>

<body data-controller-name="<%= controller_name %>" data-action-name="<%= action_name %>" id="<%= controller_name %>-page">

      <%= render :partial => 'new_navigation_elements/navigation' %>

    <%= yield %>

<%= render :partial => 'new_navigation_elements/footer' %>

<!DOCTYPE html>

  <meta http-equiv="X-UA-Compatible" content="IE=Edge;chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta charset="utf-8">
  <title><%= @view_title %> - Go</title>

  <link rel="shortcut icon" href="<%= asset_path('cruise.ico') %>"/>
  <%= stylesheet_link_tag 'frameworks' %>
  <%= stylesheet_link_tag "single_page_apps/#{controller_name}" %>
  <% if (controller_name == 'pipeline_configs' && !@enable_new_quick_edit_page) %>
    <%= requirejs_include_tag 'single_page_apps/pipeline_configs' %>
  <% else %>
    <%= javascript_include_tag *webpack_asset_paths("single_page_apps/#{controller_name}") %>
  <% end %>
  <%= csrf_meta_tags %>

<body data-controller-name="<%= controller_name %>" data-action-name="<%= action_name %>" id="<%= controller_name %>-page">

      <%= render :partial => 'new_navigation_elements/navigation' %>

    <%= yield %>

<%= render :partial => 'new_navigation_elements/footer' %>

Fix JS errors when navigating to single_page_app pages where controller_name != "pipeline_configs"

The previous logic caused pipeline_configs.js to load for other single_page_app pages, which would
throw errors as the script tried to perform operations on elements that did not exist.


  <%= link_to t("gobierto_admin.welcome.index.title"), admin_root_path %> »
  <%= link_to t("gobierto_admin.gobierto_people.people.index.title"), admin_people_people_path %> »
  <%= link_to t("gobierto_admin.gobierto_people.configuration.title"), admin_people_configuration_political_groups_path %> »
  <% if controller_name == 'political_groups' %>
    <%= t("gobierto_admin.gobierto_people.political_groups.title") %>
  <% elsif controller_name == 'settings' %>
    <%= t("gobierto_admin.gobierto_people.settings.title") %>
  <% end %>

<%= t("gobierto_admin.gobierto_people.configuration.title") %>

    <li <%= %Q{class="active"}.html_safe if controller_name == 'political_groups'%>>
      <%= link_to t("gobierto_admin.gobierto_people.political_groups.title"), admin_people_configuration_political_groups_path %>

    <li <%= %Q{class="active"}.html_safe if controller_name == 'settings'%>>
      <%= link_to t("gobierto_admin.gobierto_people.settings.title"), admin_people_configuration_settings_path %>

  <%= link_to t("gobierto_admin.welcome.index.title"), admin_root_path %> »
  <%= link_to t("gobierto_admin.gobierto_people.people.index.title"), admin_people_people_path %> »
  <%= link_to t("gobierto_admin.gobierto_people.configuration.title"), admin_people_configuration_political_groups_path %> »
  <% if controller_name == 'political_groups' %>
    <%= t("gobierto_admin.gobierto_people.political_groups.title") %>
  <% elsif controller_name == 'settings' %>
    <%= t("gobierto_admin.gobierto_people.settings.title") %>
  <% end %>

<%= t("gobierto_admin.gobierto_people.configuration.title") %>

    <li <%= %Q{class="active"}.html_safe if controller_name == 'settings'%>>
      <%= link_to t("gobierto_admin.gobierto_people.settings.title"), admin_people_configuration_settings_path %>

    <li <%= %Q{class="active"}.html_safe if controller_name == 'political_groups'%>>
      <%= link_to t("gobierto_admin.gobierto_people.political_groups.title"), admin_people_configuration_political_groups_path %>

Make preferences tab in admin/people/configuration/settings appear first


<%= payment.source.display_payment_type %>

<% if payment.source.paypal? %>
  <% if payment.source.respond_to?(:paypal_funding_source) && payment.source.paypal_funding_source.present? %>

    <%= t('spree.paypal_funding', funding: payment.source.display_paypal_funding_source) %>
  <% end %>
<% elsif payment.source.venmo? %>

  <%= payment.source.source_description %>
<% end %>

<%= payment.source.try(:display_payment_type) %>

<% if payment.source.try(:paypal?) %>
  <% if payment.source.respond_to?(:paypal_funding_source) && payment.source.paypal_funding_source.present? %>

    <%= t('spree.paypal_funding', funding: payment.source.display_paypal_funding_source) %>
  <% end %>
<% elsif payment.source.try(:venmo?) %>

  <%= payment.source.source_description %>
<% end %>

Fix exception when other payment methods active

When other payment methods are active, specifically solidus_affirm, these methods are not available and cause an exception.


  <form>
	<%= form_for (store_tag) do |f| %>
	  <input type="text" id="new_tag_name" name="name" placeholder="Tag it!">
	  <input type="hidden" name="store_id" value="<%=store.id%>">
    <%= f.submit "Add tag for this business!",  class: "button medium radius"%>
	<% end %>
	</form>

  <form action="/store_tags" method="post">
	<%= form_for (store_tag) do |f| %>
	  <input type="text" id="new_tag_name" name="name" placeholder="Tag it!">
	  <input type="hidden" name="store_id" value="<%=store.id%>">
    <%= f.submit "Add tag for this business!",  class: "button medium radius"%>
	<% end %>
	</form>

Fix form for adding tags on stores show page


<%= form_for @wiki do |f| %>
  <%= f.text_field :name %>
  <%= f.submit %>
<% end %>

<%= form_for @wiki do |f| %>

Note that you probably don't want the name to include the word "wiki",
    unless you want the default title page to be "Whatever Wiki Wiki."

  <%= f.text_field :name %>
  <%= f.submit %>
<% end %>

Add note about naming of wikis

Add note about naming of wikis


    <%= flash[:notice] %>

  My Reaches |
  Create New

Change image source to local

Change image source to local


<% provide(:title, @user.name) %>

User

              Name: <%= @user.name %>

              Telephone: <%= @user.telephone %>

              DOB: <%= @user.dob %>

            <% @user.conditions.each do |c| %>

<%= link_to c.medical_condition.name, c.medical_condition %>

            <% end %>

      <%= link_to " Delete".html_safe, @user, method: :delete,
                                  data: { confirm: "Are you sure you want to delete this user?" },
                                    class: "btn btn-default delete-btn" %>
      <%= link_to " Edit".html_safe, edit_user_path, class: 'btn btn-default edit-btn' %>

Initiatives

    <%= datagrid_table(@initiatives_grid) %>

<% provide(:title, @user.name) %>

User

              Name: <%= @user.name %>

              Telephone: <%= @user.telephone %>

              Email: <%= @user.email %>

              DOB: <%= @user.dob %>

            <% @user.conditions.each do |c| %>

<%= link_to c.medical_condition.name, c.medical_condition %>

            <% end %>

      <%= link_to " Delete".html_safe, @user, method: :delete,
                                  data: { confirm: "Are you sure you want to delete this user?" },
                                    class: "btn btn-default delete-btn" %>
      <%= link_to " Edit".html_safe, edit_user_path, class: 'btn btn-default edit-btn' %>

Initiatives

    <%= datagrid_table(@initiatives_grid) %>

Add email to User page.

Add email to User page.


<%= form.label :name, 'Display name' %>

<%= form.text_field :name %>

<%= form.label :email %>

<%= form.text_field :email %>

<%= form.label :password %>

<%= form.password_field :password %>

<%= form.label :password_confirmation %>

<%= form.password_field :password_confirmation %>

Add password to users form.

Add password to users form.


set :domain, "<%=@domain%>"

set :branch, "<%=@branch%>"

set :app_parent_directory, "<%=@app_parent_directory %>"
set :deploy_to, "<%=@deploy_to%>"

set_default(:stage, "<%=@stage_name%>")
set_default(:stage_db_user, "<%=@stage_db_user%>")

set :domain, "<%=@domain%>"

set :branch, "<%=@branch%>"

set :app_parent_directory, "<%=@app_parent_directory %>"
set :deploy_to, "<%=@deploy_to%>"

set_default(:stage, "<%=@stage_name%>")
set_default(:stage_db_user, "<%=@application_name%>_<%=@stage_name%>"")

Set stage db name as a combination of application and stage name


<%= form_for ptcet, html: ajax_form_hash("#post_type_content_element_types_container_#{dom_id(ptcet.post_type)}", insert_method: 'append') do |f| %>
  <%= render partial: 'form_fields', locals: { f: f, ptcet: ptcet } %>
  <%= f.submit "Create" %>
  <%= link_to('Close', '#', :class => 'button',
    data: { emptier: true, target: "#new_post_type_content_element_type_#{dom_id(ptcet.post_type)}" } ) %>
<% end %>

<%= form_for ptcet, html: ajax_form_hash("#post_type_content_element_types_container_#{dom_id(ptcet.post_type)}", insert_method: 'append') do |f| %>
  <%= render partial: 'form_fields', locals: { f: f, ptcet: ptcet } %>
  <%= f.submit "Create", data: { disable_with: false } %>
  <%= link_to('Close', '#', :class => 'button',
    data: { emptier: true, target: "#new_post_type_content_element_type_#{dom_id(ptcet.post_type)}" } ) %>
<% end %>

Remove form disable for new content elements


<li class="loan_status <%= copy.status.to_s %> <%= copy.current_user == current_user ? "my_copy" : "" %>">

<%= link_to "##{copy.book_reference}", copy_path(copy) %>

  <% if copy.available? %>

Available to borrow <%= link_to "Borrow", borrow_copy_path(@book, copy), :class => 'btn', :method => :post %>

  <% else %>

On loan to <%= copy.current_user == current_user ? "you" : copy.current_user.name %>
      <%= link_to "Return", return_copy_path(copy), :class => 'btn', :method => :post if copy.current_user == current_user %>
      since <%= copy.current_loan.loan_date.strftime("%b %d, %Y") %>

  <% end %>

<li class="loan_status <%= copy.status.to_s %> <%= copy.current_user == current_user ? "my_copy" : "" %>">

<%= link_to "##{copy.book_reference}", copy_path(copy) %>

  <% if copy.available? %>

Available to borrow <%= link_to "Borrow", borrow_copy_path(copy), :class => 'btn', :method => :post %>

  <% else %>

On loan to <%= copy.current_user == current_user ? "you" : copy.current_user.name %>
      <%= link_to "Return", return_copy_path(copy), :class => 'btn', :method => :post if copy.current_user == current_user %>
      since <%= copy.current_loan.loan_date.strftime("%b %d, %Y") %>

  <% end %>

Fix borrow copy link method

Fix borrow copy link method


Home

Your Search Results

<% if @posts.present? %>

    <% @posts.each do |post| %>
      <a href="<%= "/posts/#{post.id}" %>">

<%= post.title %>

<%= post.description %>

    <% end %>

<% else %>

Sorry, no matching search results!

<% end %>

  Home
  New Snippet

Your Search Results

<% if @posts.present? %>

    <% @posts.each do |post| %>
      <a href="<%= "/posts/#{post.id}" %>">

<%= post.title %>

<%= post.description %>

    <% end %>

<% else %>

Sorry, no matching search results!

<% end %>

Fix styling for error page

Fix styling for error page


Individual

Set Authority

Coverage

New Policy

Change Carrier

Change Plan

Cancel/Term

Tasks

Transmit Changes

Special Enrollment Period

Individual

Set Authority

Edit

Add Dependant

Drop Dependant

Coverage

New Policy

Change Carrier

Change Plan

Cancel/Term

Tasks

Transmit Changes

Special Enrollment Period

Put links back in, but disable.

Put links back in, but disable.


<%=t 'projects.export_projects.modal_text_p1_html', num_projects: num_projects, team: @team.name %>

<%=t 'projects.export_projects.modal_text_p2_html' %>

  <%=t 'projects.export_projects.modal_text_p3_html', limit: limit, num: num_of_requests_left %>

<%=t 'projects.export_projects.modal_text_p1_html', num_projects: num_projects, team: @team.name %>

<%=t 'projects.export_projects.modal_text_p2_html' %>

<% unless limit.zero? %>

    <%=t 'projects.export_projects.modal_text_p3_html', limit: limit, num: num_of_requests_left %>

<% end %>

Improve export all modal messages in case of unlimited exports [SCI-2965]


          <% %w(recent last-week last-month last-quarter aging).each do |slug| %>
            <%= dashboard_assignment_section_nav(language, slug) %>
          <% end %>
          <%= dashboard_assignment_section_nav(language, 'needs-input') %>

        <% if exercises.any? %>

            <% exercises.each do |exercise| %>
              <%= dashboard_assignment_nav(language, exercise.slug, breakdown[exercise.slug]) %>
            <% end %>

        <% end %>

      <%= erb :"nitpick/pending", locals: {submissions: submissions, language: language} %>

          <% %w(recent last-week last-month last-quarter aging).each do |slug| %>
            <%= dashboard_assignment_section_nav(language, slug) %>
          <% end %>

        <% if exercises.any? %>

            <% exercises.each do |exercise| %>
              <%= dashboard_assignment_nav(language, exercise.slug, breakdown[exercise.slug]) %>
            <% end %>

        <% end %>

      <%= erb :"nitpick/pending", locals: {submissions: submissions, language: language} %>

Remove 'needs input' from pending lists

Remove 'needs input' from pending lists


<div class="listing-member large-7 columns" value="(<%= group.user_groups.count %>)">

MEMBERS (<%= group.user_groups.count %>)

    <% group.users.each do |user| %>

              <% if user.photo %>
                <%= image_tag(user.photo(:thumb)) %>
              <% end %>

<%= link_to user.decorate.full_name, user %>

<%= user.phone %>

    <% end %>

<div class="listing-member large-7 columns" value="(<%= group.user_groups.count %>)">

MEMBERS (<%= group.user_groups.count %>)

    <% group.users.each do |user| %>

              <% if user.is_leader(@group) %>

                <%= image_tag("leader-icon.png", class: "group-leader-icon") %>
                <%= image_tag(user.photo(:thumb), class: "group-leader-photo") %>

              <% else %>
                <%= image_tag(user.photo(:thumb)) %>
              <% end %>

<%= link_to user.decorate.full_name, user %>

<%= user.phone %>

    <% end %>

Add icon to member listing page

Add icon to member listing page


Random Tags

      <% blog.tags.to_a.shuffle[0...10].each do |tag, articles| %>

<%= link_to "#{tag}", tag_path(tag) %>

      <% end %>

Random Posts

      <% blog.articles.shuffle[0...10].each do |article| %>

<%= link_to article.title, article %>

      <% end %>

Change lists from ol to ul tags

Change lists from ol to ul tags


Welcome to RubyGems.org, the Ruby community's gem hosting service!

To confirm your account, please follow this link:

<%= new_user_confirmation_url(
      :user_id => @user,
      :token   => @user.confirmation_token,
      :encode  => false) %>

If you're having trouble getting set up, let us know at:

http://help.rubygems.org

Happy gem push'ing!

Add some copy to the confirmation email

Add some copy to the confirmation email


Управление библиотеками

Доступные библиотеки:

<% @tags.each do |item| %>

		<%= item.taggings_count %>
		<%= item.name %>

<% end %>

		<%= render 'form' %>

		<%= form_tag '/libraries', method: "delete" do %>
			<%= submit_tag "Удалить пустые", class: "btn btn-danger col-xs-12" %>
		<% end %>

Управление библиотеками

Доступные библиотеки:

<% @tags.each do |tag| %>

			<%= link_to edit_acts_as_taggable_on_tag_path(tag),
				class: "btn btn-primary" do %>

			<% end %>
			<%= link_to tag, method: :delete,
				class: "btn btn-danger #{'disabled' if tag.taggings_count > 0}",
				data: {confirm: "Вы уверены, что хотите уделить библиотеку #{tag.name}?"} do %>

			<% end %>

		<%= tag.taggings_count %>
		<%= tag.name %>

<% end %>

		<%= render 'form' %>

Index list of an tags contained edit/del buttons


    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
      Toggle navigation

    </button>
    Terebi

Home

<%= link_to "Series", series_index_path %>

Remove Home and Series links from navbar


<%= render partial: "layouts/file_uploader_complicated",
           locals: { owner: nil } %>

<%= form_for [@course, @folder], :html => { :class => 'form-horizontal' } do |f| %>

    <%= f.submit "Done", :class => 'btn btn-primary', data: {disable_with: "Submitting..."} %>
    <%= link_to t('.cancel', :default => t("helpers.links.cancel")),
                course_material_folders_url(@course, @folder), :class => 'btn' %>

<% end %>

<%= render partial: "layouts/file_uploader_complicated",
           locals: { owner: nil } %>

<%= form_for [@course, @folder], :html => { :class => 'form-horizontal' } do |f| %>

    <%= f.submit "Done", :class => 'btn btn-primary', data: {disable_with: "Submitting..."} %>
    <%= hidden_field_tag :type, :files  %>
    <%= hidden_field_tag :parent, @folder.id %>
    <%= link_to t('.cancel', :default => t("helpers.links.cancel")),
                course_material_folders_url(@course, @folder), :class => 'btn' %>

<% end %>

Fix file upload to subfolders.

Fix file upload to subfolders.


<%- model_class = MaterialFolder -%>

Workbin: <%= @folder.name %><%= @folder.is_open? ? '' : 'Closed'.html_safe %>

  <% if @folder.description %>

<%= @folder.description.html_safe %>

  <% end %>

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

    <%= render :partial => 'folder_controls' %>
    <%= render :partial => 'folder_listing' %>

<%- model_class = MaterialFolder -%>

Workbin: <%= @folder.name %><%= @folder.is_open? ? '' : 'Closed'.html_safe %>

  <% if @folder.description %>

<%= @folder.description.html_safe %>

  <% end %>

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

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

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

Move control bar above tree and listing.


  <% [:success, :error, :danger].each do |type| %>
    <%- alert_class = (type == :error) ? :danger : type %>
    <% if flash[type] %>
      <div class="alert alert-<%=alert_class%>"><%= flash[type] %>
         ×

    <% end %>
  <% end %>

Add flash message template back

Add flash message template back


<%= content_for :breadcrumbs do %>
  <%= breadcrumbs(@debatable, t(:discussions)) %>
<% end %>

<%= t :forum %>

  <% if @debatable.respond_to? :language %>

<%= language_icon @debatable.language %>

  <% end %>

      <%= t("#{@debatable_class.downcase}_number", number: @debatable.number) %>:
      <%= @debatable.name %>

<% if @discussions.empty? %>
  <%= new_discussion_link(:no_questions, :ask_the_first_question) %>
<% else %>
  <%= render partial: 'layouts/discussions' %>
  <%= new_discussion_link(:no_useful_result, :ask_a_question) %>
<% end %>

<%= content_for :no_container do %>
<% end if current_user? %>

<%= forum_terms_link %>

<%= content_for :breadcrumbs do %>
  <%= breadcrumbs(@debatable, t(:discussions)) %>
<% end %>

<%= t :forum %>

      <%= t("#{@debatable_class.downcase}_number", number: @debatable.number) %>:
      <%= @debatable.name %>

  <% if @debatable.respond_to? :language %>

<%= language_icon @debatable.language %>

  <% end %>

<% if @discussions.empty? %>
  <%= new_discussion_link(:no_questions, :ask_the_first_question) %>
<% else %>
  <%= render partial: 'layouts/discussions' %>
  <%= new_discussion_link(:no_useful_result, :ask_a_question) %>
<% end %>

<%= content_for :no_container do %>
<% end if current_user? %>

<%= forum_terms_link %>

Fix exercise and language view on discussion index


  <title>Quill Scorebook</title>

  <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">

  <%= render partial: 'typekit' %>
  <%= stylesheet_link_tag 'scorebook/scorebook', media: 'all', 'data-turbolinks-track' => true %>
  <%= csrf_meta_tags %>

  <%= render partial: 'application/head_embed_codes' %>

    <%= render partial: 'header', media: 'all', 'data-turbolinks-track' => true %>
    <%= yield %>
    <%= render partial: 'footer', media: 'all', 'data-turbolinks-track' => true %>

    <%= javascript_include_tag 'scorebook/scorebook', 'data-turbolinks-track' => true %>

<head>
  <title>Quill Scorebook</title>

  <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">

  <%= render partial: 'typekit' %>
  <%= stylesheet_link_tag 'scorebook/scorebook', media: 'all', 'data-turbolinks-track' => true %>
  <%= csrf_meta_tags %>
  <link href="/images/favicon.gif" rel="icon" type="image/ico" />
  <link href="http://fonts.googleapis.com/css?family=Comfortaa:400,700" rel="stylesheet" type="text/css" />

  <%= render partial: 'application/head_embed_codes' %>

  <!--[if !IE 7]>
    <style type="text/css">
      #wrap { display: table ; height: 100% }
    </style>
  <![endif]-->

</head>
  <body>
    <%= render partial: 'header', media: 'all', 'data-turbolinks-track' => true %>
    <%= yield %>
    <%= render partial: 'footer', media: 'all', 'data-turbolinks-track' => true %>

    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <%= javascript_include_tag 'scorebook/scorebook', 'data-turbolinks-track' => true %>
  </body>
</html>

Fix some broken link tags in scorebook head


<!DOCTYPE html>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
    <title>Webrelais</title>
    <link rel="stylesheet" href="/css/webrelais.css" />

Webrelais

    <%= styled_flash(:status) %>
    <%= yield %>

Use JQuery's own CDN with the lates 2.1 release


* Documentation: [[mw:Extension:MachineVision|]]
* Image labeling queue: [[Special:ImageLabeling]] / [[Special:ApiSandbox|action=query&list=querypage&qppage=ImageLabeling]]

Add convenience link for special page

machinevision: Add convenience link for special page

Depends-On: I57195e70d61f60713e00e64205698e64b689bffb
Change-Id: I81cf7bf6b6eaf26c5b6d865a1f973cb409595662


User#new

Find me in app/views/user/new.html.erb

Create your User

		<%= form_for @user do |f| %>

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

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

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

		  <%= f.label :password %>
		  <%= f.password_field :password %>

		  <%= f.submit class: 'button tiny radius' %>

		<%end%>

Create view for new user (still needs work)


You may be able to register a civil partnership or get married at the British embassy or consulate in Peru.

[Make an appointment at the embassy in Lima.](https://www.book-consular-appointment.service.gov.uk/TimeSelection?location=125&service=10)

##What documents you’ll need

You need to have been living in Peru for 21 days. You and your partner will need to sign a declaration and provide proof of residence for example, an employer’s letter or a bank statement.

You’ll both need your original passports. If either of you have been divorced, widowed or in a civil partnership before, you’ll also need either:

- a [decree absolute or final order](/copy-decree-absolute-final-order)
- the [death certificate](/order-copy-birth-death-marriage-certificate/)

##What you need to do

At your appointment the embassy or consulate will give you:

-  a notice of registration
-  a declaration that you and your partner will need to swear, stating that you’re legally entitled to marry or enter into a civil partnership

Once you’ve completed these and paid the registration fee, the embassy or consulate will display your notice publicly for 14 days.

As long as nobody registers an objection you can get married or enter into a civil partnership up to 3 months after you gave notice.

You’ll need to bring two witnesses to your ceremony - they’ll need to show their photo ID (for example passport or driver’s licence).

You’ll need to pay a fee to register your marriage or civil partnership and a fee for your marriage or civil partnership certificate.

^All same-sex marriages must take place under English and Welsh or Scottish law even if you live in or are from Northern Ireland. Tell the embassy or consulate which law you want to get married under at your appointment.^

##Naturalisation of your partner if they move to the UK

Your partner can apply to [become a British citizen](/becoming-a-british-citizen/if-your-spouse-is-a-british-citizen) once they’ve lived in the UK for 3 years.

## Fees

<%= render partial: 'consular_fees_table_items',
    collection: calculator.services,
    as: :service,
    locals: { calculator: calculator } %>

You normally have to pay fees for consular services in the local currency - these are shown in the list of [consular fees for Peru](/government/publications/peru-consular-fees).

You can pay by cash or credit card, but not by personal cheque.

It’s not possible to get legal recognition for your same-sex relationship in Peru.

Remove same-sex option for Peru - Peru, British 1


<% content_for :title, "Coronavirus pages" %>

Coronavirus landing page

<%= link_to "Edit landing page accordions", coronavirus_page_path(slug: @topic_page.slug), class:"govuk-link" %>

<%= link_to "Edit live stream URL", live_stream_index_path, class:"govuk-link" %>

<%= link_to "Edit something else on the landing page", prepare_coronavirus_page_path(slug: @topic_page[:slug]), class:"govuk-link" %>

<% @subtopic_pages.each do |page| %>

<%=page.name%>

<%= link_to "Edit #{page.name.downcase} accordions", coronavirus_page_path(slug: page.slug), class:"govuk-link" %>

<%= link_to "Edit something else on the #{page.name.downcase}", prepare_coronavirus_page_path(slug: page[:slug]), class:"govuk-link" %>

<% end %>

<% content_for :title, "Coronavirus pages" %>

Coronavirus landing page

  <% if unreleased_feature_user? %>

<%= link_to "Edit landing page accordions and announcements", coronavirus_page_path(slug: @topic_page.slug), class:"govuk-link" %>

  <% else %>

<%= link_to "Edit landing page accordions", coronavirus_page_path(slug: @topic_page.slug), class:"govuk-link" %>

  <% end %>

<%= link_to "Edit live stream URL", live_stream_index_path, class:"govuk-link" %>

<%= link_to "Edit something else on the landing page", prepare_coronavirus_page_path(slug: @topic_page[:slug]), class:"govuk-link" %>

<% @subtopic_pages.each do |page| %>

<%=page.name%>

<%= link_to "Edit #{page.name.downcase} accordions", coronavirus_page_path(slug: page.slug), class:"govuk-link" %>

<%= link_to "Edit something else on the #{page.name.downcase}", prepare_coronavirus_page_path(slug: page[:slug]), class:"govuk-link" %>

<% end %>

Update 'Edit landing page' link wording

Update 'Edit landing page' link wording

Updated link text as users will also be able to edit accordions at /coronavirus/landing

Co-authored-by: Rosa Fox <7730dfe70100dfd32d4a03b4b554258d5d0f44a0@digital.cabinet-office.gov.uk>


Verwalten

  <%= nav_link_to "Benutzer", jmd_users_path if can? :manage, User %>
  <%= nav_link_to "Wettbewerbe", jmd_competitions_path if can? :manage, Competition %>
  <% if can? :read, Performance %>
    <%= nav_link_to "Vorspiele", jmd_performances_path %>
  <% end %>

  <% if can? :manage, Performance %>
    <%= nav_link_to "Ergebnisse", jmd_appearances_path %>

Ausgeben

    <%= nav_link_to "Jurybögen", make_jury_sheets_jmd_performances_path %>
    <%= nav_link_to "Urkunden", make_certificates_jmd_performances_path %>
  <% end %>

  <% if can? :manage, Performance %>

Verwalten

    <%= nav_link_to "Benutzer", jmd_users_path if can? :manage, User %>
    <%= nav_link_to "Wettbewerbe", jmd_competitions_path if can? :manage, Competition %>
    <%= nav_link_to "Ergebnisse", jmd_appearances_path %>

Ausgeben

    <%= nav_link_to "Jurybögen", make_jury_sheets_jmd_performances_path %>
    <%= nav_link_to "Urkunden", make_certificates_jmd_performances_path %>

  <% elsif can? :read, Performance %>

Einsehen

    <%= nav_link_to "Vorspiele", jmd_performances_path %>

  <% end %>

Improve sidebar logic and wording depending on abilities


    <% link_to '/' do %><%= image_tag 'bytepushers.svg', alt: 'Bytepushers Logo' %><% end %>

<%= link_to 'about', '/pages/about.html' %>

<%= link_to 'people', '/code.html' %>

    <% link_to '/' do %><%= image_tag 'bytepushers.svg', alt: 'Bytepushers Logo' %><% end %>

<%= link_to 'about', '/pages/about.html' %>

<%= link_to 'people', '/people.html' %>

Change people hyperlink in navbar

Change people hyperlink in navbar


# 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 %>

## 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.

## 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 %>

## 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).

Add the word 'SSH Keys' to Docker docs so it catches more eyeballs


            <%= display_avatar(@user, size: 1000, type: :large) %>

<%= @user.first_name %>

                Last update: <%= time_ago_in_words(post.updated_at) %> ago

                <%= post.likes.count %>
                <%= link_to(user_post_likes_path(post_id: post.id), method: :post, class: "btn-floating btn-flat waves-effect") do %>
                    favorite
                <% end %>
                <%= post.dislikes.count %>
                <%= link_to(user_post_dislikes_path(post_id: post.id), method: :post, class: "btn-floating btn-flat waves-effect") do %>
                    thumb_down
                <% end %>

<%= post.text %>

Create the post card for the user dashboard


CVMFS_REPOSITORIES=<%= repositories -%>

CVMFS_QUOTA_LIMIT=<%= quota_limit -%>
CVMFS_HTTP_PROXY="<%= default_http_proxy -%>"

CVMFS_REPOSITORIES=<%= @repositories -%>

CVMFS_QUOTA_LIMIT=<%= @quota_limit -%>
CVMFS_HTTP_PROXY="<%= @default_http_proxy -%>"
<% if @cache_base -%>
CVMFS_CACHE_BASE="<%= @cache_base -%>"
<% end -%>

Support for cache_base and puppet 4

Support for cache_base and puppet 4