Fix buttons

stable
xaviju 2017-03-03 11:43:15 +01:00
parent 462e4ca5c6
commit 4dcbbcac10
3 changed files with 21 additions and 19 deletions

View File

@ -985,9 +985,9 @@
"ARCHIVED": "Archived", "ARCHIVED": "Archived",
"ARCHIVED_DESCRIPTION": "You have archived projects, Do you want to import your archived projects?", "ARCHIVED_DESCRIPTION": "You have archived projects, Do you want to import your archived projects?",
"WHO_IS": "Their tasks will be assigned to ...", "WHO_IS": "Their tasks will be assigned to ...",
"WRITE_EMAIL": "Or if you want, write the email that their use in Taiga", "WRITE_EMAIL": "Or if you want, write the email that this user uses in Taiga",
"SEARCH_CONTACT": "Or if you want, search in your contacts", "SEARCH_CONTACT": "Or if you want, search in your contacts",
"WRITE_EMAIL_LABEL": "Write the email that their use in Taiga", "WRITE_EMAIL_LABEL": "Write the email that this user uses in Taiga",
"EMAIL_NOT_FOUND": "We did not find any users with that email", "EMAIL_NOT_FOUND": "We did not find any users with that email",
"ACCEEDE": "Acceede", "ACCEEDE": "Acceede",
"PROJECT_MEMBERS": "Project Members", "PROJECT_MEMBERS": "Project Members",

View File

@ -47,12 +47,9 @@ tg-lightbox-close(on-close="vm.onClose()")
translate="PROJECT.IMPORT.ASSIGN" translate="PROJECT.IMPORT.ASSIGN"
) )
.search-user-mode button.search-user-mode(
p ng-click="vm.mode = 'search'"
a( ) {{'PROJECT.IMPORT.SEARCH_CONTACT' | translate}}
href=""
ng-click="vm.mode = 'search'"
) {{'PROJECT.IMPORT.SEARCH_CONTACT' | translate}}
div(ng-if="vm.mode == 'search'") div(ng-if="vm.mode == 'search'")
fieldset fieldset
@ -82,9 +79,6 @@ tg-lightbox-close(on-close="vm.onClose()")
.more-users(ng-if="filteredCollection.length >= 5") .more-users(ng-if="filteredCollection.length >= 5")
span(translate="COMMON.ASSIGNED_TO.TOO_MANY") span(translate="COMMON.ASSIGNED_TO.TOO_MANY")
.search-user-mode button.search-user-mode(
p ng-click="vm.mode = 'mail'"
a( ) {{'PROJECT.IMPORT.WRITE_EMAIL' | translate}}
href=""
ng-click="vm.mode = 'mail'"
) {{'PROJECT.IMPORT.WRITE_EMAIL' | translate}}

View File

@ -27,7 +27,9 @@ tg-select-import-user-lightbox {
text-align: center; text-align: center;
} }
.more-users { .more-users {
padding: .5rem; @include font-type(light);
@include font-size(small);
padding: 1rem;
text-align: center; text-align: center;
} }
.group { .group {
@ -42,10 +44,16 @@ tg-select-import-user-lightbox {
} }
} }
.search-user-mode { .search-user-mode {
border-top: 1px solid $gray-light; @include font-size(small);
margin-top: 1rem; background: none;
padding-top: 1rem; margin-top: 2rem;
text-align: center; padding: .5rem;
text-align: left;
transition: .2s;
width: 100%;
&:hover {
color: $primary;
}
} }
label { label {
display: block; display: block;