updated the log view to show userid when loaded from a project and a specific user is set

This commit is contained in:
hyung-hwan 2016-12-02 15:06:04 +00:00
parent 163c365569
commit 0e0ed921ed
2 changed files with 5 additions and 1 deletions

View File

@ -492,6 +492,7 @@ class Project extends Controller
$data['project'] = $project; $data['project'] = $project;
$data['login'] = $login; $data['login'] = $login;
$data['target_userid'] = $userid;
$data['log_entries'] = $log_entries; $data['log_entries'] = $log_entries;
$data['page_links'] = $this->pagination->create_links (); $data['page_links'] = $this->pagination->create_links ();

View File

@ -132,7 +132,10 @@ $this->load->view (
<div class="codepot-title-band" id="log_title_band"> <div class="codepot-title-band" id="log_title_band">
<div class="title"> <div class="title">
<?php print anchor ("site/log", $this->lang->line ('Change log')) ?> <?php
print anchor ("site/log", $this->lang->line ('Change log'));
if ($pagetype == 'project' && $target_userid != '') printf ('(%s)', htmlspecialchars ($target_userid));
?>
</div> </div>
<div class="actions"> <div class="actions">