Commit 9422be47 authored by coconux's avatar coconux
Browse files

review label generation, add labels on index

parent 18a2fe14
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -259,3 +259,21 @@ button.md-button-center:hover {
a.banner-link:hover {
    font-weight: bold;;
}

.label{
  display: inline-flex;
  border-radius: 8px;
  background-color: #00B1D2;
  margin-right: 0.5rem;
  padding: 0.2rem 0.4rem 0.2rem 0.4rem;
  margin-bottom:0.4rem;
  opacity: 1;
  color:white;
}
.label > a{
  color:white;
  cursor: pointer;
}
.labels_zone{
  font-size:0.7rem;
}
+5 −2
Original line number Diff line number Diff line
@@ -4,5 +4,8 @@ default_stage: static_tests
icon: 🔐
maintainer: FulcrandG
license: MIT
platforms: GitLab, GitHub
benefits: Security, Robustness, Quality, Quality, Quality, Quality, Quality, Quality, Quality
labels:
  - GitLab
  - Security
  - Robustness
  - Quality
+6 −2
Original line number Diff line number Diff line
@@ -4,5 +4,9 @@ default_stage: static_tests
icon: 🔗
maintainer: Protocole
license: MIT
platforms: GitLab
benefits: Security
labels:
  - GitLab
  - GitHub
  - Security
  - Robustness
  - Quality
+3 −2
Original line number Diff line number Diff line
@@ -4,5 +4,6 @@ default_stage: static_tests
icon: 👁
maintainer: Protocole
license: MIT
platforms: GitLab
benefits: Security
labels:
  - GitLab
  - GitHub
+2 −4
Original line number Diff line number Diff line
@@ -276,8 +276,7 @@ def create_job_doc(job):
    user = get_user(code_owner)
    job_raw_content = get_job_raw_content(job)
    job_icon = conf.get("icon")
    job_platforms = conf.get("platforms")
    job_benefits = conf.get("benefits")
    job_labels = conf.get("labels")

    # Write final file
    try:
@@ -299,8 +298,7 @@ def create_job_doc(job):
                screenshot_path = screenshot_path,
                screenshots_files = screenshots_files,
                job_raw_content = ''.join(job_raw_content),
                job_platforms = job_platforms,
                job_benefits= job_benefits
                job_labels = job_labels
        ))
    except Exception as error:
        logging.error("Failed to create final file for job %s", job)
Loading