Skip to content
Snippets Groups Projects
Commit e768e789 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Merge branch 'cherry-pick-df5d3aec' into 'scheduler'

Merge branch 'plotters' into 'scheduler'

[Plotters] It's possible to see the plotters available with various information on the plotter

Plotters view added to the platform. 
Contains:
- [x]  Plotters list and tables (and possibility to edit as admin)
- [x]  Plotter's view (public + user)
- [x]  Contains plotter's code and parameters + description
- [x]  Possibility to see reports containing the plotter (user + public)
- [x]  Added Plotters to statistics panel and activity stream user panel
- [x] Updated parts of the view and API
- [x] Added Plotters to drop down menus

See merge request !188

See merge request !189
parents 2f842952 c6fc65e8
No related branches found
No related tags found
2 merge requests!194Scheduler,!189Merge branch 'plotters' into 'scheduler'
Pipeline #
......@@ -82,6 +82,7 @@ def gather_contributions(requestor, author):
from ..team.models import Team
from ..attestations.models import Attestation
from ..reports.models import Report
from ..plotters.models import Plotter
from ..search.models import Search
experiments = Experiment.objects.for_user(requestor).filter(author=author)
......@@ -90,6 +91,7 @@ def gather_contributions(requestor, author):
libraries = Library.objects.for_user(requestor).filter(author=author)
dataformats = DataFormat.objects.for_user(requestor).filter(author=author)
teams = Team.objects.for_user(requestor).filter(owner=author)
plotters = Plotter.objects.for_user(requestor).filter(author=author)
if requestor == author:
attestations = Attestation.objects.filter(experiment__author=author)
else:
......@@ -112,6 +114,7 @@ def gather_contributions(requestor, author):
attestations=attestations,
searches=searches,
reports=reports,
plotters=plotters,
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment