summaryrefslogtreecommitdiff
diff options
authorGuillermo Gonzalez <guillermo.gonzalez@canonical.com>2023-05-23 10:10:25 -0300
committerGuillermo Gonzalez <guillermo.gonzalez@canonical.com>2023-05-23 10:10:25 -0300
commitf794e3778b05cea18ecbaa51b56ab37d857cbad9 (patch)
treef99ae15f2663d71c876aee022cb582ac2f9d3de4
parent1871fa5c64e06df8f6163d10e79730d83134e37d (diff)
add version class to the column used for the version/hash in project_info.html and update css to hide the overflow text using ellipsis
-rw-r--r--revtracker/static/scss/deploy_tracker.scss6
-rw-r--r--revtracker/templates/revtracker/project_info.html2
2 files changed, 7 insertions, 1 deletions
diff --git a/revtracker/static/scss/deploy_tracker.scss b/revtracker/static/scss/deploy_tracker.scss
index dba9c2a..e53fd3b 100644
--- a/revtracker/static/scss/deploy_tracker.scss
+++ b/revtracker/static/scss/deploy_tracker.scss
@@ -225,3 +225,9 @@ textarea.editor {
width: 95%;
min-height: 200px;
}
+
+.three.columns.version{
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ overflow: hidden;
+}
diff --git a/revtracker/templates/revtracker/project_info.html b/revtracker/templates/revtracker/project_info.html
index 546a222..1493840 100644
--- a/revtracker/templates/revtracker/project_info.html
+++ b/revtracker/templates/revtracker/project_info.html
@@ -25,7 +25,7 @@
{{#each existing_deployments}}
<div class="alpha four columns main">&nbsp;</div>
<div class="existing_deployment three columns">{{this.name}}</div>
- <div class="existing_deployment three columns">{{this.current_version}}</div>
+ <div class="existing_deployment three columns version">{{this.current_version}}</div>
<div class="existing_deployment three columns omega">{{this.date_updated}}</div>
{{/each}}
</div>