[Bps-public-commit] App-Changeloggr branch, master, updated. 9b2a9bf5dcc137be55fe95d5ce117de4040553ec
sartak at bestpractical.com
sartak at bestpractical.com
Tue Apr 28 11:16:03 EDT 2009
The branch, master has been updated
via 9b2a9bf5dcc137be55fe95d5ce117de4040553ec (commit)
from f082a9cb5f4d78f7060c61415356e096890c32a4 (commit)
Summary of changes:
lib/App/Changeloggr/View/Admin.pm | 14 ++++++++++----
1 files changed, 10 insertions(+), 4 deletions(-)
- Log -----------------------------------------------------------------
commit 9b2a9bf5dcc137be55fe95d5ce117de4040553ec
Author: Shawn M Moore <sartak at gmail.com>
Date: Tue Apr 28 11:14:21 2009 -0400
Move changes and links management into their own pages
diff --git a/lib/App/Changeloggr/View/Admin.pm b/lib/App/Changeloggr/View/Admin.pm
index 28602af..03bc4ef 100644
--- a/lib/App/Changeloggr/View/Admin.pm
+++ b/lib/App/Changeloggr/View/Admin.pm
@@ -22,10 +22,6 @@ template '/changelog' => page {
form_submit(label => 'Update');
};
- add_changes_to($changelog);
-
- edit_links($changelog);
-
my $delete = $changelog->as_delete_action;
form {
render_action($delete);
@@ -36,9 +32,19 @@ template '/changelog' => page {
template '/changelog/tags' => page {
my $changelog = Changelog(id => get('id'));
+ add_changes_to($changelog);
+};
+
+template '/changelog/tags' => page {
+ my $changelog = Changelog(id => get('id'));
edit_tags($changelog);
};
+template '/changelog/links' => page {
+ my $changelog = Changelog(id => get('id'));
+ edit_links($changelog);
+};
+
sub add_changes_to {
my $changelog = shift;
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list