mirror of
https://github.com/wekan/wekan.git
synced 2025-12-15 23:10:13 +01:00
_,,ad8888888888bba,_
,ad88888I888888888888888ba,
,88888888I88888888888888888888a,
,d888888888I8888888888888888888888b,
d88888PP"""" ""YY88888888888888888888b,
,d88"'__,,--------,,,,.;ZZZY8888888888888,
,8IIl'" ;;l"ZZZIII8888888888,
,I88l;' ;lZZZZZ888III8888888,
,II88Zl;. ;llZZZZZ888888I888888,
,II888Zl;. .;;;;;lllZZZ888888I8888b
,II8888Z;; `;;;;;''llZZ8888888I8888,
II88888Z;' .;lZZZ8888888I888b
II88888Z; _,aaa, .,aaaaa,__.l;llZZZ88888888I888
II88888IZZZZZZZZZ, .ZZZZZZZZZZZZZZ;llZZ88888888I888,
II88888IZZ<'(@@>Z| |ZZZ<'(@@>ZZZZ;;llZZ888888888I88I
,II88888; `""" ;| |ZZ; `""" ;;llZ8888888888I888
II888888l `;; .;llZZ8888888888I888,
,II888888Z; ;;; .;;llZZZ8888888888I888I
III888888Zl; .., `;; ,;;lllZZZ88888888888I888
II88888888Z;;...;(_ _) ,;;;llZZZZ88888888888I888,
II88888888Zl;;;;;' `--'Z;. .,;;;;llZZZZ88888888888I888b
]I888888888Z;;;;' ";llllll;..;;;lllZZZZ88888888888I8888,
II888888888Zl.;;"Y88bd888P";;,..;lllZZZZZ88888888888I8888I
II8888888888Zl;.; `"PPP";;;,..;lllZZZZZZZ88888888888I88888
II888888888888Zl;;. `;;;l;;;;lllZZZZZZZZW88888888888I88888
`II8888888888888Zl;. ,;;lllZZZZZZZZWMZ88888888888I88888
II8888888888888888ZbaalllZZZZZZZZZWWMZZZ8888888888I888888,
`II88888888888888888b"WWZZZZZWWWMMZZZZZZI888888888I888888b
`II88888888888888888;ZZMMMMMMZZZZZZZZllI888888888I8888888
`II8888888888888888 `;lZZZZZZZZZZZlllll888888888I8888888,
II8888888888888888, `;lllZZZZllllll;;.Y88888888I8888888b,
,II8888888888888888b .;;lllllll;;;.;..88888888I88888888b,
II888888888888888PZI;. .`;;;.;;;..; ...88888888I8888888888,
II888888888888PZ;;';;. ;. .;. .;. .. Y8888888I88888888888b,
,II888888888PZ;;' `8888888I8888888888888b,
II888888888' 888888I8888888888888888
,II888888888 ,888888I8888888888888888
,d88888888888 d888888I8888888888ZZZZZZ
,ad888888888888I 8888888I8888ZZZZZZZZZZZZ
888888888888888' 888888IZZZZZZZZZZZZZZZZZ
8888888888P'8P' Y888ZZZZZZZZZZZZZZZZZZZZ
888888888, " ,ZZZZZZZZZZZZZZZZZZZZZZZ
8888888888, ,ZZZZZZZZZZZZZZZZZZZZZZZZZZ
888888888888a, _ ,ZZZZZZZZZZZZZZZZZZZZ88888888
888888888888888ba,_d' ,ZZZZZZZZZZZZZZZZZ8888888888888
8888888888888888888888bbbaaa,,,______,ZZZZZZZZZZZZZZZ88888888888888888
88888888888888888888888888888888888ZZZZZZZZZZZZZZZ88888888888888888888
8888888888888888888888888888888888ZZZZZZZZZZZZZZ8888888888888888888888
888888888888888888888888888888888ZZZZZZZZZZZZZZ88888888888888888888888
8888888888888888888888888888888ZZZZZZZZZZZZZZ8888888888888888888888888
88888888888888888888888888888ZZZZZZZZZZZZZZ888888888888888888888888888
8888888888888888888888888888ZZZZZZZZZZZZZZ88888888888888888 Normand 8
88888888888888888888888888ZZZZZZZZZZZZZZ8888888888888888888 Veilleux 8
8888888888888888888888888ZZZZZZZZZZZZZZ8888888888888888888888888888888
118 lines
4.7 KiB
HTML
118 lines
4.7 KiB
HTML
<template name="setLanguagePopup">
|
|
<ul class="pop-over-list">
|
|
{{#each languages}}
|
|
<li class="{{# if isCurrentLanguage}}active{{/if}}">
|
|
<a class="js-set-language">
|
|
{{name}}
|
|
{{# if isCurrentLanguage}}
|
|
<span class="icon-sm fa fa-check"></span>
|
|
{{/if}}
|
|
</a>
|
|
</li>
|
|
{{/each}}
|
|
</ul>
|
|
</template>
|
|
|
|
<template name='profile'>
|
|
{{ # if profile }}
|
|
<div class="tabbed-pane-header">
|
|
<div class="tabbed-pane-header-wrapper clearfix">
|
|
<a class="tabbed-pane-header-image profile-image ed js-change-avatar-profile" href="#">
|
|
{{> userAvatar user=profile size="large"}}
|
|
</a>
|
|
<div class="tabbed-pane-header-details">
|
|
<div class="js-current-details">
|
|
<div class="tabbed-pane-header-details-name">
|
|
<h1 class="inline"> {{ profile.profile.name }} </h1>
|
|
<p class="window-title-extra quiet"> @{{ profile.username }} </p>
|
|
</div>
|
|
<div class="tabbed-pane-header-details-content">
|
|
<p>{{ profile.profile.bio }}</p>
|
|
</div>
|
|
<div class="tabbed-pane-header-details-content"></div>
|
|
</div>
|
|
{{ > profileEditForm }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{ else }}
|
|
{{ > message label='user-profile-not-found' }}
|
|
{{ /if }}
|
|
</template>
|
|
|
|
<template name="settings">
|
|
{{ > profile profile=currentUser }}
|
|
<div class="tabbed-pane-main-col clearfix">
|
|
<div class="tabbed-pane-main-col-loading hide js-loading-page">
|
|
<span class="tabbed-pane-main-col-loading-spinner spinner"></span>
|
|
</div>
|
|
<div class="tabbed-pane-main-col-wrapper js-content">
|
|
<div class="window-module clearfix">
|
|
<div class="window-module-title">
|
|
<h3>{{_ "account-details"}}</h3>
|
|
</div>
|
|
<a class="big-link js-change-name-and-bio" href="#">
|
|
<span class="text">{{_ 'change-name-initials-bio'}}</span>
|
|
</a>
|
|
<a class="big-link js-change-avatar" href="#">
|
|
<span class="text">{{_ 'change-avatar'}}</span>
|
|
</a>
|
|
<a class="big-link js-change-password" href="#">
|
|
<span class="text">{{_ 'change-password'}}</span>
|
|
</a>
|
|
<a class="big-link js-change-email" href="#">
|
|
<span class="text">{{_ 'change-email'}}</span>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<template name="profileEditForm">
|
|
{{#if $eq currentUser.username profile.username }}
|
|
{{# if session 'ProfileEditForm' }}
|
|
<form id="ProfileEditForm" class="js-profile-form">
|
|
<p class="error js-profile-form-error hide"></p>
|
|
<label>{{_ "username"}}</label>
|
|
<input type="text" id="username" value="{{ profile.username }}" disabled>
|
|
<label>{{_ "fullname"}}</label>
|
|
<input type="text" id="name" value="{{ profile.profile.name }}">
|
|
<label>
|
|
{{_ "bio"}} <span class="quiet">({{_ 'optional'}})</span>
|
|
</label>
|
|
<textarea id="bio">{{ profile.profile.bio }}</textarea>
|
|
<input type="submit" class="primary wide js-submit-profile" value="{{_ 'save'}}">
|
|
<input type="button" class="js-cancel-edit-profile" value="{{_ 'cancel'}}">
|
|
</form>
|
|
{{ else }}
|
|
<a class="button-link tabbed-pane-header-details-edit js-edit-profile" href="#">
|
|
<span class="icon-sm fa fa-pencil"></span>
|
|
{{_ "edit-profile"}}
|
|
</a>
|
|
{{ /if }}
|
|
{{ /if }}
|
|
</template>
|
|
|
|
<template name="userPopup">
|
|
<div class="board-member-menu">
|
|
<div class="mini-profile-info">
|
|
{{> userAvatar user=user}}
|
|
<div class="info">
|
|
<h3 class="bottom" style="margin-right: 40px;">
|
|
<a class="js-profile" href="{{ pathFor route='Profile' username=user.username }}">{{ user.profile.name }}</a>
|
|
</h3>
|
|
<p class="quiet bottom">@{{ user.username }}</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
|
|
<template name="memberName">
|
|
<a class="inline-object js-show-mem-menu" href="{{ pathFor route='Profile' username=user.username }}">
|
|
{{ user.profile.name }}
|
|
{{# if username }}
|
|
({{ user.username }})
|
|
{{ /if }}
|
|
</a>
|
|
</template>
|