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. 26 Feb, 2019 1 commit
  3. 24 Oct, 2018 1 commit
  4. 20 Apr, 2017 1 commit
  5. 18 Oct, 2016 1 commit
  6. 16 Dec, 2015 2 commits
  7. 22 Oct, 2015 1 commit
  8. 19 Oct, 2015 1 commit
  9. 14 Sep, 2015 1 commit
  10. 15 Jun, 2015 6 commits
  11. 22 Oct, 2014 1 commit
    • Aaron Wells's avatar
      Bug 1383995: Move plugin files into the /theme directory · 89e4609b
      Aaron Wells authored
      Theme files for plugins can now live under the plugin's directory or under
      the theme's directory. Moving the files for the core plugins to /theme
      should make life easier for theme developers by putting them all in one place.
      
      Change-Id: Icff863c46c80ed2d6be07cd49404bc0b7f5fc4c0
      89e4609b
  12. 09 May, 2014 1 commit
    • Yuliya Bozhko's avatar
      Some artefact refactoring (Bug #1298646) · 3ba72d71
      Yuliya Bozhko authored
      Fixes in this patch:
      
      - Moved artefact.php to artefacts directory to separate it from pages.
      - Fixed reference to a wrong 'artefactonlyviewableinview' string.
      - Removed add_to_render_path() and its calls which have no purpose at all.
      - Removed 'artefact_parent_cache' table.
      - Removed cron jobs related to 'artefact_parent_cache' from DB.
      - Added 'path' column in 'artefact' table to easier calculate hierarchy.
      - Added ArtefactTest.php for artefacts unit tests
      
      Change-Id: Ia14cd85b94c32a950354446ee3565bd2964c625c
      Signed-off-by: default avatarYuliya Bozhko <yuliya.bozhko@totaralms.com>
      3ba72d71
  13. 02 Mar, 2014 1 commit
  14. 18 Nov, 2013 1 commit
    • Robert Lyon's avatar
      Clicking 'details' link for images goes directly to details page (bug #633658) · 9b462595
      Robert Lyon authored
      Before patch:
      - Clicking 'View' (details) link in 'files(s) to download block took
      you to a preview page for the image
      
      After patch:
      - clicking the 'Details' link takes you to the details page - now
      consistent UI with the other file types. And there is no preview page.
      If one wants to see image they can click on the title link on
      view/artefact.php page or click the small 'preview' image.
      
      Change-Id: Ia6c3304e0e4fef50c929aa30962265036d11df93
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      9b462595
  15. 12 Nov, 2013 1 commit
    • Robert Lyon's avatar
      Details link in 'files to download' is inconsistent (bug 633658) · f14447c4
      Robert Lyon authored
      to test - add both image and non image files to a 'files to download'
      block.
      On view page click on the 'details' link.
      - Non image files go directly to a page showing meta information and
      download link.
      
      - Image files go to same page but show just the image + another
      'details' link that takes you to the metadata page
      
      Patch changes the initial link name from 'details' to 'view' for image
      artefacts.
      
      Change-Id: I6ca52cf5eecbc533948447133fb4f7e51de4c9c3
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      f14447c4
  16. 24 Jul, 2013 1 commit
  17. 19 Jul, 2013 1 commit
  18. 22 Dec, 2010 1 commit
  19. 25 Aug, 2010 1 commit
  20. 16 Jul, 2010 1 commit
  21. 04 Jul, 2010 2 commits