| 1 | <#-- |
|---|
| 2 | $HeadURL:: $ |
|---|
| 3 | $Id$ |
|---|
| 4 | |
|---|
| 5 | Copyright (c) 2007-2008 by Topaz, Inc. |
|---|
| 6 | http://topazproject.org |
|---|
| 7 | |
|---|
| 8 | Licensed under the Apache License, Version 2.0 (the "License"); |
|---|
| 9 | you may not use this file except in compliance with the License. |
|---|
| 10 | You may obtain a copy of the License at |
|---|
| 11 | |
|---|
| 12 | http://www.apache.org/licenses/LICENSE-2.0 |
|---|
| 13 | |
|---|
| 14 | Unless required by applicable law or agreed to in writing, software |
|---|
| 15 | distributed under the License is distributed on an "AS IS" BASIS, |
|---|
| 16 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|---|
| 17 | See the License for the specific language governing permissions and |
|---|
| 18 | limitations under the License. |
|---|
| 19 | --> |
|---|
| 20 | <#include "includes/globals.ftl"> |
|---|
| 21 | <#if rating.body.commentTitle?exists> |
|---|
| 22 | <#assign commentTitle = rating.body.commentTitle> |
|---|
| 23 | <#else> |
|---|
| 24 | <#assign commentTitle = '"Rating has no Title"'> |
|---|
| 25 | </#if> |
|---|
| 26 | <#if rating.body.commentValue?exists> |
|---|
| 27 | <#assign commentText = rating.body.commentValue> |
|---|
| 28 | <#else> |
|---|
| 29 | <#assign commentText = '"Rating has no Text"'> |
|---|
| 30 | </#if> |
|---|
| 31 | <html> |
|---|
| 32 | <head> |
|---|
| 33 | <title>Ambra: Administration: Rating Details</title> |
|---|
| 34 | <#include "includes/header.ftl"> |
|---|
| 35 | </head> |
|---|
| 36 | <body> |
|---|
| 37 | <h1 style="text-align: center">Ambra: Administration: Rating Details</h1> |
|---|
| 38 | |
|---|
| 39 | <@s.url id="adminTop" namespace="/admin" action="adminTop"/> |
|---|
| 40 | <p style="text-align: right"> |
|---|
| 41 | <@s.a href="${adminTop}">Admin Top</@s.a> |
|---|
| 42 | </p> |
|---|
| 43 | <hr /> |
|---|
| 44 | |
|---|
| 45 | <@messages /> |
|---|
| 46 | |
|---|
| 47 | <fieldset> |
|---|
| 48 | <legend><b>Rating Details</b></legend> |
|---|
| 49 | <table width="100%"> |
|---|
| 50 | <tr><td width="100px"> </td><td/></tr> |
|---|
| 51 | <tr><td>Id</td><td>${rating.body.id}</td></tr> |
|---|
| 52 | <tr><td>Title</td><td>${commentTitle}</td></tr> |
|---|
| 53 | <tr><td>Created</td><td>${rating.created?datetime}</td></tr> |
|---|
| 54 | <tr><td>Creator</td><td><a href="../user/showUser.action?userId=${rating.creator}">${rating.creator}</a></td></tr> |
|---|
| 55 | <tr> |
|---|
| 56 | <td colspan="2"> |
|---|
| 57 | <fieldset> |
|---|
| 58 | <legend><b>Content</b></legend> |
|---|
| 59 | ${commentTitle}<br /> |
|---|
| 60 | ${commentText} |
|---|
| 61 | </fieldset> |
|---|
| 62 | </td> |
|---|
| 63 | </tr> |
|---|
| 64 | </table> |
|---|
| 65 | </fieldset> |
|---|
| 66 | </body> |
|---|
| 67 | </html> |
|---|