Minor changes

- Show workflow field in motion form only if more than one workflows
  exists.
- Reorder the fields category, tags and origin in motion detail.
- Fix translation string 'Line numbering'.
- Fix padding in motion list.
This commit is contained in:
Emanuel Schuetze 2016-10-04 15:06:50 +02:00
parent d0f4b59413
commit d7a22c371e
4 changed files with 126 additions and 118 deletions

View File

@ -706,7 +706,7 @@ img {
} }
#motion-table .data-row > div { #motion-table .data-row > div {
padding: 10px 0; padding: 10px 0px 10px 8px;
} }
#motion-table .header-row { #motion-table .header-row {

View File

@ -35,7 +35,7 @@ msgstr ""
#: assignments/static/js/assignments/site.js:671 #: assignments/static/js/assignments/site.js:671
#: motions/static/js/motions/site.js:104 #: motions/static/js/motions/site.js:104
#: motions/static/js/motions/site.js:273 #: motions/static/js/motions/site.js:273
#: motions/static/js/motions/site.js:867 #: motions/static/js/motions/site.js:874
#: motions/static/templates/motions/motion-detail.html:221 #: motions/static/templates/motions/motion-detail.html:221
#: motions/static/templates/motions/slide_motion.html:51 #: motions/static/templates/motions/slide_motion.html:51
msgid "Abstain" msgid "Abstain"
@ -51,7 +51,7 @@ msgstr ""
msgid "Acceptance" msgid "Acceptance"
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:1991 #: motions/static/js/motions/site.js:1998
msgid "Activate amendments" msgid "Activate amendments"
msgstr "" msgstr ""
@ -125,12 +125,12 @@ msgid "All"
msgstr "" msgstr ""
#: assignments/static/js/assignments/site.js:798 #: assignments/static/js/assignments/site.js:798
#: motions/static/js/motions/site.js:2014 #: motions/static/js/motions/site.js:2021
msgid "All casted ballots" msgid "All casted ballots"
msgstr "" msgstr ""
#: assignments/static/js/assignments/site.js:797 #: assignments/static/js/assignments/site.js:797
#: motions/static/js/motions/site.js:2013 #: motions/static/js/motions/site.js:2020
msgid "All valid ballots" msgid "All valid ballots"
msgstr "" msgstr ""
@ -142,7 +142,7 @@ msgstr ""
msgid "Allow access for anonymous guest users" msgid "Allow access for anonymous guest users"
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:1985 #: motions/static/js/motions/site.js:1992
msgid "Allow to disable versioning" msgid "Allow to disable versioning"
msgstr "" msgstr ""
@ -162,12 +162,12 @@ msgstr ""
msgid "Amendment of motion" msgid "Amendment of motion"
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:1990 #: motions/static/js/motions/site.js:1997
#: motions/static/templates/motions/motion-detail.html:84 #: motions/static/templates/motions/motion-detail.html:84
msgid "Amendments" msgid "Amendments"
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:1993 #: motions/static/js/motions/site.js:2000
msgid "Apply title and text for new amendments" msgid "Apply title and text for new amendments"
msgstr "" msgstr ""
@ -214,7 +214,7 @@ msgstr ""
msgid "Are you sure you want to delete this poll?" msgid "Are you sure you want to delete this poll?"
msgstr "" msgstr ""
#: motions/static/templates/motions/motion-detail.html:393 #: motions/static/templates/motions/motion-detail.html:394
msgid "Are you sure you want to delete this version?" msgid "Are you sure you want to delete this version?"
msgstr "" msgstr ""
@ -237,7 +237,7 @@ msgstr ""
msgid "Attachment" msgid "Attachment"
msgstr "" msgstr ""
#: motions/static/templates/motions/motion-detail.html:364 #: motions/static/templates/motions/motion-detail.html:365
#: topics/static/templates/topics/topic-detail.html:30 #: topics/static/templates/topics/topic-detail.html:30
msgid "Attachments" msgid "Attachments"
msgstr "" msgstr ""
@ -464,7 +464,7 @@ msgstr ""
#: assignments/static/js/assignments/site.js:717 #: assignments/static/js/assignments/site.js:717
#: assignments/static/templates/assignments/assignment-detail.html:236 #: assignments/static/templates/assignments/assignment-detail.html:236
#: assignments/static/templates/assignments/slide_assignment.html:97 #: assignments/static/templates/assignments/slide_assignment.html:97
#: motions/static/js/motions/site.js:892 #: motions/static/js/motions/site.js:899
#: motions/static/templates/motions/motion-detail.html:251 #: motions/static/templates/motions/motion-detail.html:251
msgid "Casted ballots" msgid "Casted ballots"
msgstr "" msgstr ""
@ -483,7 +483,7 @@ msgstr ""
#: motions/static/js/motions/site.js:784 #: motions/static/js/motions/site.js:784
#: motions/static/templates/motions/category-detail.html:10 #: motions/static/templates/motions/category-detail.html:10
#: motions/static/templates/motions/category-sort.html:9 #: motions/static/templates/motions/category-sort.html:9
#: motions/static/templates/motions/motion-detail.html:98 #: motions/static/templates/motions/motion-detail.html:150
#: motions/static/templates/motions/motion-import.html:60 #: motions/static/templates/motions/motion-import.html:60
#: motions/static/templates/motions/motion-list.html:134 #: motions/static/templates/motions/motion-list.html:134
#: motions/static/templates/motions/motion-list.html:223 #: motions/static/templates/motions/motion-list.html:223
@ -505,7 +505,7 @@ msgstr ""
msgid "Chat" msgid "Chat"
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:1998 #: motions/static/js/motions/site.js:2005
msgid "Choose 0 to disable the supporting system." msgid "Choose 0 to disable the supporting system."
msgstr "" msgstr ""
@ -531,7 +531,7 @@ msgstr ""
msgid "Comment" msgid "Comment"
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:2004 #: motions/static/js/motions/site.js:2011
msgid "Comment fields for motions" msgid "Comment fields for motions"
msgstr "" msgstr ""
@ -539,7 +539,7 @@ msgstr ""
msgid "Comment on the ballot paper" msgid "Comment on the ballot paper"
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:2003 #: motions/static/js/motions/site.js:2010
msgid "Comments" msgid "Comments"
msgstr "" msgstr ""
@ -590,7 +590,7 @@ msgid "Current list of speakers"
msgstr "" msgstr ""
#: assignments/static/js/assignments/site.js:804 #: assignments/static/js/assignments/site.js:804
#: motions/static/js/motions/site.js:2020 #: motions/static/js/motions/site.js:2027
msgid "Custom number of ballot papers" msgid "Custom number of ballot papers"
msgstr "" msgstr ""
@ -616,7 +616,7 @@ msgstr ""
msgid "Default groups" msgid "Default groups"
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:1975 #: motions/static/js/motions/site.js:1982
msgid "Default line numbering" msgid "Default line numbering"
msgstr "" msgstr ""
@ -633,7 +633,7 @@ msgstr ""
#: mediafiles/static/templates/mediafiles/mediafile-list.html:241 #: mediafiles/static/templates/mediafiles/mediafile-list.html:241
#: motions/static/templates/motions/category-list.html:48 #: motions/static/templates/motions/category-list.html:48
#: motions/static/templates/motions/motion-detail.html:178 #: motions/static/templates/motions/motion-detail.html:178
#: motions/static/templates/motions/motion-detail.html:396 #: motions/static/templates/motions/motion-detail.html:397
#: motions/static/templates/motions/motion-list.html:361 #: motions/static/templates/motions/motion-list.html:361
#: users/static/templates/users/user-list.html:208 #: users/static/templates/users/user-list.html:208
#: users/static/templates/users/user-list.html:88 #: users/static/templates/users/user-list.html:88
@ -683,7 +683,7 @@ msgid "Disable for sorting by last name"
msgstr "" msgstr ""
#: assignments/static/js/assignments/site.js:799 #: assignments/static/js/assignments/site.js:799
#: motions/static/js/motions/site.js:2015 #: motions/static/js/motions/site.js:2022
msgid "Disabled (no percents)" msgid "Disabled (no percents)"
msgstr "" msgstr ""
@ -849,15 +849,15 @@ msgstr ""
msgid "Error: First or last name is required." msgid "Error: First or last name is required."
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:1649 #: motions/static/js/motions/site.js:1656
msgid "Error: Identifier already exists." msgid "Error: Identifier already exists."
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:1667 #: motions/static/js/motions/site.js:1674
msgid "Error: Text is required." msgid "Error: Text is required."
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:1659 #: motions/static/js/motions/site.js:1666
#: topics/static/js/topics/site.js:323 #: topics/static/js/topics/site.js:323
msgid "Error: Title is required." msgid "Error: Title is required."
msgstr "" msgstr ""
@ -954,7 +954,7 @@ msgid "Front page title"
msgstr "" msgstr ""
#: core/static/js/core/site.js:1865 #: core/static/js/core/site.js:1865
#: motions/static/js/motions/site.js:1967 #: motions/static/js/motions/site.js:1974
#: users/static/js/users/site.js:1068 #: users/static/js/users/site.js:1068
msgid "General" msgid "General"
msgstr "" msgstr ""
@ -994,7 +994,7 @@ msgstr ""
msgid "Home" msgid "Home"
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:1969 #: motions/static/js/motions/site.js:1976
#: motions/static/js/motions/site.js:686 #: motions/static/js/motions/site.js:686
#: motions/static/templates/motions/motion-import.html:55 #: motions/static/templates/motions/motion-import.html:55
#: motions/static/templates/motions/motion-list.html:190 #: motions/static/templates/motions/motion-list.html:190
@ -1078,7 +1078,7 @@ msgid "Initial password can not be changed."
msgstr "" msgstr ""
#. Line numbering: Inline #. Line numbering: Inline
#: motions/static/js/motions/site.js:1979 #: motions/static/js/motions/site.js:1986
msgid "Inline" msgid "Inline"
msgstr "" msgstr ""
@ -1103,7 +1103,7 @@ msgstr ""
#: assignments/static/js/assignments/site.js:709 #: assignments/static/js/assignments/site.js:709
#: assignments/static/templates/assignments/assignment-detail.html:231 #: assignments/static/templates/assignments/assignment-detail.html:231
#: assignments/static/templates/assignments/slide_assignment.html:92 #: assignments/static/templates/assignments/slide_assignment.html:92
#: motions/static/js/motions/site.js:884 #: motions/static/js/motions/site.js:891
#: motions/static/templates/motions/motion-detail.html:242 #: motions/static/templates/motions/motion-detail.html:242
msgid "Invalid ballots" msgid "Invalid ballots"
msgstr "" msgstr ""
@ -1149,7 +1149,7 @@ msgstr ""
msgid "Item number" msgid "Item number"
msgstr "" msgstr ""
#: motions/static/templates/motions/motion-detail.html:399 #: motions/static/templates/motions/motion-detail.html:400
msgid "Last modified" msgid "Last modified"
msgstr "" msgstr ""
@ -1169,16 +1169,16 @@ msgstr ""
msgid "Legal notice" msgid "Legal notice"
msgstr "" msgstr ""
#: motions/static/templates/motions/motion-detail.html:311 #: motions/static/templates/motions/motion-detail.html:312
msgid "Line" msgid "Line"
msgstr "" msgstr ""
#: motions/static/templates/motions/motion-detail.html:285 #: motions/static/js/motions/site.js:1989
msgid "Line Numbering" msgid "Line length"
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:1982 #: motions/static/templates/motions/motion-detail.html:287
msgid "Line length" msgid "Line numbering"
msgstr "" msgstr ""
#: users/static/templates/users/user-list.html:31 #: users/static/templates/users/user-list.html:31
@ -1245,8 +1245,8 @@ msgstr ""
#: motions/static/js/motions/base.js:156 #: motions/static/js/motions/base.js:156
#: motions/static/js/motions/docx.js:58 #: motions/static/js/motions/docx.js:58
#: motions/static/js/motions/docx.js:69 #: motions/static/js/motions/docx.js:69
#: motions/static/js/motions/site.js:1275 #: motions/static/js/motions/site.js:1282
#: motions/static/js/motions/site.js:1285 #: motions/static/js/motions/site.js:1292
#: motions/static/js/motions/site.js:264 #: motions/static/js/motions/site.js:264
#: motions/static/js/motions/site.js:348 #: motions/static/js/motions/site.js:348
#: motions/static/js/motions/site.js:37 #: motions/static/js/motions/site.js:37
@ -1256,13 +1256,13 @@ msgstr ""
msgid "Motion" msgid "Motion"
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:1973 #: motions/static/js/motions/site.js:1980
msgid "Motion preamble" msgid "Motion preamble"
msgstr "" msgstr ""
#: motions/static/js/motions/base.js:157 #: motions/static/js/motions/base.js:157
#: motions/static/js/motions/site.js:1094 #: motions/static/js/motions/site.js:1101
#: motions/static/js/motions/site.js:1964 #: motions/static/js/motions/site.js:1971
#: motions/static/js/motions/site.js:333 #: motions/static/js/motions/site.js:333
#: motions/static/js/motions/site.js:446 #: motions/static/js/motions/site.js:446
#: motions/static/templates/motions/motion-list.html:21 #: motions/static/templates/motions/motion-list.html:21
@ -1279,7 +1279,7 @@ msgstr ""
msgid "Name" msgid "Name"
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:1986 #: motions/static/js/motions/site.js:1993
msgid "Name of recommendation committee" msgid "Name of recommendation committee"
msgstr "" msgstr ""
@ -1317,7 +1317,7 @@ msgstr ""
msgid "New category" msgid "New category"
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:1706 #: motions/static/js/motions/site.js:1713
msgid "New category will be created." msgid "New category will be created."
msgstr "" msgstr ""
@ -1337,7 +1337,7 @@ msgstr ""
msgid "New participant" msgid "New participant"
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:1688 #: motions/static/js/motions/site.js:1695
msgid "New participant will be created." msgid "New participant will be created."
msgstr "" msgstr ""
@ -1366,7 +1366,7 @@ msgstr ""
#: assignments/static/js/assignments/site.js:659 #: assignments/static/js/assignments/site.js:659
#: motions/static/js/motions/site.js:103 #: motions/static/js/motions/site.js:103
#: motions/static/js/motions/site.js:272 #: motions/static/js/motions/site.js:272
#: motions/static/js/motions/site.js:858 #: motions/static/js/motions/site.js:865
#: motions/static/templates/motions/motion-detail.html:209 #: motions/static/templates/motions/motion-detail.html:209
#: motions/static/templates/motions/slide_motion.html:39 #: motions/static/templates/motions/slide_motion.html:39
msgid "No" msgid "No"
@ -1411,26 +1411,26 @@ msgstr ""
#. Line numbering: None #. Line numbering: None
#: core/static/templates/core/projector-controls.html:179 #: core/static/templates/core/projector-controls.html:179
#: core/static/templates/core/projector-controls.html:301 #: core/static/templates/core/projector-controls.html:301
#: motions/static/js/motions/site.js:1981 #: motions/static/js/motions/site.js:1988
msgid "None" msgid "None"
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:1997 #: motions/static/js/motions/site.js:2004
msgid "Number of (minimum) required supporters for a motion" msgid "Number of (minimum) required supporters for a motion"
msgstr "" msgstr ""
#: assignments/static/js/assignments/site.js:801 #: assignments/static/js/assignments/site.js:801
#: motions/static/js/motions/site.js:2017 #: motions/static/js/motions/site.js:2024
msgid "Number of all delegates" msgid "Number of all delegates"
msgstr "" msgstr ""
#: assignments/static/js/assignments/site.js:802 #: assignments/static/js/assignments/site.js:802
#: motions/static/js/motions/site.js:2018 #: motions/static/js/motions/site.js:2025
msgid "Number of all participants" msgid "Number of all participants"
msgstr "" msgstr ""
#: assignments/static/js/assignments/site.js:800 #: assignments/static/js/assignments/site.js:800
#: motions/static/js/motions/site.js:2016 #: motions/static/js/motions/site.js:2023
msgid "Number of ballot papers (selection)" msgid "Number of ballot papers (selection)"
msgstr "" msgstr ""
@ -1447,7 +1447,7 @@ msgstr ""
msgid "Number of posts to be elected" msgid "Number of posts to be elected"
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:1970 #: motions/static/js/motions/site.js:1977
msgid "Numbered per category" msgid "Numbered per category"
msgstr "" msgstr ""
@ -1502,7 +1502,7 @@ msgid "Origin"
msgstr "" msgstr ""
#. Line numbering: Outside #. Line numbering: Outside
#: motions/static/js/motions/site.js:1977 #: motions/static/js/motions/site.js:1984
msgid "Outside" msgid "Outside"
msgstr "" msgstr ""
@ -1565,7 +1565,7 @@ msgstr ""
msgid "Permit" msgid "Permit"
msgstr "" msgstr ""
#: motions/static/templates/motions/motion-detail.html:387 #: motions/static/templates/motions/motion-detail.html:388
msgid "Permit and activate" msgid "Permit and activate"
msgstr "" msgstr ""
@ -1606,7 +1606,7 @@ msgstr ""
msgid "Posts" msgid "Posts"
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:2024 #: motions/static/js/motions/site.js:2031
msgid "Preamble text for PDF and DOCX documents (all motions)" msgid "Preamble text for PDF and DOCX documents (all motions)"
msgstr "" msgstr ""
@ -1623,7 +1623,7 @@ msgstr ""
msgid "Prefix" msgid "Prefix"
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:1992 #: motions/static/js/motions/site.js:1999
msgid "Prefix for the identifier for amendments" msgid "Prefix for the identifier for amendments"
msgstr "" msgstr ""
@ -1660,7 +1660,7 @@ msgstr ""
#: mediafiles/static/templates/mediafiles/mediafile-form.html:28 #: mediafiles/static/templates/mediafiles/mediafile-form.html:28
#: mediafiles/static/templates/mediafiles/mediafile-list.html:238 #: mediafiles/static/templates/mediafiles/mediafile-list.html:238
#: motions/static/js/motions/site.js:2006 #: motions/static/js/motions/site.js:2013
msgid "Private" msgid "Private"
msgstr "" msgstr ""
@ -1701,7 +1701,7 @@ msgstr ""
msgid "Projector" msgid "Projector"
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:2005 #: motions/static/js/motions/site.js:2012
msgid "Public" msgid "Public"
msgstr "" msgstr ""
@ -1717,14 +1717,14 @@ msgstr ""
#: motions/static/js/motions/docx.js:73 #: motions/static/js/motions/docx.js:73
#: motions/static/js/motions/site.js:133 #: motions/static/js/motions/site.js:133
#: motions/static/js/motions/site.js:724 #: motions/static/js/motions/site.js:724
#: motions/static/templates/motions/motion-detail.html:359 #: motions/static/templates/motions/motion-detail.html:360
#: motions/static/templates/motions/motion-import.html:58 #: motions/static/templates/motions/motion-import.html:58
#: motions/static/templates/motions/slide_motion.html:77 #: motions/static/templates/motions/slide_motion.html:77
msgid "Reason" msgid "Reason"
msgstr "" msgstr ""
#: motions/static/templates/motions/motion-detail.html:133 #: motions/static/templates/motions/motion-detail.html:123
#: motions/static/templates/motions/motion-detail.html:137 #: motions/static/templates/motions/motion-detail.html:127
msgid "Recommendation" msgid "Recommendation"
msgstr "" msgstr ""
@ -1769,7 +1769,7 @@ msgstr ""
msgid "Remove all speakers" msgid "Remove all speakers"
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:1999 #: motions/static/js/motions/site.js:2006
msgid "Remove all supporters of a motion if a submitter edits his motion in early state" msgid "Remove all supporters of a motion if a submitter edits his motion in early state"
msgstr "" msgstr ""
@ -1806,7 +1806,7 @@ msgstr ""
msgid "Reset countdown" msgid "Reset countdown"
msgstr "" msgstr ""
#: motions/static/templates/motions/motion-detail.html:149 #: motions/static/templates/motions/motion-detail.html:139
msgid "Reset recommendation" msgid "Reset recommendation"
msgstr "" msgstr ""
@ -1820,7 +1820,7 @@ msgstr ""
msgid "Reset scrolling" msgid "Reset scrolling"
msgstr "" msgstr ""
#: motions/static/templates/motions/motion-detail.html:122 #: motions/static/templates/motions/motion-detail.html:112
#: motions/static/templates/motions/motion-list.html:337 #: motions/static/templates/motions/motion-list.html:337
msgid "Reset state" msgid "Reset state"
msgstr "" msgstr ""
@ -1934,7 +1934,7 @@ msgstr ""
msgid "Select or search a tag ..." msgid "Select or search a tag ..."
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:829 #: motions/static/js/motions/site.js:832
msgid "Select or search a workflow ..." msgid "Select or search a workflow ..."
msgstr "" msgstr ""
@ -1953,7 +1953,7 @@ msgstr ""
msgid "Separator" msgid "Separator"
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:1971 #: motions/static/js/motions/site.js:1978
msgid "Serially numbered" msgid "Serially numbered"
msgstr "" msgstr ""
@ -1965,7 +1965,7 @@ msgstr ""
msgid "Set global action" msgid "Set global action"
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:1972 #: motions/static/js/motions/site.js:1979
msgid "Set it manually" msgid "Set it manually"
msgstr "" msgstr ""
@ -1998,11 +1998,11 @@ msgstr ""
msgid "Show extended fields" msgid "Show extended fields"
msgstr "" msgstr ""
#: motions/static/templates/motions/motion-detail.html:323 #: motions/static/templates/motions/motion-detail.html:324
msgid "Show highlighted line also on projector." msgid "Show highlighted line also on projector."
msgstr "" msgstr ""
#: motions/static/templates/motions/motion-detail.html:404 #: motions/static/templates/motions/motion-detail.html:405
msgid "Show history" msgid "Show history"
msgstr "" msgstr ""
@ -2089,8 +2089,8 @@ msgid "Start/stop video"
msgstr "" msgstr ""
#: assignments/static/templates/assignments/slide_assignment.html:5 #: assignments/static/templates/assignments/slide_assignment.html:5
#: motions/static/templates/motions/motion-detail.html:108 #: motions/static/templates/motions/motion-detail.html:102
#: motions/static/templates/motions/motion-detail.html:112 #: motions/static/templates/motions/motion-detail.html:98
#: motions/static/templates/motions/motion-list.html:113 #: motions/static/templates/motions/motion-list.html:113
#: motions/static/templates/motions/motion-list.html:234 #: motions/static/templates/motions/motion-list.html:234
#: motions/static/templates/motions/slide_motion.html:5 #: motions/static/templates/motions/slide_motion.html:5
@ -2105,7 +2105,7 @@ msgstr ""
msgid "Stop" msgid "Stop"
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:1984 #: motions/static/js/motions/site.js:1991
msgid "Stop submitting new motions by non-staff users" msgid "Stop submitting new motions by non-staff users"
msgstr "" msgstr ""
@ -2134,7 +2134,7 @@ msgstr ""
msgid "Support motion" msgid "Support motion"
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:1996 #: motions/static/js/motions/site.js:2003
#: motions/static/js/motions/site.js:814 #: motions/static/js/motions/site.js:814
#: motions/static/templates/motions/motion-detail.html:66 #: motions/static/templates/motions/motion-detail.html:66
#: motions/static/templates/motions/motion-list.html:445 #: motions/static/templates/motions/motion-list.html:445
@ -2160,7 +2160,7 @@ msgstr ""
#: assignments/static/templates/assignments/assignment-list.html:188 #: assignments/static/templates/assignments/assignment-list.html:188
#: core/static/templates/core/tag-list.html:13 #: core/static/templates/core/tag-list.html:13
#: motions/static/js/motions/site.js:803 #: motions/static/js/motions/site.js:803
#: motions/static/templates/motions/motion-detail.html:102 #: motions/static/templates/motions/motion-detail.html:154
#: motions/static/templates/motions/motion-list.html:14 #: motions/static/templates/motions/motion-list.html:14
msgid "Tags" msgid "Tags"
msgstr "" msgstr ""
@ -2172,7 +2172,7 @@ msgstr ""
msgid "Text" msgid "Text"
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:2010 #: motions/static/js/motions/site.js:2017
msgid "The 100 % base of a voting result consists of" msgid "The 100 % base of a voting result consists of"
msgstr "" msgstr ""
@ -2180,7 +2180,7 @@ msgstr ""
msgid "The 100 % base of an election result consists of" msgid "The 100 % base of an election result consists of"
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:1974 #: motions/static/js/motions/site.js:1981
msgid "The assembly may decide," msgid "The assembly may decide,"
msgstr "" msgstr ""
@ -2188,11 +2188,11 @@ msgstr ""
msgid "The list of speakers is empty." msgid "The list of speakers is empty."
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:1983 #: motions/static/js/motions/site.js:1990
msgid "The maximum number of characters per line. Relevant when line numbering is enabled. Min: 40" msgid "The maximum number of characters per line. Relevant when line numbering is enabled. Min: 40"
msgstr "" msgstr ""
#: motions/static/templates/motions/motion-detail.html:344 #: motions/static/templates/motions/motion-detail.html:345
msgid "The text has been changed." msgid "The text has been changed."
msgstr "" msgstr ""
@ -2200,7 +2200,7 @@ msgstr ""
msgid "There are more than one duplicates of this user!" msgid "There are more than one duplicates of this user!"
msgstr "" msgstr ""
#: motions/static/templates/motions/motion-detail.html:383 #: motions/static/templates/motions/motion-detail.html:384
msgid "This is the last active version." msgid "This is the last active version."
msgstr "" msgstr ""
@ -2229,7 +2229,7 @@ msgstr ""
msgid "Title" msgid "Title"
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:2023 #: motions/static/js/motions/site.js:2030
msgid "Title for PDF and DOCX documents (all motions)" msgid "Title for PDF and DOCX documents (all motions)"
msgstr "" msgstr ""
@ -2256,7 +2256,7 @@ msgid "Topic"
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:734 #: motions/static/js/motions/site.js:734
#: motions/static/templates/motions/motion-detail.html:348 #: motions/static/templates/motions/motion-detail.html:349
msgid "Trivial change" msgid "Trivial change"
msgstr "" msgstr ""
@ -2278,12 +2278,12 @@ msgstr ""
msgid "Uploaded by" msgid "Uploaded by"
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:1987 #: motions/static/js/motions/site.js:1994
msgid "Use an empty value to disable the recommendation system." msgid "Use an empty value to disable the recommendation system."
msgstr "" msgstr ""
#: assignments/static/js/assignments/site.js:803 #: assignments/static/js/assignments/site.js:803
#: motions/static/js/motions/site.js:2019 #: motions/static/js/motions/site.js:2026
msgid "Use the following custom number" msgid "Use the following custom number"
msgstr "" msgstr ""
@ -2315,7 +2315,7 @@ msgstr ""
#: assignments/static/js/assignments/site.js:701 #: assignments/static/js/assignments/site.js:701
#: assignments/static/templates/assignments/assignment-detail.html:226 #: assignments/static/templates/assignments/assignment-detail.html:226
#: assignments/static/templates/assignments/slide_assignment.html:87 #: assignments/static/templates/assignments/slide_assignment.html:87
#: motions/static/js/motions/site.js:876 #: motions/static/js/motions/site.js:883
#: motions/static/templates/motions/motion-detail.html:233 #: motions/static/templates/motions/motion-detail.html:233
msgid "Valid ballots" msgid "Valid ballots"
msgstr "" msgstr ""
@ -2324,12 +2324,12 @@ msgstr ""
msgid "Valid votes" msgid "Valid votes"
msgstr "" msgstr ""
#: motions/static/templates/motions/motion-detail.html:376 #: motions/static/templates/motions/motion-detail.html:377
#: motions/static/templates/motions/motion-detail.html:379 #: motions/static/templates/motions/motion-detail.html:380
msgid "Version" msgid "Version"
msgstr "" msgstr ""
#: motions/static/templates/motions/motion-detail.html:372 #: motions/static/templates/motions/motion-detail.html:373
msgid "Version history" msgid "Version history"
msgstr "" msgstr ""
@ -2350,7 +2350,7 @@ msgstr ""
msgid "Voting" msgid "Voting"
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:2009 #: motions/static/js/motions/site.js:2016
msgid "Voting and ballot papers" msgid "Voting and ballot papers"
msgstr "" msgstr ""
@ -2397,11 +2397,11 @@ msgstr ""
msgid "Withdraw" msgid "Withdraw"
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:825 #: motions/static/js/motions/site.js:828
msgid "Workflow" msgid "Workflow"
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:1968 #: motions/static/js/motions/site.js:1975
msgid "Workflow of new motions" msgid "Workflow of new motions"
msgstr "" msgstr ""
@ -2409,13 +2409,13 @@ msgstr ""
#: assignments/static/js/assignments/site.js:649 #: assignments/static/js/assignments/site.js:649
#: motions/static/js/motions/site.js:102 #: motions/static/js/motions/site.js:102
#: motions/static/js/motions/site.js:271 #: motions/static/js/motions/site.js:271
#: motions/static/js/motions/site.js:849 #: motions/static/js/motions/site.js:856
#: motions/static/templates/motions/motion-detail.html:197 #: motions/static/templates/motions/motion-detail.html:197
#: motions/static/templates/motions/slide_motion.html:27 #: motions/static/templates/motions/slide_motion.html:27
msgid "Yes" msgid "Yes"
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:2012 #: motions/static/js/motions/site.js:2019
msgid "Yes/No" msgid "Yes/No"
msgstr "" msgstr ""
@ -2424,7 +2424,7 @@ msgstr ""
msgid "Yes/No per candidate" msgid "Yes/No per candidate"
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:2011 #: motions/static/js/motions/site.js:2018
msgid "Yes/No/Abstain" msgid "Yes/No/Abstain"
msgstr "" msgstr ""
@ -2478,7 +2478,7 @@ msgstr ""
msgid "already exists." msgid "already exists."
msgstr "" msgstr ""
#: motions/static/js/motions/site.js:1285 #: motions/static/js/motions/site.js:1292
msgid "ballot-paper" msgid "ballot-paper"
msgstr "" msgstr ""
@ -2506,7 +2506,7 @@ msgstr ""
msgid "files" msgid "files"
msgstr "" msgstr ""
#: motions/static/templates/motions/motion-detail.html:319 #: motions/static/templates/motions/motion-detail.html:320
msgid "go" msgid "go"
msgstr "" msgstr ""
@ -2520,11 +2520,11 @@ msgstr ""
msgid "imported" msgid "imported"
msgstr "" msgstr ""
#: motions/static/templates/motions/motion-detail.html:298 #: motions/static/templates/motions/motion-detail.html:299
msgid "inline" msgid "inline"
msgstr "" msgstr ""
#: motions/static/templates/motions/motion-detail.html:426 #: motions/static/templates/motions/motion-detail.html:427
msgid "internal" msgid "internal"
msgstr "" msgstr ""
@ -2579,7 +2579,7 @@ msgstr ""
msgid "needs review" msgid "needs review"
msgstr "" msgstr ""
#: motions/static/templates/motions/motion-detail.html:292 #: motions/static/templates/motions/motion-detail.html:293
msgid "none" msgid "none"
msgstr "" msgstr ""
@ -2599,7 +2599,7 @@ msgstr ""
msgid "of" msgid "of"
msgstr "" msgstr ""
#: motions/static/templates/motions/motion-detail.html:304 #: motions/static/templates/motions/motion-detail.html:305
msgid "outside" msgid "outside"
msgstr "" msgstr ""

