diff --git a/standards/templates/standards/standards_single_agn.html b/standards/templates/standards/standards_single_agn.html index 8f27ee6..56ce8d4 100644 --- a/standards/templates/standards/standards_single_agn.html +++ b/standards/templates/standards/standards_single_agn.html @@ -6,7 +6,7 @@ {% checkifsharedstandardinagency request.user.profile.agency standard as isshared %} {% if isshared == False %} - + {% else %} @@ -29,7 +29,10 @@

+
+ + {% if standard.freefield_title|length > 0 %}
@@ -40,6 +43,11 @@
{% endif %} + + + + + {% if standard.addedfiles.all|length > 0 %} @@ -81,8 +89,8 @@ Von {{comment.comment_by.first_name}} {{comment.comment_by.last_name}} am {{comment.last_modified_on|date:"d.m.Y H:i"}}
{{comment.content}}
- +   +   {% if comment.comment_by == request.user or standard.created_standard_by == request.user or standard.last_modified_by == request.user %} @@ -145,14 +153,14 @@ $("#comments_counter").html(comments_counter); if(comments_counter < 2){ - $("#comments_word").html("Kommentar"); + $("#comments_word").html("Kommentr") } - else { - $("#comments_word").html("Kommentare"); + else{ + $("#comments_word").html("Kommentr") } - $("#commentsection").prepend('
Von '+data['sc_user'] +' am '+data['sc_date'] +'
'+data['sc_c'] +'

'); - //$("#commentsection").prepend('
Von '+data['sc_user'] +' am '+data['sc_date'] +'
'+data['sc_c'] +'
  

'); + $("#commentsection").prepend('
Von '+data['sc_user'] +' am '+data['sc_date'] +'
'+data['sc_c'] +'
  

'); + $("#newcomment").val(""); } }); @@ -170,11 +178,11 @@ comments_counter = comments_counter - 1; $("#comments_counter").html(comments_counter); if(comments_counter < 2){ - $("#comments_word").html("Kommentar"); - } - else { - $("#comments_word").html("Kommentare"); + $("#comments_word").html("Kommentr") } + else{ + $("#comments_word").html("Kommentr") + }s $("#comment_" + workingid).remove(); } });