Skip to content

Commit

Permalink
LDBR-4.64: Исправить ветку (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgiyX authored Dec 25, 2021
1 parent 11f8c3a commit d519f3d
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 9 deletions.
20 changes: 11 additions & 9 deletions src/views/BoardsView/BoardsView.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
<span class="material-icon-edit team-edit-btn" data-id="{{this.tid}}"></span>
{{/if}}
</div>
<div>
<div class="team-btns-aling">
<!-- Обычная команда-->
{{#if (IsEqualHelper this.team_type 0)}}
<span class="team__member-counter">{{this.users.length}}</span>
<div class="team-btns-aling"><span class="team__member-counter">{{this.users.length}}</span></div>
<span class="material-icon-group_add invite-board" data-id="{{this.tid}}"></span>
<span class="material-icon-add add-board-btn" data-id="{{this.tid}}"></span>
<span class="material-icon-delete team-delete-btn" data-id="{{this.tid}}"></span>
Expand All @@ -30,7 +30,7 @@
</div>
</div>
<div class="horizontal-line"></div>
<div class="team__card-wrapper">
<div class="{{#if this.boards}}team__card-wrapper{{else}}team__centred{{/if}}">
{{#if this.boards}}
<div class="team__card-holder">
{{#each this.boards}}
Expand All @@ -41,12 +41,14 @@
{{/each}}
</div>
{{else}}
<div class="spaced-text">Похоже досок пока нет.<br><a class="add-board-btn underline-link" data-id="{{this.tid}}">Создайте</a>
{{#if (IsEqualHelper this.team_type 2)}}
Ваш первый проект в личном пространстве.
{{else}}
первый проект команды "{{this.team_name}}"
{{/if}}
<div class="team__centred">
<div class="spaced-text">Похоже досок пока нет.<br><a class="add-board-btn underline-link" data-id="{{this.tid}}">Создайте</a>
{{#if (IsEqualHelper this.team_type 2)}}
Ваш первый проект в личном пространстве.
{{else}}
первый проект команды "{{this.team_name}}"
{{/if}}
</div>
</div>
{{/if}}
</div>
Expand Down
14 changes: 14 additions & 0 deletions src/views/BoardsView/BoardsView.scss
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,13 @@ $team-font-size: 25px;
&__team-name {
font-size: $team-font-size;
}

&__centred {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
}
}

.material-icons-colored {
Expand Down Expand Up @@ -122,11 +129,18 @@ $team-font-size: 25px;

.team__member-counter {
font-size: $small-font-size;
vertical-align: super;
}

.boards-header {
display: flex;
flex-direction: row;
align-items: start;
}

.team-btns-aling {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
}

0 comments on commit d519f3d

Please sign in to comment.