View File

@ -678,7 +678,7 @@ angular.module('OpenSlidesApp.motions.site', ['OpenSlidesApp.motions', 'OpenSlid
getFormFields: function () { getFormFields: function () {
var workflows = Workflow.getAll(); var workflows = Workflow.getAll();
var images = Mediafile.getAllImages(); var images = Mediafile.getAllImages();
return [ var formFields = [
{ {
key: 'identifier', key: 'identifier',
type: 'input', type: 'input',
@ -817,19 +817,26 @@ angular.module('OpenSlidesApp.motions.site', ['OpenSlidesApp.motions', 'OpenSlid
placeholder: gettextCatalog.getString('Select or search a supporter ...') placeholder: gettextCatalog.getString('Select or search a supporter ...')
}, },
hideExpression: '!model.more' hideExpression: '!model.more'
},
{
key: 'workflow_id',
type: 'select-single',
templateOptions: {
label: gettextCatalog.getString('Workflow'),
optionsAttr: 'bs-options',
options: workflows,
ngOptions: 'option.id as option.name | translate for option in to.options',
placeholder: gettextCatalog.getString('Select or search a workflow ...')
},
hideExpression: '!model.more',
}]); }]);
if (workflows.length > 1) {
formFields = formFields.concat([
{
key: 'workflow_id',
type: 'select-single',
templateOptions: {
label: gettextCatalog.getString('Workflow'),
optionsAttr: 'bs-options',
options: workflows,
ngOptions: 'option.id as option.name | translate for option in to.options',
placeholder: gettextCatalog.getString('Select or search a workflow ...')
},
hideExpression: '!model.more',
}
]);
}
return formFields;
} }
}; };
} }

View File

@ -94,16 +94,6 @@
</div> </div>
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
<!-- Category -->
<h3 ng-if="motion.category" translate>Category</h3>
{{ motion.category.name }}
<!-- Tags -->
<h3 ng-if="motion.tags.length > 0" translate>Tags</h3>
<span ng-repeat="tag in motion.tags">
{{ tag.name }}{{$last ? '' : ', '}}
</span>
<!-- State --> <!-- State -->
<h3 ng-if="!motion.isAllowed('change_state')" class="heading" translate>State</h3> <h3 ng-if="!motion.isAllowed('change_state')" class="heading" translate>State</h3>
<div ng-if="motion.isAllowed('change_state')" class="heading"> <div ng-if="motion.isAllowed('change_state')" class="heading">
@ -156,6 +146,16 @@
</div> </div>
</div> </div>
<!-- Category -->
<h3 ng-if="motion.category" translate>Category</h3>
{{ motion.category.name }}
<!-- Tags -->
<h3 ng-if="motion.tags.length > 0" translate>Tags</h3>
<span ng-repeat="tag in motion.tags">
{{ tag.name }}{{$last ? '' : ', '}}
</span>
<!-- Origin --> <!-- Origin -->
<h3 ng-if="motion.origin" translate>Origin</h3> <h3 ng-if="motion.origin" translate>Origin</h3>
{{ motion.origin }} {{ motion.origin }}
@ -282,8 +282,9 @@
<!-- line number mode --> <!-- line number mode -->
<div class="line-number-setter {{ lineNumberMode }}"> <div class="line-number-setter {{ lineNumberMode }}">
<span class="btn-group" data-toggle="buttons"> <span class="btn-group" data-toggle="buttons">
<div class="btn btn-sm btn-default disabled" title="{{ 'Line Numbering' | translate }}"> <div class="btn btn-sm btn-default disabled">
<i class="fa fa-list-ol" aria-hidden="true"></i> <i class="fa fa-list-ol" aria-hidden="true"></i>
<translate>Line numbering</translate>:
</div> </div>
<label class="btn btn-sm btn-default" ng-class="{active: (lineNumberMode == 'none')}" <label class="btn btn-sm btn-default" ng-class="{active: (lineNumberMode == 'none')}"
ng-click="lineNumberMode = 'none';"> ng-click="lineNumberMode = 'none';">