From 32aeeac09ae99bca91f155ce5ad61d6779cb8ecf Mon Sep 17 00:00:00 2001 From: Ryan Lerch Date: Dec 02 2017 12:20:18 +0000 Subject: Make all parts of hubs require login This makes everything in hubs require the user to login, except for the new index.html page that provides a brief overview of hubs, and login / signup links. This also comments out the IRC icon in the topbar too. fixes #473 #471 --- diff --git a/hubs/templates/index.html b/hubs/templates/index.html new file mode 100644 index 0000000..e0f1292 --- /dev/null +++ b/hubs/templates/index.html @@ -0,0 +1,25 @@ +{% extends "master.html" %} + +{% block title %}Fedora Hubs{% endblock %} + + +{% block fullcontent %} +
+
+

Welcome to Fedora Hubs

+

+ Fedora Hubs is the communication and collaboration center + for Fedora contributors of all types. Use Hubs to check your + involvements across Fedora and discover new teams to help out. + For new contributors, Hubs is a place to get started + collaborating with others. +

+
+

Fedora Hubs uses the Fedora Account System (FAS) for authentication

+

+ Create a FAS Account + Login with FAS +

+
+
+{% endblock fullcontent %} diff --git a/hubs/templates/master.html b/hubs/templates/master.html index de8d6cb..5165328 100644 --- a/hubs/templates/master.html +++ b/hubs/templates/master.html @@ -27,20 +27,23 @@
+ {% if g.auth.logged_in %}
-
+
+ {% endif %}