Page Attribution


Home: Socialtext Style Customization Guide
Up: Styling The Page View
Previous: Page Boxes
Next: Styling The Edit Window


page-attribution.jpg

Page attribution contains 2 sections. One section with the author and last editor, the other contains the revision and view counts.

HTML Snippet

<div id="st-attribution">
  <span id="st-created">Created by <span class="st-username">Brandon Noard</span> on <span class="st-createdate">Oct 17 1:58pm</span>.</span>
  <span id="st-update">Updated by <span class="st-username">Brandon Noard</span> on <span class="st-updatedate">Oct 17 2:17pm</span>.</span>
  <div id="st-edit-actions-below-fold">
    <a href="#" id="st-edit-actions-below-fold-edit">edit</a>
    -
    <a href="#" id="st-edit-actions-below-fold-comment">comment</a>
  </div>
</div>

<div id="st-page-stats">
  <a href="/feed/workspace/css-guide-2?page=weblog_content"><img id="st-page-details-feed-icon" src="/static/1.99.99.8/images/feed-icon-14x14.png"/></a>
  -
  5 views
  -
  <a href="?action=revision_list;page_name=weblog_content" id="st-page-stats-revisions">4 revisions</a>
</div>

CSS Selectors

#st-attribution
#st-created
#st-created .st-username
#st-created .st-createdate
#st-update
#st-update .st-username
#st-update .st-createdate
#st-edit-actions-below-fold
#st-edit-actions-below-fold-edit
#st-edit-actions-below-fold-comment

#st-page-stats
#st-page-stats a
#st-page-stats-revisions