{#- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -#} {% extends g.theme.master %} {% import 'allura:templates/jinja_master/lib.html' as lib with context %} {% block title %} {{c.project.name}} / {{c.app.config.options.mount_label}} / {{thread.subject and '%s: %s' % (thread.discussion.name, (thread.subject or '(no subject)')) or thread.discussion.name}} {% endblock %} {% block head %} {{ lib.canonical_tag(page) }} {{ lib.pagination_meta_tags(request, page, count, limit) }} {% endblock %} {% block header %}{{'subject' in thread and thread.subject or '(no subject)'}}{% endblock %} {% block actions %} {% if show_moderate and h.has_access(thread, 'moderate')() %} {{ g.icons['edit'].render(id='mod_thread_link') }} {% endif %} {# {{ g.icons['tag'].render(title='Label This', extra_css='thread_tag') }} these labels aren't used anywhere ... #} {{ g.icons['feed'].render(href='feed.rss', title='Follow This', extra_css='thread_feed0', rel='nofollow') }} {{ c.thread_subscription_form.display(value=thread.subscribed(), action='subscribe', style='icon', thing='topic') }} {% endblock %} {% block edit_box %}
{{c.thread_header.display(value=thread, page=page, limit=limit, count=count)}}
{% endblock %} {% block content %} {{c.thread.display(value=thread, page=page, limit=limit, count=count)}} {% endblock %}