mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-23 23:46:52 +00:00
Fix spelling of "anonymous"
This commit is contained in:
parent
239aacfa03
commit
ab5a48747f
@ -85,7 +85,7 @@ exports.handler = function (request, response, state) {
|
|||||||
"recipe": JSON.stringify(recipe),
|
"recipe": JSON.stringify(recipe),
|
||||||
"recipe-acl-records": JSON.stringify(recipeAclRecords),
|
"recipe-acl-records": JSON.stringify(recipeAclRecords),
|
||||||
"bag-acl-records": JSON.stringify(bagAclRecords),
|
"bag-acl-records": JSON.stringify(bagAclRecords),
|
||||||
"username": state.authenticatedUser ? state.authenticatedUser.username : state.firstGuestUser ? "Annonymous User" : "Guest",
|
"username": state.authenticatedUser ? state.authenticatedUser.username : state.firstGuestUser ? "Anonymous User" : "Guest",
|
||||||
"user-is-admin": state.authenticatedUser && state.authenticatedUser.isAdmin ? "yes" : "no"
|
"user-is-admin": state.authenticatedUser && state.authenticatedUser.isAdmin ? "yes" : "no"
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -41,10 +41,10 @@ exports.handler = function(request,response,state) {
|
|||||||
"page-content": "$:/plugins/tiddlywiki/multiwikiserver/templates/get-index",
|
"page-content": "$:/plugins/tiddlywiki/multiwikiserver/templates/get-index",
|
||||||
"bag-list": JSON.stringify(allowedBags),
|
"bag-list": JSON.stringify(allowedBags),
|
||||||
"recipe-list": JSON.stringify(allowedRecipes),
|
"recipe-list": JSON.stringify(allowedRecipes),
|
||||||
"username": state.authenticatedUser ? state.authenticatedUser.username : state.firstGuestUser ? "Annonymous User" : "Guest",
|
"username": state.authenticatedUser ? state.authenticatedUser.username : state.firstGuestUser ? "Anonymous User" : "Guest",
|
||||||
"user-is-admin": state.authenticatedUser && state.authenticatedUser.isAdmin ? "yes" : "no",
|
"user-is-admin": state.authenticatedUser && state.authenticatedUser.isAdmin ? "yes" : "no",
|
||||||
"first-guest-user": state.firstGuestUser ? "yes" : "no",
|
"first-guest-user": state.firstGuestUser ? "yes" : "no",
|
||||||
"show-annon-config": state.showAnonConfig ? "yes" : "no",
|
"show-anon-config": state.showAnonConfig ? "yes" : "no",
|
||||||
"user": JSON.stringify(state.authenticatedUser),
|
"user": JSON.stringify(state.authenticatedUser),
|
||||||
}});
|
}});
|
||||||
response.write(html);
|
response.write(html);
|
||||||
|
@ -53,7 +53,7 @@ exports.handler = function(request,response,state) {
|
|||||||
variables: {
|
variables: {
|
||||||
"page-content": "$:/plugins/tiddlywiki/multiwikiserver/templates/get-users",
|
"page-content": "$:/plugins/tiddlywiki/multiwikiserver/templates/get-users",
|
||||||
"user-list": JSON.stringify(userList),
|
"user-list": JSON.stringify(userList),
|
||||||
"username": state.authenticatedUser ? state.authenticatedUser.username : state.firstGuestUser ? "Annonymous User" : "Guest",
|
"username": state.authenticatedUser ? state.authenticatedUser.username : state.firstGuestUser ? "Anonymous User" : "Guest",
|
||||||
"user-is-admin": state.authenticatedUser && state.authenticatedUser.isAdmin ? "yes" : "no",
|
"user-is-admin": state.authenticatedUser && state.authenticatedUser.isAdmin ? "yes" : "no",
|
||||||
"first-guest-user": state.firstGuestUser ? "yes" : "no"
|
"first-guest-user": state.firstGuestUser ? "yes" : "no"
|
||||||
}
|
}
|
||||||
|
@ -35,7 +35,7 @@ exports.handler = function(request, response, state) {
|
|||||||
"page-content": "$:/plugins/tiddlywiki/multiwikiserver/templates/manage-roles",
|
"page-content": "$:/plugins/tiddlywiki/multiwikiserver/templates/manage-roles",
|
||||||
"roles-list": JSON.stringify(roles),
|
"roles-list": JSON.stringify(roles),
|
||||||
"edit-role": editRole ? JSON.stringify(editRole) : "",
|
"edit-role": editRole ? JSON.stringify(editRole) : "",
|
||||||
"username": state.authenticatedUser ? state.authenticatedUser.username : state.firstGuestUser ? "Annonymous User" : "Guest",
|
"username": state.authenticatedUser ? state.authenticatedUser.username : state.firstGuestUser ? "Anonymous User" : "Guest",
|
||||||
"user-is-admin": state.authenticatedUser && state.authenticatedUser.isAdmin ? "yes" : "no"
|
"user-is-admin": state.authenticatedUser && state.authenticatedUser.isAdmin ? "yes" : "no"
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -88,7 +88,7 @@ exports.handler = function(request,response,state) {
|
|||||||
"all-roles": JSON.stringify(allRoles),
|
"all-roles": JSON.stringify(allRoles),
|
||||||
"first-guest-user": state.firstGuestUser ? "yes" : "no",
|
"first-guest-user": state.firstGuestUser ? "yes" : "no",
|
||||||
"is-current-user-profile": state.authenticatedUser && state.authenticatedUser.user_id === $tw.utils.parseInt(user_id, 10) ? "yes" : "no",
|
"is-current-user-profile": state.authenticatedUser && state.authenticatedUser.user_id === $tw.utils.parseInt(user_id, 10) ? "yes" : "no",
|
||||||
"username": state.authenticatedUser ? state.authenticatedUser.username : state.firstGuestUser ? "Annonymous User" : "Guest",
|
"username": state.authenticatedUser ? state.authenticatedUser.username : state.firstGuestUser ? "Anonymous User" : "Guest",
|
||||||
"user-is-admin": state.authenticatedUser && state.authenticatedUser.isAdmin ? "yes" : "no",
|
"user-is-admin": state.authenticatedUser && state.authenticatedUser.isAdmin ? "yes" : "no",
|
||||||
"user-id": user_id,
|
"user-id": user_id,
|
||||||
}
|
}
|
||||||
|
@ -41,7 +41,7 @@ title: $:/plugins/tiddlywiki/multiwikiserver/templates/get-index
|
|||||||
</div>
|
</div>
|
||||||
</$list>
|
</$list>
|
||||||
|
|
||||||
<$list filter="[<show-annon-config>match[yes]]">
|
<$list filter="[<show-anon-config>match[yes]]">
|
||||||
<$tiddler tiddler="$:/plugins/tiddlywiki/multiwikiserver/templates/anon-config-modal">
|
<$tiddler tiddler="$:/plugins/tiddlywiki/multiwikiserver/templates/anon-config-modal">
|
||||||
<$transclude/>
|
<$transclude/>
|
||||||
</$tiddler>
|
</$tiddler>
|
||||||
|
Loading…
Reference in New Issue
Block a user