{% extends "main.html" %}
{% load karaage_tags %}
{% load render_table from django_tables2 %}
{% block title %}Software{% endblock %}
{% block breadcrumbs %}
Software Details
{{ software }}
{% if software.category %}Category: | {{ software.category }} |
{% endif %}
Description: | {{ software.description }} |
Homepage: | {{ software.homepage|urlize }} |
Tutorial: | {{ software.tutorial_url|urlize }} |
{% if software.group %}
Group: | {{ software.group }} |
{% endif %}
Restricted: | {% yes_no software.restricted %} |
{% if is_admin %}
{% endif %}
{% if software_license %}
Current End User License Agreement
{% if software_license.version %}
Version: | {{ software_license.version }} |
Date: | {{ software_license.date }} |
{% endif %}
Text: |
{{ software_license.text|safe|linebreaks }}
[Print version]
|
{% if open_applications %}
Applications: |
{% for application in open_applications %}
{{application}}
{% endfor %}
|
{% endif %}
{% if agreement %}
Accepted: | Approved on {{ agreement.date }}. |
{% endif %}
{% 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.
{% 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 application_table %}
{% endif %}
Versions
Version |
Module |
Machines |
|
|
{% for version in software.softwareversion_set.select_related %}
{{ version.version }} |
{{ version.module }} |
{% for m in version.machines.all %}
{{ m }}
{% endfor %}
|
{% if is_admin %}
Edit |
Delete |
{% endif %}
{% endfor %}
{% if software.softwarelicense_set.all %}
Licenses
Version |
Date |
|
Users |
{% for license in software.softwarelicense_set.all %}
{{ license.version }} |
{{ license.date|date }} |
view |
{% if is_admin %}Edit{% endif %} |
{% if is_admin %}Delete{% endif %} |
Person |
Date Accepted |
{% for a in license.softwarelicenseagreement_set.select_related %}
{{ a.person }} |
{{ a.date }} |
{% endfor %}
|
{% endfor %}
{% endif %}
{% if software.get_group_members %}
Group members
username |
Person |
{% if is_admin %}
|
{% endif %}
{% for person in software.get_group_members %}
{{ person.username }} |
{{ person }} |
{% if is_admin %}
Remove |
{% endif %}
{% endfor %}
{% endif %}
{% for_each_app_include "software_detail_extra.html" %}
Comments
{% comments software %}
{% endif %}
{% endblock %}