Last active
February 13, 2020 14:08
-
-
Save Porter97/30969c39029cdbaddcf0c518503a1d86 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> | |
{% endblock %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment