{% extends "base.html" %} {% load common bootstrap3 %} {% block page_title %}Repository - {{ repo }} {% endblock %} {% block breadcrumbs %} {{ block.super }}
  • Repositories
  • {{ repo }}
  • {% endblock %} {% block content_title %}Repository - {{ repo }} {% endblock %} {% block content %}
    Name {{ repo.name }}
    ID {% if repo.repo_id != None %} {{ repo.repo_id }} {% endif %}
    Type {{ repo.get_repotype_display }}
    Architecture {{ repo.arch }}
    Security {% yes_no_img repo.security 'Security' 'Not Security' %}
    Enabled {% yes_no_img repo.enabled 'Enabled' 'Not Enabled' %}
    Mirrors {{ repo.mirror_set.count }}
    Requires Authentication {{ repo.auth_required }}
    {% if user.is_authenticated and perms.is_admin %} {% bootstrap_icon "trash" %} Delete this Repository {% bootstrap_icon "edit" %} Edit this Repository {% if repo.enabled %} {% bootstrap_icon "remove-sign" %} Disable this Repository {% else %} {% bootstrap_icon "ok-sign" %} Enable this Repository {% endif %} {% if repo.security %} {% bootstrap_icon "star-empty" %} Mark as Non-Security repo {% else %} {% bootstrap_icon "star" %} Mark as Security repo {% endif %} {% endif %}
    {% gen_table repo.mirror_set.all %}
    {% gen_table repo.host_set.all.distinct %}
    {% gen_table repo.osgroup_set.all.distinct %}
    {% endblock %}