mirror of
https://code.sup39.dev/repos/Wqawg
synced 2024-12-28 11:44:51 +09:00
UI: In project page, display a link bar
This commit is contained in:
parent
c85c2aa734
commit
0ff25833a0
1 changed files with 41 additions and 30 deletions
|
@ -12,25 +12,49 @@ $# You should have received a copy of the CC0 Public Domain Dedication along
|
||||||
$# with this software. If not, see
|
$# with this software. If not, see
|
||||||
$# <http://creativecommons.org/publicdomain/zero/1.0/>.
|
$# <http://creativecommons.org/publicdomain/zero/1.0/>.
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<span>
|
||||||
|
$maybe name <- projectName project
|
||||||
|
#{name}
|
||||||
|
$nothing
|
||||||
|
#{prj2text proj}
|
||||||
|
$maybe desc <- projectDesc project
|
||||||
|
-
|
||||||
|
<span>#{desc}
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<span>
|
||||||
|
<a href=@{ProjectInboxR shar proj}>
|
||||||
|
[📥 Inbox]
|
||||||
|
<span>
|
||||||
|
<a href=@{ProjectOutboxR shar proj}>
|
||||||
|
[📤 Outbox]
|
||||||
|
<span>
|
||||||
|
<a href=@{ProjectFollowersR shar proj}>
|
||||||
|
[🐤 Followers]
|
||||||
|
<span>
|
||||||
|
<a href=@{ProjectDevsR shar proj}>
|
||||||
|
[🤝 Collaborators]
|
||||||
|
<span>
|
||||||
|
<a href=@{TicketsR shar proj}>
|
||||||
|
[🐛 Tickets]
|
||||||
|
<span>
|
||||||
|
<a href=@{ClaimRequestsProjectR shar proj}>
|
||||||
|
[✋ Ticket claim requests]
|
||||||
|
<span>
|
||||||
|
[🔁Ticket workflow:
|
||||||
|
^{workflowLinkW wsharer workflow}]
|
||||||
|
<span>
|
||||||
|
$maybe _wiki <- projectWiki project
|
||||||
|
<a href=@{WikiPageR shar proj []}>
|
||||||
|
[📖 Wiki]
|
||||||
|
$nothing
|
||||||
|
[No wiki]
|
||||||
|
|
||||||
^{followButton}
|
^{followButton}
|
||||||
|
|
||||||
<p>
|
<div>
|
||||||
<a href=@{ProjectEditR shar proj}>Edit this project
|
<a href=@{ProjectEditR shar proj}>Edit
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
Human-friendly name: #{fromMaybe "(none)" $ projectName project}
|
|
||||||
<li>
|
|
||||||
Description: #{fromMaybe "(none)" $ projectDesc project}
|
|
||||||
<li>
|
|
||||||
<a href=@{TicketsR shar proj}>Tickets
|
|
||||||
<li>
|
|
||||||
<a href=@{ClaimRequestsProjectR shar proj}>Ticket claim requests
|
|
||||||
|
|
||||||
<h2>Collaborators
|
|
||||||
|
|
||||||
<p>
|
|
||||||
<a href=@{ProjectDevsR shar proj}>Collaborators
|
|
||||||
|
|
||||||
<h2>Repos
|
<h2>Repos
|
||||||
|
|
||||||
|
@ -56,16 +80,3 @@ $else
|
||||||
<td>
|
<td>
|
||||||
$maybe desc <- repoDesc repository
|
$maybe desc <- repoDesc repository
|
||||||
#{desc}
|
#{desc}
|
||||||
|
|
||||||
<h2>Ticket workflow
|
|
||||||
|
|
||||||
<p>
|
|
||||||
^{workflowLinkW wsharer workflow}
|
|
||||||
|
|
||||||
<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