on master help sign in
add work request links to bounties
aaa7afdJosh Lehman
content/grants/analytics-script.md+1−2
@@ -9,9 +9,8 @@ image = ""
9description = "Write a generator that exports chat data into a CSV."
9description = "Write a generator that exports chat data into a CSV."
10reward = 1
10reward = 1
11assignee = ""
11assignee = ""
12−id = "1421596040"
13completed = false
12completed = false
14−link = "https://airtable.com/shr4qt9t9kz7RaOIa?prefill_Bounty+ID=B0015&prefill_Bounty+Name=Analytics%20Script"
13+work_request_link = "https://airtable.com/shr4qt9t9kz7RaOIa?prefill_Bounty+ID=B0015&prefill_Bounty+Name=Analytics%20Script"
15+++
14+++
16
15
17## Overview
16## Overview
content/grants/ucal-google-and-outlook-integration.md+1−1
@@ -11,7 +11,7 @@ reward = 1
11assignee = ""
11assignee = ""
12id = ""
12id = ""
13completed = false
13completed = false
14−link = ""
14+work_request_link = "https://airtable.com/shr4qt9t9kz7RaOIa?prefill_Bounty+ID=B0014&prefill_Bounty+Name=ucal%20Google%20and%20Outlook%20Integration"
15+++
15+++
16### Purpose
16### Purpose
17
17
templates/grants/grant.html+5−2
@@ -40,15 +40,18 @@
40
40
41 {% if page.extra.completed %}
41 {% if page.extra.completed %}
42 <span class="db mb1">Completed</span>
42 <span class="db mb1">Completed</span>
43− {% else %}
43+ {% elif page.extra.assignee %}
44 <span class="db mb1">WIP</span>
44 <span class="db mb1">WIP</span>
45+ {% elif page.extra.work_request_link %}
46+ <a href="{{ page.extra.work_request_link }}" target="_blank">
47+ Apply for this grant
48+ </a>
45 {% endif %}
49 {% endif %}
46
50
47 {% if page.extra.reward %}
51 {% if page.extra.reward %}
48 <span class="db mb1">Reward: {{ page.extra.reward }} Stars</span>
52 <span class="db mb1">Reward: {{ page.extra.reward }} Stars</span>
49 {% endif %}
53 {% endif %}
50
54
51−
52 {% if page.date %}
55 {% if page.date %}
53 <time class="mono db mv1 gray2 f5">{{ page.date | date(format="~%Y.%-m.%-d") }}</time>
56 <time class="mono db mv1 gray2 f5">{{ page.date | date(format="~%Y.%-m.%-d") }}</time>
54 {% endif %}
57 {% endif %}
templates/macros/macros.html+5−3
@@ -53,11 +53,13 @@
53 {% if page.extra.assignee %}
53 {% if page.extra.assignee %}
54 <span class="mr3 gray1 mono">{{ page.extra.assignee }}</span>
54 <span class="mr3 gray1 mono">{{ page.extra.assignee }}</span>
55 {% endif %}
55 {% endif %}
56− {% if page.extra.id and not page.extra.assignee %}
56+ {% if page.extra.work_request_link and not page.extra.assignee %}
57− <a href="https://grants.urbit.org/{% if 'bounty' in page.taxonomies.grant_type %}bounties{% else %}proposals{% endif %}/{{ page.extra.id }}" target="_blank">Apply for this grant</a>
57+ <a href="{{ page.extra.work_request_link }}" target="_blank">
58+ Apply for this grant
59+ </a>
58 {% endif %}
60 {% endif %}
59 </div>
61 </div>
60 </div>
62 </div>
61 </article>
63 </article>
62 {% endif %}
64 {% endif %}
63−{% endmacro grant %}
65+{% endmacro grant %}