Skip to content

Commit

Permalink
Dev: added comments to clearall_links.twig
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed Jan 17, 2017
1 parent 4a2f189 commit 598b90b
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion templates/default/views/subviews/navigation/clearall_links.twig
Original file line number Diff line number Diff line change
@@ -1,7 +1,22 @@
{#
Shows the exit button
LimeSurvey
Copyright (C) 2007-2017 The LimeSurvey Project Team / Louis Gac
All rights reserved.
License: GNU/GPL License v2 or later, see LICENSE.php
LimeSurvey is free software. This version may have been modified pursuant
to the GNU General Public License, and as distributed it includes or
is derivative of works licensed under the GNU General Public License or
other free or open source software licenses.
See COPYRIGHT.php for copyright notices and details.
(¯`·._.·(¯`·._.· Clear all links: Shows the exit button ·._.·´¯)·._.·´¯)
This file render the exit button for top menu bar
#}

{# It must not be shown once survey is completed #}
{% if aSurveyInfo.iscompleted == false %}
<!-- Exit and clear survey -->
<li class="ls-no-js-hidden">
<a href="#" data-limesurvey-submit='{ "clearall":"clearall" }' data-confirmedby='{ "confirm-clearall":"confirm" }' data-confirmlabel='{{"Please confirm you want to clear your response?" | t }}' class='ls-link-action ls-link-clearall'>
{{"Exit and clear survey" | t}}
Expand Down

0 comments on commit 598b90b

Please sign in to comment.