{% extends "spider_base/nouc_base.html" %} {% load i18n static spider_rdf %} {% block title %}{% url 'spider_base:ucomponent-listpublic' as listpublic %}{% if listpublic == request.path %}{% blocktrans trimmed %} Public Components {% endblocktrans %}{% elif request.is_owner %}{% blocktrans trimmed %} Owned Components {% endblocktrans %}{% else %}{% blocktrans trimmed with name=username %} Component List of {{name}} {% endblocktrans %} {% endif %}{% endblock %} {% block extrahead %} {{block.super}} {% if DEBUG %} {% else %} {% endif %} {% endblock %} {% block content %} {% url 'spider_base:ucomponent-listpublic' as listpublic %}
{% if listpublic == request.path %} {% trans 'Home' %} {% else %} {% trans 'Up (Public)' %} {% endif %} {% if request.user.is_authenticated %}
{% trans 'Add New Component' %}
{% if listpublic == request.path %}
{% trans 'Owned' %}
{% else %}
{% trans 'Export' %}
{% endif %}
{% endif %}

{% if listpublic == request.path %}{% blocktrans trimmed %} Public Components {% endblocktrans %}{% elif request.is_owner %}{% blocktrans trimmed %} Owned Components {% endblocktrans %}{% else %}{% blocktrans trimmed %} Component List of {% endblocktrans %} {{username}} {% endif %}

{% for uc in object_list %} {% empty %} {% endfor %}
{% if uc.is_index %} {% trans 'Private Component' %} {% else %} {{ uc.name }}{% if not request.is_owner %} ({{uc.user}}){% endif %} {% endif %} {% blocktrans trimmed with time=uc.modified|timesince %} Modified: {{time}} ago {% endblocktrans %}
{% if uc.user == request.user %}
{% endif %}
{% trans 'No Components available.' %}
{% include 'spider_base/list_footer.html' %}
{% endblock %}