Commit 7b72890f26d6a4570dd8bc0bff277499b0b5c193
1 parent
3a6bc7ad
KTS-1693
"Improve the version notifier to be more intelligent about new versions" Fixed the display errors of this issue. Committed By: Kevin Reviewed By: Jalaloedien git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/trunk@6748 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
3 changed files
with
7 additions
and
7 deletions
plugins/ktstandard/KTAdminVersionPlugin.php
resources/js/adminversiondashlet.js
| ... | ... | @@ -20,7 +20,7 @@ AdminVersionDashlet.prototype = { |
| 20 | 20 | for(var k in this.currentVersions) { |
| 21 | 21 | if(res[k]!=this.currentVersions[k]) { |
| 22 | 22 | updates ++; |
| 23 | - appendChildNodes('up_upgrades', SPAN({'class':'up_new_version'}, k + ': ' + res[k]), BR(null)); | |
| 23 | + appendChildNodes('up_upgrades', DIV({'class':'up_new_version'}, k + ': ' + res[k]), BR(null)); | |
| 24 | 24 | } |
| 25 | 25 | } |
| 26 | 26 | ... | ... |
templates/ktstandard/adminversion/dashlet.smarty
| ... | ... | @@ -5,7 +5,9 @@ |
| 5 | 5 | } |
| 6 | 6 | |
| 7 | 7 | #up_single, #up_multi { display: none; } |
| 8 | -.up_new_version { font-weight: bold; } | |
| 8 | +.up_new_version { font-weight: bold; margin-left: 60px; } | |
| 9 | +#footerref { font-weight: bold; margin-left: 50px; } | |
| 10 | + | |
| 9 | 11 | </style> |
| 10 | 12 | |
| 11 | 13 | {/literal} |
| ... | ... | @@ -15,9 +17,7 @@ |
| 15 | 17 | <script type="text/javascript">var _KT_VERSIONS = {$kt_versions};</script> |
| 16 | 18 | <script type="text/javascript">var _KT_VERSIONS_URL = "{$kt_versions_url}";</script> |
| 17 | 19 | |
| 18 | -<p> | |
| 19 | 20 | <span id="up_single">{i18n}The following upgrade is available{/i18n}:</span> |
| 20 | 21 | <span id="up_multi">{i18n}The following upgrades are available{/i18n}:</span> |
| 21 | -<span id="up_upgrades"></span> | |
| 22 | -{i18n}Please visit <a href="http://www.knowledgetree.com">www.knowledgetree.com</a> to find out more.{/i18n} | |
| 23 | -</p> | |
| 22 | +<div id="up_upgrades"></div> | |
| 23 | +<div id="footerref">{i18n}Please visit <a href="http://www.knowledgetree.com">www.knowledgetree.com</a> to find out more.{/i18n}</div> | ... | ... |