Updating nav active bg and Send invitation button
Этот коммит содержится в:
@@ -260,6 +260,12 @@ export default class InviteMemberModal extends React.Component {
|
|||||||
|
|
||||||
var content = null;
|
var content = null;
|
||||||
var sendButton = null;
|
var sendButton = null;
|
||||||
|
|
||||||
|
var sendButtonLabel = 'Send Invitation';
|
||||||
|
if (this.state.inviteIds.length > 1) {
|
||||||
|
sendButtonLabel = 'Send Invitations';
|
||||||
|
}
|
||||||
|
|
||||||
if (this.state.emailEnabled) {
|
if (this.state.emailEnabled) {
|
||||||
content = (
|
content = (
|
||||||
<div>
|
<div>
|
||||||
@@ -281,7 +287,7 @@ export default class InviteMemberModal extends React.Component {
|
|||||||
onClick={this.handleSubmit}
|
onClick={this.handleSubmit}
|
||||||
type='button'
|
type='button'
|
||||||
className='btn btn-primary'
|
className='btn btn-primary'
|
||||||
>Send Invitations</button>
|
>{sendButtonLabel}</button>
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
var teamInviteLink = null;
|
var teamInviteLink = null;
|
||||||
|
|||||||
@@ -431,6 +431,7 @@ export function applyTheme(theme) {
|
|||||||
|
|
||||||
if (theme.sidebarTextActiveColor) {
|
if (theme.sidebarTextActiveColor) {
|
||||||
changeCss('.sidebar--left .nav-pills__container li.active a, .sidebar--left .nav-pills__container li.active a:hover, .sidebar--left .nav-pills__container li.active a:focus, .settings-modal .nav-pills>li.active a, .settings-modal .nav-pills>li.active a:hover, .settings-modal .nav-pills>li.active a:active', 'color:' + theme.sidebarTextActiveColor, 2);
|
changeCss('.sidebar--left .nav-pills__container li.active a, .sidebar--left .nav-pills__container li.active a:hover, .sidebar--left .nav-pills__container li.active a:focus, .settings-modal .nav-pills>li.active a, .settings-modal .nav-pills>li.active a:hover, .settings-modal .nav-pills>li.active a:active', 'color:' + theme.sidebarTextActiveColor, 2);
|
||||||
|
changeCss('.sidebar--left .nav li.active a, .sidebar--left .nav li.active a:hover, .sidebar--left .nav li.active a:focus', 'background:' + changeOpacity(theme.sidebarTextActiveColor, 0.1), 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (theme.sidebarHeaderBg) {
|
if (theme.sidebarHeaderBg) {
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
}
|
}
|
||||||
.nav {
|
.nav {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 55px;
|
top: 57px;
|
||||||
width: 180px;
|
width: 180px;
|
||||||
}
|
}
|
||||||
.security-links {
|
.security-links {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user