Feature Request: Removal of the Install button from list view

jarednichols
Honored Contributor

Hi-

It would be very useful if we could remove the "install" button from the list view of items in Self Service. We often place important information in the description of the item and if the user never clicks into it, they will miss the info. If the button could be "more…" that would be all the better though removing it suffices perfectly.

Thanks
j
--
Jared F. Nichols
Desktop Engineer, Client Services
Information Services Department
MIT Lincoln Laboratory
244 Wood Street
Lexington, Massachusetts 02420
781.981.5436

6 REPLIES 6

tlarkin
Honored Contributor

You may already be able to, but editing the CSS file for self service. /Library/Tomcat/webapps/ROOT/theme/SelfService.css ????

Not exactly sure what you can do, but after all Self Service is just a
webapp, so you can probably edit it to make it look however you want. One global flag to hide install buttons may be the way to go. However,
I cannot read CSS with out firebug so I am not sure what to edit ha ha
ha

jarednichols
Honored Contributor

Pffft have no doubt that I've already hacked it. Who do you take me for?!?!

It would just be nice to have it supported :)
--
Jared F. Nichols
Desktop Engineer, Client Services
Information Services Department
MIT Lincoln Laboratory
244 Wood Street
Lexington, Massachusetts 02420
781.981.5436

tlarkin
Honored Contributor

Sweet, would you post your CSS code? I have some ideas but never any
time to sit down and work with something. I am constantly giving end
user support, and I mean constantly. I also want to dive into the
resource kit and play with some of that stuff.

I personally would like a nav bar across the top of Self Service where
I can customize what a user sees and add features I think could be
useful. Like for example, a contact the help desk link, a link that
opens up the home page and calendar of the school, one that lists
policies to install, and one that would run some sort of self
maintenance check the end user could trigger.

ernstcs
Contributor III

Yup, this feature request floated around a while back, I may have even started a thread, too.

I don’t want it to just install there. They need to click on it for more details before seeing an install button so I can say “I told you so, it was right there when you read the description. What? You didn’t read that? Too bad!” And of course...it’s still my fault.

Craig E

jarednichols
Honored Contributor

I hacked it a few versions back so I don't know if the same hack will work now. Let me pick apart Tomcat and I'll let y'all know.

j
--
Jared F. Nichols
Desktop Engineer, Client Services
Information Services Department
MIT Lincoln Laboratory
244 Wood Street
Lexington, Massachusetts 02420
781.981.5436

jarednichols
Honored Contributor

All-

I've got it. Take a look at the screen shot to see what it looks like. In all list views, the "install" button has been replaced with a "more…" button (which I created – the font/embossing may be a hair off)

Attached is also a zip file. It contains what you need to do this yourself. When you unzip it, it replicates the folder locations of the two files you need to work with.

  1. The index.jsp file replaces the existing one in /Library/Tomcat/webapps/ROOT/WEB-INF/selfservice. (Back your original up!) Basically, line 188 has been modified to replace the href action with "viewProduct.html?product=<%=p.getID()%>" so that when you click, it goes into the product description. Then, I changed the img tag to refer to the newly created more.png file
  2. More.png I created by modifying the install.png file. I think I've got it looking pretty good for not knowing what font (Lucida Grande?) or blending options (Stroke or Emboss?) Jamf uses for the button. The file has been placed in /Library/Tomcat/webapps/ROOT/images/selfservice.

Service restart was not needed for any of this.

I'm so l337.

j
--
Jared F. Nichols
Desktop Engineer, Client Services
Information Services Department
MIT Lincoln Laboratory
244 Wood Street
Lexington, Massachusetts 02420
781.981.5436

![external image link](attachments/cac7ad802aec4fbba24b5c28128d854c)