aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/glsa/release.html.erb')
-rw-r--r--app/views/glsa/release.html.erb30
1 files changed, 30 insertions, 0 deletions
diff --git a/app/views/glsa/release.html.erb b/app/views/glsa/release.html.erb
new file mode 100644
index 0000000..6be0f12
--- /dev/null
+++ b/app/views/glsa/release.html.erb
@@ -0,0 +1,30 @@
+<h1>GLSA released</h1>
+
+<div class="box w40em">
+ <h2>Release information</h2>
+
+ <table>
+ <tr>
+ <td>Official ID</td>
+ <td><strong>GLSA <%= @glsa.glsa_id %></strong></td>
+ </tr>
+ <tr>
+ <td>Title</td>
+ <td><strong><%= h @rev.title %></strong></td>
+ </tr>
+ </table>
+</div>
+
+<div class="box w40em">
+ <h2>Next steps</h2>
+
+ <p>
+ Now, download the advisory XML and publish it in CVS.<br />
+ Then you can send the advisory email.
+ </p>
+
+ <div class='box-actions'>
+ <button onclick="document.location = '<%= url_for :action => :download, :format => 'xml', :id => @glsa %>'">Download XML</button>
+ <button onclick="document.location = '<%= url_for :action => :show, :format => 'txt', :id => @glsa %>'">Show Text</button>
+ </div>
+</div> \ No newline at end of file