Skip to content

Commit

Permalink
Dedicated icons to display dependencies/requests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jens Arps committed Nov 30, 2010
1 parent 8bf73f2 commit 3072de0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 7 additions & 0 deletions ui/ui.css
Expand Up @@ -38,6 +38,13 @@ body,
.featureDetails div {
padding-left: 10px;
}
.featureDetails h6 div {
float: right;
width: 10px;
height: 10px;
cursor:help;
margin: 0 2px;
}
.included {
color: #808080;
}
Expand Down
3 changes: 1 addition & 2 deletions ui/ui.js
Expand Up @@ -271,8 +271,7 @@ var ebti = {
for(var featureName in details){
var featureContainer = dojo.create('div', { className: 'featureDetails' });
var featureDetails = details[featureName];
featureContainer.innerHTML = '<h6>'+featureName+'</h6>';
featureContainer.title = 'Feature was requested by: '+featureDetails.requestedBy+' Feature has dependencies on: ' + featureDetails.dependsOn;
featureContainer.innerHTML = '<h6>'+featureName+'<div class="fDep" title="Feature has dependencies on: ' + ( featureDetails.dependsOn.length ? featureDetails.dependsOn : '-' ) + '">D</div><div class="fReq" title="Feature was requested by: '+featureDetails.requestedBy+'">R</div></h6>';
dojo.forEach(featureDetails.isImplementedBy, function(file){
var classNames = [];
if(dojo.indexOf(platformFiles, file) > 0){ // already there
Expand Down

0 comments on commit 3072de0

Please sign in to comment.