aboutsummaryrefslogtreecommitdiff
path: root/templates/gitlist.qtpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/gitlist.qtpl')
-rw-r--r--templates/gitlist.qtpl11
1 files changed, 7 insertions, 4 deletions
diff --git a/templates/gitlist.qtpl b/templates/gitlist.qtpl
index 3d7ef82..937ba22 100644
--- a/templates/gitlist.qtpl
+++ b/templates/gitlist.qtpl
@@ -3,6 +3,7 @@
{% code
type GitListPage struct {
Respositories []*service.Repository
+ About []byte
}
%}
@@ -12,7 +13,7 @@ type GitListPage struct {
{% func (p *GitListPage) Content() %}
<div class="row">
- <div class="col-md-8 offset-md-2">
+ <div class="col-md-6 order-last order-md-first">
<div class="event-list">
{% for _, r := range p.Respositories %}
<div class="event">
@@ -20,8 +21,7 @@ type GitListPage struct {
<a href="/{%s r.Name %}">{%s r.Name %}</a>
</h4>
</hr>
- <p>{%s r.LastCommitMessage %}</p>
- <p><small>{%s r.LastCommitDate %}</small></p>
+ <p>{%s r.Description %}</p>
<p>
<a href="/{%s r.Name %}/log/{%s r.Ref %}">log</a>
<a href="/{%s r.Name %}/tree/{%s r.Ref %}">tree</a>
@@ -30,9 +30,12 @@ type GitListPage struct {
</div>
{% endfor %}
</div>
- {% endfunc %}
+ </div>
+ <div id="about" class="col-md-4 order-first order-md-last">
+ {%z= p.About %}
</div>
</div>
+{% endfunc %}
{% func (p *GitListPage) Script() %}
{% endfunc %}