Uploaded image for project: 'Project - Telia - Hard Locking (closed)'
  1. Project - Telia - Hard Locking (closed)
  2. MGNLHARDLK-64

"Edit Page” should be dimmed when item is locked

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 0.31
    • 0.24
    • None
    • TeliaSonera (TELIA)
    • Telia - Sprint WishList, Telia - Sprint 11

    Description

      There are 2 solutions to fix this bug:

      1. Change css from table by adding setCellStyleGenerator in ListViewImpl class.
      Patch: https://gist.github.com/gjoseph/4abaa7aca7fdd5c7bd81
      Of course, we need to change both tree and list configuration for Page, Dam, Resource, Template, Configuration

      2. Apply css at LockColumnFormatter

      In Lock column, for each locked row, we will add 1 image ("Display: none;" need to be set for this image) and js function onload() for this image.
      This js function will find "tr" (parent of image) and add special css class for this "tr" to make grey row

      • Actual implementation:* Choose option 2. Because option 1 will change a lot of code and configure for page, dam, ... It is unnecessary. Option 1 maybe will support in magnolia version 5.5

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                ngoc.nguyenthanh Ngoc Nguyenthanh
                oanh.thai Oanh Thai Hoang
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                    Estimated:
                    Original Estimate - 3d
                    3d
                    Remaining:
                    Time Spent - 2d 5h Remaining Estimate - 3h
                    3h
                    Logged:
                    Time Spent - 2d 5h Remaining Estimate - 3h
                    2d 5h