{#- 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. -#} {% import 'allura:templates/jinja_master/lib.html' as lib with context %}
{%if not c.project.is_user_project %} {{ widget.display_label(widget.fields.name) }}
{{widget.display_field(widget.fields.name) }}
{{ widget.display_label(widget.fields.external_homepage) }}
{{widget.display_field(widget.fields.external_homepage) }} {{ widget.display_label(widget.fields.video_url) }}
{{widget.display_field(widget.fields.video_url) }} {% endif %}
{{ widget.display_label(widget.fields.summary) }}
{{widget.display_field(widget.fields.summary) }}
{% if not c.project.is_user_project %}
{{ widget.display_label(widget.fields.short_description) }}
{{widget.display_field(widget.fields.short_description) }}
 
{{ widget.display_label(widget.fields.features) }} {{ widget.display_field(widget.fields.features) }}

{% if tg.config.get('support_tool_choices') %}
Preferred Support Page (for users of your project):
{% if request.validation.errors.get('support_page_url') %}
{{request.validation.errors.get('support_page_url')}}
{% endif %}
{% for ac in c.project.app_configs %} {% if ac.tool_name.lower() in tg.config['support_tool_choices'].split() %}
{% endif %} {% endfor %}

{% endif %} {% if c.project.neighborhood.features['google_analytics'] %} {{ widget.display_label(widget.fields.tracking_id) }}
{{widget.display_field(widget.fields.tracking_id) }} {% endif %} {% endif%} {% block fields_column1_end -%} {% endblock %}

{% if c.project.icon %}
{{ g.icons['edit'].render(id='edit-icon', style='display:inline-block;margin-top:15px') }} {{ g.icons['delete'].render(id='delete-icon', style='display:inline-block;margin-top:15px') }}
{% else %}
No {% if c.project.is_user_project %}user{% endif %} icon. {{ g.icons['edit'].render(id='edit-icon', title='Upload one', show_title=True) }} {% if c.project.is_user_project and h.asbool(tg.config.get('use_gravatar')) %}
Or a gravatar.com image will be used if available.{% endif %}
{% endif %}
{%if c.project.neighborhood.name != 'Users' or not value.is_root%}
 
{% set proj_text = 'Project' if value.is_root else 'Subproject' %} {{proj_text}} Status:
{% if request.validation.errors.get('moved_to_url') %}
{{request.validation.errors.get('moved_to_url')}}
{% endif %}

{% if allow_project_delete or not value.is_root %}
{% endif %} {% block status_choices_end -%} {% endblock %}
{% endif%}

{{lib.csrf_token()}}
{% block extra_css %} {% endblock %}