[Bps-public-commit] App-Changeloggr branch, master, updated. 2e48f71c9c42ffdd33c89649eea035d510328df9
Alex M Vandiver
alexmv at bestpractical.com
Tue May 26 14:09:54 EDT 2009
The branch, master has been updated
via 2e48f71c9c42ffdd33c89649eea035d510328df9 (commit)
via 6460b8ba74969a6f7d28ce405cbeb5bb47ff7588 (commit)
via b443aa2d2d8c72f5488f34117eb5e01e757256b4 (commit)
from 3d7cf06c65e2bc33a80929f724c42e20c390eb5b (commit)
Summary of changes:
lib/App/Changeloggr/Action/AddChanges.pm | 1 +
lib/App/Changeloggr/View/Admin.pm | 25 +++++++++++++++++++++++++
share/web/static/css/app.css | 4 ++++
share/web/static/css/nav.css | 3 +--
4 files changed, 31 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit b443aa2d2d8c72f5488f34117eb5e01e757256b4
Author: Alex Vandiver <alexmv at mit.edu>
Date: Tue May 26 14:09:03 2009 -0400
Add a label for file upload
diff --git a/lib/App/Changeloggr/Action/AddChanges.pm b/lib/App/Changeloggr/Action/AddChanges.pm
index 6f363ed..13868a8 100644
--- a/lib/App/Changeloggr/Action/AddChanges.pm
+++ b/lib/App/Changeloggr/Action/AddChanges.pm
@@ -11,6 +11,7 @@ use Jifty::Action schema {
param changes =>
type is 'text',
render as 'upload',
+ label is 'Select change file',
is mandatory;
};
commit 6460b8ba74969a6f7d28ce405cbeb5bb47ff7588
Author: Alex Vandiver <alexmv at mit.edu>
Date: Tue May 26 14:09:29 2009 -0400
Move submenu to far-right
diff --git a/share/web/static/css/app.css b/share/web/static/css/app.css
index 3370acc..e3ce8f9 100644
--- a/share/web/static/css/app.css
+++ b/share/web/static/css/app.css
@@ -12,6 +12,7 @@ body {
background: #112;
color: #ddd;
margin-top: 2em;
+ padding-right: 12em;
}
#footer {
diff --git a/share/web/static/css/nav.css b/share/web/static/css/nav.css
index 46a7b9d..0f77c46 100644
--- a/share/web/static/css/nav.css
+++ b/share/web/static/css/nav.css
@@ -13,7 +13,6 @@
text-align: left;
list-style-type: none;
padding: 3px 10px 3px 10px;
- position: relative;
}
#navigation ul.menu li {
@@ -53,7 +52,7 @@
#navigation ul.menu li ul {
background-color: #223;
position: absolute;
- right: 10em;
+ right: 1em;
margin: 0;
padding: 0;
margin-top: -1em;
commit 2e48f71c9c42ffdd33c89649eea035d510328df9
Author: Alex Vandiver <alexmv at mit.edu>
Date: Tue May 26 14:09:46 2009 -0400
Add descriptions for links and tags
diff --git a/lib/App/Changeloggr/View/Admin.pm b/lib/App/Changeloggr/View/Admin.pm
index 1881de9..4bb9e36 100644
--- a/lib/App/Changeloggr/View/Admin.pm
+++ b/lib/App/Changeloggr/View/Admin.pm
@@ -144,6 +144,21 @@ sub edit_links {
my $changelog = shift;
my $links = $changelog->commit_links;
+ p {
+ outs_raw <<'EOT';
+
+<em>Links</em> allow you to hyperlink changelog bodies to arbitrary
+locations. <b>Find</b> should be an arbitrary regular expression to
+search for in the changelog body -- note that this expression is
+applied after HTML entity escaping has occurred. The <b>Link to</b>
+field is the URL that matching portions of the body will be inked to.
+If the <b>Find</b> expression had capture groups (created by parens),
+these will be available in the <b>Link to</b> field as $1, $2, and so
+forth.
+
+EOT
+ };
+
form {
if ($links->count) {
ul {
@@ -173,6 +188,16 @@ sub edit_tags {
my $changelog = shift;
my $tags = $changelog->visible_tags;
+ p {
+ outs_raw <<'EOT';
+
+<em>Tags</em> are the primary way in which changelogs are categorized.
+Each user votes for up to one tag per change; these votes are tallied
+and used to assign changes to tags when the changelog is downloaded.
+
+EOT
+ };
+
form {
if ($tags->count) {
ul {
diff --git a/share/web/static/css/app.css b/share/web/static/css/app.css
index e3ce8f9..f110cc9 100644
--- a/share/web/static/css/app.css
+++ b/share/web/static/css/app.css
@@ -70,3 +70,6 @@ hr {
float: none;
}
+p {
+ width: 40em;
+}
\ No newline at end of file
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list