You are not logged in.
I assume the following patch solves the requirement presented by red pseudo code near the bottom of the image.
--- pkg_comment_box.php 2018-09-10 10:54:03.579661843 +0000
+++ pkg_comment_box_modified.php 2018-09-10 10:57:46.059850406 +0000
@@ -1,4 +1,4 @@
<div id="generic-form" class="box">
- <h2><?= (isset($comment_id)) ? __('Edit comment for: %s', htmlspecialchars($pkgbase_name)) : __("Add Comment"); ?></h2>
+ <h2><?= (isset($comment_id)) ? __('Edit comment for: %s', htmlspecialchars($pkgbase_name)) : __("Add Comment"); ?> <a href="https://wiki.archlinux.org/index.php/Arch_User_Repository#Comment_syntax">__("help for comment syntax")</a></h2>
<?php include 'pkg_comment_form.php' ?>
</div>
Do post your comments on the correctness of my assumption, if you have one.
Even if you don't want to comment about the correctness of my assumption, am I right the outcome doesn't stand with the customary look expected in these cases? Can you suggest what CSS pseudo code, or other methods, can make it look similar to this, 2nd, image? In that 2nd image I presented only the relevant part of the 1st image. I also shorten the underline of the header, and made the URL font smaller, and with the same color of some of the other text of the 1st image. In case you wonder, the context of the patch above is archlinux's aurweb:pkg_comment_box.php.
Last edited by regid (2018-09-10 16:03:40)
powerofforreboot.efi (AUR): Utilities to be used from within a UEFI boot manager or shell.
Offline
When I click on your link, it shows me a black panda complaining about butt stuff of some kind. I scrolled up and down, are you trying to patch aurweb to display a link above the text box?
Offline
I am trying to patch the aurweb to display a link above the text box, to the right of the comment title. One might argue if the link should be shown when the text box is not present as well. I tried to further show my intention at this image. Which is shorter, hopefully more to the point, than the taller image. Can you see the images? Do they manage to clarify my intention?
Last edited by regid (2018-09-11 18:00:49)
powerofforreboot.efi (AUR): Utilities to be used from within a UEFI boot manager or shell.
Offline
Yes, it's very clear and the images display correctly. It was imgur's mobile page, that showed me a panda instead.
Offline
I have filed a feature request.
Last edited by regid (2018-09-12 15:35:48)
powerofforreboot.efi (AUR): Utilities to be used from within a UEFI boot manager or shell.
Offline
On 2018-09-30 03:00, at https://aur.archlinux.org/packages/lprng,
The AUR supports markdown so you can just use ``` to delimit code blocks.
I am not familiar with markdown. As you might guess from this thread, I am using https://wiki.archlinux.org/index.php/Ar … ent_syntax for references to the documentation for the aurweb comment syntax. I didn't see the option to delimit code blocks with ```. I still think whatever problematic documentation that exists is better than no reference to the documentation at all.
powerofforreboot.efi (AUR): Utilities to be used from within a UEFI boot manager or shell.
Offline
It's described in the python-markdown documentation, and the fenced code blocks are part of the Extensions API: https://python-markdown.github.io/extensions/
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline