diff --git a/admin/survey/BranchingAjax.php b/admin/survey/BranchingAjax.php index 7aa3182f8..531b6a3ba 100644 --- a/admin/survey/BranchingAjax.php +++ b/admin/survey/BranchingAjax.php @@ -2317,7 +2317,7 @@ class BranchingAjax { } } - function add_comment_field ($spremenljivka, $type, $view, $form=true) { + function add_comment_field ($spremenljivka, $type, $view, $form=true, $buttons=true) { global $admin_type; global $global_user_id; global $lang; @@ -2327,15 +2327,17 @@ class BranchingAjax { echo ''; - echo '
'; + } if (($type == 0 || $view==3) && ($admin_type == 0 || $global_user_id==$rowanketa['insert_uid'])) { echo '
'.$lang['srv_comments_user'].''.$f->user($row['uid']).' ('.$datetime.')
'; + echo ''.$lang['srv_comments_user'].''.$f->user($row['uid']).' ('.$datetime.')
'; if ($admin_type <= 1 || $rowa['insert_uid']==$global_user_id || $commentmarks_who==0) { @@ -7021,7 +7021,7 @@ class SurveyAdminSettings { echo 'Respondent ('.$datetime.')
'; + echo 'Respondent ('.$datetime.')
'; } else{ $sqlU = sisplet_query("SELECT name FROM users WHERE id='$row[usr_id]'"); @@ -7029,7 +7029,7 @@ class SurveyAdminSettings { $user = $rowU['name']; - echo ''.$lang['srv_comments_user'].''.$user.' ('.$datetime.')
'; + echo ''.$lang['srv_comments_user'].''.$user.' ('.$datetime.')
'; } @@ -7686,6 +7686,16 @@ class SurveyAdminSettings { echo ''.$lang['srv_comments_user'].''.$f->user($rowt['uid']).' ('.$datetime.')
'; + echo ''.$lang['srv_comments_user'].''.$f->user($rowt['uid']).' ('.$datetime.')
'; if ($admin_type <= 1 || $rowi['insert_uid']==$global_user_id || $commentmarks_who==0) { @@ -7839,7 +7839,7 @@ class SurveyAdminSettings { $datetime = date("d.m.Y G:i", $datetime); } - echo 'Respondent ('.$datetime.')
'; + echo 'Respondent ('.$datetime.')
'; if ($admin_type <= 1 || $rowi['insert_uid']==$global_user_id || $commentmarks_who==0) { diff --git a/admin/survey/script/script.js b/admin/survey/script/script.js index 06a1c0a59..b80c0c43f 100644 --- a/admin/survey/script/script.js +++ b/admin/survey/script/script.js @@ -5711,4 +5711,11 @@ function toggleAddUser(){ $("#new_user_option").toggleClass('displayNone'); $("#existing_user_option").toggleClass('displayNone'); +} +function CommentDropdownClearText () { + $("#vsebina_0_4").value = ''; +} + +function toggleCommentDropdown () { + $("#comment_dropdown").toggleClass('displayNone'); } \ No newline at end of file diff --git a/frontend/drupal9/web/themes/custom/pro1ka/templates/parts/footer.html.twig b/frontend/drupal9/web/themes/custom/pro1ka/templates/parts/footer.html.twig index 2c51abe56..48a8b0990 100644 --- a/frontend/drupal9/web/themes/custom/pro1ka/templates/parts/footer.html.twig +++ b/frontend/drupal9/web/themes/custom/pro1ka/templates/parts/footer.html.twig @@ -4,14 +4,30 @@Orodje za anketiranje 1KA lahko z omejenimi funkcionalnostmi preizkusite tudi brezplačno
++ {% if language.id == 'sl' %} + Orodje 1KA je brezplačno za osnovne uporabnike. + {% else %} + 1KA is free to use for basic users + {% endif %} +