{{_("Mozilla Demo Studio")}}
{{submission.title}}
{# This should only be added for derby winners #} {#{{_('You Like')}}
#}{{ submission.summary }}
- {{_('Launch Demo')}}
- {% set likes = submission.likes.get_total_for_request(request) %}
-
{% if p_edit %}
- {{_('Edit Demo')}} {% endif %} {% if p_delete %}
- {{_("Remove demo")}} {% endif %} {% if p_hide %} {% if submission.hidden %} {% else %} {% endif %} {% endif %}
{{_('More About This Demo From The Author')}}
{{ submission.description | nl2br }}
{{_('Get the Source Code')}}
{% if submission.source_code_url %}Browse the Source {# TODO: Show "hosted by {{domain}}?" #} {% if false %}Hosted on GitHub{% endif %}
{% endif %} {% if submission.license_name == 'mpl' %} {% set license_class = 'mpl' %} {% elif submission.license_name == 'gpl' %} {% set license_class = 'gpl' %} {% elif submission.license_name == 'bsd' %} {% set license_class = 'bsd' %} {% elif submission.license_name == 'apache' %} {% set license_class = 'apache' %} {% else %} {% set license_class = 'publicdomain' %} {% endif %}{% trans link=license_link(submission.license_name)|e, title=license_title(submission.license_name)|e %} This demo is released under the {{title}} license. {% endtrans %}
{{_('No comments yet.')}}
{% else %}{{ ngettext('{comments_total} comment so far', '{comments_total} comments so far', submission.comments_total) | f(comments_total=submission.comments_total) }}
{% endif %} {% if request.user.is_authenticated() %} {% trans %}Why not Add your own?
{% endtrans %} {% else %} {% trans register_url=url('users.register'), login_url=url('users.login') %}Register or log in to add your own.
{% endtrans %} {% endif %}{{ comments_tree(request, submission, get_threaded_comment_tree(submission)) }}
{% if request.user.is_authenticated() %} {% endif %}