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.
|
$project_header.
|
||||||
'<span class="stats">'.
|
'<span class="stats">'.
|
||||||
__('No commits', 'linuxfoo-gitlab').
|
__('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').'.'.
|
(is_null($atts['since']) ? '' : ' since '.$atts['since'].' ago').'.'.
|
||||||
'</span>'.
|
'</span>'.
|
||||||
'</div>';
|
'</div>';
|
||||||
@ -107,7 +107,7 @@ class LinuxfooGitlab {
|
|||||||
$project_header.
|
$project_header.
|
||||||
'<span class="stats">'.
|
'<span class="stats">'.
|
||||||
sprintf(__('Last %d commits', 'linuxfoo-gitlab'), $commits_count).
|
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').':'.
|
(is_null($atts['since']) ? '' : ' since '.$atts['since'].' ago').':'.
|
||||||
'</span>'.
|
'</span>'.
|
||||||
'<ul class="commits">';
|
'<ul class="commits">';
|
||||||
|
Loading…
Reference in New Issue
Block a user