Permalink
Browse files

adding post date to the top of individual update nodes. closes #71

  • Loading branch information...
1 parent c2e4f02 commit 5e1a9848e6f2e7c28d6a64bf3705e19905e71143 @troynt troynt committed Jan 14, 2011
@@ -360,6 +360,13 @@ div.wn-credit {
}
/*
+ * Events
+ */
+.view-updates .views-field-created, .view-events .views-field-field-date-event-value, .node-created {
+ font-style: italic;
+}
+
+/*
* Styles for customized Events form view
*/
@@ -7,9 +7,11 @@
<?php print $picture; ?>
- <?php if ($submitted): ?>
+ <?php if( $node->type == 'update' && $page ): ?>
+ <span class="node-created"><?php print format_date($node->created,'large'); ?></span>
+ <?php elseif( $submitted ): ?>
<span class="submitted"><?php print $submitted; ?></span>
- <?php endif; ?>
+ <?php endif;?>
<div class="content">
<?php print $content; ?>
@@ -19,7 +21,7 @@
<div class="taxonomy"><?php print $terms; ?></div>
<?php endif;?>
- <?php if ($links): ?>
+ <?php if ($links): ?>
<div class="links"> <?php print $links; ?></div>
<?php endif; ?>
@@ -62,10 +62,6 @@ h1.title {
border-bottom: 1px dotted #fff;
}
-.view-updates .views-field-created, .view-events .views-field-field-date-event-value {
- font-style: italic;
-}
-
#content-area .view-updates .views-field-created, #content-area .view-events .views-field-field-date-event-value {
color: #ebebeb;
}
@@ -116,11 +116,7 @@ body.node-type-map-feature #sidebar-second .block.odd {
border-bottom: 1px dotted #414042;
}
-.view-updates .views-field-created, .view-events .views-field-field-date-event-value {
- font-style: italic;
-}
-
-#content-area .view-updates .views-field-created, #content-area .view-events .views-field-field-date-event-value {
+#content-area .view-updates .views-field-created, #content-area .view-events .views-field-field-date-event-value, .node-created {
color: #414042;
}

0 comments on commit 5e1a984

Please sign in to comment.