Skip to content

Commit

Permalink
Merge pull request #16 from sampoearas/master
Browse files Browse the repository at this point in the history
Readme Updated
  • Loading branch information
sampoearas authored Jul 25, 2019
2 parents 7a1412f + 18955e7 commit f13f017
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 14 deletions.
29 changes: 19 additions & 10 deletions Innovator/Client/scripts/kanban/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,11 +235,18 @@ function loadBoards() {

// get boardimage
var vaultref = item.getProperty("creatorpicture","undefined");
var fileUrl = "nomanager.png";
/*if ((vaultref !== "undefined") && (vaultRefTable[vaultref] == undefined)) {
fileUrl = inn.getFileUrl(vaultref.split("?fileId=")[1], 1);
var fileUrl = "../kanban/nomanager.png";
if ((vaultref !== "undefined") && (vaultRefTable[vaultref] == undefined)) {
try {
fileUrl = inn.getFileUrl(vaultref.split("?fileId=")[1], 1);
vaultRefTable[vaultref] = fileUrl;
} catch(err) {
console.log("Profile Image for " + item.getPropertyAttribute("created_by_id", "keyed_name") + " is malformed. Please choose a different image.");
}

} else {
vaultRefTable[vaultref] = fileUrl;
}*/
}

boardsContentString += "<div class='col-md-3 board' boardId='" + item.getID() + "'><div class='panel panel-default'> <div class='panel-heading boardHeader'> <h3 class='panel-title boardTitle' contentEditable='true'>" + item.getProperty('boardname', 'no name') + "</h3> </div> <div class='panel-body boardDescription' contentEditable='true'>" + item.getProperty('boarddescription', 'no description') + " </div>";
boardsContentString += " <div class='panel-footer '><div title='<h5>" + item.getPropertyAttribute("created_by_id", "keyed_name") + "</h5><img class=\"managerPicture\" width=\"96px\" src=\"" + vaultRefTable[vaultref] + " \" />' data-placement='top' data-html='true' rel='tooltip' class='userInitiales'>" + nameInitiliser(item.getPropertyAttribute("created_by_id", "keyed_name")) + "</div> <img src='" + vaultRefTable[vaultref] + "' alt='no manager' class='img-circle userInitiales' ></div>";
Expand Down Expand Up @@ -453,14 +460,16 @@ function loadSingleBoard(boardId, reload) {

// get cardimage
var vaultref = item.getProperty("managerpicture");
var fileUrl = "nomanager.png";
var fileUrl = "../kanban/nomanager.png";
if ((vaultref !== undefined) && (vaultRefTable[vaultref] == undefined)) {
if (inn.getFileUrl(vaultref.split("?fileId=")[1], 1) == undefined) {
try {
fileUrl = inn.getFileUrl(vaultref.split("?fileId=")[1], 1);
vaultRefTable[vaultref] = fileUrl;
} else {
vaultRefTable[vaultref] = inn.getFileUrl(vaultref.split("?fileId=")[1], 1);
}
} else if (vaultref == undefined) {
} catch (err) {
console.log("Profile Image for " + item.getPropertyAttribute("manager", "keyed_name") + " is malformed. Please choose a different image.");
}

} else {
vaultRefTable[vaultref] = fileUrl;
}

Expand Down
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,19 @@ Adds a user interface to manage tasks and sort them by Stage, Account, Risk ...
#### How it works
The Kanban-like-task-management project has two interfaces - the Board listing, and the Board details (when you enter a board by double-clicking on it).

## Project Details
## History

**Built Using:** Aras 11.0 SP7
Release | Notes
--------|--------
[v1.0.1](https://github.com/ArasLabs/kanban-like-task-management/releases/tag/v1.0.1) | Tested 11.0 SP12, SP15. Tested on Edge, IE, Firefox 60 ESR, Chrome.
[v1.0.0](https://github.com/ArasLabs/kanban-like-task-management/releases/tag/v1.0.0) | First release. Tested on Internet Explorer 11, Firefox 38 ESR, Chrome.

**Browsers Tested:** Internet Explorer 11, Firefox 38 ESR, Chrome
#### Supported Aras Versions

> Though built and tested using Aras 11.0 SP7, this project should function in older releases of Aras 11.0 and Aras 10.0.
Project | Aras
--------|------
[v1.0.1](https://github.com/ArasLabs/kanban-like-task-management/releases/tag/v1.0.1) | 10.0 SPx, 11.0 SP7+, 11.0 SP12+, 11.0 SP15
[v1.0.0](https://github.com/ArasLabs/kanban-like-task-management/releases/tag/v1.0.0) | 10.0 SPx, 11.0 SP7; Old Community Board Migration

## Installation

Expand Down

0 comments on commit f13f017

Please sign in to comment.