laravel-enso / enso

Laravel Vue SPA, Bulma themed. For demo login use `admin@laravel-enso.com` & `password` -
https://www.laravel-enso.com
MIT License
1.08k stars 277 forks source link

show-button - is there a default template for this action? #290

Closed whizzly closed 4 years ago

whizzly commented 4 years ago

A final holdover of the results of my experiments/test is that point: the show button at the left hand side (the eye) grafik does not show anything even if i configure all the points that i found in the documentation or in the tipps of the super nice answer from mihai. I dug a little deeper and into the standard enso the only place i found a show component was there: ~/enso/client/node_modules/@enso-ui/ui/src/bulma/pages/administration/users/components/UserProfile.vue is there a standard config for that, that i can take or should i only remove the show button ... i think i dont need it really (what exactly have i to do for removing?) Not shure for the moment what i should do. Sincerely yours

aocneanu commented 4 years ago

If you don't need a show route then don't generate it with the cli.

From the table json template just remove the show button.

Does that answer the question?

whizzly commented 4 years ago

Thank you for the answer. In principle, yes, but the real question was hidden in the title: Is there a piece of documentation or any default template/example like for the json-template (--> https://docs.laravel-enso.com/backend/forms.html#usage) .

aocneanu commented 4 years ago

I'm afraid there is no default template for this action because.

The show page would be a presentation page for a model, when you need it.

whizzly commented 4 years ago

Ok, thx for the info ...