django-pim / sitetracker / templates / sitetracker / domain_detail.html

{% extends "sitetracker/base.html" %}
{% load project_list %}

{% block body %}
<h2><a href="http://{{object.name}}/">{{object}}</a></h2>
{% if object.payee %}<a href="{{object.payee.get_absolute_url}}">{{object.payee}}</a>{% endif %}
{% if object.admin_url %}<br/><a href="{{object.admin_url}}">Domain Administrator</a>{% endif %}
<p>{{object.notes|linebreaksbr}}</p>
{% if object.projects %}
<b>Projects:</b><ul>
{% for project in object.projects.all %}<li><a href="{{project.get_absolute_url}}">{{project}}</a><a href="{{object.rm_project_url}}?project_id={{project.pk}}"><i class="icon-remove"></i></a></li>{% endfor %}
</ul>
{% endif %}
<form action="{{object.add_project_url}}" method="post">{% csrf_token %}
Add Project: {% project_dropdown %}
<input type="submit" value="Add" class="btn" /></form><hr/>
<a href="{{object.get_update_url}}" class="btn">Update</a>
{% endblock %}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.