TT#122202 Hide 'Back/Contact' buttons for framed mode

Otherwise the button 'Back' navigation can bring you to
the not necessary places in this context.

Change-Id: I82fdf9ec4056f382518d6a1ef6f481ebdbd7a708
mr10.0
Alexander Lutay 4 years ago
parent c3975cb785
commit cea01472f8

@ -12,7 +12,7 @@
[% c.loc('Sorry, an error has occurred, requested operation denied!') %]
</div> <!-- /error-details -->
[% IF ! framed -%]
<div class="error-actions">
<a href="[% c.uri_for('/back') %]" class="btn btn-large btn-primary">
<i class="icon-chevron-left"></i>
@ -27,7 +27,7 @@
</a>
</div> <!-- /error-actions -->
[% END -%]
</div> <!-- /.error-container -->
</div> <!-- /.span12 -->

@ -16,13 +16,14 @@
<p>[% c.loc('Details have been logged on the server. If you want to report the error, describe what you were doing or attempting to do just before.') %]</p>
</div> <!-- /error-details -->
[% IF ! framed -%]
<div class="error-actions">
<a href="[% c.uri_for('/back') %]" class="btn btn-large btn-primary ngcp-error-button">
<i class="icon-chevron-left"></i> [% c.loc('Back to Dashboard') %]</a>
<a href="mailto:[% c.config.contact.email %]?subject=NGCP-Panel Incident [% exception_incident %]" class="btn btn-large ngcp-error-button">
<i class="icon-envelope"></i> [% c.loc('Contact Support') %]</a>
</div> <!-- /error-actions -->
[% END -%]
</div> <!-- /.error-container -->

@ -12,7 +12,7 @@
[% c.loc('Sorry, an error has occurred, Requested page not found!') %]
</div> <!-- /error-details -->
[% IF ! framed -%]
<div class="error-actions">
<a href="[% c.uri_for('/back') %]" class="btn btn-large btn-primary">
<i class="icon-chevron-left"></i>
@ -27,7 +27,7 @@
</a>
</div> <!-- /error-actions -->
[% END -%]
</div> <!-- /.error-container -->
</div> <!-- /.span12 -->

Loading…
Cancel
Save