You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
803 B

  1. extends ../layout.pug
  2. block rootNavRight
  3. i.nav-item#notifload
  4. .nav-item
  5. a.button(href='/' + pageData.meta._id)
  6. i.nc-icon-outline.ui-3_select
  7. span= t('nav.viewlatest')
  8. block content
  9. .container.is-fluid
  10. .columns.is-gapless
  11. .column.is-narrow.is-hidden-touch.sidebar
  12. aside.stickyscroll
  13. .sidebar-label
  14. span= t('sidebar.pastversions')
  15. ul.sidebar-menu
  16. each item, index in pageData.history
  17. - var itemDate = moment(item.date)
  18. li: a.is-multiline(class={ 'is-active': index < 1 }, href='', title=itemDate.format('LLLL'))
  19. span= itemDate.calendar(null, { sameElse: 'llll'})
  20. span.is-small= item.commitAbbr
  21. .column
  22. history(current-path=pageData.meta._id)