Gets the v7 upgrade report working on the new installer.

This commit is contained in:
Shannon
2014-03-05 18:23:50 +11:00
parent 8f7f761bb3
commit fbd2b3a1e1
5 changed files with 48 additions and 13 deletions

View File

@@ -9,7 +9,7 @@
The following report list the permissions that are currently failing. Once the permissions are fixed press the 'Go back' button to restart the installation.
</p>
<ul class="permissions-report unstyled">
<ul class="permissions-report">
<li ng-repeat="(category, items) in installer.current.model.errors">
<h4>{{category}}</h4>
<ul>

View File

@@ -1,3 +1,22 @@
<div>
Upgrade report :)
<h1>Major version upgrade from {{installer.current.model.currentVersion}} to {{installer.current.model.newVersion}}</h1>
<h2>There were {{installer.current.model.errors.length}} issues detected</h2>
<p>
The following compatibility issues were found. If you continue all non-compatible property editors will be converted to a Readonly/Label.
You will be able to change the property editor to a compatible type manually by editing the data type after installation.
</p>
<p>
Otherwise if you choose not to proceed you will need to fix the errors listed below.
Refer to v{{installer.current.model.newVersion}} upgrade instructions for full details.
</p>
<ul class="upgrade-report">
<li ng-repeat="item in installer.current.model.errors">
{{item}}
</li>
</ul>
<p>
<button class="btn btn-success" ng-click="forward()">Continue</button>
</p>
</div>

View File

@@ -231,11 +231,15 @@ height: 5px;
display:block;
padding:0;
}
.permissions-report > li {
list-style:none;
}
.permissions-report h4 {
margin:7px;
}
.upgrade-report {
overflow:auto;
height:280px;
display:block;
}