comanage-dev - [comanage-dev] r617 - registry/trunk/app/View/CoPeople
Subject: COmanage Developers List
List archive
- From:
- To:
- Subject: [comanage-dev] r617 - registry/trunk/app/View/CoPeople
- Date: Fri, 11 Oct 2013 11:41:41 -0400
Author: marie
Date: 2013-10-11 11:41:41 -0400 (Fri, 11 Oct 2013)
New Revision: 617
Modified:
registry/trunk/app/View/CoPeople/index.ctp
Log:
CO690 coperson index width/alignment issues
Modified: registry/trunk/app/View/CoPeople/index.ctp
===================================================================
--- registry/trunk/app/View/CoPeople/index.ctp 2013-10-08 20:56:20 UTC (rev
616)
+++ registry/trunk/app/View/CoPeople/index.ctp 2013-10-11 15:41:41 UTC (rev
617)
@@ -65,16 +65,19 @@
float: left;
}
- .name,
.created,
.status,
.email{
margin-top: 6px;
}
+ .name {
+ width: 325px;
+ }
+
.email {
+ margin: 15px 0 0 5px;
position: absolute;
- left: 330px;
}
.admin {
@@ -82,8 +85,7 @@
}
.status{
- position: absolute;
- left: 440px;
+ margin-left: 5px;
}
.roles{
@@ -198,6 +200,31 @@
);
?>
</div>
+
+ <div class = "email">
+ <?php
+ if(isset($p['EmailAddress'][0]['mail'])) {
+ print '(' ;
+
+ $email = $p['EmailAddress'][0]['mail'];
+ if(strlen($email) > 36)
+ print substr($email, 0, 35) . "...";
+ else
+ print $email;
+
+ print ')';
+ }
+ ?>
+ </div>
+
+ <div class="status">
+ <?php
+ global $status_t;
+
+ if(!empty($p['CoPerson']['status']) ) echo _txt('en.status',
null, $p['CoPerson']['status']);
+ ?>
+ </div>
+
<div class="admin">
<?php
if($permissions['compare'])
@@ -225,20 +252,6 @@
}
?>
</div>
- <div class="status">
- <?php
- global $status_t;
-
- if(!empty($p['CoPerson']['status']) ) echo _txt('en.status',
null, $p['CoPerson']['status']);
- ?>
- </div>
- <div class = "email">
- <?php
- if(isset($p['EmailAddress'][0]['mail'])) {
- print '(' . $p['EmailAddress'][0]['mail'] . ')';
- }
- ?>
- </div>
</div>
<div class = "panel2">
<div class="roles">
- [comanage-dev] r617 - registry/trunk/app/View/CoPeople, svnlog, 10/11/2013
Archive powered by MHonArc 2.6.16.