From 9debe52e9bdc86247202e3647e50e1981fad7cac Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: May 14 2018 10:02:06 +0000 Subject: [frontend] Add openSUSE logo and naming override --- diff --git a/frontend/coprs_frontend/coprs/static/chroot_logodir/opensuse-leap_logo.png b/frontend/coprs_frontend/coprs/static/chroot_logodir/opensuse-leap_logo.png new file mode 120000 index 0000000..16b838d --- /dev/null +++ b/frontend/coprs_frontend/coprs/static/chroot_logodir/opensuse-leap_logo.png @@ -0,0 +1 @@ +../geeko_logo.png \ No newline at end of file diff --git a/frontend/coprs_frontend/coprs/static/chroot_logodir/opensuse_logo.png b/frontend/coprs_frontend/coprs/static/chroot_logodir/opensuse_logo.png new file mode 120000 index 0000000..16b838d --- /dev/null +++ b/frontend/coprs_frontend/coprs/static/chroot_logodir/opensuse_logo.png @@ -0,0 +1 @@ +../geeko_logo.png \ No newline at end of file diff --git a/frontend/coprs_frontend/coprs/static/geeko_logo.png b/frontend/coprs_frontend/coprs/static/geeko_logo.png new file mode 100644 index 0000000..e8805a5 Binary files /dev/null and b/frontend/coprs_frontend/coprs/static/geeko_logo.png differ diff --git a/frontend/coprs_frontend/coprs/templates/_helpers.html b/frontend/coprs_frontend/coprs/templates/_helpers.html index 6446aeb..fcf7efc 100644 --- a/frontend/coprs_frontend/coprs/templates/_helpers.html +++ b/frontend/coprs_frontend/coprs/templates/_helpers.html @@ -150,6 +150,10 @@ {% endif %} {% if chroot.os_release == 'epel' %} Epel for CentOS {{ chroot.os_version }} + {% elif chroot.os_release == 'opensuse-leap' %} + openSUSE Leap {{ chroot.os_version }} + {% elif chroot.os_release == 'opensuse' and chroot.os_version == 'tumbleweed' %} + openSUSE Tumbleweed {% else %} {{ chroot.os_release | capitalize }} {{ chroot.os_version }} {% endif %}