Moderated Resources

Discussion in 'Closed Reports' started by mrderanged, Jul 12, 2015.

  1. mrderanged

    mrderanged Active Member

    Website address(optional): chainmaillers.com

    Bug Report Details:


    The icon that is supposed to show for "moderated" resources is not showing. Works fine in the default skin.

    moderated resources.png
     
  2. Steve

    Steve Designer

    Will be fixed for 1.5

    Thanks
     
  3. Russ

    Russ Designer

    If you want to "fix" it:

    template : resource_list_item:

    Code:
    Copy Source
            <xen:contentcheck>
               <xen:if is="{$resource.resource_state} == 'moderated'"><span class="moderated" title="{xen:phrase moderated}">{xen:phrase moderated}</span></xen:if>
               <xen:if is="{$resource.resource_state} == 'deleted'"><span class="deleted" title="{xen:phrase deleted}">{xen:phrase deleted}</span></xen:if>
             </xen:contentcheck>
    
    Replace the {xen:phrase moderated} that isn't inside the title"" with:

    Code:
    Copy Source
    <i class="fa fa-shield fa-fw"></i>
    
    Then the {xen:phrase deleted} that isn't inside the title"" with:

    Code:
    Copy Source
    <i class="fa fa-trash fa-fw"></i>
    
    We may need to adjust the way we do the icons to help with other third party plugins as well which is why I mentioned the "fix"
     
  4. mrderanged

    mrderanged Active Member

    As it's not user facing (at least I don't think it is), I'm not in a rush :D
     
    Russ likes this.
  5. Russ

    Russ Designer

    This is adjusted in 1.5
     

Let's work together on your next project

Contact us today to talk about how we can help you