v1.18.x
Baris Soner Usakli 11 years ago
parent 574e981de9
commit c17b8ae9a1

@ -1,9 +1,9 @@
<div class="well account">
<div class="account-username-box" data-userslug="{userslug}">
<div class="account-username-box" data-userslug="{userslug}">
</div>
</div>
<div class="well account">
<div class="row">
<div class="col-md-5 account-block">

@ -1,3 +1,7 @@
<div class="account-username-box" data-userslug="{userslug}">
</div>
<div class="well account">
<div id="change-picture-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="[[user:change_picture]]" aria-hidden="true">
@ -30,10 +34,6 @@
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<div class="account-username-box clearfix" data-userslug="{userslug}">
</div>
<div class="row">
<div class="col-md-2" style="text-align: center; margin-bottom:20px;">
<div class="account-picture-block text-center">
@ -150,5 +150,7 @@
</div>
</div>
<input type="hidden" template-variable="yourid" value="{yourid}" />
<input type="hidden" template-variable="theirid" value="{theirid}" />
<input type="hidden" template-variable="gravatarpicture" value="{gravatarpicture}" />
<input type="hidden" template-variable="uploadedpicture" value="{uploadedpicture}" />

@ -1,7 +1,8 @@
<div class="well favourites">
<div class="account-username-box clearfix" data-userslug="{userslug}" data-uid="{uid}">
<div class="account-username-box clearfix" data-userslug="{userslug}" data-uid="{uid}">
</div>
</div>
<div class="well favourites">
<!-- IF !posts.length -->
<div class="alert alert-warning">[[topic:favourites.has_no_favourites]]</div>
@ -39,3 +40,6 @@
</div>
</div>
</div>
<input type="hidden" template-variable="yourid" value="{yourid}" />
<input type="hidden" template-variable="theirid" value="{theirid}" />

@ -1,8 +1,8 @@
<div class="well account">
<div class="account-username-box clearfix" data-userslug="{userslug}">
<div class="account-username-box clearfix" data-userslug="{userslug}">
</div>
</div>
<div class="well account">
<div class="row">
<div class="col-md-6">
@ -22,3 +22,6 @@
<a id="submitBtn" href="#" class="btn btn-primary">[[global:save_changes]]</a>
</div>
</div>
<input type="hidden" template-variable="yourid" value="{yourid}" />
<input type="hidden" template-variable="theirid" value="{theirid}" />

@ -1,7 +1,8 @@
<div class="well favourites">
<div class="account-username-box clearfix" data-userslug="{userslug}">
<div class="account-username-box clearfix" data-userslug="{userslug}">
</div>
</div>
<div class="well favourites">
<!-- IF !posts.length -->
<div class="alert alert-warning">[[topic:favourites.has_no_favourites]]</div>
@ -39,3 +40,6 @@
</div>
</div>
</div>
<input type="hidden" template-variable="yourid" value="{yourid}" />
<input type="hidden" template-variable="theirid" value="{theirid}" />

@ -1,9 +1,8 @@
<div class="well users account">
<div class="account-username-box clearfix" data-userslug="{userslug}">
<div class="account-username-box clearfix" data-userslug="{userslug}">
</div>
</div>
<div class="well users account">
<div>
<!-- BEGIN followers -->
<div class="users-box">

@ -1,9 +1,8 @@
<div class="well users account">
<div class="account-username-box clearfix" data-userslug="{userslug}">
<div class="account-username-box clearfix" data-userslug="{userslug}">
</div>
</div>
<div class="well users account">
<div>
<!-- BEGIN following -->
<div class="users-box">

@ -311,6 +311,9 @@ var fs = require('fs'),
} else {
userData.showemail = "";
}
userData.theirid = uid;
userData.yourid = callerUID;
res.json(userData);
} else {
res.json(404, {
@ -350,6 +353,8 @@ var fs = require('fs'),
return next(err);
}
userData.theirid = uid;
userData.yourid = callerUID;
userData.posts = favourites.posts;
userData.nextStart = favourites.nextStart;
@ -386,6 +391,8 @@ var fs = require('fs'),
return next(err);
}
userData.uid = uid;
userData.theirid = uid;
userData.yourid = callerUID;
userData.posts = userPosts.posts;
userData.nextStart = userPosts.nextStart;

Loading…
Cancel
Save