how to remove Edit link from crud userview

Confluence User - 03 Feb, 2022

i need to keep the edit crud but remove the link. I'm creating the edit link in the datalist and use visibility option to hide and show using conditions.

I wish there is a check box similar to delete button to remove or show the EDIT and ADD in userview.

can this be done using JS  JQuery or CSS


Thanks!

userviews

4


03 Feb, 2022
confluenceUser
confluenceUser

In the CRUD Menu config, remove the form in "Form (Edit)"

04 Feb, 2022
confluenceUser
1
confluenceUser

Like I said in my original post I'm calling the crud edit from datalist using hyperlink.

if  I remove  "Form (Edit)" from CRUD menu the hyperlink will not work.

I need a way to remove the link from UI only.

04 Feb, 2022
confluenceUser
confluenceUser

If that's the case, then can try to use CSS or Javascript in the CRUD menu to hide the link manually.

Something like

span.row_action_inner a {
    display: none;
}
17 Feb, 2022
confluenceUser
confluenceUser

yours removes both crud and datalist buttons. 

to remove just the crud edit  I used this


<style>
body .dataList
table tbody tr td.row_action.footable-visible.footable-last-column { display: none; }
table thead tr th.row_action.footable-visible.footable-last-column { display: none; }
</style>


RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print