Commit 0fe6715e authored by Jerome Chauveau's avatar Jerome Chauveau
Browse files

bump to vue3-jama 0.7.5

parent aa9db9b5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
__version__ = "0.1.76"
__version__ = "0.1.77"
+2 −0
Original line number Diff line number Diff line
@@ -105,6 +105,8 @@ CSRF_TRUSTED_ORIGINS = [JAMA_SITE[:-1]]

JAMA_HLS_ENDPOINT = os.getenv("JAMA_HLS_ENDPOINT") or "http://localhost/hls/"

JAMA_UI_ANNOTATIONS = True if os.getenv("JAMA_UI_ANNOTATIONS") == "1" else False

# Application definition

INSTALLED_APPS = [
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@
    "preview": "vite preview"
  },
  "dependencies": {
    "@pdn-certic/vue3-jama": "0.7.4",
    "@pdn-certic/vue3-jama": "0.7.5",
    "vue": "^3.5.25"
  },
  "devDependencies": {
+1 −1
Original line number Diff line number Diff line
@@ -9,6 +9,6 @@
    <title>Jama UI - Vue 3</title>
</head>
<body>
<div id="app"></div>
<div id="app" data-annotations="{{ annotations }}"></div>
</body>
</html>
 No newline at end of file
+6 −1
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@ from django.shortcuts import render
from django.contrib.auth.decorators import login_required
from django.http import HttpRequest, HttpResponse
from rpc import methods as jama
from jama.settings import JAMA_UI_ANNOTATIONS


@login_required
@@ -14,5 +15,9 @@ def index(request: HttpRequest) -> HttpResponse:
    return render(
        request,
        "ui/index.html",
        {"accesses": accesses, "choose_project_page": True},
        {
            "accesses": accesses,
            "choose_project_page": True,
            "annotations": JAMA_UI_ANNOTATIONS,
        },
    )