GUI-790 Adjusted the template condition to display the detach volume option only...

... when the volume state is attached
https://eucalyptus.atlassian.net/browse/GUI-790