{% extends "layout-split.html" %} {% macro sentence_case(text) %} {{text[0]|upper}}{{text[1:] }} {% endmacro %} {% block header %}
{{ project.title }}
{% if not current_user.is_authenticated %}
{{ project.star_count }}
{% elif current_user.id == project.poster.id %}
{{ project.star_count }}
{% elif not current_user.email_confirmed %}
{{ project.star_count }}
{% elif project.gave_star(current_user) %}
{{ project.star_count }}
{% else %}
{{ project.star_count }}
{% endif %}

{{project.comment_count }}

Created by

{{project.poster.username}}
{% for tag in project.tags %}
{{tag.title}}
{% endfor %}
Posts Activity Team {% if project.can_delete(current_user) %} Settings {% endif %}
Share Feedback
{% endblock header %} {% block left %} {% if solutions|count == 0 %}
This project does not have any solutions yet.
{% else %}
{% for solution in solutions %}
{{solution.title}}
{% if not current_user.is_authenticated %}
{{solution.star_count }}
{% elif current_user.id == solution.poster.id %}
{{solution.star_count }}
{% elif not current_user.email_confirmed %}
{{solution.star_count }}
{% elif solution.gave_star(current_user) %}
{{ solution.star_count }}
{% else %}
{{ solution.star_count }}
{% endif %}
{{solution.description}}
{% if solution.attachment_type == SolutionType.Code %}



{% elif solution.attachment_type == SolutionType.Photo %}
{% for image in solution.images %} {% endfor %}
{% elif solution.attachment_type == SolutionType.PDF %} {% elif solution.link!=None %}
{% endif %}
{% if current_user.is_authenticated %} {% else %} {% endif %}
{% for comment in solution.get_comments() %}

{{ comment.poster.username }} • {{ comment.date_posted.strftime('%d %b %H:%M') }}

{% if comment.can_delete(current_user) %} {% endif %}
{% if not current_user.is_authenticated %}
{{ comment.star_count }}
{% elif current_user.id == comment.poster.id %}
{{ comment.star_count }}
{% elif not current_user.email_confirmed %}
{{ comment.star_count }}
{% elif comment.gave_star(current_user) %}
{{ comment.star_count }}
{% else %}
{{ comment.star_count }}
{% endif %}
{% endfor %}
{% endfor %}
{% endif %} {% endblock left %} {% block right %} {% endblock right %}