public UIIssueList_List(Issue model, string assigned)
        {
            int nextstatus = Issue.NextProbableStatus(model.status);

            this.id              = model.id;
            this.statusicon      = Images.StatusAsImage(model.status, null, Issue.StatusAsString(model.status));
            this.priority        = Issue.PrioAsString(model.prio);
            this.header          = StringUtils.Shorten(model.name, 30);
            this.descriptionicon = Images.COMMENT(null, model.description);
            this.address         = StringUtils.Shorten(model.address, 30);
            this.assigned        = assigned;
            this.responsibleicon = model.responsible == Issue.RESPONSIBLE_INTERNAL ? "" : Images.CUSTOMER();
            this.areatype        = Issue.AreaTypeAsString(model.areatype);
            this.startdate       = DateUtils.ConvertToDateString(model.startdate);
            this.enddate         = DateUtils.ConvertToDateString(model.enddate);
            this.status          = model.status;
            this.editcmdlink     = Images.EDIT();
            this.statuscmdlink   = Images.StatusAsNextImage(nextstatus, null, nextstatus + "/" + Issue.StatusAsString(nextstatus));
        }
        public UIIssueCalendar_List(Issue model, string assigned)
        {
            int nextstatus = Issue.NextProbableStatus(model.status);

            this.id          = model.id;
            this.status      = model.status;
            this.priority    = Issue.PrioAsString(model.prio);
            this.header      = StringUtils.Shorten(model.name, 30);
            this.description = StringUtils.Shorten(model.description, 100);
            this.address     = StringUtils.Shorten(model.address, 30);
            this.assigned    = assigned;
            this.responsible = Issue.ResponsibleAsString(model.responsible);
            this.areatype    = Issue.AreaTypeAsString(model.areatype);
            this.startdate   = DateUtils.ConvertToISO8601DateTimeString(model.startdate);
            this.enddate     = DateUtils.ConvertToISO8601DateTimeString(model.enddate);
            this.backcolor   = Issue.StatusAsBackgroundColor(model.status);
            this.textcolor   = Issue.StatusAsTextColor(model.status);
            this.changeable  = true;
            this.statusname  = Issue.StatusAsString(model.status);
            this.statuslink  = Images.StatusAsNextImage(nextstatus, "issue-" + model.id, nextstatus + "/" + Issue.StatusAsString(nextstatus));
        }