Project

General

Profile

Feature #32928

Allow templates to hide preview button

Added by Oleh Fedorenko 11 months ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Category:
Templates
Target version:
Difficulty:
Triaged:
No
Bugzilla link:

Description

Some templates such as webhook templates don't and actually can't preview for most of the cases. Doesn't make much sense to have this button since it does nothing and only confuses users.

Support for such feature should be done in core to reduce code duplication.

Associated revisions

Revision 498c352c (diff)
Added by Oleh Fedorenko 11 months ago

Fixes #32928 - Allow templates to hide preview button

History

#1 Updated by The Foreman Bot 11 months ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/8637 added

#2 Updated by The Foreman Bot 11 months ago

  • Fixed in Releases 3.0.0 added

#3 Updated by Oleh Fedorenko 11 months ago

  • Status changed from Ready For Testing to Closed

#4 Updated by Lukas Zapletal 10 months ago

  • Target version set to 2.5.3

I am requesting 2.5.3 for this one, we need this feature in webhooks. Is it possible to have that?

#5 Updated by The Foreman Bot 9 months ago

  • Pull request https://github.com/theforeman/foreman/pull/8726 added

#6 Updated by Amit Upadhye 9 months ago

  • Fixed in Releases 2.5.3 added

Also available in: Atom PDF