Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005271TestLinkUser Interface Generalpublic2012-10-06 14:382014-07-27 10:04
Reportermarioct 
Assigned Tofman 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version1.9.4 (2012 Q3 - bug fixing) 
Fixed in Version2.0 (planned) 
Summary0005271: Create Banner Announcement
DescriptionIt´s good to implemente a Banner Announcement feature to warning users about maintenance period.
Steps To ReproduceIt´s just a simple try
in ~/testlink/custom_config.inc.php

// Banner Announcement
$tlCfg->banner_announcement = TRUE;
$tlCfg->banner_announcement_msg = "The system will be in maintenance next Friday (Oct/12) between 8pm and 10pm.";



~/gui/templates/navBar.tpl
...
{if $tlCfg->banner_announcement}
   <div id="banner_announcement"
        style="color:#FFFF00; background-color:#FF0000; border: 2px dashed; font-family:Verdana; font-size:15px;">
      <center>{$tlCfg->banner_announcement_msg}</center>
   </div>
{/if}
...
{if $gui->updateMainPage == 1}
TagsNo tags attached.
Database (MySQL,Postgres,etc)MySQL
BrowserGoogle Chrome
PHP VersionPHP Version 5.3.10
TestCaseID
QA Team - Task Workflow StatusREADY FOR TESTING
Attached Filespng file icon banner-announcement.png [^] (76,773 bytes) 2012-10-06 14:38

- Relationships

-  Notes
(0017618)
fman (administrator)
2012-10-06 18:46
edited on: 2012-10-06 19:15

IMHO, we can have a better solution (and this is what we are going to implement)
using the central part of screen.
This will be part of 2.0
You can use code from 2.0 and implement on 1.9.4.

testlink 2.0
http://gitorious.org/testlink-ga/testlink-code/commit/cf0a9d9cf06d367377ca30e22f5e070f83e68f79 [^]

(0021354)
fman (administrator)
2014-07-27 10:04

done

- Issue History
Date Modified Username Field Change
2012-10-06 14:38 marioct New Issue
2012-10-06 14:38 marioct File Added: banner-announcement.png
2012-10-06 18:46 fman Note Added: 0017618
2012-10-06 19:15 fman Note Edited: 0017618 View Revisions
2012-10-06 19:15 fman Task Workflow Status TBD => READY FOR TESTING
2012-10-06 19:15 fman Status new => resolved
2012-10-06 19:15 fman Fixed in Version => 2.0 (planned)
2012-10-06 19:15 fman Resolution open => fixed
2012-10-06 19:15 fman Assigned To => fman
2014-07-27 10:04 fman Note Added: 0021354
2014-07-27 10:04 fman Status resolved => closed



Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker