Skip to content

Commit

Permalink
Version 5.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jshah4517 committed Aug 27, 2024
1 parent e1eb084 commit e268da2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 5 additions & 2 deletions index.twig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
<html class="{{ get_template_mode(false) }}">

<head>
{{ View.fireHook('frontend.head_start') }}

{% set title = block('title') is defined ? block('title') : Lang.get('general.support_portal')|e %}
<title>{{ company }} - {{ title|raw }}</title>

Expand All @@ -13,9 +15,10 @@

{% block scripts_header %}{% endblock %}

{{ View.fireHook('frontend.head') }}

{% set route = Route.currentRouteName() %}

{{ View.fireHook('frontend.head') }}
{{ View.fireHook('frontend.head_end') }}
</head>

<body class="sp-bg-secondary sp-text-primary print:sp-bg-primary">
Expand Down
3 changes: 2 additions & 1 deletion ticket/ticket.twig
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@
{% include 'frontend.' ~ template ~ '.ticket.ticket_messages' %}
{% endif %}

{% if ticket.locked == 0 %}
{% set channelAddonInstance = ChannelFactory.getChannel(ticket.channel.name) %}
{% if ticket.locked == 0 and channelAddonInstance.canReplyToTicket(ticket, auth_user() ?: ticket.user) %}
<div class="add-reply {% if ticket.user.isAscendingReplyOrder() %}sp-mt-6{% else %}sp-mb-6{% endif %}">
{% include 'frontend.' ~ template ~ '.ticket.forms.message' %}
</div>
Expand Down

0 comments on commit e268da2

Please sign in to comment.