X-Git-Url: https://ruin.nu/git/?p=ndwebbie.git;a=blobdiff_plain;f=root%2Flib%2Fsite%2Fleftbar.tt2;h=bc6f8324e180663e627cd4767efa6eea290eb9ec;hp=e69075e7661c97a12c761aac2f13a855ad8a94cb;hb=96f1df9a70ccb1b2d854f693576a4e0e1923eb72;hpb=49c23244b1ba61909b726bb9189665a33027a1af diff --git a/root/lib/site/leftbar.tt2 b/root/lib/site/leftbar.tt2 index e69075e..bc6f832 100644 --- a/root/lib/site/leftbar.tt2 +++ b/root/lib/site/leftbar.tt2 @@ -1,84 +1,121 @@

Tick: [% game.tick %]

+ +[% IF birthdays.size > 0 %] + + +[% FOR b IN birthdays %] + +[% END %] +
Birthdays today
[% b.username %][% b.age %]
+[% END %] +

Tick: [% game.tick %]

+ [% IF c.check_user_roles("member_menu") %] - [% IF user.attacker %]

Member menu

- [% ELSE %] - [% IF c.user.planet %] -

Update your fleet to see member menu

- [% ELSE %] -
-

We need your planet's coordinates: - - -

-
- [% END %] - [% END %] [% END %] -[% IF user.attacker %] -

Attack menu

+[% IF user.attacker AND c.user.planet %] +

Fleet menu

+ onclick = "listTargets()">

[% PROCESS inc/targetlist.tt2 %]
+[% ELSE %] +
+

We need your planet's coordinates: + + +

+
[% END %] -[% IF c.check_user_roles("bc_menu") %] -

BC menu

+[% IF c.check_user_roles("covop") %] +

Covop menu

[% END %] [% IF c.check_user_roles("dc_menu") %]

DC menu

+[% END %] +[% IF c.check_user_roles("bc_menu") %] +

BC menu

+ [% END %] [% IF c.check_user_roles("intel_menu") %]

Intel menu

[% END %] [% IF c.check_user_roles("hc_menu") %] @@ -86,10 +123,10 @@ [% END %]