Project

General

Profile

Actions

Feature #3013

open

Add some sugar for template comparisions

Added by Greg Sutcliffe over 10 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Templates
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Right now to test, eg, a hostgroup value, one has to use

<% if @host.hostgroup.to_s  "Base/MyGroup" -%>

It would be nice to drop the to_s as it's ugly. We could add `` methods to the models, or maybe we could use the new object names patch? Joseph, what do you think?

No data to display

Actions

Also available in: Atom PDF