mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-03-25 01:34:19 +00:00
fixed avatar url as we moved it in the reuse pr
Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
c63e92e47f
commit
63de77ccdd
8 changed files with 11 additions and 11 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"id": "mockUser",
|
||||
"photo": "/avatar.png",
|
||||
"photo": "/img/avatar.png",
|
||||
"name": "Test",
|
||||
"status": "ok",
|
||||
"provider": "internal"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"id": "dermolly",
|
||||
"photo": "/avatar.png",
|
||||
"photo": "/img/avatar.png",
|
||||
"name": "Philip",
|
||||
"status": "ok",
|
||||
"provider": "internal"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"id": "emcrx",
|
||||
"photo": "/avatar.png",
|
||||
"photo": "/img/avatar.png",
|
||||
"name": "Erik",
|
||||
"status": "ok",
|
||||
"provider": "internal"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"id": "mrdrogdrog",
|
||||
"photo": "/avatar.png",
|
||||
"photo": "/img/avatar.png",
|
||||
"name": "Tilman",
|
||||
"status": "ok",
|
||||
"provider": "internal"
|
||||
|
|
|
@ -19,10 +19,10 @@ const ConnectionIndicator: React.FC = () => {
|
|||
</Dropdown.Toggle>
|
||||
<Dropdown.Menu>
|
||||
<Dropdown.Item disabled={true} className="d-flex align-items-center p-0">
|
||||
<UserLine name="Philip Molares" photo="/avatar.png" color="red" status={ActiveIndicatorStatus.INACTIVE}/>
|
||||
<UserLine name="Philip Molares" photo="/img/avatar.png" color="red" status={ActiveIndicatorStatus.INACTIVE}/>
|
||||
</Dropdown.Item>
|
||||
<Dropdown.Item disabled={true} className="d-flex align-items-center p-0">
|
||||
<UserLine name="Philip Molares" photo="/avatar.png" color="blue" status={ActiveIndicatorStatus.ACTIVE}/>
|
||||
<UserLine name="Philip Molares" photo="/img/avatar.png" color="blue" status={ActiveIndicatorStatus.ACTIVE}/>
|
||||
</Dropdown.Item>
|
||||
</Dropdown.Menu>
|
||||
</Dropdown>
|
||||
|
|
|
@ -34,7 +34,7 @@ export const DocumentInfoButton: React.FC = () => {
|
|||
mode={DocumentInfoLineWithTimeMode.CREATED}
|
||||
time={DateTime.local().minus({ days: 11 })}
|
||||
userName={'Tilman'}
|
||||
profileImageSrc={'/avatar.png'}/>
|
||||
profileImageSrc={'/img/avatar.png'}/>
|
||||
</ListGroup.Item>
|
||||
<ListGroup.Item>
|
||||
<DocumentInfoTimeLine
|
||||
|
@ -42,7 +42,7 @@ export const DocumentInfoButton: React.FC = () => {
|
|||
mode={DocumentInfoLineWithTimeMode.EDITED}
|
||||
time={DateTime.local().minus({ minutes: 3 })}
|
||||
userName={'Philip'}
|
||||
profileImageSrc={'/avatar.png'}/>
|
||||
profileImageSrc={'/img/avatar.png'}/>
|
||||
</ListGroup.Item>
|
||||
<ListGroup.Item>
|
||||
<DocumentInfoLine icon={'users'} size={'2x'}>
|
||||
|
|
|
@ -114,7 +114,7 @@ export const PermissionModal: React.FC<PermissionsModalProps> = ({ show, onChang
|
|||
const addUser = (name: Principal['name']) => {
|
||||
setUserList(list => list.concat({
|
||||
id: name,
|
||||
photo: '/avatar.png',
|
||||
photo: '/img/avatar.png',
|
||||
name: name,
|
||||
canEdit: false
|
||||
}))
|
||||
|
|
|
@ -45,12 +45,12 @@ export const DocumentInfobar: React.FC<DocumentInfobarProps> = ({
|
|||
mode={DocumentInfoLineWithTimeMode.CREATED}
|
||||
time={ DateTime.fromSeconds(createdTime) }
|
||||
userName={createdAuthor}
|
||||
profileImageSrc={'/avatar.png'}/>
|
||||
profileImageSrc={'/img/avatar.png'}/>
|
||||
<DocumentInfoTimeLine
|
||||
mode={DocumentInfoLineWithTimeMode.EDITED}
|
||||
time={ DateTime.fromSeconds(changedTime) }
|
||||
userName={changedAuthor}
|
||||
profileImageSrc={'/avatar.png'}/>
|
||||
profileImageSrc={'/img/avatar.png'}/>
|
||||
<hr/>
|
||||
</div>
|
||||
<span className={'ml-auto'}>
|
||||
|
|
Loading…
Reference in a new issue