From f66fe7c2913618e64ff764d20c377691a6d1a22a Mon Sep 17 00:00:00 2001 From: Baptiste Gelez Date: Sat, 6 Apr 2019 18:44:48 +0100 Subject: [PATCH] Fix tabs on user page --- templates/users/followed.rs.html | 4 ++-- templates/users/followers.rs.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/users/followed.rs.html b/templates/users/followed.rs.html index 9dbc536b..ce4e1146 100644 --- a/templates/users/followed.rs.html +++ b/templates/users/followed.rs.html @@ -9,9 +9,9 @@ @:header(ctx, &user, follows, is_remote, remote_url) @tabs(&[ - (&uri!(user::details: name = &user.fqn).to_string(), i18n!(ctx.1, "Articles"), true), + (&uri!(user::details: name = &user.fqn).to_string(), i18n!(ctx.1, "Articles"), false), (&uri!(user::followers: name = &user.fqn, page = _).to_string(), i18n!(ctx.1, "Subscribers"), false), - (&uri!(user::followed: name = &user.fqn, page = _).to_string(), i18n!(ctx.1, "Subscriptions"), false) + (&uri!(user::followed: name = &user.fqn, page = _).to_string(), i18n!(ctx.1, "Subscriptions"), true) ])
diff --git a/templates/users/followers.rs.html b/templates/users/followers.rs.html index 744adf02..762c85bc 100644 --- a/templates/users/followers.rs.html +++ b/templates/users/followers.rs.html @@ -9,8 +9,8 @@ @:header(ctx, &user, follows, is_remote, remote_url) @tabs(&[ - (&uri!(user::details: name = &user.fqn).to_string(), i18n!(ctx.1, "Articles"), true), - (&uri!(user::followers: name = &user.fqn, page = _).to_string(), i18n!(ctx.1, "Subscribers"), false), + (&uri!(user::details: name = &user.fqn).to_string(), i18n!(ctx.1, "Articles"), false), + (&uri!(user::followers: name = &user.fqn, page = _).to_string(), i18n!(ctx.1, "Subscribers"), true), (&uri!(user::followed: name = &user.fqn, page = _).to_string(), i18n!(ctx.1, "Subscriptions"), false) ]) -- 2.45.3