mirror of
https://code.sup39.dev/repos/Wqawg
synced 2024-12-27 17:34:52 +09:00
Add edit and wiki links to project page template
This commit is contained in:
parent
91266dd421
commit
db28e5bb5e
1 changed files with 11 additions and 0 deletions
|
@ -16,6 +16,9 @@ $# <http://creativecommons.org/publicdomain/zero/1.0/>.
|
|||
This is the project page for <b>#{prj2text proj}</b>, shared by
|
||||
<b>#{shr2text shar}</b>.
|
||||
|
||||
<p>
|
||||
<a href=@{ProjectEditR shar proj}>Edit this project
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
Human-friendly name: #{fromMaybe "(none)" $ projectName project}
|
||||
|
@ -48,3 +51,11 @@ $else
|
|||
<td>
|
||||
$maybe desc <- repoDesc repository
|
||||
#{desc}
|
||||
|
||||
<h2>Wiki
|
||||
|
||||
<p>
|
||||
$maybe _wiki <- projectWiki project
|
||||
<a href=@{WikiPageR shar proj []}>Wiki
|
||||
$nothing
|
||||
This project doesn’t have a wiki.
|
||||
|
|
Loading…
Reference in a new issue