Commit 92196110 by Bridger Maxwell

Added UI for locking article. Did more testing/bug fixes on deletion. Seems stable.

--HG--
branch : bridgerwiki
parent 8f124e17
...@@ -76,9 +76,10 @@ ${ wiki_article.title } ...@@ -76,9 +76,10 @@ ${ wiki_article.title }
%endif %endif
/> />
%if show_delete_revision: %if show_delete_revision:
<input type="submit" name="delete" value="Delete revision"/> <input type="submit" name="delete" value="Admin Delete revision"/>
<input type="submit" name="restore" value="Restore revision"/> <input type="submit" name="restore" value="Admin Restore revision"/>
<input type="submit" name="delete_all" value="Delete all revisions"> <input type="submit" name="delete_all" value="Admin Delete all revisions">
<input type="submit" name="lock_article" value="${'Lock Article' if not wiki_article.locked else 'Unlock Article'}">
%endif %endif
</form> </form>
</%block> </%block>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment