<%~set show_check = 1%>
<%~if update_mode eq 'history' and not reversible%>
<%~set show_check = 0%>
<%~elsif deps_first or revdeps_first%>
<%~set show_check = 0%>
<%~endif%>
<%if show_check~%>
<%~endif%>
<%if show_check%><%endif%>
<%if update_type eq 'version'%>New version:<%else%><%ucfirst update_type%> update:<%endif%>
<%if show_check%> <%endif%>
<%if show_check%><%title%> <%else%><%title%><%endif%>
Show details
<%if installed~%>
Installed: <%GT::Date::date_get($installed, '%yyyy%-%mm%-%dd% %HH%:%mm%:%ss%')%>
<%~endif%>
<%description%>
<%if not historic_version or historic_version eq $current_version%>
<%if reversible%>
This update can be uninstalled.
<%else%>
<%if irreversible_dep~%>
This update cannot be uninstalled because another, uninstallable update depends on it.
<%~else~%>
This update cannot be uninstalled.
<%~endif%>
<%endif~%>
<%endif~%>
<%set display_files = 0~%>
<%if files.length~%>
<%loop files%><%unless id eq 'code'%><%set display_files = 1%><%lastloop%><%endunless%><%endloop%>
<%~endif%>
<%if deps_first and requires.length~%>
This update requires the following updates to be installed prior to installation:
<%~loop requires%>
<%ucfirst update.$loop_value.update_type%> update: <%update.$loop_value.title%>
<%~endloop%>
<%~elsif revdeps_first and revdeps.length%>
This update requires the following updates to be uninstalled prior to being removed:
<%~loop revdeps%>
<%ucfirst update.$loop_value.update_type%> update: <%update.$loop_value.title%>
<%~endloop%>
<%~endif%>
<%if display_files~%>
Files contained in update:
<%if update_mode eq 'history' and reversible~%>
(
* = original file will be restored)
<%~endif%>
File
Type
Permission
<%~loop files%>
<%~if id eq 'code'%><%nextloop%><%endif%>
<%Links::Update::shorten($path, 8, 50)%><%if update_mode eq 'history' and backup%> * <%endif%>
<%if dir%>directory<%else%>file<%endif%>
<%mode%>
<%~endloop%>
<%~endif%>