This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, 6.1 has been updated
via ad18bf00345770995966a7c45e62bb1555bb53aa (commit)
from 737a090d2410f542ecc9e9b00e046bf47decc064 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=ad18bf00345770995966a7c45e62bb1555bb53aa
commit ad18bf00345770995966a7c45e62bb1555bb53aa
Author: Franck Villaume <[email protected]>
Date: Sun Oct 15 18:17:24 2017 +0200
fix even/odd in MyLatestCommits widget
diff --git a/src/common/widget/Widget_MyLatestCommits.class.php
b/src/common/widget/Widget_MyLatestCommits.class.php
index 32736d7..8fdc6bb 100644
--- a/src/common/widget/Widget_MyLatestCommits.class.php
+++ b/src/common/widget/Widget_MyLatestCommits.class.php
@@ -94,7 +94,13 @@ class Widget_MyLatestCommits extends Widget {
if
(strlen($revision['description']) > 255) {
$revisionDescription .=
' [...]';
}
- $html .= html_e('div',
array('style' => 'border-bottom:1px solid #ddd'),
+ $divattr = array('class' => '',
'style' => 'border-bottom:1px solid #ddd');
+ if ((($key + 1) % 2) == 1) {
+ $divattr['class'] =
'bgcolor-white';
+ } else {
+ $divattr['class'] =
'bgcolor-grey';
+ }
+ $html .= html_e('div', $divattr,
html_e('div',
array('style' => 'font-size:0.98em'),
$this->_getLinkToCommit($project, $revision['commit_id'],
$revision['pluginName']).
'
'._('on').' '.
-----------------------------------------------------------------------
Summary of changes:
src/common/widget/Widget_MyLatestCommits.class.php | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits