summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--actions/showstream.php13
-rw-r--r--lib/stream.php13
-rw-r--r--theme/default/display.css2
3 files changed, 18 insertions, 10 deletions
diff --git a/actions/showstream.php b/actions/showstream.php
index 4cf216566..bd1b8a7de 100644
--- a/actions/showstream.php
+++ b/actions/showstream.php
@@ -451,7 +451,7 @@ class ShowstreamAction extends StreamAction {
}
$noticeurl = common_local_url('shownotice', array('notice' => $notice->id));
# FIXME: URL, image, video, audio
- common_element_start('p', 'entry-title entry-content');
+ common_element_start('p', 'entry-title');
if ($notice->rendered) {
common_raw($notice->rendered);
} else {
@@ -462,11 +462,14 @@ class ShowstreamAction extends StreamAction {
}
common_element_end('p');
common_element_start('p', array('class' => 'time'));
- common_element('a', array('class' => 'permalink published',
+ common_element_start('a', array('class' => 'permalink',
'rel' => 'bookmark',
- 'href' => $noticeurl,
- 'title' => common_exact_date($notice->created)),
- common_date_string($notice->created));
+ 'href' => $noticeurl));
+ common_element('abbr', array('class' => 'published',
+ 'title' => common_date_iso8601($notice->created)),
+ common_date_string($notice->created));
+ common_element_end('a');
+
if ($notice->source) {
common_text(_(' from '));
$this->source_link($notice->source);
diff --git a/lib/stream.php b/lib/stream.php
index 37edfc978..907803eab 100644
--- a/lib/stream.php
+++ b/lib/stream.php
@@ -78,7 +78,7 @@ class StreamAction extends PersonalAction {
$profile->nickname);
common_element_end('span');
# FIXME: URL, image, video, audio
- common_element_start('p', array('class' => 'content entry-title entry-content'));
+ common_element_start('p', array('class' => 'content entry-title'));
if ($notice->rendered) {
common_raw($notice->rendered);
} else {
@@ -94,11 +94,14 @@ class StreamAction extends PersonalAction {
$noticeurl = $notice->uri;
}
common_element_start('p', 'time');
- common_element('a', array('class' => 'permalink published',
+ common_element_start('a', array('class' => 'permalink',
'rel' => 'bookmark',
- 'href' => $noticeurl,
- 'title' => common_exact_date($notice->created)),
- common_date_string($notice->created));
+ 'href' => $noticeurl));
+ common_element('abbr', array('class' => 'published',
+ 'title' => common_date_iso8601($notice->created)),
+ common_date_string($notice->created));
+ common_element_end('a');
+
if ($notice->source) {
common_text(_(' from '));
$this->source_link($notice->source);
diff --git a/theme/default/display.css b/theme/default/display.css
index 7186c73f2..98c20474a 100644
--- a/theme/default/display.css
+++ b/theme/default/display.css
@@ -72,6 +72,8 @@ p#branding a {
color: #fff6d5;
}
+abbr.published { border-bottom:0; }
+
/* ===== Begin Navigation Styling ===== */
/* ----- Navigation ------ */