Removing the "Requests I'm CC'd On" link from the requests page

Beantwortet

2 Kommentare

  • Simon Blouner
    Aktionen für Kommentare Permalink

    Hey Hal,

    You can always hide it with CSS, by adding the following to your style.css:

    .my-activities-sub-nav ul li:nth-of-type(2){
        display:none;
    }

    The most optimal way, would be to edit the {{#each filters}} iteration on the "requests_page.hbs" template and filter out the one you want, but I can't seem to find a good way to do this, and I'm not 100% sure this can actually be done.

    #helpsome regards,
    Simon Blouner
    Zendesk Consultant @ helphouse.io

    1
  • Ifra Saqlain
    Aktionen für Kommentare Permalink

    Hey ,

    You can try this .

    Type 1 :

    Copy and paste on your script file.

    $(".my-activities-sub-nav .collapsible-nav-list li:contains('CC')").css("display","none");

     

     

    OR

    Type 2:

     

    Step 1 -

    Add separate class in your  requests template  - requests_page_filters

     

    Step 2 -

    Copy this given code and paste on your style.css file.

    .my-activities-sub-nav .requests_page_filters li:nth-child(2){
    display:none
    }

     

     

     

    In Copenhagen theme , Requests I'm CC'd on link is at second number so I took li:nth-child(2) .

     

     

    If in your theme,  Requests I'm CC'd on link at 3rd number or 4th number , You can change the number on your theme basis like : li:nth-child(3) , li:nth-child(4) .

     

    Thank You

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.

Powered by Zendesk