~lambdacircus-maint/lambdacircus/970938-implement-add-quote

« back to all changes in this revision

Viewing changes to templates/quote.hamlet

  • Committer: Tristan Seligmann
  • Date: 2012-04-23 18:00:50 UTC
  • mfrom: (19.2.4 trunk)
  • Revision ID: mithrandi@mithrandi.net-20120423180050-f8fwtegg6oatnzed
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<div class="quote">
2
 
    <div class="quote-info">
3
 
        <a rel="bookmark" href="@{QuoteR quoteId}">
4
 
            <h2>##{toPathPiece quoteId}
5
 
        <span id="rating" class="rating">#{show $ quoteRating quote}/#{show $ quoteVotes quote}
6
 
        <p class="quote-info-minor">#{formatTime defaultTimeLocale "%Y-%m-%d %H:%M:%S" (quoteAdded quote)}
7
 
    <div class="quote-content">
8
 
        <p>#{quoteContent quote}
 
1
<div .quote-container>
 
2
    <div .quote .row-fluid>
 
3
        <div .span3 .info>
 
4
            <a rel="bookmark" href="@{QuoteR quoteId}">
 
5
                <h1>#{toPathPiece quoteId}
 
6
            <div #rating .rating>
 
7
                <span .votes-for>+#{show $ quoteRating quote}</span> / 
 
8
                <span .votes-against>-#{show $ quoteVotes quote}
 
9
            <div .timestamp>#{formatTime defaultTimeLocale "%Y-%m-%d %H:%M:%S" (quoteAdded quote)}
 
10
        <div .span9 .content>
 
11
            <p>#{quoteContent quote}