mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
housekeep: move pkgbase templates to their own dir
Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
7f6c23d4cb
commit
e1a87c3407
9 changed files with 11 additions and 11 deletions
44
templates/pkgbase/comments/edit.html
Normal file
44
templates/pkgbase/comments/edit.html
Normal file
|
@ -0,0 +1,44 @@
|
|||
{% extends "partials/layout.html" %}
|
||||
|
||||
{% block pageContent %}
|
||||
<div class="box">
|
||||
<h2>{{ "Edit comment for: %s" | tr | format(comment.PackageBase.Name) }}</h2>
|
||||
|
||||
<form action="/pkgbase/{{ comment.PackageBase.Name }}/comments/{{ comment.ID }}"
|
||||
method="post">
|
||||
<fieldset>
|
||||
<div>
|
||||
<input type="hidden" name="next" value="{{ next }}" />
|
||||
</div>
|
||||
|
||||
<p>
|
||||
{{
|
||||
"Git commit identifiers referencing commits in "
|
||||
"the AUR package repository and URLs are converted "
|
||||
"to links automatically." | tr
|
||||
}}
|
||||
{{
|
||||
"%sMarkdown syntax%s is partiaully supported."
|
||||
| tr | format(
|
||||
'<a href="https://daringfireball.net/projects/markdown/syntax">',
|
||||
"</a>"
|
||||
) | safe
|
||||
}}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<textarea id="id_comment"
|
||||
name="comment"
|
||||
cols="80"
|
||||
rows="10">{{ comment.Comments }}</textarea>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<input type="submit" value="{{ 'Save' | tr }}" />
|
||||
</p>
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue