Skip to content
Snippets Groups Projects
Commit 1fd705d3 authored by David Schimmel's avatar David Schimmel
Browse files

Merge branch 'Topic/1059-affiliationSensitivityUI' into 'Product/734-affiliationSensitivity'

Topic/1059 affiliation sensitivity ui

See merge request coscine/vue/project-creation!50
parents 96b55e63 f63689ca
No related tags found
2 merge requests!52Product/734 affiliation sensitivity,!50Topic/1059 affiliation sensitivity ui
{
"name": "@coscine/project-creation",
"version": "1.9.0",
"version": "1.9.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
......
......@@ -4,6 +4,10 @@
<div class="col-sm-2"></div>
<div class="col-sm-8">
<b-form id="edit_form" @submit.stop.prevent="onSubmit">
<b-row v-show="isNewProject && isRWTHMember">
<div class="col-sm-3"></div>
<div class="col-sm-9">{{ $t('affliliationNotification') }}</div>
</b-row>
<b-form-group
class="mandatory"
label-for="ProjectName"
......@@ -438,6 +442,7 @@ export default Vue.extend({
language: this.$props.languageLocale,
isNewProject: false,
isOwner: false,
isRWTHMember: false,
isWaitingForResponse: false,
color: '#00549f',
displayNameIsLocked: false,
......@@ -696,6 +701,10 @@ export default Vue.extend({
this.startDateSelected(new Date());
OrganizationApi.isRWTHMember((response: any) => {
this.isRWTHMember = response.data.isRWTHMember;
});
VisibilityApi.getVisibilities((response: any) => {
for (const visibility of response.data) {
if (visibility.displayName === 'Project Members') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment