Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 653176
Collapse All | Expand All

(-)a/lib/helpers.rb (-3 / +3 lines)
Lines 67-77 helpers do Link Here
67
67
68
  def feed(type, items)
68
  def feed(type, items)
69
    RSS::Maker.make(type) do |maker|
69
    RSS::Maker.make(type) do |maker|
70
      maker.channel.author      = 'Gentoo Security Team'
70
      maker.channel.author      = 'Gentoo security team'
71
      maker.channel.about       = 'https://security.gentoo.org/glsa'
71
      maker.channel.about       = 'https://security.gentoo.org/glsa'
72
      maker.channel.link        = 'https://security.gentoo.org/glsa'
72
      maker.channel.link        = 'https://security.gentoo.org/glsa'
73
      maker.channel.description = 'This feed contains new Gentoo Linux Security Advisories. Contact security@gentoo.org with questions.'
73
      maker.channel.description = 'This feed contains new Gentoo Linux security advisories. Contact security@gentoo.org with questions.'
74
      maker.channel.title       = 'Gentoo Linux Security Advisories'
74
      maker.channel.title       = 'Gentoo Linux security advisories'
75
      maker.channel.updated     = items.first.revised.to_s
75
      maker.channel.updated     = items.first.revised.to_s
76
76
77
      items.each do |input_item|
77
      items.each do |input_item|
(-)a/views/glsa/glsav1.erb (-3 / +3 lines)
Lines 9-15 Link Here
9
      <%= h @glsa.synopsis %>
9
      <%= h @glsa.synopsis %>
10
    </p>
10
    </p>
11
11
12
    <h3>Affected Packages</h3>
12
    <h3>Affected packages</h3>
13
13
14
    <div class="table-responsive">
14
    <div class="table-responsive">
15
      <% @glsa.packages.each_pair do |package, data|
15
      <% @glsa.packages.each_pair do |package, data|
Lines 55-66 Link Here
55
  </div>
55
  </div>
56
  <div class="col-xs-12 col-md-2">
56
  <div class="col-xs-12 col-md-2">
57
    <p>
57
    <p>
58
      <strong>Release Date</strong>
58
      <strong>Release date</strong>
59
      <br>
59
      <br>
60
      <%= date_format @glsa.date %>
60
      <%= date_format @glsa.date %>
61
    </p>
61
    </p>
62
    <p>
62
    <p>
63
      <strong>Latest Revision</strong>
63
      <strong>Latest revision</strong>
64
      <br>
64
      <br>
65
      <%= date_format @glsa.revised %>: <%= h @glsa.revision %>
65
      <%= date_format @glsa.revised %>: <%= h @glsa.revision %>
66
    </p>
66
    </p>
(-)a/views/index.erb (-3 / +3 lines)
Lines 1-4 Link Here
1
<h1 class="first-header">Gentoo Security Database</h1>
1
<h1 class="first-header">Gentoo security database</h1>
2
2
3
<p>
3
<p>
4
  This page contains security data related to the Gentoo distribution.
4
  This page contains security data related to the Gentoo distribution.
Lines 13-25 Link Here
13
</div>
13
</div>
14
14
15
<div class="alert alert-info">
15
<div class="alert alert-info">
16
  <strong>Security Documentation</strong>
16
  <strong>Security documentation</strong>
17
  <br />
17
  <br />
18
  If you want to learn more about keeping your Gentoo system secure
18
  If you want to learn more about keeping your Gentoo system secure
19
  please visit our <a href="http://www.gentoo.org/security/en/" class="alert-link">security documentation</a>.
19
  please visit our <a href="http://www.gentoo.org/security/en/" class="alert-link">security documentation</a>.
20
</div>
20
</div>
21
21
22
<h2>Most recent Gentoo Linux Security Advisories</h2>
22
<h2>Most recent Gentoo Linux security advisories</h2>
23
23
24
<div class="table-responsive">
24
<div class="table-responsive">
25
  <table class="table table-striped">
25
  <table class="table table-striped">
(-)a/views/layout.erb (-4 / +4 lines)
Lines 1-11 Link Here
1
<!DOCTYPE html>
1
<!DOCTYPE html>
2
<html>
2
<html>
3
  <head>
3
  <head>
4
    <title><%= "#{h @title} — " if @title %>Gentoo Security</title>
4
    <title><%= "#{h @title} — " if @title %>Gentoo security</title>
5
    <meta charset="utf-8">
5
    <meta charset="utf-8">
6
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
    <meta name="theme-color" content="#54487a">
7
    <meta name="theme-color" content="#54487a">
8
    <meta name="description" content="<%= @description ? "#{h @description.gsub("\n", ' ').squeeze(' ').strip}" : 'Gentoo Security Database' %>">
