X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=templates%2Fadmin.html.ep;h=0cfb3789fbfb5342bc36bc76f4ef7c7a8a15a60c;hb=5081a5d3264e46b40d6356466046388625963b92;hp=5d01f8ecfcdb235d771d84ea529e50f8ae549732;hpb=c6ef4812dcac2b6aafcc8665c7376320dc4c6400;p=MojoFacets.git diff --git a/templates/admin.html.ep b/templates/admin.html.ep index 5d01f8e..0cfb378 100644 --- a/templates/admin.html.ep +++ b/templates/admin.html.ep @@ -1,5 +1,29 @@
+% if ( my $datasets = stash('datasets' ) ) { +
+ +% foreach my $path ( @$datasets ) { + +% } +
+ +% } else { +<%= session('path') %> +% } + load columns · @@ -21,7 +45,7 @@ items: % if ( my $id = stash('nytprof.id') ) { · -profile +profile % } @@ -35,11 +59,13 @@ items: changes actions -% if ( session('modified') ) { -% my $path = session('path'); +% my $visible_class = session('modified') ? '' : 'hide'; +% my $path = session('path'); + · -save -% } +save + +