remove obsolete custom url

This commit is contained in:
Alexander Meindl 2018-09-14 10:59:23 +02:00
parent b8019c44f0
commit 7729290b4f
10 changed files with 6 additions and 22 deletions

View File

@ -91,9 +91,12 @@ module AdditionalsMenuHelper
end
def additionals_help_menu_items
pages = [{ title: 'Redmine Guide', url: Redmine::Info.help_url },
{ title: 'FontAwesome Icons', url: 'https://fontawesome.com/icons?d=gallery&m=free' },
{ title: 'Redmine macros', url: macros_path }]
pages = [{ title: 'Redmine Guide', url: Redmine::Info.help_url }]
if User.current.logged?
pages << { title: 'FontAwesome Icons', url: 'https://fontawesome.com/icons?d=gallery&m=free' }
pages << { title: 'Redmine macros', url: macros_path }
end
if User.current.admin?
pages << { title: '-' }

View File

@ -34,10 +34,6 @@ h3 = l(:label_custom_menu_items)
br
h3 = l(:label_setting_plural)
p
= content_tag(:label, l(:label_custom_help_url))
= text_field_tag('settings[custom_help_url]', @settings[:custom_help_url], size: 60)
em.info = t(:custom_help_url_info_html)
p
= content_tag(:label, l(:label_remove_help))
= check_box_tag 'settings[remove_help]', 1, @settings[:remove_help].to_i == 1

View File

@ -19,7 +19,6 @@ de:
account_login_info: "Dieser Text wir auf der Anmeldeseite angezeigt, um z.B. Informationen für die Anmeldung oder Registrierung zu hinterlegen. Diese Einstellung ist projektübergreifend und ist in allen Projekten aktiv."
add_go_to_top_info: 'Bei langen Seiten ist es hilfreich, wenn ein Link zur Verfügung steht, mit dem man zum Seitenanfang springen kann.'
button_assign_to_me: Mir zuweisen
custom_help_url_info_html: 'Diese URL wird für den <em>Hilfe</em> Eintrag im Topmenü verwendet. Um eine deutsche Hilfe zu benutzen, kann hier z.B. <a class="external" href="https://alphanodes.com/de/redmine-buch">https://alphanodes.com/de/redmine-buch</a> eingetragen werden. Wenn hier nichts eingetragen wird, wird die Standard URL verwendet.'
disabled_modules_info: "Module, die nicht zur Auswahl innerhalb der Projekte zur Verfügung stehen sollen. Sind in bestehenden Projekten schon diese Module aktiviert worden, werden die Einstellungen für diese Projekte erst nach erneuten Abspeichern der jeweiligen Projekteinstellungen aktiv."
error_query_statement_invalid: An error occurred while executing the query and has been logged. Please report this error to your Redmine administrator.
error_issue_status_could_not_changed: Der Ticket-Status konnte nicht geändert werden
@ -55,7 +54,6 @@ de:
label_app_menu: App Menü
label_change_is_private: Privat/Nicht-Privat ändern
label_content_plural: Inhalte
label_custom_help_url: "URL zur Hilfeseite"
label_custom_menu_items: Benutzerdefinierte Menüpunkte
label_daily: täglich
label_day: Tag

View File

@ -19,7 +19,6 @@ en:
account_login_info: "This text message will be shown at the login page and should be used for registration information. These settings are active in all projects."
add_go_to_top_info: 'If you have a lot of long pages, it is helpful to add a jump to top link.'
button_assign_to_me: Assign to me
custom_help_url_info_html: "If no URL is specified, the default help URL will be used."
disabled_modules_info: "Modules which should not be available for selection within the projects. If these modules already activated in existing projects, you will have to change and re-save the respective project settings first."
error_query_statement_invalid: An error occurred while executing the query and has been logged. Please report this error to your Redmine administrator.
error_issue_status_could_not_changed: Issue state could not be changed
@ -55,7 +54,6 @@ en:
label_app_menu: App menu
label_change_is_private: Change private/non-private
label_content_plural: Contents
label_custom_help_url: "Custom Help URL"
label_custom_menu_items: Custom menu items
label_daily: daily
label_day: day

View File

@ -19,7 +19,6 @@ fr:
account_login_info: "Ce message texte sera affiché à la page de connexion et devrait être utilisé pour les informations d'inscription. Ces options sont actives dans tous les projets."
add_go_to_top_info: "Si vous avez beaucoup de pages longues, il est utile d'ajouter un saut au lien du haut."
button_assign_to_me: Assign to me
custom_help_url_info_html: "Après avoir modifié cette URL, vous devez redémarrer le serveur d'application pour l'activer. Si aucune URL n'est spécifiée, l'URL d'aide par défaut sera utilisée."
disabled_modules_info: "Les modules qui ne devraient pas être disponibles pour la sélection dans le cadre des projets. Si ces modules sont déjà activés dans des projets existants, vous devez d'abord modifier et sauvegarder à nouveau les paramètres de projet respectifs."
error_query_statement_invalid: "Une erreur s'est produite lors de l'exécution de la requête et a été enregistrée. Veuillez signaler cette erreur à votre administrateur Redmine."
error_issue_status_could_not_changed: "L'état de la question n'a pas pu être modifié"
@ -55,7 +54,6 @@ fr:
label_app_menu: App menu
label_change_is_private: Change private/non-private
label_content_plural: Contents
label_custom_help_url: "URL d'aide personnalisée"
label_custom_menu_items: Éléments de menu personnalisés
label_daily: tous les jours
label_day: Jour

