|
|
|
@ -21,12 +21,12 @@ |
|
|
|
|
<div class="ui eight wide column"> |
|
|
|
|
<span class="octicon octicon-shield"></span> |
|
|
|
|
<div class="ui inline dropdown"> |
|
|
|
|
<div class="text">{{.Collaboration.ModeName}}</div> |
|
|
|
|
<div class="text">{{$.i18n.Tr .Collaboration.ModeI18nKey}}</div> |
|
|
|
|
<i class="dropdown icon"></i> |
|
|
|
|
<div class="access-mode menu" data-url="{{$.Link}}/access_mode" data-uid="{{.Id}}"> |
|
|
|
|
<div class="item" data-text="Admin" data-value="3">Admin</div> |
|
|
|
|
<div class="item" data-text="Write" data-value="2">Write</div> |
|
|
|
|
<div class="item" data-text="Read" data-value="1">Read</div> |
|
|
|
|
<div class="item" data-text="{{$.i18n.Tr "repo.settings.collaboration.admin"}}" data-value="3">{{$.i18n.Tr "repo.settings.collaboration.admin"}}</div> |
|
|
|
|
<div class="item" data-text="{{$.i18n.Tr "repo.settings.collaboration.write"}}" data-value="2">{{$.i18n.Tr "repo.settings.collaboration.write"}}</div> |
|
|
|
|
<div class="item" data-text="{{$.i18n.Tr "repo.settings.collaboration.read"}}" data-value="1">{{$.i18n.Tr "repo.settings.collaboration.read"}}</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|