See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| version: "3.8" | |
| services: | |
| liferay: | |
| image: liferay/portal:7.4.3.19-ga19 | |
| container_name: tomcat | |
| networks: | |
| - fs72sp1 | |
| depends_on: | |
| - postgres | |
| environment: |
| <style> | |
| .container { | |
| display: flex; | |
| flex-direction: column; | |
| border-radius: 15px; | |
| padding: 25px; | |
| align-items: flex-start; | |
| } | |
| .content-text { |
| { | |
| "availableLanguageIds": [ | |
| "pt_BR" | |
| ], | |
| "contentType": "journal", | |
| "dataDefinitionFields": [ | |
| { | |
| "customProperties": { | |
| "labelAtStructureLevel": true, | |
| "confirmationErrorMessage": { |
| import com.liferay.journal.service.JournalArticleLocalServiceUtil | |
| import com.liferay.asset.kernel.service.AssetEntryLocalServiceUtil | |
| import com.liferay.journal.model.JournalArticle | |
| import com.liferay.portal.kernel.util.LocaleUtil | |
| def fieldName = "field name" | |
| def ja = JournalArticleLocalServiceUtil.fetchJournalArticle(id); | |
| def entry = AssetEntryLocalServiceUtil.fetchEntry(JournalArticle.class.getName(), ja.getResourcePrimKey()) |
| import com.liferay.document.library.kernel.service.DLAppLocalServiceUtil; | |
| import com.liferay.portal.kernel.repository.model.FileEntry; | |
| import com.liferay.document.library.util.DLURLHelperUtil; | |
| import com.liferay.portal.kernel.theme.ThemeDisplay; | |
| import com.liferay.portal.kernel.exception.PortalException; | |
| public static String getDLEntryFileURL(long fileEntryId, ThemeDisplay themeDisplay) | |
| throws PortalException { |
| [Desktop Entry] | |
| Type=Application | |
| Name=Liferay IDE | |
| Comment=Liferay Developer Studio | |
| Icon=/path/to/icon.xpm | |
| Exec=/path/to/DeveloperStudio | |
| Terminal=false | |
| Categories=Development;IDE;Java; | |
| StartupWMClass=Liferay IDE |
| protected static String addParameterWithPortletNamespace( | |
| String url, String name, String value) { | |
| String portletId = HttpUtil.getParameter(url, "p_p_id", false); | |
| if (Validator.isNotNull(portletId)) { | |
| name = PortalUtil.getPortletNamespace(portletId) + name; | |
| } | |
| return HttpUtil.addParameter(url, name, value); | |
| } |
| <#assign TITLE = .vars['reserved-article-title'].data /> | |
| <#assign DISPLAYDATE = .vars['reserved-article-display-date'].data?date('EEE, dd MMM yyyy HH:mm:ss Z') /> | |
| ${DISPLAYDATE?string["dd MMMM yyyy"]} | |
| <button type="button" class="btn btn-secondary btn-sm"> | |
| <@liferay_ui["message"] key="read-more"/> | |
| </button> | |
| # MIT License | |
| # | |
| # Copyright (c) 2021 Matthew Schweiss | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy | |
| # of this software and associated documentation files (the "Software"), to deal | |
| # in the Software without restriction, including without limitation the rights | |
| # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| # copies of the Software, and to permit persons to whom the Software is | |
| # furnished to do so, subject to the following conditions: |