Created
February 25, 2020 19:37
-
-
Save Porter97/a31b1bf6393fb10dcbab7bc98d6aed6c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends "base.html" %} | |
{% block title %}Offbrand - {{ collection.name }}{% endblock %} | |
{% block page_content %} | |
<div> | |
<div class="page-header"> | |
<h2 id="collection-name">{{ collection.name }}</h2> | |
<p id="collection-description">{{ collection.description }}</p> | |
{% if collection.author == current_user or current_user.is_administrator() %} | |
<a id="edit-collection" class="btn btn-warning" href="{{ url_for('.edit_collection', id=collection.id) }}">Edit Collection</a> | |
{% endif %} | |
<p id="collection-info"><img class="img-rounded profile-thumbnail" src="{{ collection.author.gravatar(size=35) }}"><a id="collection-author" href="{{ url_for('main.user', username=collection.author.username) }}">{{ collection.author.username }}</a> • {{ moment(collection.timestamp).fromNow() }}</p> | |
</div> | |
<div class="collection-content"> | |
<div id="content-scroller"> | |
{% include "_content.html" %} | |
</div> | |
<div id="content-sentinel"></div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment