| 1 | <?xml version="1.0"?> |
|---|
| 2 | <history id="${trans.security.encode_id( history.id )}" num="${len(history.datasets)}" name="${history.name}" create="${history.create_time}" update="${history.update_time}"> |
|---|
| 3 | %if show_deleted: |
|---|
| 4 | %for data in history.activatable_datasets: |
|---|
| 5 | <data id="${data.id}" hid="${data.hid}" name="${data.name}" state="${data.state}" dbkey="${data.dbkey}"> |
|---|
| 6 | ${_(data.blurb)} |
|---|
| 7 | </data> |
|---|
| 8 | %endfor |
|---|
| 9 | %else: |
|---|
| 10 | %for data in history.active_datasets: |
|---|
| 11 | <data id="${data.id}" hid="${data.hid}" name="${data.name}" state="${data.state}" dbkey="${data.dbkey}"> |
|---|
| 12 | ${_(data.blurb)} |
|---|
| 13 | </data> |
|---|
| 14 | %endfor |
|---|
| 15 | %endif |
|---|
| 16 | </history> |
|---|