Source

freehg / templates / repos / summary.html

Full commit
{% extends "base.html" %}

{% block title %}{{repo.get_long_name}} summary{% endblock %}

{% block content %}

<div class="page_header">
<form action="{{repo.get_absolute_url}}log">
    <div class="search">
        Search: <input type="text" name="rev"  />
    </div>
    </form>
    <h2><a href="{{repo.get_absolute_url}}">{{repo.get_long_name}}</a> / summary</h2>
</div>
        
<div class="page_nav">
    summary |
    <a href="{{repo.get_absolute_url}}shortlog/">shortlog</a> |
    <a href="{{repo.get_absolute_url}}log/">changelog</a> |
    <a href="{{repo.get_absolute_url}}tags/">tags</a> |
    <a href="{{repo.get_absolute_url}}file/{{tip_hex}}/">manifest</a>{% comment %}FIXME: put links to archives here.{% endcomment %}
     | <a href="{{repo.get_absolute_url}}edit/">edit</a><br/>
</div>


    {% if not has_tip %}

        <p class="box">
            This repository doesn't have any changesets.  You can push changes from your local repository like this:<br />
            <code>
hg push http://freehg.org{{repo.get_absolute_url}}</code>
        </p>
    {% endif %}

    {{content|safe}}


{% comment %}<div class="page-nav">
summary |
<a href="{{repo.get_absolute_url}}shortlog/">shortlog</a> |
<a href="{{repo.get_absolute_url}}log/">changelog</a> |
<a href="{{repo.get_absolute_url}}tags/">tags</a> |
<a href="{{repo.get_absolute_url}}file/{{tip_hex}}/">manifest</a>
<br/>
</div>

<div class="repo-info">
    <dl>
        {% if repo.description %}
        <dt>Description:</dt>
            <dd>{{repo.get_html_description|safe}}</dd>
        {% endif %}
        <dt>Owner:</dt>
            <dd>{{repo.owner}}</dd>
        <dt>Last Change:</dt>
            <dd>{{last_change}}</dd>
    </dl>
</div>

<h2>Recent Changes</h2>
<table>
<tbody>
{% for change in changelog %}
<tr>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
</tr>
{% endfor %}
</tbody>
</table>
{% endcomment %}

{% endblock %}