{% extends "main.html" %} {% load karaage_tags %} {% load render_table from django_tables2 %} {% block title %}Software{% endblock %} {% block breadcrumbs %} {% endblock %} {% block content %}

Software Details

{{ software }}

{% if software.category %}{% endif %} {% if software.group %} {% endif %}
Category:{{ software.category }}
Description:{{ software.description }}
Homepage:{{ software.homepage|urlize }}
Tutorial:{{ software.tutorial_url|urlize }}
Group:{{ software.group }}
Restricted:{% yes_no software.restricted %}
{% if is_admin %}
{% endif %}
{% if software_license %}

Current End User License Agreement

{% if software_license.version %} {% endif %} {% if open_applications %} {% endif %} {% if agreement %} {% endif %}
Version:{{ software_license.version }}
Date:{{ software_license.date }}
Text: {{ software_license.text|safe|linebreaks }} [Print version]
Applications: {% for application in open_applications %} {{application}} {% endfor %}
Accepted:Approved on {{ agreement.date }}.
{% if software.restricted and not agreement %}

NOTE: This software is restricted and requires admin approval. You will receive notification via email once your request has been processed

{% endif %} {% if not agreement and not open_applications %}

Accept

By clicking on 'I accept' you are agreeing to the conditions above.

{% csrf_token %}
{% if failed %}

The attempt to gain admin approval has failed. Please contact {{ accounts_email }} for help.

{% endif %} {% endif %}
{% endif %} {% if is_admin %} {% if applications %}

Pending Applications

{% render_table applications_table %}
{% endif %}

Versions

{% for version in software.softwareversion_set.select_related %} {% if is_admin %} {% endif %} {% endfor %}
Version Module Machines
{{ version.version }} {{ version.module }} {% for m in version.machines.all %} {{ m }} {% endfor %} Edit Delete
{% if software.softwarelicense_set.all %}

Licenses

{% for license in software.softwarelicense_set.all %} {% endfor %}
Version Date Users
{{ license.version }} {{ license.date|date }} view {% if is_admin %}Edit{% endif %} {% if is_admin %}Delete{% endif %} {% for a in license.softwarelicenseagreement_set.select_related %} {% endfor %}
Person Date Accepted
{{ a.person }} {{ a.date }}
{% endif %} {% if software.get_group_members %}

Group members

{% if is_admin %} {% endif %} {% for person in software.get_group_members %} {% if is_admin %} {% endif %} {% endfor %}
username Person
{{ person.username }} {{ person }}Remove
{% endif %} {% for_each_app_include "software_detail_extra.html" %}

Comments

{% comments software %}
{% endif %}
{% endblock %}