-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1865 from CodeNow/add-personal-accounts
Modified flow to consider personal account user same as organization
- Loading branch information
Showing
19 changed files
with
219 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
...nt/directives/modals/settingsModal/forms/teamManagementForm/alternateInviteModalView.jade
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
.grid-block.vertical.align-center.justify-center.modal-body | ||
svg.iconnables.icons-close( | ||
ng-click = "IMC.close()" | ||
) | ||
use( | ||
xlink:href = "#icons-close" | ||
) | ||
img.grid-block.shrink.margin-top-md( | ||
height = "150" | ||
src = "/build/images/runnabear-add.svg" | ||
width = "150" | ||
) | ||
p.grid-block.shrink.p.weight-light.text-center.margin-bottom-md.margin-top-md( | ||
| {{IMC.getTextForInviteModal()}} | ||
|
||
footer.modal-footer | ||
button.btn.btn-block.btn-md.white( | ||
ui-sref = "orgSelect" | ||
ng-if = "IMC.isPersonalAccount" | ||
) Switch to a Team | ||
a.btn.btn-block.btn-md.white( | ||
ng-href = "https://github.com/orgs/{{IMC.teamName}}/people" | ||
ng-if = "!IMC.isPersonalAccount && IMC.orgMembers.all.length === 1" | ||
target = "_blank" | ||
) See Team on GitHub | ||
button.btn.btn-block.btn-md.white( | ||
ng-if = "!IMC.isPersonalAccount && IMC.invitedAll && IMC.orgMembers.all.length > 1" | ||
ng-click = "IMC.close()" | ||
) Close |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 4 additions & 30 deletions
34
client/directives/modals/settingsModal/forms/teamManagementForm/inviteModalView.jade
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.