# HG changeset patch
# User casties
# Date 1370015869 -7200
# Node ID 87122259f8886835f2671a05338e215ad20ba32d
# Parent 45b7b24c8c42159455a52f72e4a7033248fb15d7# Parent 1114f55b069264c86a20579939839c20b4e01b3c
Merge with 1114f55b069264c86a20579939839c20b4e01b3c
diff -r 1114f55b0692 -r 87122259f888 MPIWGStaff.py
--- a/MPIWGStaff.py Fri May 31 17:00:17 2013 +0200
+++ b/MPIWGStaff.py Fri May 31 17:57:49 2013 +0200
@@ -18,7 +18,7 @@
from Products.ZDBInterface.ZDBInterfaceFolder import ZDBInterfaceFolder
-from SrvTxtUtils import getHttpData, getAt, getInt, unicodify, utf8ify
+from SrvTxtUtils import getInt, unicodify, utf8ify
import MPIWGHelper
#
@@ -187,17 +187,6 @@
return tmp
- def getPublicationsFromPubman(self,coneId="renn",limit=None,publicationType=None):
-
- logging.debug("coneID:%s"%coneId)
- try:
- pubs=self.mpiwgPubman.getPublications(coneId,limit=limit,publicationType=publicationType)
-
- return pubs
- except:
- return []
-
-
def importSortingModeFromOldStaff(self):
""" only used for the migration to the new website """
ret=[]
@@ -726,12 +715,13 @@
getStaffURL = getUsername
def getPublicationsFromPubman(self,limit=None,publicationType=None):
-
+ """Return list of publications."""
if self.content.publications_mode=="year":
coneId = self.getConeId();
if coneId:
- pubs= self.folder.getPublicationsFromPubman(coneId,limit=limit,publicationType=publicationType)
+ pubs = self.folder.mpiwgPubman.getPublications(coneId,limit=limit,publicationType=publicationType)
+ #pubs= self.folder.getPublicationsFromPubman(coneId,limit=limit,publicationType=publicationType)
return pubs
elif self.content.publications_mode=="priority":
@@ -752,10 +742,6 @@
'http://purl.org/eprint/type/BookItem':'book-item',
'http://purl.org/escidoc/metadata/ves/publication-types/article':'article'};
-
-
-
-
if publicationType is not None: #publicaitions typ ist gesetzt
if not ((entry[1] == publicationType) or (entry[1] == typesLongShort.get(publicationType,''))) : #stimmt nicht dann weiter
diff -r 1114f55b0692 -r 87122259f888 css/mpiwg.css
--- a/css/mpiwg.css Fri May 31 17:00:17 2013 +0200
+++ b/css/mpiwg.css Fri May 31 17:57:49 2013 +0200
@@ -5,12 +5,6 @@
*/
-
-
-div.hierlist li.li_project a{
-/* padding-left:0px;*/
-}
-
body {
margin: 0;
font-family: Verdana, Arial, sans-serif;
@@ -75,7 +69,7 @@
color: #3b4186;
font-size: 20px;
font-weight: normal;
- margin: 0.5em 0;
+ margin: 1em 0 0.5em 0;
}
h1:first-child {
@@ -87,7 +81,12 @@
color: #3b4186;
font-size: 16px;
font-weight: normal;
- margin: 0.5em 0;
+ margin: 1em 0 0.5em 0;
+}
+
+h2:first-child {
+ /* does this work correctly? */
+ margin-top: 0;
}
h3 {
@@ -116,7 +115,7 @@
ul.plain {
list-style-type: none;
- padding-left: 0.5em;
+ padding: 0;
}
ul.plain > li {
margin-top: 0.5em;
@@ -132,6 +131,10 @@
display: inline;
}
+.clear {
+ clear: both;
+}
+
/*
* table-like rows and columns
*/
@@ -1124,7 +1127,20 @@
/*
* figures (in project descriptions and features)
*/
-div.figure,
+div.figure {
+ float: left;
+ padding: 0.5em 1em 0.5em 0;
+}
+
+div.feature div.figure,
+div.project div.figure {
+ width: 230px;
+}
+div.feature div.figure img,
+div.project div.figure img {
+ width: 230px;
+}
+
div.image_small {
float: left;
width: 230px;
@@ -1134,10 +1150,13 @@
float: right;
padding: 0.5em 0 0 1em;
}
-div.figure div.image img,
div.image_small img {
width: 230px;
}
+div.banner_large img {
+ width: 460px;
+}
+
div.figure div.figcaption,
div.banner_large div.caption,
div.image_small div.caption {
@@ -1146,9 +1165,6 @@
color: #9f917a;
margin-top: 0.5em;
}
-div.banner_large img {
- width: 460px;
-}
/*
* project description and feature
diff -r 1114f55b0692 -r 87122259f888 zpt/staff/member_index_html.zpt
--- a/zpt/staff/member_index_html.zpt Fri May 31 17:00:17 2013 +0200
+++ b/zpt/staff/member_index_html.zpt Fri May 31 17:57:49 2013 +0200
@@ -16,9 +16,9 @@
-
-
-
+
@@ -36,43 +36,49 @@
-
+
+
+
+ Profile
+
+ [FMP-Field: CV]
+
-
- Profile
- [FMP-Field: CV]
-
+
- Selected publications
-
+
+ Selected publications
+
+
- More
+ More publications
-
- Talks and presentations
+
+ Talks and presentations
+
-
+ |
|
@@ -89,10 +95,12 @@
- Teaching activities
+
+ Teaching activities
+
-
+ |
|
diff -r 1114f55b0692 -r 87122259f888 zpt/staff/pubman/show_publications.zpt
--- a/zpt/staff/pubman/show_publications.zpt Fri May 31 17:00:17 2013 +0200
+++ b/zpt/staff/pubman/show_publications.zpt Fri May 31 17:57:49 2013 +0200
@@ -9,15 +9,16 @@
|