1. 25 Sep, 2019 1 commit
    • Lisa Seeto's avatar
      Bug 1827811: Move "Add comment" and "Details" into modal with "Comments" · be7af61f
      Lisa Seeto authored
      create modal using configureblock id, update various templates to use the modal for blocks:
      Image
      Note
      File(s) to download
      Journal/blogs
      add JS to open/close modal, add comments, delete comments, reply to comments, paginate comments.
      add JS to handle url that redirects to view/view.php with modal open and populated.
      Further changes to each block will be completed in child patches.
      Add segment headings to the modal. Fix display of comments to cover width of modal.
      Show comment removed msg in modal/page appropriately.
      Fix behat test to close modal before continuing.
      do not show existing comments if comments not allowed on artefact.
      add validation to modal for comments/attachments
      disable image as link when editing for image block
      trigger focus on modal for accessibility
      close modal on escape keydown event
      fix merge conflict in view/view.php
      fix merge conflict with master
      make configureblock modal play nicely when comment block is on the page
      update display of error messages to always show at top of modal so user doesn't have to scroll
      add accesibility to close modal on escape key down
      handle dock show/hide events for paginated pages in modal during validation
      create block-comments-details-header template file
      create details button and custom scss file with js to show and hide header
      update comment links to save add comment and details when commentcount == 0
      add active-block class to colour the block-header when active
      toggle the details-btn active css
      add _block-comments-details-header.scss to patch
      change class invisble to class d-none
      add block-comments-details-header.tpl to blocktypecontainerviewing.tpl
      code review changes
      add .no-modal class to links on group home page, dashboard and profile page.
      add block header to appear above the title
      change assessbtn from anchor tag to button to prevent scrolling.
      make all clickable links clickable on page load (ignore assess mode)
      fix js issues surrounding assessbtn move and show/hide blocks
      change cursor on dashboard, my profile page, group homepage to default when over disabled modal links
      update assessbtn to details btn
      create tooltip for hover over file download block titles
      fix containerElm console log error by not reattaching tinymce unneccessarily.
      fix null named attributes issues on e.target when span (icons) instead of anchor is clicked.
      
      Change-Id: I2e5218c040f8a9e252f785165ce9c566ecc2f56e
      Signed-off-by: default avatarLisa Seeto <lisaseeto@catalyst.net.nz>
      be7af61f
  2. 28 Aug, 2019 1 commit
  3. 05 May, 2019 1 commit
  4. 27 Mar, 2019 1 commit
  5. 26 Feb, 2019 4 commits
  6. 16 Jan, 2019 1 commit
  7. 24 Oct, 2018 2 commits
  8. 06 Sep, 2018 1 commit
  9. 09 Aug, 2018 1 commit
    • Robert Lyon's avatar
      Bug 1785938: Fixing gallery and changing slimbox2 to fancybox3 · 66e7468a
      Robert Lyon authored
      Things done with this patch:
      
      1) Changed the 'Use photo frame' option from being a plugin variable
         to being an instance config variable
      
      2) Added back in the css for the giving the gallery images photo frame
         borders
      
      3) Get the non-square thumbs to render correctly spaced on load
      
      4) Swapped the slimbox2 to fancybox3 and allowed the block itself to
      control when to put content into head data
      
      behatnotneeded
      
      Change-Id: I397be45f2347588988b663b25b560d8ab876afe1
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      66e7468a
  10. 16 Nov, 2017 1 commit
  11. 09 Nov, 2017 1 commit
  12. 20 Apr, 2017 1 commit
  13. 18 Oct, 2016 1 commit
  14. 19 Aug, 2016 1 commit
  15. 27 Apr, 2016 1 commit
  16. 18 Apr, 2016 1 commit
  17. 31 Mar, 2016 2 commits
  18. 23 Mar, 2016 1 commit
  19. 11 Jan, 2016 1 commit
    • Aaron Wells's avatar
      Remove blocktype thumb.png files (Bug 1532642) · 5577c929
      Aaron Wells authored
      Since we're no longer using theme in any of the core themes.
      
      Note that the code to look for a thumb.png file is still in place,
      for backwards-compatibility with older 3rd-party blocktypes.
      
      If you're a third-party theme developer who wants to use PNG files
      for the block picker instead of FontAwesome, you'll need to provide
      your own thumb.png files for each of the core blocktypes, under
      your theme's /theme/THEMENAME/plugintype... directories.
      
      behatnotneeded: Covered by existing tests
      
      Change-Id: I6f0578c8f55c620b7b3df42d8959a6d1ea5ad016
      5577c929
  20. 16 Dec, 2015 2 commits
  21. 22 Oct, 2015 1 commit
  22. 19 Oct, 2015 1 commit
  23. 14 Sep, 2015 1 commit
  24. 07 Aug, 2015 1 commit
  25. 15 Jul, 2015 1 commit
  26. 16 Jun, 2015 1 commit
  27. 15 Jun, 2015 1 commit