diff --git a/modules/comment/comment.module b/modules/comment/comment.module index e5d1337baf7bb5ef22ce344105d1d9ac12716f4b..fd46cd7c0b6efbbe35a959232ac29467188330df 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -2204,8 +2204,10 @@ function template_preprocess_comment(&$variables) { $variables['signature'] = $comment->signature; $uri = entity_uri('comment', $comment); + $uri['options'] += array('attributes' => array('class' => 'permalink', 'rel' => 'bookmark')); + $variables['title'] = l($comment->subject, $uri['path'], $uri['options']); - $variables['permalink'] = l('#', $uri['path'], $uri['options']); + $variables['permalink'] = l(t('Permalink'), $uri['path'], $uri['options']); // Preprocess fields. field_attach_preprocess('comment', $comment, $variables['elements'], $variables); diff --git a/themes/bartik/css/style.css b/themes/bartik/css/style.css index 5c607ff83b3130276ddac302d14fd86d250d4a8a..b1fbc71f3994668929549925072cc9f352d45ecf 100644 --- a/themes/bartik/css/style.css +++ b/themes/bartik/css/style.css @@ -572,6 +572,7 @@ h1#page-title, position: relative; } #comments .attribution { + padding-top: 20px; float: left; /* LTR */ width: 110px; } @@ -588,6 +589,10 @@ h1#page-title, font-size: 70%; color: #68696b; } +#comments .permalink { + font-size: 80%; + text-transform: lowercase; +} #comments .content { font-size: 90%; } diff --git a/themes/bartik/templates/comment.tpl.php b/themes/bartik/templates/comment.tpl.php index 07555da8db7c9035d54968f7d03cb255cecb7bca..416995154841ca8661b7318ff9139bee2a8c388a 100644 --- a/themes/bartik/templates/comment.tpl.php +++ b/themes/bartik/templates/comment.tpl.php @@ -63,13 +63,13 @@ <?php print $picture; ?> <div class="submitted"> - <?php print $permalink; ?> <p class="commenter-name"> <?php print $author; ?> </p> <p class="comment-time"> <?php print $created; ?> </p> + <?php print $permalink; ?> </div> </div>