summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-10-16 17:08:48 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-10-17 16:24:21 +0200
commitd4ad951b9b686f387056bda8f3fa6ede8d9ca3f1 (patch)
tree1079163173ae8b0870d13386e605e9ef51ac72b1 /app/views
parent2796cc9ae559842a90fa15cba65c94a11b29195e (diff)
Show more information about user when selected
Diffstat (limited to 'app/views')
-rw-r--r--app/views/configure/archiving.phtml2
-rw-r--r--app/views/user/manage.phtml2
2 files changed, 3 insertions, 1 deletions
diff --git a/app/views/configure/archiving.phtml b/app/views/configure/archiving.phtml
index adbfdb77e..8f424c126 100644
--- a/app/views/configure/archiving.phtml
+++ b/app/views/configure/archiving.phtml
@@ -60,7 +60,7 @@
<div class="form-group">
<p class="group-name"><?php echo _t('current_user'); ?></p>
<div class="group-controls">
- <p><?php echo formatNumber($this->nb_total), ' ', _t('articles'), ', ', formatBytes($this->size_user); ?></p>
+ <p><?php echo _t('articles', formatNumber($this->nb_total)), ' — ', formatBytes($this->size_user); ?></p>
<input type="hidden" name="optimiseDatabase" value="1" />
<button type="submit" class="btn btn-important"><?php echo _t('optimize_bdd'); ?></button>
<?php echo _i('help'); ?> <?php echo _t('optimize_todo_sometimes'); ?>
diff --git a/app/views/user/manage.phtml b/app/views/user/manage.phtml
index fb569872b..65e60add5 100644
--- a/app/views/user/manage.phtml
+++ b/app/views/user/manage.phtml
@@ -63,6 +63,8 @@
<option data-url="<?php echo _url('user', 'manage', 'u', $username); ?>" <?php echo $this->current_user === $username ? 'selected="selected"' : ''; ?> value="<?php echo $username; ?>"><?php echo $username; ?></option>
<?php } ?>
</select>
+
+ <p><?php echo _t('articles', formatNumber($this->nb_articles)), ', ', formatBytes($this->size_user); ?></p>
</div>
</div>