-
Notifications
You must be signed in to change notification settings - Fork 0
/
Portal layout - Header.txt
47 lines (44 loc) · 1.23 KB
/
Portal layout - Header.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!-- Site-Wide Navigation -->
<div class="nav-upper">
{{ portal | logo }}
{% if portal.user %}
{% if portal.user.is_agent %}
<a href="/helpdesk" title="For Service Desk use only"><button type="button" class="header-btn">Agent Portal</button></a>
{% else %}
{% endif %}
{% else %}
{% endif %}
</div>
<div class="nav-lower">
{% if portal.user %}
<a href="{{ portal.home_url }}">
<div class="item">
<img src="https://i.imgur.com/vobS4S4.png" />
<h2>Portal Home</h2>
<p>Go to Home Page</p>
</div>
</a>
<a href="{{ portal.new_ticket_url }}">
<div class="item">
<img src="https://i.imgur.com/Oxusljp.png" />
<h2>New Ticket</h2>
<p>Report an Incident</p>
</div>
</a>
<a href="/support/catalog/items">
<div class="item">
<img src="https://i.imgur.com/gEfsPS2.png" />
<h2>Service Catalog</h2>
<p>Request a Service</p>
</div>
</a>
<a href="{{ portal.tickets_home_url }}">
<div class="item">
<img src="https://i.imgur.com/HSSmuTB.png" />
<h2>My Tickets</h2>
<p>View your tickets</p>
</div>
</a>
{% else %}
{% endif %}
</div>