[Bps-public-commit] App-Changeloggr branch, master, updated. 29659d4d5a5e486a76ee4e9c03e8be525d219d8a
sartak at bestpractical.com
sartak at bestpractical.com
Tue Jun 30 19:05:10 EDT 2009
The branch, master has been updated
via 29659d4d5a5e486a76ee4e9c03e8be525d219d8a (commit)
via bea612acf7b3718d061412f766b8cb2a1074ebfa (commit)
from 0650480f00ffaea983e10170461253c426fb4157 (commit)
Summary of changes:
lib/App/Changeloggr/View.pm | 19 ++++++++++++++++++-
share/web/static/css/app.css | 7 ++++++-
2 files changed, 24 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit bea612acf7b3718d061412f766b8cb2a1074ebfa
Author: Shawn M Moore <sartak at gmail.com>
Date: Tue Jun 30 18:23:28 2009 -0400
Improve tags page
diff --git a/lib/App/Changeloggr/View.pm b/lib/App/Changeloggr/View.pm
index 311f712..5cdbb00 100644
--- a/lib/App/Changeloggr/View.pm
+++ b/lib/App/Changeloggr/View.pm
@@ -64,7 +64,7 @@ template '/changelog' => page {
template '/changelog/tags' => page {
my $changelog = Changelog(name => get('changelog'));
- title is $changelog->name;
+ title is _('Tags for %1', $changelog->name);
my $tags = $changelog->tags;
dl {
@@ -73,6 +73,15 @@ template '/changelog/tags' => page {
dd { $tag->description || $tag->tooltip || '' }
}
}
+
+ hr {};
+
+ p {
+ hyperlink(
+ label => _("Take me back to the voting booth."),
+ url => '/changelog/' . get('changelog'),
+ );
+ }
};
template '/changelog/download' => sub {
commit 29659d4d5a5e486a76ee4e9c03e8be525d219d8a
Author: Shawn M Moore <sartak at gmail.com>
Date: Tue Jun 30 19:04:43 2009 -0400
Link to tag descriptions
diff --git a/lib/App/Changeloggr/View.pm b/lib/App/Changeloggr/View.pm
index 5cdbb00..c8d494d 100644
--- a/lib/App/Changeloggr/View.pm
+++ b/lib/App/Changeloggr/View.pm
@@ -312,6 +312,14 @@ sub show_vote_form {
arguments => { tag => $valid_tag->text },
);
}
+
+ p {
+ attr { class => 'tags_link' };
+ hyperlink(
+ label => _('Tag descriptions'),
+ url => '/changelog/' . $changelog->name . '/tags',
+ );
+ }
}
hr {};
$vote->button(
diff --git a/share/web/static/css/app.css b/share/web/static/css/app.css
index cfc7afd..361bf2f 100644
--- a/share/web/static/css/app.css
+++ b/share/web/static/css/app.css
@@ -74,4 +74,9 @@ h1.title {
background-color: #223;
border: 1px solid #445;
padding: 0.5em;
-}
\ No newline at end of file
+}
+
+.tags_link a {
+ font-size: .8em;
+ text-decoration: none;
+}
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list