summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Marchese <maffblaster@gentoo.org>2018-04-14 12:53:34 -0700
committerThomas Deutschmann <whissi@gentoo.org>2019-04-18 23:04:17 +0200
commit3c64bde9c8897398b0e2dc896a9fc5fce93d98a9 (patch)
tree18a5304c94009a41d5308a39f116cf701ca3ffdc
parentCopyright: 2018 (diff)
downloadsecurity-3c64bde9c8897398b0e2dc896a9fc5fce93d98a9.tar.gz
security-3c64bde9c8897398b0e2dc896a9fc5fce93d98a9.tar.bz2
security-3c64bde9c8897398b0e2dc896a9fc5fce93d98a9.zip
Sentence case site.
Closes: https://bugs.gentoo.org/653176 Signed-off-by: Matthew Marchese <maffblaster@gentoo.org> Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
-rw-r--r--lib/helpers.rb6
-rw-r--r--views/glsa/glsav1.erb6
-rw-r--r--views/index.erb6
-rw-r--r--views/layout.erb8
-rw-r--r--views/subscribe.erb6
5 files changed, 16 insertions, 16 deletions
diff --git a/lib/helpers.rb b/lib/helpers.rb
index ab2e42c..2d7e902 100644
--- a/lib/helpers.rb
+++ b/lib/helpers.rb
@@ -67,11 +67,11 @@ helpers do
def feed(type, items)
RSS::Maker.make(type) do |maker|
- maker.channel.author = 'Gentoo Security Team'
+ maker.channel.author = 'Gentoo security team'
maker.channel.about = 'https://security.gentoo.org/glsa'
maker.channel.link = 'https://security.gentoo.org/glsa'
- maker.channel.description = 'This feed contains new Gentoo Linux Security Advisories. Contact security@gentoo.org with questions.'
- maker.channel.title = 'Gentoo Linux Security Advisories'
+ maker.channel.description = 'This feed contains new Gentoo Linux security advisories. Contact security@gentoo.org with questions.'
+ maker.channel.title = 'Gentoo Linux security advisories'
maker.channel.updated = items.first.revised.to_s
items.each do |input_item|
diff --git a/views/glsa/glsav1.erb b/views/glsa/glsav1.erb
index 29e75c4..276ecb7 100644
--- a/views/glsa/glsav1.erb
+++ b/views/glsa/glsav1.erb
@@ -9,7 +9,7 @@
<%= h @glsa.synopsis %>
</p>
- <h3>Affected Packages</h3>
+ <h3>Affected packages</h3>
<div class="table-responsive">
<% @glsa.packages.each_pair do |package, data|
@@ -55,12 +55,12 @@
</div>
<div class="col-xs-12 col-md-2">
<p>
- <strong>Release Date</strong>
+ <strong>Release date</strong>
<br>
<%= date_format @glsa.date %>
</p>
<p>
- <strong>Latest Revision</strong>
+ <strong>Latest revision</strong>
<br>
<%= date_format @glsa.revised %>: <%= h @glsa.revision %>
</p>
diff --git a/views/index.erb b/views/index.erb
index 56e81ea..78fca01 100644
--- a/views/index.erb
+++ b/views/index.erb
@@ -1,4 +1,4 @@
-<h1 class="first-header">Gentoo Security Database</h1>
+<h1 class="first-header">Gentoo security database</h1>
<p>
This page contains security data related to the Gentoo distribution.
@@ -13,13 +13,13 @@
</div>
<div class="alert alert-info">
- <strong>Security Documentation</strong>
+ <strong>Security documentation</strong>
<br />
If you want to learn more about keeping your Gentoo system secure
please visit our <a href="http://www.gentoo.org/security/en/" class="alert-link">security documentation</a>.
</div>
-<h2>Most recent Gentoo Linux Security Advisories</h2>
+<h2>Most recent Gentoo Linux security advisories</h2>
<div class="table-responsive">
<table class="table table-striped">
diff --git a/views/layout.erb b/views/layout.erb
index 3adadff..46a2a9b 100644
--- a/views/layout.erb
+++ b/views/layout.erb
@@ -1,11 +1,11 @@
<!DOCTYPE html>
<html>
<head>
- <title><%= "#{h @title} — " if @title %>Gentoo Security</title>
+ <title><%= "#{h @title} — " if @title %>Gentoo security</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="#54487a">
- <meta name="description" content="<%= @description ? "#{h @description.gsub("\n", ' ').squeeze(' ').strip}" : 'Gentoo Security Database' %>">
+ <meta name="description" content="<%= @description ? "#{h @description.gsub("\n", ' ').squeeze(' ').strip}" : 'Gentoo security database' %>">
<link href="https://1b9a50f4f9de4348cd9f-e703bc50ba0aa66772a874f8c7698be7.ssl.cf5.rackcdn.com/bootstrap.min.css" rel="stylesheet" media="screen">
<link href="https://1b9a50f4f9de4348cd9f-e703bc50ba0aa66772a874f8c7698be7.ssl.cf5.rackcdn.com/tyrian.min.css" rel="stylesheet" media="screen">
<link href="/css/main.css" rel="stylesheet" media="screen">
@@ -34,7 +34,7 @@
<li><a href="https://archives.gentoo.org/" title="Read up on past discussions"><span class="fa fa-archive fa-fw"></span> Archives</a></li>
<li><a href="https://sources.gentoo.org/" title="Browse our source code"><span class="fa fa-code fa-fw"></span> Sources</a></li>
<li class="divider"></li>
- <li><a href="https://infra-status.gentoo.org/" title="Get updates on the services provided by Gentoo"><span class="fa fa-server fa-fw"></span> Infra Status</a></li>
+ <li><a href="https://infra-status.gentoo.org/" title="Get updates on the services provided by Gentoo"><span class="fa fa-server fa-fw"></span> Infra status</a></li>
</ul>
</div>
</div>
@@ -107,7 +107,7 @@
Gentoo is a trademark of the Gentoo Foundation, Inc.
The contents of this document, unless otherwise expressly stated, are licensed under the
<a href="https://creativecommons.org/licenses/by-sa/3.0/" rel="license">CC-BY-SA-3.0</a> license.
- The <a href="https://www.gentoo.org/inside-gentoo/foundation/name-logo-guidelines.html">Gentoo Name and Logo Usage Guidelines</a> apply.
+ The <a href="https://www.gentoo.org/inside-gentoo/foundation/name-logo-guidelines.html">Gentoo name and logo usage guidelines</a> apply.
</small>
</div>
</div>
diff --git a/views/subscribe.erb b/views/subscribe.erb
index 45ad15c..64f0e82 100644
--- a/views/subscribe.erb
+++ b/views/subscribe.erb
@@ -14,7 +14,7 @@
<p>
If you don't have the utility installed, run <kbd>emerge -va app-portage/gentoolkit</kbd>.<br>
- For more information, review the <a href="https://wiki.gentoo.org/wiki/GLSA">documentation</a> on our Wiki.</p>
+ For more information, review the <a href="https://wiki.gentoo.org/wiki/GLSA">documentation</a> on our wiki.</p>
</div>
</div>
@@ -25,7 +25,7 @@
<i class="fa fa-inbox fa-5x"></i>
</div>
<div class="col-md-8">
- <h2>Subscribe via E-Mail</h2>
+ <h2>Subscribe via e-mail</h2>
<p>Our advisories are posted to the <em>gentoo-announce</em> mailing list.</p>
@@ -73,4 +73,4 @@
</ul>
-->
</div>
-</div> \ No newline at end of file
+</div>