forked from tk-sls.de/linuxfoo-gitlab
bugfix in output formatting
This commit is contained in:
parent
3c46558036
commit
2b88ac140f
@ -94,7 +94,7 @@ class LinuxfooGitlab {
|
||||
$project_header.
|
||||
'<span class="stats">'.
|
||||
__('No commits', 'linuxfoo-gitlab').
|
||||
(is_null($branch) ? '' : ' '.__('in branch', 'linuxfoo-gitlab').' "'.$branch).'"'.
|
||||
(is_null($branch) ? '' : ' '.__('in branch', 'linuxfoo-gitlab').' "'.$branch.'"').
|
||||
(is_null($atts['since']) ? '' : ' since '.$atts['since'].' ago').'.'.
|
||||
'</span>'.
|
||||
'</div>';
|
||||
@ -107,7 +107,7 @@ class LinuxfooGitlab {
|
||||
$project_header.
|
||||
'<span class="stats">'.
|
||||
sprintf(__('Last %d commits', 'linuxfoo-gitlab'), $commits_count).
|
||||
(is_null($branch) ? '' : ' '.__('in branch', 'linuxfoo-gitlab').' "'.$branch).'"'.
|
||||
(is_null($branch) ? '' : ' '.__('in branch', 'linuxfoo-gitlab').' "'.$branch.'"').
|
||||
(is_null($atts['since']) ? '' : ' since '.$atts['since'].' ago').':'.
|
||||
'</span>'.
|
||||
'<ul class="commits">';
|
||||
|
Loading…
Reference in New Issue
Block a user