Clarity

  • 1.  Show Document type attribute as an image in the project list

    Posted May 02, 2018 02:47 AM

    Good morning community,

    We need to add attributes of type "document" in the list of projects.
    Is there any way to show an icon instead of showing the file name?
    This is what it shows now:

     

    And I would like you to show something like this:


    I have tried modifying the CSS code of the UI, but I have no way of selecting the column of type file, because all the columns of the portlet have the same class and id.
    Any ideas?



  • 2.  Re: Show Document type attribute as an image in the project list
    Best Answer

    Posted May 02, 2018 09:23 AM

    Solved:
    adding the following CSS code in UI themes:

     

    #viewFile {
    display:block;
    height: 16px;
    width: 35px;
    background: url(ui/uitk/tngtheme/images/fileMgr.png) no-repeat 100% -112px;
    text-indent: -5000px;
    }