Skip to content

Enhancement: direct link to list of maintainers #966

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Distribution/Server/Pages/PackageFromTemplate.hs
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@ packagePageTemplate render
, templateVal "license" (Old.rendLicense render)
, templateVal "author" (toHtml $ author desc)
, templateVal "maintainer" (Old.maintainField $ rendMaintainer render)
, templateVal "maintainerURL" (toHtml $
anchor ! [href $ "/package" </> pkgName </> "maintainers" ] << "package maintainers")
, templateVal "buildDepends" (snd (Old.renderDependencies render))
, templateVal "optional" optionalPackageInfoTemplate
, templateVal "candidateBanner" candidateBanner
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ By default the server runs on port `8080` with the following settings:

To specify something different, see `hackage-server init --help` for details.

The http://127.0.0.1:8080/packages/uploaders/edit is usel to add users
The http://127.0.0.1:8080/packages/uploaders/edit is used to add users
(e.g. `admin`) to *Uploaders* group.

The server can be stopped by using `Control-C`.
Expand Down
2 changes: 1 addition & 1 deletion datafiles/templates/Html/package-page.html.st
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@

<div id="maintainer-corner">
<h4>Maintainer's Corner</h4>
<p>For package maintainers and hackage trustees</p>
<p>For $package.maintainerURL$ and hackage trustees</p>
<ul>
<li>
<a href="$baseurl$/package/$package.name$/maintain">
Expand Down