aboutsummaryrefslogtreecommitdiffstats
path: root/templates/gitrefinery/release_oneline.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/gitrefinery/release_oneline.html')
-rw-r--r--templates/gitrefinery/release_oneline.html77
1 files changed, 77 insertions, 0 deletions
diff --git a/templates/gitrefinery/release_oneline.html b/templates/gitrefinery/release_oneline.html
new file mode 100644
index 0000000..0987f04
--- /dev/null
+++ b/templates/gitrefinery/release_oneline.html
@@ -0,0 +1,77 @@
+{% extends "base.html" %}
+{% load i18n %}
+{% load static %}
+
+{% comment %}
+
+ git-refinery-web - release one-line list page template
+
+ Copyright (C) 2014 Intel Corporation
+ Licensed under the MIT license, see COPYING.MIT for details
+
+{% endcomment %}
+
+
+<!--
+{% autoescape on %}
+{% block title_append %} - {{ release.name }}{% endblock %}
+{% endautoescape %}
+-->
+
+{% block content %}
+
+{% autoescape on %}
+ <ul class="breadcrumb">
+ <li><a href="{% url 'repositories' %}">repositories</a> <span class="divider">&rarr;</span></li>
+ <li><a href="{% url 'repository' release.repository.name %}">{{ release.repository.name }}</a> <span class="divider">&rarr;</span></li>
+ <li class="active">{{ release.name }}</li>
+ </ul>
+
+ <div class="container-fluid">
+ <div class="row">
+ <div class="page-header">
+ <h1>{{ release.name }}</h1>
+ </div>
+ </div> <!-- end of row -->
+ </div> <!-- end of container-fluid -->
+
+ <div class="container-fluid">
+
+ <div class="row">
+ <form id="filter-form" class="form-inline" action="{% url 'release' release.id %}" method="get">
+ <input type="text" class="input-xlarge" placeholder="Search commits" name="q" value="{{ search_keyword }}" />
+ <input type="text" class="input-small" placeholder="label" name="label" value="{{ search_label }}" />
+ <button class="btn btn-default" type="submit">Search</button>
+ </form>
+ </div>
+
+ {% if commits %}
+
+ <table class="table table-striped table-bordered">
+ <thead>
+ <tr>
+ <th class="col-md-8">Message</th>
+ </tr>
+ </thead>
+
+ <tbody>
+ {% for commit in commits %}
+ <tr>
+ <td>{{ commit.shortlog }}</td>
+ </tr>
+ {% endfor %}
+ </tbody>
+ </table>
+ </form>
+
+ {% else %}
+ <p>No matching commits found for this release.</p>
+ {% endif %}
+
+ </div> <!-- end of container-fluid -->
+
+
+{% endautoescape %}
+
+{% endblock %}
+