projects
/
MojoFacets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a828931
)
correct remove storable link
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 4 Jan 2015 18:33:56 +0000
(19:33 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 4 Jan 2015 18:33:56 +0000
(19:33 +0100)
templates/data/index.html.ep
patch
|
blob
|
history
diff --git
a/templates/data/index.html.ep
b/templates/data/index.html.ep
index
283da08
..
d259a0b
100644
(file)
--- a/
templates/data/index.html.ep
+++ b/
templates/data/index.html.ep
@@
-22,7
+22,7
@@
</td><td class=bytes>
% if ( my $size = -s $dump_path->{$n} ) {
% my $action = -M $dump_path->{$n} > -M "data/$n" ? 'reload' : 'remove';
</td><td class=bytes>
% if ( my $size = -s $dump_path->{$n} ) {
% my $action = -M $dump_path->{$n} > -M "data/$n" ? 'reload' : 'remove';
-<a class="<%= $action %>" title="<%= $action %>" href="
/data/<%= $action %>?path=<%= $dump_path->{$n} %>;name=<%= $n
%>"><%= $size %></a>
+<a class="<%= $action %>" title="<%= $action %>" href="
<%= url_for( action => $action )->query([ path => $dump_path->{$n}, name => $n ])
%>"><%= $size %></a>
% }
</td><td align=right><%= defined $loaded->{$n}->{data} ? $#{ $loaded->{$n}->{data}->{items} } + 1 : '' %>
</td><td align=right><%= defined $changes->{$n} ? $#{ $changes->{$n} } + 1 : '' %>
% }
</td><td align=right><%= defined $loaded->{$n}->{data} ? $#{ $loaded->{$n}->{data}->{items} } + 1 : '' %>
</td><td align=right><%= defined $changes->{$n} ? $#{ $changes->{$n} } + 1 : '' %>