aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/users/templates
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-05-09 14:22:27 +0200
committerStas Vilchik <vilchiks@gmail.com>2016-05-09 14:22:27 +0200
commit18d88fb429fbee1fb7b8aa4fc7d2dcb3021bb093 (patch)
tree9cbfd881c1d37896db1a25cd020cdd5681afc358 /server/sonar-web/src/main/js/apps/users/templates
parent5ff590a649e1b3bbf86dbb23ae9a4d504447acf9 (diff)
downloadsonarqube-18d88fb429fbee1fb7b8aa4fc7d2dcb3021bb093.tar.gz
sonarqube-18d88fb429fbee1fb7b8aa4fc7d2dcb3021bb093.zip
SONAR-7526 better display of long tokens
Diffstat (limited to 'server/sonar-web/src/main/js/apps/users/templates')
-rw-r--r--server/sonar-web/src/main/js/apps/users/templates/users-tokens.hbs8
1 files changed, 5 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/users/templates/users-tokens.hbs b/server/sonar-web/src/main/js/apps/users/templates/users-tokens.hbs
index c9d15489111..2e0b1ed9f35 100644
--- a/server/sonar-web/src/main/js/apps/users/templates/users-tokens.hbs
+++ b/server/sonar-web/src/main/js/apps/users/templates/users-tokens.hbs
@@ -18,7 +18,9 @@
{{#each tokens}}
<tr>
<td>
- {{name}}
+ <div title="{{name}}">
+ {{limitString name}}
+ </div>
</td>
<td class="thin nowrap text-right">
{{d createdAt}}
@@ -55,14 +57,14 @@
{{/each}}
<form class="js-generate-token-form">
- <input type="text" required maxlength="30" placeholder="Enter Token Name">
+ <input type="text" required maxlength="100" placeholder="Enter Token Name">
<button>Generate</button>
</form>
{{#if newToken}}
<div class="panel panel-white big-spacer-top">
<div class="alert alert-warning">
- New token "{{newToken.name}}" has been created. Make sure you copy it now, you won’t be able to see it again!
+ New token "{{limitString newToken.name}}" has been created. Make sure you copy it now, you won’t be able to see it again!
</div>
<table class="data">