2021-06-23 17:09:15 -04:00
|
|
|
{% extends 'generic/object.html' %}
|
|
|
|
{% load helpers %}
|
|
|
|
{% load plugins %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div class="row mb-3">
|
2021-07-21 11:20:35 -04:00
|
|
|
<div class="col col-md-5">
|
2021-06-23 17:09:15 -04:00
|
|
|
<div class="card">
|
2022-10-26 11:33:11 -04:00
|
|
|
<h5 class="card-header">Custom Link</h5>
|
2021-06-23 17:09:15 -04:00
|
|
|
<div class="card-body">
|
|
|
|
<table class="table table-hover attr-table">
|
|
|
|
<tr>
|
|
|
|
<th scope="row">Name</th>
|
|
|
|
<td>{{ object.name }}</td>
|
|
|
|
</tr>
|
2022-01-10 12:11:37 -05:00
|
|
|
<tr>
|
|
|
|
<th scope="row">Enabled</th>
|
|
|
|
<td>{% checkmark object.enabled %}</td>
|
|
|
|
</tr>
|
2021-06-23 17:09:15 -04:00
|
|
|
<tr>
|
|
|
|
<th scope="row">Group Name</th>
|
|
|
|
<td>{{ object.group_name|placeholder }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th scope="row">Weight</th>
|
|
|
|
<td>{{ object.weight }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th scope="row">Button Class</th>
|
|
|
|
<td>{{ object.get_button_class_display }}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th scope="row">New Window</th>
|
2021-12-29 10:26:42 -05:00
|
|
|
<td>{% checkmark object.new_window %}</td>
|
2021-06-23 17:09:15 -04:00
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-10-26 11:33:11 -04:00
|
|
|
<div class="card">
|
|
|
|
<h5 class="card-header">Assigned Models</h5>
|
|
|
|
<div class="card-body">
|
|
|
|
<table class="table table-hover attr-table">
|
|
|
|
{% for ct in object.content_types.all %}
|
|
|
|
<tr>
|
|
|
|
<td>{{ ct }}</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-06-23 17:09:15 -04:00
|
|
|
{% plugin_left_page object %}
|
|
|
|
</div>
|
2021-07-21 11:20:35 -04:00
|
|
|
<div class="col col-md-7">
|
2021-06-23 17:09:15 -04:00
|
|
|
<div class="card">
|
|
|
|
<h5 class="card-header">
|
|
|
|
Link Text
|
|
|
|
</h5>
|
|
|
|
<div class="card-body">
|
|
|
|
<pre>{{ object.link_text }}</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="card">
|
|
|
|
<h5 class="card-header">
|
|
|
|
Link URL
|
|
|
|
</h5>
|
|
|
|
<div class="card-body">
|
|
|
|
<pre>{{ object.link_url }}</pre>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% plugin_right_page object %}
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-07-22 11:40:55 -04:00
|
|
|
<div class="row">
|
|
|
|
<div class="col col-md-12">
|
|
|
|
{% plugin_full_width_page object %}
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-06-23 17:09:15 -04:00
|
|
|
{% endblock %}
|