[evolvis-commits] r18527: SCM Admin: Improve UI
mirabilos at evolvis.org
mirabilos at evolvis.org
Fri Aug 24 13:36:17 CEST 2012
Author: mirabilos
Date: 2012-08-24 13:36:17 +0200 (Fri, 24 Aug 2012)
New Revision: 18527
Modified:
trunk/gforge_base/evolvisforge-5.1/src/common/include/SCMPlugin.class.php
trunk/gforge_base/evolvisforge-5.1/src/debian/changelog
trunk/gforge_base/evolvisforge-5.1/src/www/scm/admin/index.php
Log:
SCM Admin: Improve UI
Modified: trunk/gforge_base/evolvisforge-5.1/src/common/include/SCMPlugin.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/common/include/SCMPlugin.class.php 2012-08-24 11:36:13 UTC (rev 18526)
+++ trunk/gforge_base/evolvisforge-5.1/src/common/include/SCMPlugin.class.php 2012-08-24 11:36:17 UTC (rev 18527)
@@ -229,7 +229,11 @@
$ra = RoleAnonymous::getInstance() ;
if ( $group->usesPlugin ( $this->name ) && $ra->hasPermission('project_read', $group->getID())) {
- print '<p><input type="checkbox" name="scm_enable_anonymous" value="1" '.$this->c($group->enableAnonSCM()).' /><strong>'._('Enable Anonymous Read Access').'</strong></p>';
+ print "\n<div style=\"border:1px solid black; margin:12px; padding:12px;\">\n";
+ print '<p><input type="checkbox" name="scm_enable_anonymous" value="1" ' .
+ $this->c($group->enableAnonSCM()) . ' /><strong>' .
+ _('Enable Anonymous Read Access') .
+ "</strong></div>\n";
}
}
Modified: trunk/gforge_base/evolvisforge-5.1/src/debian/changelog
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/debian/changelog 2012-08-24 11:36:13 UTC (rev 18526)
+++ trunk/gforge_base/evolvisforge-5.1/src/debian/changelog 2012-08-24 11:36:17 UTC (rev 18527)
@@ -8,8 +8,9 @@
* ff-p-mw: Enable the CategoryTree extension
* Tracker: Hide the extra field ordering template functionality,
until such time as it is restored
+ * SCM Admin: Improve UI
- -- Thorsten Glaser <t.glaser at tarent.de> Fri, 24 Aug 2012 13:14:47 +0200
+ -- Thorsten Glaser <t.glaser at tarent.de> Fri, 24 Aug 2012 13:22:19 +0200
fusionforge (1:5.1.1+evolvis67) unstable; urgency=low
Modified: trunk/gforge_base/evolvisforge-5.1/src/www/scm/admin/index.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/scm/admin/index.php 2012-08-24 11:36:13 UTC (rev 18526)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/scm/admin/index.php 2012-08-24 11:36:17 UTC (rev 18527)
@@ -86,6 +86,7 @@
echo '<input type="hidden" name="scmradio" value="'.$myPlugin->name.'" />' ;
} else {
echo '<p>'._('Note: Changing the repository does not delete the previous repository. It only affects the information displayed under the SCM tab.').'</p>';
+ echo "\n<div style=\"border:1px solid black; margin:12px; padding:12px;\">\n";
echo '<table><tbody><tr><td><strong>'._('SCM Repository').'</strong></td>';
$checked=true;
foreach ($scm_plugins as $plugin) {
@@ -98,7 +99,7 @@
}
echo ' />'.$myPlugin->text.'</td>';
}
- echo '</tr></tbody></table>'."\n";
+ echo "</tr></tbody></table></div>\n";
}
} else {
echo '<p>'._('Error - Site has SCM but no plugins registered').'</p>';
More information about the evolvis-commits
mailing list