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, master has been updated
via b9143ef86050d3fa274c78c1047df21b237c673a (commit)
from 3451c6e235aa509a4a622a596cd919b236d73c86 (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=b9143ef86050d3fa274c78c1047df21b237c673a
commit b9143ef86050d3fa274c78c1047df21b237c673a
Author: Franck Villaume <[email protected]>
Date: Sat Jun 24 16:57:08 2017 +0200
fix odd/even
diff --git a/src/common/widget/Widget_ProjectLatestCommits.class.php
b/src/common/widget/Widget_ProjectLatestCommits.class.php
index ff6abf5..872d9dd 100644
--- a/src/common/widget/Widget_ProjectLatestCommits.class.php
+++ b/src/common/widget/Widget_ProjectLatestCommits.class.php
@@ -67,7 +67,13 @@ class Widget_ProjectLatestCommits 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']).
' '._('on').' '.
-----------------------------------------------------------------------
Summary of changes:
src/common/widget/Widget_ProjectLatestCommits.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