Skip to content

Commit 4f3e0ab

Browse files
committed
Hide the sticky and sorting order fields in the feed details
1 parent fdb362b commit 4f3e0ab

File tree

1 file changed

+11
-22
lines changed

1 file changed

+11
-22
lines changed

qgisfeedproject/templates/feeds/feed_item_detail.html

+11-22
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,18 @@
66
{% endblock stylesheets %}
77
{% block content %}
88

9+
910
<div class="m-5">
11+
<div class="columns is-centered">
12+
<div class="column is-8 box-container">
13+
<a href="{% url 'all' %}" class="button">
14+
<span class="icon">
15+
<i class="fas fa-arrow-left"></i>
16+
</span>
17+
<span>Back to Feed List</span>
18+
</a>
19+
</div>
20+
</div>
1021
<div class="columns is-centered">
1122
<div class="form-preview column is-8 has-background-light p-2 box-container m-5">
1223
<div class="columns">
@@ -43,28 +54,6 @@ <h5 name="titlePreview" class="title is-5">
4354
<p class="help">URL for more information link</p>
4455
</td>
4556
</tr>
46-
<tr>
47-
<th>Sticky:</th>
48-
<td name="stickyPreview">
49-
{% if feed_entry.sticky %}
50-
<span class="icon has-text-success">
51-
<i class="fa-solid fa-circle-check"></i>
52-
</span>
53-
{% else %}
54-
<span class="icon has-text-danger">
55-
<i class="fa-solid fa-circle-xmark"></i>
56-
</span>
57-
{% endif %}
58-
<p class="help">Keep this entry on top</p>
59-
</td>
60-
</tr>
61-
<tr>
62-
<th>Sorting order:</th>
63-
<td name="sortingPreview">
64-
{{ feed_entry.sorting|default:"-" }}
65-
<p class="help">Order to show at top of the list</p>
66-
</td>
67-
</tr>
6857
<tr>
6958
<th>Language filter:</th>
7059
<td name="languagePreview">

0 commit comments

Comments
 (0)