Added a missing table column to the WG document page for the case when the user isn't logged in. Addresses issue #1601 (but add links in the column are still missing).

- Legacy-Id: 9081
This commit is contained in:
Henrik Levkowetz 2015-02-12 16:31:41 +00:00
parent 8b4be00d2c
commit 5cafa08542

View file

@ -36,7 +36,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<tr class="{{ forloop.counter|divisibleby:2|yesno:"oddrow,evenrow" }}">
{% if user.is_authenticated %}
{% if not doc.name in have_doc_status %}
<td></td>
<td>&nbsp;</td>
{% elif doc.name in doc_is_tracked %}
<td class="removefromlist">
<a href="{% url "community_remove_track_document" doc.name %}" title="Remove from your personal ID list"><img src="/images/remove_from_list.png" alt="Remove from your personal ID list" /></a>
@ -46,7 +46,10 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<a href="{% url "community_add_track_document" doc.name %}" title="Add to your personal ID list"><img src="/images/add_to_list.png" alt="Add to your personal ID list" /></a>
</td>
{% endif %}
{% else %}
<td>&nbsp;</td>
{% endif %}
<td class="doc">
<a href="{{ doc.get_absolute_url }}">{% if doc.get_state_slug == "rfc" %}RFC {{ doc.rfc_number }}{% else %}{{ doc.name }}-{{ doc.rev }}{% endif %}</a>