added the user home links in the code blame view
This commit is contained in:
parent
6e7208ded7
commit
27db06ba63
@ -350,7 +350,10 @@ $this->load->view (
|
|||||||
$author = $line['author'];
|
$author = $line['author'];
|
||||||
//$author_to_show = str_pad ($author, 9, ' ', STR_PAD_RIGHT);
|
//$author_to_show = str_pad ($author, 9, ' ', STR_PAD_RIGHT);
|
||||||
//$author_to_show = substr($author_to_show, 0, 9);
|
//$author_to_show = substr($author_to_show, 0, 9);
|
||||||
$author_to_show = $author;
|
//$author_to_show = $author;
|
||||||
|
|
||||||
|
$author_home_url = codepot_merge_path (site_url(), '/user/home/' . $this->converter->AsciiToHex($author));
|
||||||
|
$author_to_show = "<a href='{$author_home_url}'>" . htmlspecialchars($author) . "</a>";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -255,7 +255,7 @@
|
|||||||
|
|
||||||
#code_history_result_table td.commit-revision-td {
|
#code_history_result_table td.commit-revision-td {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: nowrap;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
line-height: 1.2em;
|
line-height: 1.2em;
|
||||||
@ -271,7 +271,7 @@
|
|||||||
|
|
||||||
#code_history_result_table .commit-revision-and-datetime {
|
#code_history_result_table .commit-revision-and-datetime {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: nowrap;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
@ -299,7 +299,7 @@
|
|||||||
|
|
||||||
#code_history_result_table .commit-actions {
|
#code_history_result_table .commit-actions {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: nowrap;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user