Skip to content

Commit 5da3d5d

Browse files
committed
Minor fixes to commenting template on documents
1 parent 08a36f8 commit 5da3d5d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/templates/Document/View.phtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ $delete_visible = ($logged_in && ($logged_in->getOptionsBitmask()
5151
& User::OPTION_ACL_DOCUMENT_DELETE));
5252

5353
$this->additional_css[] = "/a/comments.css";
54+
if ($logged_in) $this->additional_css[] = "/a/forms.css";
5455
require("./header.inc.phtml");
5556
?>
5657
<article>
@@ -102,7 +103,7 @@ require("./header.inc.phtml");
102103
</article>
103104
<?php } ?>
104105
<article>
105-
<header>Comments</header>
106+
<header><a name="comments">Comments</a></header>
106107
<section>
107108
<?php if (!$comments) { ?>
108109
<p class="center"><em>no one has commented yet.</em></p>

0 commit comments

Comments
 (0)