From e1becbd5b071088ebffbb150fc3c001c00f574d0 Mon Sep 17 00:00:00 2001 From: Adam Drake <drakeadam02@gmail.com> Date: Thu, 2 May 2024 13:12:44 +0100 Subject: [PATCH] Removed debug model id showing on posts --- prediction_service/templates/prediction_service/home-AI.html | 2 +- prediction_service/templates/prediction_service/home-Admin.html | 2 +- prediction_service/templates/prediction_service/home.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/prediction_service/templates/prediction_service/home-AI.html b/prediction_service/templates/prediction_service/home-AI.html index bd04034..9ec7e5f 100644 --- a/prediction_service/templates/prediction_service/home-AI.html +++ b/prediction_service/templates/prediction_service/home-AI.html @@ -11,7 +11,7 @@ {% for post in posts %} <div class="card" style="width: 18rem; margin-right: 15px;"> <div class="card-body"> - <h5 class="card-title">{{post.title}} ID: {{post.mlmodel.id}}</h5> + <h5 class="card-title">{{post.title}}</h5> <h6 class="card-subtitle mb-2 text-muted">By {{ post.author }} on {{ post.date_posted }}</h6> <p class="card-text">{{ post.content }}</p> <a href="/mlmodel/{{post.mlmodel.id}}" class="card-link">Ml-Model</a> diff --git a/prediction_service/templates/prediction_service/home-Admin.html b/prediction_service/templates/prediction_service/home-Admin.html index eb2112f..eaacaf5 100644 --- a/prediction_service/templates/prediction_service/home-Admin.html +++ b/prediction_service/templates/prediction_service/home-Admin.html @@ -11,7 +11,7 @@ {% for post in posts %} <div class="card" style="width: 18rem; margin-right: 15px; margin-bottom: 20px;"> <div class="card-body"> - <h5 class="card-title">{{post.title}} ID: {{post.mlmodel.id}}</h5> + <h5 class="card-title">{{post.title}}</h5> <h6 class="card-subtitle mb-2 text-muted">By {{ post.author }} on {{ post.date_posted }}</h6> <p class="card-text">{{ post.content }}</p> <a href="/mlmodel/{{post.mlmodel.id}}" class="card-link">Ml-Model</a> diff --git a/prediction_service/templates/prediction_service/home.html b/prediction_service/templates/prediction_service/home.html index a39871b..df9ab13 100644 --- a/prediction_service/templates/prediction_service/home.html +++ b/prediction_service/templates/prediction_service/home.html @@ -11,7 +11,7 @@ {% for post in posts %} <div class="card" style="width: 18rem; margin-right: 15px;"> <div class="card-body"> - <h5 class="card-title">{{post.title}} ID: {{post.mlmodel.id}}</h5> + <h5 class="card-title">{{post.title}}</h5> <h6 class="card-subtitle mb-2 text-muted">By {{ post.author }} on {{ post.date_posted }}</h6> <p class="card-text">{{ post.content }}</p> <a href="/mlmodel/{{post.mlmodel.id}}" class="card-link">Ml-Model</a> -- GitLab