Author: andre
Date: 2009-09-14 21:08:19 +0200 (Mon, 14 Sep 2009)
New Revision: 38615

Modified:
   openimages/trunk/src/main/webapp/mediafragment.jspx
   openimages/trunk/src/main/webapp/style/css/specific-styles.css
Log:
more from this user link

Modified: openimages/trunk/src/main/webapp/mediafragment.jspx
===================================================================
--- openimages/trunk/src/main/webapp/mediafragment.jspx 2009-09-14 18:51:11 UTC 
(rev 38614)
+++ openimages/trunk/src/main/webapp/mediafragment.jspx 2009-09-14 19:08:19 UTC 
(rev 38615)
@@ -323,6 +323,31 @@
               </mm:link>
             </mm:listnodes>
           </mm:listnodescontainer>
+          <c:if test="${!empty owner}">
+            <mm:listnodescontainer type="mediafragments">
+              <mm:constraint field="number" value="$_node" operator="EQUAL" 
inverse="true" />
+              <mm:constraint field="show" value="true" operator="EQUAL" />
+              <!--
+              <mm:constraint field="online" value="$today" operator="LESS" />
+              <mm:constraint field="offline" value="$today" operator="GREATER" 
/>
+              -->
+              <mm:constraint field="owner" value="$owner" operator="EQUAL" />
+              <mm:offset value="6" />
+              <mm:maxnumber value="1" />
+              <mm:listnodes>
+                <mm:hasnode number="$owner">
+                  <p class="more">
+                    <mm:link>
+                      <mm:frameworkparam 
name="component">oip</mm:frameworkparam>
+                      <mm:frameworkparam name="block">user</mm:frameworkparam>
+                      <mm:frameworkparam 
name="user">${owner}</mm:frameworkparam>
+                      <a href="${_}"><fmt:message key="media.more" /> ยป</a>
+                    </mm:link>
+                  </p>
+                </mm:hasnode>
+              </mm:listnodes>
+            </mm:listnodescontainer>
+          </c:if>
         </div>
         
       </div>

Modified: openimages/trunk/src/main/webapp/style/css/specific-styles.css
===================================================================
--- openimages/trunk/src/main/webapp/style/css/specific-styles.css      
2009-09-14 18:51:11 UTC (rev 38614)
+++ openimages/trunk/src/main/webapp/style/css/specific-styles.css      
2009-09-14 19:08:19 UTC (rev 38615)
@@ -379,9 +379,10 @@
        clear: both;
        text-align: right;
        text-transform: lowercase;
-       padding-top: 1em;
 }
 
+body.home p.more { padding-top: 1em; }
+
 div.right-column > p.more { margin-right: 16px; }
 div.right-column input, div.right-column textarea, div.right-column select { 
width: 280px; }
 div.right-column input.submit, div.right-column input.cancel { width: auto; }

_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to