aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-02-03 21:19:29 -0800
committerfriendica <info@friendica.com>2015-02-03 21:19:29 -0800
commit4ead2cd79d3c7e5c29a11785a3ceefef6d3ba93f (patch)
treeb2f366402f79f162471b8285ffbea76dd8f44960 /view/tpl
parent86771547e6d04d046d3beeabb8e4486a59a7fcc6 (diff)
downloadvolse-hubzilla-4ead2cd79d3c7e5c29a11785a3ceefef6d3ba93f.tar.gz
volse-hubzilla-4ead2cd79d3c7e5c29a11785a3ceefef6d3ba93f.tar.bz2
volse-hubzilla-4ead2cd79d3c7e5c29a11785a3ceefef6d3ba93f.zip
final cleanup on ratings feature
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/direntry.tpl2
-rwxr-xr-xview/tpl/js_strings.tpl1
2 files changed, 2 insertions, 1 deletions
diff --git a/view/tpl/direntry.tpl b/view/tpl/direntry.tpl
index 1b84bca56..b0a1084e8 100755
--- a/view/tpl/direntry.tpl
+++ b/view/tpl/direntry.tpl
@@ -17,7 +17,7 @@
{{if $entry.viewrate}}
<div id="dir-rating-wrapper-{{$entry.id}}" class="directory-rating" >{{if $entry.total_ratings}}<a href="ratings/{{$entry.hash}}"><button class="btn btn-default">{{$entry.total_ratings}}</button></a>{{/if}}
-{{if $entry.canrate}}<button class="btn btn-default" onclick="doRatings('{{$entry.hash}}'); return false;" ><i class="icon-pencil"></i></button>{{/if}}
+{{if $entry.canrate}}<button class="btn btn-default" onclick="doRatings('{{$entry.hash}}'); return false;" ><i class="icon-pencil"></i></button><span class="required" id="edited-{{$entry.hash}}" style="display: none;" >*</span>{{/if}}
</div>
{{/if}}
{{if $entry.public_forum}}
diff --git a/view/tpl/js_strings.tpl b/view/tpl/js_strings.tpl
index 9cfd84cf8..4eb9ae844 100755
--- a/view/tpl/js_strings.tpl
+++ b/view/tpl/js_strings.tpl
@@ -19,6 +19,7 @@
'rating_desc' : "{{$rating_desc}}",
'rating_val' : "{{$rating_val}}",
'rating_text' : "{{$rating_text}}",
+ 'submit' : "{{$submit}}",
't01' : "{{$t01}}",
't02' : "{{$t02}}",