| 1 | {{define "content"}} |
| 2 | |
| 3 | <h1>Sources</h1> |
| 4 | |
| 5 | <p rst-lede> |
| 6 | Memoria can pull in work that lives outside the suite. What you connect, |
| 7 | Memoria keeps: disconnecting a source stops Memoria seeing new changes, |
| 8 | it does not remove what Memoria already holds. |
| 9 | </p> |
| 10 | |
| 11 | {{/* Suite apps first: they are the ones with an owner other than |
| 12 | memoria, so they are the ones whose health an owner cannot infer |
| 13 | from anything else on this page. A connector that stops working |
| 14 | shows up as documents that stop arriving; a sibling that starts |
| 15 | refusing shows up as nothing at all, which is why §8.1 puts a |
| 16 | sentence about it here. */}} |
| 17 | {{if .Siblings}} |
| 18 | <h2>Suite apps</h2> |
| 19 | <p rst-muted> |
| 20 | Other apps on your team own this content. Memoria asks each of them, |
| 21 | every time, whether you may read a passage — so what you see here is |
| 22 | their health, not their permissions. |
| 23 | </p> |
| 24 | {{/* A plain list of rows, not rastrillo's list card: the card drew |
| 25 | browser bullets inside a rounded box with the text touching its edge, |
| 26 | and the item and title words it was given are ones nothing styles |
| 27 | (polish audit §B3). memoria.css draws [rst-sources]. */}} |
| 28 | <ul rst-sources> |
| 29 | {{range .Siblings}} |
| 30 | <li> |
| 31 | <span rst-source-name>{{.App}}</span> |
| 32 | {{/* Two lines, two states, toned separately. One flag for both put |
| 33 | "No refusal anomaly." inside a warning callout for any sibling |
| 34 | that simply had not been polled yet — found by looking at the |
| 35 | page, which is the only thing that would have. */}} |
| 36 | {{if .CurrentAlarming}} |
| 37 | <div rst-callout rst-tone="warning"> |
| 38 | <div rst-callout-body><p>{{.Current}}</p></div> |
| 39 | </div> |
| 40 | {{else}} |
| 41 | <p rst-muted>{{.Current}}</p> |
| 42 | {{end}} |
| 43 | {{if .BreakerAlarming}} |
| 44 | <div rst-callout rst-tone="warning"> |
| 45 | <div rst-callout-body><p>{{.Breaker}}</p></div> |
| 46 | </div> |
| 47 | {{else}} |
| 48 | <p rst-muted>{{.Breaker}}</p> |
| 49 | {{end}} |
| 50 | </li> |
| 51 | {{end}} |
| 52 | </ul> |
| 53 | {{end}} |
| 54 | |
| 55 | <h2>Connectors</h2> |
| 56 | <ul rst-sources> |
| 57 | <li> |
| 58 | <a href="/connectors/notion" rst-source-name>Notion</a> |
| 59 | <p rst-muted> |
| 60 | {{if .Configured}}Connected.{{else}}Not connected.{{end}} |
| 61 | Imports the pages you share with a Notion integration, and everything nested under them. |
| 62 | </p> |
| 63 | </li> |
| 64 | </ul> |
| 65 | |
| 66 | {{end}} |
| 67 | |