8
    <meta name="description" content="<%= @description ? "#{h @description.gsub("\n", ' ').squeeze(' ').strip}" : 'Gentoo security database' %>">
9
    <link href="https://1b9a50f4f9de4348cd9f-e703bc50ba0aa66772a874f8c7698be7.ssl.cf5.rackcdn.com/bootstrap.min.css" rel="stylesheet" media="screen">
9
    <link href="https://1b9a50f4f9de4348cd9f-e703bc50ba0aa66772a874f8c7698be7.ssl.cf5.rackcdn.com/bootstrap.min.css" rel="stylesheet" media="screen">
10
    <link href="https://1b9a50f4f9de4348cd9f-e703bc50ba0aa66772a874f8c7698be7.ssl.cf5.rackcdn.com/tyrian.min.css" rel="stylesheet" media="screen">
10
    <link href="https://1b9a50f4f9de4348cd9f-e703bc50ba0aa66772a874f8c7698be7.ssl.cf5.rackcdn.com/tyrian.min.css" rel="stylesheet" media="screen">
11
    <link href="/css/main.css" rel="stylesheet" media="screen">
11
    <link href="/css/main.css" rel="stylesheet" media="screen">
Lines 34-40 Link Here
34
                    <li><a href="https://archives.gentoo.org/" title="Read up on past discussions"><span class="fa fa-archive fa-fw"></span> Archives</a></li>
34
                    <li><a href="https://archives.gentoo.org/" title="Read up on past discussions"><span class="fa fa-archive fa-fw"></span> Archives</a></li>
35
                    <li><a href="https://sources.gentoo.org/" title="Browse our source code"><span class="fa fa-code fa-fw"></span> Sources</a></li>
35
                    <li><a href="https://sources.gentoo.org/" title="Browse our source code"><span class="fa fa-code fa-fw"></span> Sources</a></li>
36
                    <li class="divider"></li>
36
                    <li class="divider"></li>
37
                    <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>
37
                    <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>
38
                  </ul>
38
                  </ul>
39
                </div>
39
                </div>
40
              </div>
40
              </div>
Lines 107-113 Link Here
107
              Gentoo is a trademark of the Gentoo Foundation, Inc.
107
              Gentoo is a trademark of the Gentoo Foundation, Inc.
108
              The contents of this document, unless otherwise expressly stated, are licensed under the
108
              The contents of this document, unless otherwise expressly stated, are licensed under the
109
              <a href="https://creativecommons.org/licenses/by-sa/3.0/" rel="license">CC-BY-SA-3.0</a> license.
109
              <a href="https://creativecommons.org/licenses/by-sa/3.0/" rel="license">CC-BY-SA-3.0</a> license.
110
              The <a href="https://www.gentoo.org/inside-gentoo/foundation/name-logo-guidelines.html">Gentoo Name and Logo Usage Guidelines</a> apply.
110
              The <a href="https://www.gentoo.org/inside-gentoo/foundation/name-logo-guidelines.html">Gentoo name and logo usage guidelines</a> apply.
111
            </small>
111
            </small>
112
          </div>
112
          </div>
113
        </div>
113
        </div>
(-)a/views/subscribe.erb (-4 / +3 lines)
Lines 14-20 Link Here
14
14
15
    <p>
15
    <p>
16
      If you don't have the utility installed, run <kbd>emerge -va app-portage/gentoolkit</kbd>.<br>
16
      If you don't have the utility installed, run <kbd>emerge -va app-portage/gentoolkit</kbd>.<br>
17
      For more information, review the <a href="https://wiki.gentoo.org/wiki/GLSA">documentation</a> on our Wiki.</p>
17
      For more information, review the <a href="https://wiki.gentoo.org/wiki/GLSA">documentation</a> on our wiki.</p>
18
  </div>
18
  </div>
19
</div>
19
</div>
20
20
Lines 25-31 Link Here
25
    <i class="fa fa-inbox fa-5x"></i>
25
    <i class="fa fa-inbox fa-5x"></i>
26
  </div>
26
  </div>
27
  <div class="col-md-8">
27
  <div class="col-md-8">
28
    <h2>Subscribe via E-Mail</h2>
28
    <h2>Subscribe via e-mail</h2>
29
29
30
    <p>Our advisories are posted to the <em>gentoo-announce</em> mailing list.</p>
30
    <p>Our advisories are posted to the <em>gentoo-announce</em> mailing list.</p>
31
31
Lines 73-76 Link Here
73
    </ul>
73
    </ul>
74
    -->
74
    -->
75
  </div>
75
  </div>
76
</div>
76
</div>
77
- 

Return to bug 653176