From eeba66567c417434ba1c0613243e97f8a2503324 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Fri, 22 Feb 2019 20:35:19 -0800 Subject: [PATCH] feat: add "accout has moved" banner (#1032) fixes #472 --- bin/svgs.js | 3 +- src/routes/_components/Avatar.html | 3 +- .../_components/profile/AccountProfile.html | 15 +++- .../profile/AccountProfileHeader.html | 7 +- .../profile/AccountProfileMovedBanner.html | 90 +++++++++++++++++++ 5 files changed, 110 insertions(+), 8 deletions(-) create mode 100644 src/routes/_components/profile/AccountProfileMovedBanner.html diff --git a/bin/svgs.js b/bin/svgs.js index 19ee38b7..966b0c06 100644 --- a/bin/svgs.js +++ b/bin/svgs.js @@ -45,5 +45,6 @@ module.exports = [ { id: 'fa-search-minus', src: 'src/thirdparty/font-awesome-svg-png/white/svg/search-minus.svg' }, { id: 'fa-search-plus', src: 'src/thirdparty/font-awesome-svg-png/white/svg/search-plus.svg' }, { id: 'fa-share-square-o', src: 'src/thirdparty/font-awesome-svg-png/white/svg/share-square-o.svg' }, - { id: 'fa-flag', src: 'src/thirdparty/font-awesome-svg-png/white/svg/flag.svg' } + { id: 'fa-flag', src: 'src/thirdparty/font-awesome-svg-png/white/svg/flag.svg' }, + { id: 'fa-suitcase', src: 'src/thirdparty/font-awesome-svg-png/white/svg/suitcase.svg' } ] diff --git a/src/routes/_components/Avatar.html b/src/routes/_components/Avatar.html index 47d9c27b..f8d07998 100644 --- a/src/routes/_components/Avatar.html +++ b/src/routes/_components/Avatar.html @@ -52,7 +52,8 @@ className: void 0, loaded: false, error: void 0, - isLink: false + isLink: false, + size: 'medium' }), store: () => store, computed: { diff --git a/src/routes/_components/profile/AccountProfile.html b/src/routes/_components/profile/AccountProfile.html index 0432032b..e27c05e1 100644 --- a/src/routes/_components/profile/AccountProfile.html +++ b/src/routes/_components/profile/AccountProfile.html @@ -1,4 +1,7 @@

Profile for {accountName}

+{#if moved} + +{/if}