NewTicketWizardRestrictedService.tt 2.78 KB
# --
# NewTicketWizardServiceForm.tt - provides HTML form for NewTicketWizardServiceForm - SeTIC - UFSC - http://setic.ufsc.br/
# Rodrigo Gonçalves - rodrigo.g@ufsc.br
# 
# Version 01/12/2015 - Support for OTRS 4.0.3
# Version 2017-12-19 - Support for OTRS 6
#
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --

<div class="MainBox ARIARoleMain LayoutFixedSidebar SidebarFirst">
    <h1>[% Translate("Restricted Services") | html %]</h1>
    [% BreadcrumbPath = [
            {
                Name => Translate('Restricted Services'),
                Link => Env("Action"),
            },
        ]
    %]
    [% INCLUDE "Breadcrumb.tt" Path = BreadcrumbPath %]


    <div class="ContentColumn">
        <div class="WidgetSimple">
            <div class="Content">
				<form action="[% Env("CGIHandle") %]?Action=[% Env("Action") %];SubAction=Update" method="post" class="Validate">
                <table class="DataTable">
                    <thead>
                        <tr>
                        	<th>[% Translate("Type") | html %]</th>
                            <th>[% Translate("Service") | html %]</th>                            
                        </tr>
                    </thead>
                    <tbody>                    
[% RenderBlockStart("OverviewListRow") %]
                        <tr>
                            <td>
                            	<select name="Service[% Data.ServiceID %]">
                            		<option [% Data.Restricted %] value="Restricted">[% Translate("Restricted") | html %]</option>
                            		<option [% Data.Public %] value="Public">[% Translate("Public") | html %]</option>
                            	</select>
                            </td>                        
                            <td>[% Data.LevelSpace | html %][% Data.Name | html %]</td>
                        </tr>
[% RenderBlockEnd("OverviewListRow") %]
                    </tbody>
                </table>
                
                <div class="Clear"></div>
                        
                        <div class="Field SpacingTop">
                            <button class="Primary" type="submit" value="[% Translate("Submit") | html %]">[% Translate("Submit") | html %]</button>
                            [% Translate("or") | html %]
                            <a href="[% Env("Baselink") %]Action=[% Env("Action") %]">[% Translate("Cancel") | html %]</a>
                        </div>
                        <div class="Clear"></div>
                        
                        
                </form>
            </div>
        </div>
    </div>
    <div class="Clear"></div>
</div>