view src/nabble/modules/naml/animeron.naml @ 0:7ecd1a4ef557

add content
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 21 Mar 2019 19:15:52 -0600
parents
children
line wrap: on
line source

<!--
http://forums.animeron.info/
Disabled "Remove my account" option
-->

<override_macro name="message_as_html" requires="message">
	<n.if.is_deleted>
		<then>
			<b><t>CONTENTS DELETED</t></b>
			<div class="weak-color"><t>The author has deleted this message.</t></div>
		</then>
		<else>
			<n.set_var. name="output">
				<n.as_html_list.process_message_html />
			</n.set_var.>
			<n.if.is_imported_mail>
				<then.set_var. name="output">
					<n.remove_unsubscription_link.var name="output" />
				</then.set_var.>
			</n.if.is_imported_mail>
			<n.var name="output" />
		</else>
	</n.if.is_deleted>
</override_macro>

<!-- Remove option to deactivate account -->
<override_macro name="profile_options">
	<n.put_in_head.>
		<style type="text/css">
			table.profile {
				border-collapse:collapse;
				width:100%;
				margin-top:.5em;
			}
			table.profile td {
				padding:.7em .3em;
			}
			table.profile td.title-row {
				background: transparent;
				padding:.2em .4em;
				border-bottom-width:2px;
				border-bottom-style:solid;
				font-weight:bold;
			}
		</style>
	</n.put_in_head.>
	<table class="profile">
		<n.profile_table_header.>
			My Settings
		</n.profile_table_header.>

		<n.profile_option>
			<link><a href="[n.visitor.edit_profile_path/]">Edit Personal Information</a></link>
			<hint>Change your registered email address, password, and your user name.</hint>
		</n.profile_option>

		<n.profile_option>
			<link><a href="[n.visitor.edit_signature_path/]">Edit Your Signature</a></link>
			<hint>Change the signature text that is displayed at the bottom of your posts.</hint>
		</n.profile_option>

		<n.profile_option>
			<link><a href="[n.visitor.change_avatar_path/]">Change Your Picture</a></link>
			<hint>Change or remove your avatar image.</hint>
		</n.profile_option>

		<n.profile_option>
			<link><a href="[n.visitor.advanced_settings_path/]">Advanced Settings</a></link>
			<hint>Change viewing preferences and your alert settings (when posting a message).</hint>
		</n.profile_option>
	</table>
</override_macro>