daily pastebin goal
72%
SHARE
TWEET

Untitled

a guest Feb 17th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <article ng-repeat="post in pagedPosts" class="entry">
  2.  
  3.   <header class="entry-header">
  4.  
  5.     <h2 class="entry-title">
  6.       <a href="#/post/{{post._id}}" title="">{{ post.title }}</a>
  7.     </h2>
  8.  
  9.     <div class="entry-meta">
  10.       <ul>
  11.         <li>{{ post.createdAt | date:'MMM d, y'}}</li>
  12.         <span class="meta-sep">&bull;</span>
  13.         <li>
  14.           {{ post.category_id.name ? (post.category_id.name | capitalize) : 'Ucategorized' }}
  15.         </li>
  16.         <span class="meta-sep">&bull;</span>
  17.         <li>
  18.           <a href="#/profile/{{post.user_id._id}}" title="" rel="user tag">{{post.user_id.username ? post.user_id.username : post.user_id.name}}</a>,
  19.         </li>
  20.       </ul>
  21.     </div>
  22.  
  23.   </header>
  24.  
  25.   <div class="entry-content">
  26.     <p bindHtmlCompile="post.content"></p>
  27.   </div>
  28.  
  29. </article> <!-- end entry -->
  30.  
  31. <div class="row add-bottom">
  32.  
  33.   <div class="twelve columns add-bottom">
  34.  
  35.     <nav class="pagination add-bottom">
  36.  
  37.       <span ng-click="setPage(pager.startPage)" ng-class="{inactive:pager.currentPage === 1}" class="page-numbers prev inactive">First</span>
  38.       <span ng-click="setPage(pager.currentPage - 1)" ng-class="{inactive:pager.currentPage === 1}" class="page-numbers prev inactive">Prev</span>
  39.       <span ng-repeat="page in pager.pages" ng-click="setPage(page)" ng-class="{current:pager.currentPage === page}" class="page-numbers">{{page}}</span>
  40.       <span ng-click="setPage(pager.currentPage + 1)" ng-class="{inactive:pager.currentPage === pager.totalPages}" class="page-numbers next">Next</span>
  41.       <span ng-click="setPage(pager.totalPages)" ng-class="{inactive:pager.currentPage === pager.totalPages}" class="page-numbers prev inactive">Last</span>
  42.     </nav>
  43.  
  44.   </div>
  45.  
  46.   <hr />
  47.  
  48. </div>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top