fixed a bug of showing unneeded inputbox in code revision view when not signed in
This commit is contained in:
parent
afe628aabe
commit
69566d8317
@ -365,6 +365,7 @@ $history = $file['history'];
|
|||||||
</div>
|
</div>
|
||||||
<?php endif; ?> <!-- $can_edit -->
|
<?php endif; ?> <!-- $can_edit -->
|
||||||
|
|
||||||
|
<?php if ($is_loggedin): ?>
|
||||||
<div id="code_revision_new_comment_div">
|
<div id="code_revision_new_comment_div">
|
||||||
<?php
|
<?php
|
||||||
print form_open("code/revision/{$project->id}${revreqroot}", 'id="code_revision_new_review_comment_form"');
|
print form_open("code/revision/{$project->id}${revreqroot}", 'id="code_revision_new_review_comment_form"');
|
||||||
@ -380,6 +381,7 @@ $history = $file['history'];
|
|||||||
print form_close();
|
print form_close();
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
<?php endif; ?> <!-- $is_loggedin -->
|
||||||
|
|
||||||
<?php if (strlen($popup_error_message) > 0): ?>
|
<?php if (strlen($popup_error_message) > 0): ?>
|
||||||
<div id="code_revision_popup_error_div">
|
<div id="code_revision_popup_error_div">
|
||||||
|
Loading…
Reference in New Issue
Block a user