X-Git-Url: https://git.hcoop.net/bpt/portal.git/blobdiff_plain/f3a41f3b49333bf83355b911d5a6b7a1a64fd634..27e65914536e13f127861bd35ee3678c99872900:/apps.mlt diff --git a/apps.mlt b/apps.mlt index c5c5d4c..dcfbc5f 100644 --- a/apps.mlt +++ b/apps.mlt @@ -13,7 +13,7 @@ if $"show" <> "" then val appl = App.lookupApp (#app user) %> - +
Received: <% #applied appl %>
Received: <% #applied appl %> (<% Util.diffFromNow (#applied appl) %> ago)
Approved by: <% ref first = true; ref found = false; @@ -83,10 +83,10 @@ elseif $"cmd" = "approved" then %>

Pending applications

<% - foreach appl in App.listApps App.ACCEPTED do %> + foreach appl in App.listApps [App.ACCEPTED, App.BEING_ADDED] do %>


- + + <% if #status appl = App.BEING_ADDED then %><% end %>
Received: <% #applied appl %>
Received: <% #applied appl %> (<% Util.diffFromNow (#applied appl) %> ago)
Approved by: <% ref first = true; ref found = false; @@ -110,6 +110,7 @@ elseif $"cmd" = "approved" then
Forward e-mail? <% if #forward appl then %>yes<% else %>no<% end %>
Proposed uses: <% Web.htmlNl (#uses appl) %>
Other information: <% Web.htmlNl (#other appl) %>
WARNING: Someone already followed the add link for this application. Maybe he forgot to finish.
<% if root then %> @@ -121,7 +122,7 @@ elseif $"add" <> "" then showNormal := false; val id = Web.stoi ($"add"); val appl = App.lookupApp id; - App.add id %> + App.preAdd id %> First, run this on deleuze:
new-user <% #name appl %> "<% #rname appl %>"<% if #forward appl then %> "<% #email appl %>"<% end %>
@@ -160,10 +161,10 @@ end %> <% if showNormal then %>

Pending applications

-<% foreach appl in App.listApps App.PENDING do %> +<% foreach appl in App.listApps [App.PENDING] do %>


- +
Received: <% #applied appl %>
Received: <% #applied appl %> (<% Util.diffFromNow (#applied appl) %> ago)
Approved by: <% ref first = true; ref found = false; @@ -195,10 +196,10 @@ end %>
<% if board then %> - <% if length votes >= 2 then %>Approve this member.
<% end %> + <% if length votes >= 3 then %>Approve this member.
<% end %> Deny this application. <% end %> -<% end +<% end end %> <% @footer[] %>