Skip to content

Commit 3f24b43

Browse files
committed
New embedded comment button position
1 parent 6c9c920 commit 3f24b43

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

src/Views/tickets/createedit/form.blade.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,9 @@
263263
@endif
264264

265265
<div class="text-center"><!-- SUBMIT BUTTON -->
266+
@if ($u->currentLevel() > 1)
267+
<button type="button" id="add_comment" class="btn btn-light btn-default mr-4">{{ trans('panichd::lang.show-ticket-add-comment') }}</button>
268+
@endif
266269
{!! CollectiveForm::submit(isset($ticket) ? trans('panichd::lang.update') : trans('panichd::lang.btn-add'), [
267270
'class' => 'btn btn-primary ajax_form_submit',
268271
'data-errors_div' => 'form_errors'

src/Views/tickets/partials/comments/new_in_createedit_ticket_form.blade.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
<div class="mt-4 mb-3 jquery_level2_show">
2-
<h3 style="margin-top: 0em;">{{ trans('panichd::lang.comments') }}
3-
<button type="button" id="add_comment" class="btn btn-light btn-default btn-sm">{{ trans('panichd::lang.show-ticket-add-comment') }}</button>
4-
</h3>
5-
</div>
61
<div id="comments" class="jquery_level2_show"></div>
72

83
<div id="comment_template" class="card bg-light mb-3 comment_block" style="display: none;">

0 commit comments

Comments
 (0)