This is an automated email from the ASF dual-hosted git repository. nixon pushed a commit to branch branch-2.0 in repository https://gitbox.apache.org/repos/asf/atlas.git
commit 4287857bdae963f92d033d94e00e5edcf53e2a94 Author: prasad pawar <prasad.pa...@freestoneinfotech.com> AuthorDate: Fri May 21 13:56:52 2021 +0530 ATLAS-4294:Atlas UI : Format long description of Glossary term and category UI, fixed Signed-off-by: nixonrodrigues <ni...@apache.org> (cherry picked from commit f9d447d6ec0c6ac7a240b8965bac69fb4bf9c50d) --- dashboardv2/public/css/scss/common.scss | 6 ++++++ .../public/js/templates/glossary/GlossaryDetailLayoutView_tmpl.html | 4 ++-- dashboardv3/public/css/scss/common.scss | 6 ++++++ .../public/js/templates/glossary/GlossaryDetailLayoutView_tmpl.html | 4 ++-- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/dashboardv2/public/css/scss/common.scss b/dashboardv2/public/css/scss/common.scss index e93eef1..5bf8b61 100644 --- a/dashboardv2/public/css/scss/common.scss +++ b/dashboardv2/public/css/scss/common.scss @@ -338,4 +338,10 @@ pre { cursor: pointer; } } +} + +.long-description { + width: 85%; + cursor: default !important; + background-color: transparent !important; } \ No newline at end of file diff --git a/dashboardv2/public/js/templates/glossary/GlossaryDetailLayoutView_tmpl.html b/dashboardv2/public/js/templates/glossary/GlossaryDetailLayoutView_tmpl.html index 61a134c..4600df7 100644 --- a/dashboardv2/public/js/templates/glossary/GlossaryDetailLayoutView_tmpl.html +++ b/dashboardv2/public/js/templates/glossary/GlossaryDetailLayoutView_tmpl.html @@ -29,8 +29,8 @@ </div> <div class="form-group clearfix"> <span class="pull-left text-muted">Long Description: </span> - <div class="pull-left"> - <p data-id="longDescription"></p> + <div> + <textarea class="form-control long-description" name="longDescription" data-id="longDescription" disabled></textarea> </div> </div> {{#if isTermView}} diff --git a/dashboardv3/public/css/scss/common.scss b/dashboardv3/public/css/scss/common.scss index c620838..9310e20 100644 --- a/dashboardv3/public/css/scss/common.scss +++ b/dashboardv3/public/css/scss/common.scss @@ -337,4 +337,10 @@ pre { cursor: pointer; } } +} + +.long-description { + width: 85%; + cursor: default !important; + background-color: transparent !important; } \ No newline at end of file diff --git a/dashboardv3/public/js/templates/glossary/GlossaryDetailLayoutView_tmpl.html b/dashboardv3/public/js/templates/glossary/GlossaryDetailLayoutView_tmpl.html index 89ec57a..b69dac5 100644 --- a/dashboardv3/public/js/templates/glossary/GlossaryDetailLayoutView_tmpl.html +++ b/dashboardv3/public/js/templates/glossary/GlossaryDetailLayoutView_tmpl.html @@ -32,8 +32,8 @@ </div> <div class="form-group col-sm-12"> <span class="pull-left text-muted">Long Description: </span> - <div class="pull-left"> - <p data-id="longDescription"></p> + <div> + <textarea class="form-control long-description" name="longDescription" data-id="longDescription" disabled></textarea> </div> </div> {{#if isTermView}}