1. 31 Mar, 2020 1 commit
  2. 25 Sep, 2019 2 commits
    • Lisa Seeto's avatar
      Bug 1827811: UI Task · fb47b831
      Lisa Seeto authored
      
      
      The change is for making sure the styling is working for the blocks.
      
      * make file(s) to download use bh icons, metadata on new line
      * resume attachments to use icons (buggy but apparently necessary)
      * show file(s) to download titles on hover over link
      * get rid of '-' for file metadata for size etc...
      * fix the editing/display descrepancy of tagged/recent posts titles
      
      Change-Id: Iad7bb30944f5924b43eca96993e3334120076c05
      Signed-off-by: default avatarLisa Seeto <lisaseeto@catalyst.net.nz>
      fb47b831
    • 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
  3. 30 Sep, 2018 1 commit
  4. 11 Jul, 2016 1 commit
  5. 24 Nov, 2015 1 commit
    • Aaron Wells's avatar
      Display icons for 3rd-party blocktypes plugins · 4f849ed2
      Aaron Wells authored
      Bug 1510421
      
      Defines a new static PluginBlocktype method, get_css_icon(), which
      fetches the name of the CSS icon to use for this blocktype. It returns
      false by default, which tells the theme to "fall back" to the old
      thumbnail.png instead. 3rd-party plugins can override this to
      specify a particular icon to use.
      
      All the core blocktypes have been refactored to extend
      MaharaCoreBlocktype, which uses the blocktype name as the name
      of the CSS icon to use. I also deprecated the "SystemBlocktype"
      class while I was at it.
      
      PluginBlocktype::get_blocktypes_for_category() now returns both
      the results of get_css_icon() and the thumbnail.png path, so that
      themes can decide which they want to use. (And of course
      thumbnail.png is served via thumbnail.php, so 3rd party themes
      can provide their own custom image files if they wish.)
      
      behatnotneeded: Requires installing third-party plugins to test
      
      Change-Id: Idb1ecfc7b21175913708e695788906c11133b0c0
      4f849ed2
  6. 19 Oct, 2015 1 commit
  7. 15 Jun, 2015 1 commit
  8. 04 Feb, 2015 1 commit
  9. 03 Dec, 2014 1 commit
  10. 04 Jun, 2014 1 commit
  11. 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
  12. 14 Oct, 2013 1 commit
  13. 13 May, 2011 1 commit
  14. 04 Jul, 2010 1 commit
  15. 29 Oct, 2009 1 commit
  16. 28 Oct, 2009 1 commit
  17. 22 Sep, 2009 1 commit
  18. 15 Sep, 2009 1 commit
  19. 23 Jun, 2009 1 commit
  20. 09 Jun, 2009 1 commit
  21. 05 Jun, 2009 1 commit
  22. 04 Jun, 2009 1 commit
  23. 02 Jun, 2009 1 commit
  24. 20 May, 2009 1 commit
  25. 19 May, 2009 1 commit
  26. 29 Jan, 2009 1 commit
    • Nigel McNie's avatar
      (#3063) Make blocktype configuration forms change if they are in a template. · d9f2144b
      Nigel McNie authored
      Now they do things like not making it compulsory to choose an artefact
      if it's a template (as the creator might just want to put the block
      there), and removing some options that only make sense in Views.
      
      There's a parameter for instance_config_form and artefactchooser_element
      to allow the Blocktype to detemine whether it's in a template easily.
      d9f2144b
  27. 18 Nov, 2008 1 commit
  28. 14 Oct, 2008 1 commit
  29. 15 Sep, 2008 3 commits
  30. 01 Sep, 2008 2 commits
  31. 21 Jul, 2008 1 commit
  32. 13 Jul, 2008 1 commit
  33. 16 Feb, 2008 2 commits
  34. 24 Jan, 2008 1 commit
  35. 08 Jan, 2008 1 commit