'ConfluenceService|Your GitLab Wiki can be accessed here: %{wiki_link}. To re-enable your GitLab Wiki, disable this integration'%
{wiki_link:link_to(wiki_url,wiki_url)}
).html_safe
else
s_('ConfluenceService|Enabling the Confluence Workspace will disable the default GitLab Wiki. Your GitLab Wiki data will be saved and you can always re-enable it later by turning off this integration').html_safe
end
end
deffields
[
{
type:'text',
name:'confluence_url',
title:'Confluence Cloud Workspace URL',
placeholder:s_('ConfluenceService|The URL of the Confluence Workspace'),
required:true
}
]
end
defcan_test?
false
end
private
defvalidate_confluence_url_is_cloud
unlessconfluence_uri_valid?
errors.add(:confluence_url,'URL must be to a Confluence Cloud Workspace hosted on atlassian.net')