View File

@ -19,7 +19,6 @@ it:
account_login_info: "This text message will be shown at the login page and should be used for registration information. These settings are active in all projects."
add_go_to_top_info: 'Se hai un sacco di pagine lunghe, è utile aggiungere un To top link principale.'
button_assign_to_me: Assign to me
custom_help_url_info_html: "After changing this URL, you have to restart the application server to activate it. If no URL is specified, the default help URL will be used."
disabled_modules_info: "Modules which should not be available for selection within the projects. If these modules already activated in existing projects, you will have to change and re-save the respective project settings first."
error_query_statement_invalid: An error occurred while executing the query and has been logged. Please report this error to your Redmine administrator.
error_issue_status_could_not_changed: Issue state could not be changed
@ -55,7 +54,6 @@ it:
label_app_menu: App menu
label_change_is_private: Change private/non-private
label_content_plural: Il contentuto
label_custom_help_url: "Custom Help URL"
label_custom_menu_items: Custom menu items
label_daily: giornalmente
label_day: giorno

View File

@ -19,7 +19,6 @@ ja:
account_login_info: "この文章は、ログイン画面で表示され、登録情報の掲載を目的にしています。これらの設定は全プロジェクトで有効です。"
add_go_to_top_info: '長いページが多い場合、「トップへ」のリンクは役立ちます。'
button_assign_to_me: Assign to me
custom_help_url_info_html: "このURLを変更した後、反映するためにウェブサーバを再起動しなければなりません。URLの指定がない場合、規程のヘルプURLが使用されます。"
disabled_modules_info: "プロジェクト内で選択させたくないモジュール。もしこのモジュールが既存のプロジェクトで既に有効な場合、設定変更した上で、ウェブサーバを再起動しなければなりません。"
error_query_statement_invalid: An error occurred while executing the query and has been logged. Please report this error to your Redmine administrator.
error_issue_status_could_not_changed: Issue state could not be changed
@ -55,7 +54,6 @@ ja:
label_app_menu: App menu
label_change_is_private: Change private/non-private
label_content_plural: Contents
label_custom_help_url: "カスタムヘルプURL"
label_custom_menu_items: Custom menu items
label_daily: daily
label_day: day

View File

@ -19,7 +19,6 @@
account_login_info: "在登入頁面顯示的註冊訊息。該選項是通用選項。"
add_go_to_top_info: "如果你有很長的頁面,建議增加 \"回到頁首\" 的按鈕。"
button_assign_to_me: Assign to me
custom_help_url_info_html: "修改連結後您必須重啟redmine。若未設定連結將使用預設的幫助連結。"
disabled_modules_info: "專案中無法選擇模組。如果這些模組已經在現有專案中啟用,必須先變更對應的專案設定。"
error_query_statement_invalid: An error occurred while executing the query and has been logged. Please report this error to your Redmine administrator.
error_issue_status_could_not_changed: Issue state could not be changed
@ -55,7 +54,6 @@
label_app_menu: App 選單
label_change_is_private: Change private/non-private
label_content_plural: 内容
label_custom_help_url: "自訂幫助連結"
label_custom_menu_items: "自訂選單項目"
label_daily: 每天
label_day:

View File

@ -19,7 +19,6 @@ zh:
account_login_info: "该文本信息将在登录页作为注册信息展现。该选项是全局选项。"
add_go_to_top_info: '如果您有很长的页面,添加"回到页首"的功能将非常有用。'
button_assign_to_me: Assign to me
custom_help_url_info_html: "在修改了 URL 后,您必须重启服务以激活该配置。若未指定 URL则使用默认的帮助 URL 地址。"
disabled_modules_info: "项目中无法选择模块。如果这些模块已经在现有项目中激活,则必须首先更改并重新保存响应的项目设置。"
error_query_statement_invalid: An error occurred while executing the query and has been logged. Please report this error to your Redmine administrator.
error_issue_status_could_not_changed: Issue state could not be changed
@ -55,7 +54,6 @@ zh:
label_app_menu: App menu
label_change_is_private: Change private/non-private
label_content_plural: 内容
label_custom_help_url: "自定义帮助 URL"
label_custom_menu_items: 自定义菜单项
label_daily: 每天
label_day:

View File

@ -1,7 +1,6 @@
---
account_login_bottom: ''
add_go_to_top: 0
custom_help_url: 'http://www.redmine.org/guide'
disabled_modules:
external_urls: 1
global_footer: ''