# HG changeset patch # User Daniele Nicolodi # Date 1314119485 -7200 # Node ID f075650d3e1d609d0ef94389690189457beeb1f7 # Parent 22b950fee548befb92c6ca00c7a45db594680ace Disable "save query" button in timeseries search view. diff -r 22b950fee548 -r f075650d3e1d src/ltpdarepo/templates/query.html --- a/src/ltpdarepo/templates/query.html Tue Aug 23 18:04:12 2011 +0200 +++ b/src/ltpdarepo/templates/query.html Tue Aug 23 19:11:25 2011 +0200 @@ -80,7 +80,7 @@ - {% if 'admin' in g.identity.roles %} + {% if 'query' in request.endpoint and 'admin' in g.identity.roles %} {% endif %}