aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-12-20 15:35:09 +0000
committerOlivier Lamy <olamy@apache.org>2012-12-20 15:35:09 +0000
commita86b4e4bacd187a5bc727f01b712abc26651ff49 (patch)
tree04e71e5a8c24f594f660b30575afde972bc57f80 /archiva-modules
parent9682660dbcff0ef77676b25fbbea80e5f6bdf361 (diff)
downloadarchiva-a86b4e4bacd187a5bc727f01b712abc26651ff49.tar.gz
archiva-a86b4e4bacd187a5bc727f01b712abc26651ff49.zip
more tooltip on form content
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1424535 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules')
-rw-r--r--archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties26
-rw-r--r--archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/repositories.html71
2 files changed, 90 insertions, 7 deletions
diff --git a/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties b/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties
index ea1b7949d..2c267c600 100644
--- a/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties
+++ b/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties
@@ -152,7 +152,7 @@ downloadRemoteIndex=Download Remote Index
remoteIndexUrl=Remote Index Url
remoteDownloadNetworkProxyId=Proxy for Remote Download Index
downloadRemoteIndexOnStartup=Download Remote Index on Startup
-remoteDownloadTimeout=Download Remote Timeout
+remoteDownloadTimeout=Download Remote Index Timeout
remoterepository.added=Remote Repository added.
remoterepositories.bulk.save.confirm=Are you sure to update {0} Remote Repository(ies)
remoterepositories.bulk.save.confirm.title=Remote Repositories Bulk Save
@@ -165,6 +165,30 @@ remoterepository.delete.confirm=Are you sure to delete Remote Repository {0} ?
remoterepository.deleted=Remote repository {0} deleted.
remoteRepository.extraParametersEntries=Additionnal url parameters
remoteRepository.extraHeadersEntries=Additionnal Http Headers
+remoteRepository.timeout.help.title=Download Timeout
+remoteRepository.timeout.help.content=Timeout in secondes for downloading files from remote repository.
+remoteRepository.userName.help.title=Username
+remoteRepository.userName.help.content=If connecting to this repository need a username
+remoteRepository.password.help.title=Password
+remoteRepository.password.help.content=If connecting to this repository need a password
+remoteRepository.downloadRemoteIndex.help.title=Download Remote Index
+remoteRepository.downloadRemoteIndex.help.content=To activate Download Remote Index
+remoteRepository.remoteIndexUrl.help.title=Remote Index URL
+remoteRepository.remoteIndexUrl.help.content=URL of the Remote Index can full or relative to the repository URL
+remoteRepository.indexDirectory.help.title=Index Directory
+remoteRepository.indexDirectory.help.content=Directory to store remote Index can be full path or relative to the repository path
+remoteRepository.remoteDownloadTimeout.help.title=Remote Download Index Timeout
+remoteRepository.remoteDownloadTimeout.help.content=Timeout in secondes to download Remote Index.
+remoteRepository.remoteDownloadNetworkProxyId.help.title=Proxy ID
+remoteRepository.remoteDownloadNetworkProxyId.help.content=Proxy to User for downloading remote Index
+remoteRepository.description.help.title=Description
+remoteRepository.description.help.content=Free text to describe your repository
+remoteRepository.extraParametersEntries.help.title=Extra Url Parameters
+remoteRepository.extraParametersEntries.help.content=Key/Value pair you want to add to the url when asking the remote repository.
+remoteRepository.extraHeadersEntries.help.title=Extra HTTP Headers
+remoteRepository.extraHeadersEntries.help.content=Key/Value pair HTTP headers you want to add when asking the remote repository.
+
+
#network proxy
diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/repositories.html b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/repositories.html
index e2bf372a1..97fae7f43 100644
--- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/repositories.html
+++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/repositories.html
@@ -577,14 +577,23 @@
<div class="controls">
<input type="text" class="input-xlarge" id="userName" name="userName" size="50"
data-bind="value: remoteRepository.userName"/>
+ <a class="btn btn-warning btn-mini popover-doc" id="remoteRepository-userName-info-button"
+ data-original-title="${$.i18n.prop('remoteRepository.userName.help.title')}"
+ data-content="${$.i18n.prop('remoteRepository.userName.help.content')}">
+ <i class="icon-question-sign icon-white"></i>
+ </a>
</div>
</div>
<div class="control-group">
<label class="control-label" for="password">${$.i18n.prop('password')}</label>
-
<div class="controls">
<input type="password" class="input-xlarge" id="password" name="password" size="50"
data-bind="value: remoteRepository.password"/>
+ <a class="btn btn-warning btn-mini popover-doc" id="remoteRepository-password-info-button"
+ data-original-title="${$.i18n.prop('remoteRepository.password.help.title')}"
+ data-content="${$.i18n.prop('remoteRepository.password.help.content')}">
+ <i class="icon-question-sign icon-white"></i>
+ </a>
</div>
</div>
<div class="control-group">
@@ -593,6 +602,11 @@
<div class="controls">
<input type="text" id="timeout" class="digits" name="daysOlder" size="5"
data-bind="value: remoteRepository.timeout"/>
+ <a class="btn btn-warning btn-mini popover-doc" id="remoteRepository-timeout-info-button"
+ data-original-title="${$.i18n.prop('remoteRepository.timeout.help.title')}"
+ data-content="${$.i18n.prop('remoteRepository.timeout.help.content')}">
+ <i class="icon-question-sign icon-white"></i>
+ </a>
</div>
</div>
@@ -610,6 +624,11 @@
<div class="controls">
<input type="checkbox" id="downloadRemoteIndex" name="downloadRemoteIndex" size="5"
data-bind="checked: remoteRepository.downloadRemoteIndex"/>
+ <a class="btn btn-warning btn-mini popover-doc" id="remoteRepository-downloadRemoteIndex-info-button"
+ data-original-title="${$.i18n.prop('remoteRepository.downloadRemoteIndex.help.title')}"
+ data-content="${$.i18n.prop('remoteRepository.downloadRemoteIndex.help.content')}">
+ <i class="icon-question-sign icon-white"></i>
+ </a>
</div>
</div>
@@ -619,6 +638,11 @@
<div class="controls">
<input type="text" class="input-xxlarge" id="remoteIndexUrl" name="remoteIndexUrl" size="5"
data-bind="value: remoteRepository.remoteIndexUrl"/>
+ <a class="btn btn-warning btn-mini popover-doc" id="remoteRepository-remoteIndexUrl-info-button"
+ data-original-title="${$.i18n.prop('remoteRepository.remoteIndexUrl.help.title')}"
+ data-content="${$.i18n.prop('remoteRepository.remoteIndexUrl.help.content')}">
+ <i class="icon-question-sign icon-white"></i>
+ </a>
</div>
</div>
<div class="control-group">
@@ -640,6 +664,11 @@
<div class="controls">
<input type="text" class="input-xlarge" id="indexDirectory" name="indexDirectory" size="50"
data-bind="value: remoteRepository.indexDirectory"/>
+ <a class="btn btn-warning btn-mini popover-doc" id="remoteRepository-indexDirectory-info-button"
+ data-original-title="${$.i18n.prop('remoteRepository.indexDirectory.help.title')}"
+ data-content="${$.i18n.prop('remoteRepository.indexDirectory.help.content')}">
+ <i class="icon-question-sign icon-white"></i>
+ </a>
</div>
</div>
<div class="control-group">
@@ -648,6 +677,11 @@
<div class="controls">
<input type="text" id="remoteDownloadTimeout" class="digits" name="remoteDownloadTimeout" size="5"
data-bind="value: remoteRepository.remoteDownloadTimeout"/>
+ <a class="btn btn-warning btn-mini popover-doc" id="remoteRepository-remoteDownloadTimeout-info-button"
+ data-original-title="${$.i18n.prop('remoteRepository.remoteDownloadTimeout.help.title')}"
+ data-content="${$.i18n.prop('remoteRepository.remoteDownloadTimeout.help.content')}">
+ <i class="icon-question-sign icon-white"></i>
+ </a>
</div>
</div>
@@ -658,6 +692,11 @@
<div class="controls">
<select id="remoteDownloadNetworkProxyId"
data-bind="options: networkProxies, optionsText: 'id',optionsValue:'id', value: remoteRepository.remoteDownloadNetworkProxyId, optionsCaption: 'Choose...'"></select>
+ <a class="btn btn-warning btn-mini popover-doc" id="remoteRepository-remoteDownloadNetworkProxyId-info-button"
+ data-original-title="${$.i18n.prop('remoteRepository.remoteDownloadNetworkProxyId.help.title')}"
+ data-content="${$.i18n.prop('remoteRepository.remoteDownloadNetworkProxyId.help.content')}">
+ <i class="icon-question-sign icon-white"></i>
+ </a>
</div>
</div>
@@ -668,22 +707,37 @@
<div class="controls">
<input type="checkbox" id="downloadRemoteIndexOnStartup" name="downloadRemoteIndexOnStartup"
data-bind="checked: remoteRepository.downloadRemoteIndexOnStartup"/>
+ <a class="btn btn-warning btn-mini popover-doc" id="remoteRepository-remoteDownloadNetworkProxyId-info-button"
+ data-original-title="${$.i18n.prop('remoteRepository.remoteDownloadNetworkProxyId.help.title')}"
+ data-content="${$.i18n.prop('remoteRepository.remoteDownloadNetworkProxyId.help.content')}">
+ <i class="icon-question-sign icon-white"></i>
+ </a>
</div>
</div>
<div class="control-group">
- <label class="control-label" for="daysOlder">${$.i18n.prop('description')}</label>
+ <label class="control-label" for="description">${$.i18n.prop('description')}</label>
<div class="controls">
<textarea rows="3" id="description" name="description"
data-bind="value: remoteRepository.description"></textarea>
+ <a class="btn btn-warning btn-mini popover-doc" id="remoteRepository-description-info-button"
+ data-original-title="${$.i18n.prop('remoteRepository.description.help.title')}"
+ data-content="${$.i18n.prop('remoteRepository.description.help.content')}">
+ <i class="icon-question-sign icon-white"></i>
+ </a>
</div>
</div>
<div class="row-fluid">
<div class="control-group span6">
- <h4>${$.i18n.prop('remoteRepository.extraParametersEntries')}</h4>
-
+ <h4>${$.i18n.prop('remoteRepository.extraParametersEntries')}
+ </h4>
+ <a class="btn btn-warning btn-mini popover-doc" id="remoteRepository-extraParametersEntries-info-button"
+ data-original-title="${$.i18n.prop('remoteRepository.extraParametersEntries.help.title')}"
+ data-content="${$.i18n.prop('remoteRepository.extraParametersEntries.help.content')}">
+ <i class="icon-question-sign icon-white"></i>
+ </a>
<div id="extra-parameters-error"></div>
<table class="table">
<thead>
@@ -707,8 +761,13 @@
<div class="row-fluid">
<div class="control-group span6">
- <h4>${$.i18n.prop('remoteRepository.extraHeadersEntries')}</h4>
-
+ <h4>${$.i18n.prop('remoteRepository.extraHeadersEntries')}
+ </h4>
+ <a class="btn btn-warning btn-mini popover-doc" id="remoteRepository-extraHeadersEntries-info-button"
+ data-original-title="${$.i18n.prop('remoteRepository.extraHeadersEntries.help.title')}"
+ data-content="${$.i18n.prop('remoteRepository.extraHeadersEntries.help.content')}">
+ <i class="icon-question-sign icon-white"></i>
+ </a>
<div id="extra-headers-error"></div>
<table class="table">
<thead>