[Bps-public-commit] App-Changeloggr branch, vote-sidebar, updated. 462579575d7a8ac23f2296eb0a4fcd22bc07cb69
sartak at bestpractical.com
sartak at bestpractical.com
Wed Aug 5 02:59:16 EDT 2009
The branch, vote-sidebar has been updated
via 462579575d7a8ac23f2296eb0a4fcd22bc07cb69 (commit)
from 5b19faa6ef201d7a41448cb549ef79c75b2091c9 (commit)
Summary of changes:
lib/App/Changeloggr/View.pm | 7 +++++++
share/web/static/css/change.css | 4 ++++
2 files changed, 11 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit 462579575d7a8ac23f2296eb0a4fcd22bc07cb69
Author: Shawn M Moore <sartak at gmail.com>
Date: Wed Aug 5 02:59:10 2009 -0400
Display hotkey for each button
diff --git a/lib/App/Changeloggr/View.pm b/lib/App/Changeloggr/View.pm
index ab338f7..4081434 100644
--- a/lib/App/Changeloggr/View.pm
+++ b/lib/App/Changeloggr/View.pm
@@ -324,6 +324,13 @@ sub show_vote_form {
}
li {
+ if ($valid_tag->hotkey) {
+ span {
+ class is 'hotkey';
+ $valid_tag->hotkey
+ };
+ }
+
$vote->button(
class => "vote",
label => $label,
diff --git a/share/web/static/css/change.css b/share/web/static/css/change.css
index e3b75ea..9f87a4a 100644
--- a/share/web/static/css/change.css
+++ b/share/web/static/css/change.css
@@ -28,6 +28,10 @@ div#vote_buttons ul {
padding: 0;
}
+div#vote_buttons .hotkey {
+ font-size: 1.2em;
+}
+
.change_message {
font-family: monospace;
}
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list