Project

General

Profile

« Previous | Next » 

Revision 60177

[Monitor Dashboard | Trunk]: Add message if user has no profiles to manage

View differences:

modules/uoa-monitor-portal/trunk/monitor_dashboard/src/app/manageStakeholders/manageStakeholders.component.html
35 35
            <ng-container *ngTemplateOutlet="stakeholderBox; context: {stakeholder:stakeholder}"></ng-container>
36 36
          </ng-template>
37 37
          <div *ngIf="!loading && isCurator()">
38
            <ng-container *ngTemplateOutlet="newBox; context:
39
        {text:'Create a new default profile.', isDefault:true}"></ng-container>
38
            <ng-container *ngTemplateOutlet="newBox; context: {text:'Create a new default profile.', isDefault:true}"></ng-container>
40 39
          </div>
41 40
        </div>
42 41
      </div>
42
      <div *ngIf="!isManager()" class="message">
43
        <h4 class="uk-text-center">
44
          No profiles to manage yet
45
        </h4>
46
      </div>
43 47
      <div *ngIf="tab != 'templates' && isManager()" class="uk-margin-large-top">
44 48
        <h6 class="uk-text-bold">Profiles</h6>
45 49
        <div class="uk-grid uk-grid-match uk-child-width-1-4@xl uk-child-width-1-3@l uk-child-width-1-2@m" uk-grid
......
48 52
            <ng-container *ngTemplateOutlet="stakeholderBox; context: {stakeholder:stakeholder}"></ng-container>
49 53
          </ng-template>
50 54
          <div *ngIf="!loading && isCurator()">
51
            <ng-container *ngTemplateOutlet="newBox; context:
52
        {text:'Create a new profile by selecting the type (Funder, Organization, Research Initiative or Project) and '+
53
'                select indicators based on a default or a blank profile.', isDefault:false}"></ng-container>
55
            <ng-container *ngTemplateOutlet="newBox; context: {text:'Create a new profile by selecting the type (Funder, Organization, Research Initiative or Project) and ' +
56
             'select indicators based on a default or a blank profile.', isDefault:false}"></ng-container>
54 57
          </div>
55 58
        </div>
56 59
      </div>
modules/uoa-monitor-portal/trunk/monitor_dashboard/src/assets/dashboard-theme/structure.css
125 125
}
126 126

  
127 127
.sidebar_main_swipe #page_content .message {
128
  padding-left: var(--sidebar-width);
128
  padding-left: calc(var(--sidebar-width) - 100px);
129
  padding-right: 20px;
130
  transition: 0.5s;
131
  -webkit-transition: 0.5s;
132
  -moz-transition: 0.5s;
133
  -ms-transition: 0.5s;
134
  -o-transition: 0.5s;
129 135
}
130 136

  
131 137
.sidebar_main_swipe bottom > * {
......
156 162

  
157 163
/*Sidebar mini*/
158 164
.sidebar_main_swipe.sidebar_mini #page_content,
159
.sidebar_main_swipe.sidebar_mini #page_content .message,
160 165
.sidebar_main_swipe.sidebar_mini openaire-user > user > *,
161 166
.sidebar_main_swipe.sidebar_mini openaire-error  > *,
162 167
.sidebar_main_swipe.sidebar_mini bottom > * {

Also available in: Unified diff