diff --git a/options/locale/locale_ru-RU.ini b/options/locale/locale_ru-RU.ini index b056d84c5e..c7a318409c 100644 --- a/options/locale/locale_ru-RU.ini +++ b/options/locale/locale_ru-RU.ini @@ -2204,6 +2204,8 @@ lower_repositories=Проекты create_new_team=Создание команды create_team=Создать команду org_desc=Описание +org_competences=Компетенции +org_resources=Ресурсы team_name=Название команды team_desc=Описание team_name_helper=Названия команд должны быть короткими и запоминающимися. diff --git a/routers/web/org/setting.go b/routers/web/org/setting.go index 16f83f8b80..0f50eac54b 100644 --- a/routers/web/org/setting.go +++ b/routers/web/org/setting.go @@ -98,6 +98,8 @@ func SettingsPost(ctx *context.Context) { org.FullName = form.FullName org.Description = form.Description + org.Competences = form.Competences + org.Resources = form.Resources org.Website = form.Website org.Location = form.Location org.LocationCoordinate = form.LocationCoordinate diff --git a/services/forms/org.go b/services/forms/org.go index a5a0b06d7b..9d73f029a1 100644 --- a/services/forms/org.go +++ b/services/forms/org.go @@ -40,6 +40,8 @@ type UpdateOrgSettingForm struct { Name string `binding:"Required;AlphaDashDot;MaxSize(40)" locale:"org.org_name_holder"` FullName string `binding:"MaxSize(100)"` Description string `binding:"MaxSize(1024)"` + Competences string `binding:"MaxSize(1024)"` + Resources string `binding:"MaxSize(1024)"` Website string `binding:"ValidUrl;MaxSize(255)"` Location string `binding:"MaxSize(50)"` LocationCoordinate string `binding:"MaxSize(255)"` diff --git a/templates/org/settings/options.tmpl b/templates/org/settings/options.tmpl index a6d30dae48..3244e50144 100644 --- a/templates/org/settings/options.tmpl +++ b/templates/org/settings/options.tmpl @@ -27,6 +27,14 @@ +
+ + +
+
+ + +