Vervis/templates/project/one.hamlet

67 lines
1.6 KiB
Text
Raw Normal View History

2016-02-17 22:53:53 +01:00
$# This file is part of Vervis.
$#
$# Written in 2016 by fr33domlover <fr33domlover@riseup.net>.
$#
$# ♡ Copying is an act of love. Please copy, reuse and share.
$#
$# The author(s) have dedicated all copyright and related and neighboring
$# rights to this software to the public domain worldwide. This software is
$# distributed without any warranty.
$#
$# You should have received a copy of the CC0 Public Domain Dedication along
$# with this software. If not, see
$# <http://creativecommons.org/publicdomain/zero/1.0/>.
<p>
This is the project page for <b>#{prj2text proj}</b>, shared by
<b>#{shr2text shar}</b>.
2016-02-17 22:53:53 +01:00
<p>
<a href=@{ProjectEditR shar proj}>Edit this project
2016-05-01 13:05:20 +02:00
<ul>
<li>
Human-friendly name: #{fromMaybe "(none)" $ projectName project}
<li>
Description: #{fromMaybe "(none)" $ projectDesc project}
<li>
2016-05-14 13:36:45 +02:00
<a href=@{TicketsR shar proj}>Tickets
<h2>Collaborators
<p>
<a href=@{ProjectDevsR shar proj}>Collaborators
2016-05-14 13:36:45 +02:00
<h2>Repos
$if null repos
<p>This project doesnt contain repositories.
$else
<table>
<tr>
<th>Name
<th>VCS
<th>Description
$forall Entity _ repository <- repos
<tr>
<td>
<a href=@{RepoR shar $ repoIdent repository}>
#{rp2text $ repoIdent repository}
2016-05-14 13:36:45 +02:00
<td>
$case repoVcs repository
$of VCSDarcs
Darcs
$of VCSGit
Git
<td>
$maybe desc <- repoDesc repository
#{desc}
<h2>Wiki
<p>
$maybe _wiki <- projectWiki project
<a href=@{WikiPageR shar proj []}>Wiki
$nothing
This project doesnt have a wiki.